OXIESEC PANEL
- Current Dir:
/
/
lib
/
rpm
/
redhat
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/09/2025 07:08:42 PM
rwxr-xr-x
📄
brp-fix-pyc-reproducibility
560 bytes
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
brp-ldconfig
417 bytes
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
brp-llvm-compile-lto-elf
1.88 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
brp-mangle-shebangs
4.41 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
brp-python-bytecompile
5.64 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
brp-strip-lto
558 bytes
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
compileall2.py
21.59 KB
10/01/2024 12:46:16 PM
rw-r--r--
📄
config.guess
42.91 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
config.sub
35.46 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
dist.sh
1.94 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
find-provides
1.19 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
find-requires
1013 bytes
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
gpgverify
3.54 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
kmodtool
9.03 KB
09/27/2023 01:14:41 AM
rwxr-xr-x
📄
macros
16.02 KB
10/28/2024 11:45:49 AM
rw-r--r--
📄
redhat-annobin-cc1
93 bytes
10/28/2024 11:45:49 AM
r--r--r--
📄
redhat-annobin-plugin-select.sh
6.05 KB
10/28/2024 11:45:49 AM
rwxr-xr-x
📄
redhat-annobin-select-annobin-built-plugin
89 bytes
10/28/2024 11:45:49 AM
r--r--r--
📄
redhat-annobin-select-gcc-built-plugin
93 bytes
10/28/2024 11:45:49 AM
r--r--r--
📄
redhat-hardened-cc1
153 bytes
10/28/2024 11:45:49 AM
r--r--r--
📄
redhat-hardened-clang.cfg
6 bytes
10/28/2024 11:45:49 AM
r--r--r--
📄
redhat-hardened-ld
47 bytes
10/28/2024 11:45:49 AM
r--r--r--
📄
rpmrc
5.52 KB
10/28/2024 11:45:49 AM
rw-r--r--
📄
rpmsort
2.11 KB
09/27/2023 01:14:41 AM
rwxr-xr-x
Editing: find-provides
Close
#!/usr/bin/bash # This script reads filenames from STDIN and outputs any relevant provides # information that needs to be included in the package. if [ "$1" ] then package_name="$1" fi filelist=`sed "s/['\"]/\\\&/g"` [ -x /usr/lib/rpm/rpmdeps -a -n "$filelist" ] && echo $filelist | tr '[:blank:]' \\n | /usr/lib/rpm/rpmdeps --provides # # --- any other extra find-provides scripts for i in /usr/lib/rpm/redhat/find-provides.d/*.prov do [ -x $i ] && (echo $filelist | tr '[:blank:]' \\n | $i | sort -u) done # # --- Kernel module imported symbols # # Since we don't (yet) get passed the name of the package being built, we # cheat a little here by looking first for a kernel, then for a kmod. # is_kmod=1 for f in $filelist; do if [ $(echo "$f" | sed -r -ne 's:^.*/lib/modules/(.*)/(.*)\.ko(\.gz|\.bz2|\.xz)?$:\2:p') ] then is_kernel=1; fi if [ $(echo "$f" | sed -r -ne 's:^.*/boot/(.*):\1:p') ] then unset is_kmod; fi done if [ ! "$is_kernel" ] || [ "$package_name" == "kernel" ] then unset is_kmod fi [ -x /usr/lib/rpm/redhat/find-provides.ksyms ] && [ "$is_kmod" ] && printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/redhat/find-provides.ksyms exit 0