OXIESEC PANEL
- Current Dir:
/
/
lib
/
rpm
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/20/2025 01:49:09 AM
r-xr-xr-x
📄
brp-boot-efi-times
1.43 KB
06/08/2022 09:44:52 AM
rwxr-xr-x
📄
cmake.prov
2.92 KB
04/02/2024 11:26:07 AM
rwxr-xr-x
📄
cmake.req
2.29 KB
04/02/2024 11:26:07 AM
rwxr-xr-x
📁
fileattrs
-
04/09/2025 07:08:42 PM
rwxr-xr-x
📄
gstreamer1.prov
950 bytes
09/27/2023 03:39:23 AM
rwxr-xr-x
📁
lua
-
10/07/2024 07:47:48 AM
rwxr-xr-x
📄
macros
43.12 KB
10/07/2024 07:47:48 AM
rw-r--r--
📁
macros.d
-
06/20/2025 01:49:09 AM
rwxr-xr-x
📁
platform
-
10/07/2024 07:47:48 AM
rwxr-xr-x
📁
redhat
-
03/18/2025 10:32:30 PM
rwxr-xr-x
📄
rpm.daily
296 bytes
05/28/2020 10:04:25 AM
rw-r--r--
📄
rpm.log
61 bytes
05/28/2020 10:04:25 AM
rw-r--r--
📄
rpm.supp
688 bytes
05/28/2020 10:04:25 AM
rw-r--r--
📄
rpm2cpio.sh
1.56 KB
10/07/2024 07:46:58 AM
rwxr-xr-x
📄
rpmdb_dump
41 bytes
05/28/2020 10:04:25 AM
rwxr-xr-x
📄
rpmdb_load
41 bytes
05/28/2020 10:04:25 AM
rwxr-xr-x
📄
rpmpopt-4.16.1.3
11.83 KB
10/07/2024 07:47:33 AM
rw-r--r--
📄
rpmrc
17.24 KB
10/07/2024 07:47:33 AM
rw-r--r--
📄
sysusers.generate-pre.sh
2.22 KB
03/18/2025 04:21:31 AM
rwxr-xr-x
📄
sysusers.prov
605 bytes
03/18/2025 04:21:31 AM
rwxr-xr-x
📄
tgpg
937 bytes
05/28/2020 10:04:25 AM
rwxr-xr-x
Editing: brp-boot-efi-times
Close
#!/usr/bin/bash -eu # If using normal root, avoid changing anything. if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then exit 0 fi if [[ ! -d "$RPM_BUILD_ROOT//boot/efi" ]] ; then exit 0 fi update() { local path="$1" local ctime=$(stat -c "%Z" "${path}") # we always want to touch it once... if [[ $((${ctime} % 2)) -eq 0 ]] ; then let ++ctime fi while [[ $((${ctime} % 2)) -eq 1 ]] ; do let ++ctime touch -h -c -d "@${ctime}" "${path}" ctime=$(stat -c "%Z" "${path}") done } declare -a dirs dirs=() || : cd "$RPM_BUILD_ROOT" while IFS= read -r -d $'\0' f; do if [[ -d "${f}" ]] ; then dirs[${#dirs[@]}]="${f}" else update "${f}" fi done < <(find ./boot/efi/ -print0) # sort the directory list lexicographically, longest-first, so a parent dir's # updated mtime won't be clobbered by the child dir being updated, if some day # someone actually makes that matter. # # I don't think we actually have to do this on linux, but # $RPM_BUILD_ROOT//boot/efi/ isn't going to have but so many files on # it. let i=0 || : let j=1 while [[ ${i} -lt ${#dirs[@]} ]] && [[ ${j} -lt ${#dirs[@]} ]] ; do if [[ "${dirs[$i]}" < "${dirs[$j]}" ]] ; then tmp="${dirs[$i]}" dirs[$i]="${dirs[$j]}" dirs[$j]="${tmp}" else let ++j fi if [[ ${j} -ge ${#dirs[@]} ]] ; then let ++i let ++j fi done # and now just process them just like files. if [[ ${#dirs[@]} -gt 0 ]] ; then for dir in "${dirs[@]}" ; do update "${dir}" done fi