#!/bin/bash # # Auto-generate requirements for executables (both ELF and a.out) and library # sonames, script interpreters, and perl modules. # ulimit -c 0 filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` [ -x /usr/lib/rpm/rpmdeps -a -n "$filelist" ] && \ echo $filelist | tr '[:blank:]' \\n | /usr/lib/rpm/rpmdeps --requires # # --- 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. # unset is_kmod for f in $filelist; do if [ $(echo "$f" | sed -r -ne 's:^.*/lib/modules/(.*)/(.*)\.ko(\.gz|\.bz2|\.xz)?$:\2:p') ] then is_kmod=1; elif [ $(echo "$f" | sed -r -ne 's:^.*/boot/(.*):\1:p') ] then unset is_kmod; break; fi done [ -x /usr/lib/rpm/redhat/find-requires.ksyms ] && [ "$is_kmod" ] && printf "%s\n" "${filelist[@]}" | /usr/lib/rpm/redhat/find-requires.ksyms exit 0
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
brp-ldconfig | File | 268 B | 0755 |
|
brp-mangle-shebangs | File | 4.39 KB | 0755 |
|
config.guess | File | 42.91 KB | 0755 |
|
config.sub | File | 35.46 KB | 0755 |
|
dist.sh | File | 1.93 KB | 0755 |
|
find-provides | File | 1.19 KB | 0755 |
|
find-requires | File | 936 B | 0755 |
|
gpgverify | File | 3.54 KB | 0755 |
|
macros | File | 10.6 KB | 0644 |
|
redhat-annobin-cc1 | File | 93 B | 0444 |
|
redhat-annobin-plugin-select.sh | File | 6.05 KB | 0755 |
|
redhat-annobin-select-annobin-built-plugin | File | 89 B | 0444 |
|
redhat-annobin-select-gcc-built-plugin | File | 93 B | 0444 |
|
redhat-hardened-cc1 | File | 76 B | 0444 |
|
redhat-hardened-ld | File | 47 B | 0444 |
|
rpmrc | File | 5.31 KB | 0644 |
|