X7ROOT File Manager
Current Path:
/usr/lib/rpm
usr
/
lib
/
rpm
/
📁
..
📄
appdata.prov
(333 B)
📄
brp-compress
(1.41 KB)
📄
brp-java-gcjcompile
(1.38 KB)
📄
brp-python-bytecompile
(2.96 KB)
📄
brp-python-hardlink
(658 B)
📄
brp-strip
(509 B)
📄
brp-strip-comment-note
(741 B)
📄
brp-strip-shared
(706 B)
📄
brp-strip-static-archive
(411 B)
📄
check-buildroot
(1.21 KB)
📄
check-files
(1.02 KB)
📄
check-prereqs
(418 B)
📄
check-rpaths
(1.01 KB)
📄
check-rpaths-worker
(4.93 KB)
📄
config.guess
(44.24 KB)
📄
config.sub
(34.62 KB)
📄
debugedit
(33.01 KB)
📄
desktop-file.prov
(602 B)
📄
elfdeps
(15.31 KB)
📁
fileattrs
📄
find-debuginfo.sh
(14.42 KB)
📄
find-lang.sh
(5.77 KB)
📄
find-provides
(1.52 KB)
📄
find-requires
(3.43 KB)
📄
fontconfig.prov
(489 B)
📄
gstreamer1.prov
(954 B)
📄
javadoc.req
(76 B)
📄
kabi.sh
(428 B)
📄
libtooldeps.sh
(718 B)
📄
macros
(37.33 KB)
📁
macros.d
📄
macros.perl
(473 B)
📄
macros.php
(192 B)
📄
macros.python
(906 B)
📄
maven.prov
(3.67 KB)
📄
maven.req
(7.75 KB)
📄
mkinstalldirs
(3.41 KB)
📄
mono-find-provides
(1.08 KB)
📄
mono-find-requires
(1.87 KB)
📄
ocaml-find-provides.sh
(1.62 KB)
📄
ocaml-find-requires.sh
(2.08 KB)
📄
osgi.prov
(3.51 KB)
📄
osgi.req
(3.79 KB)
📄
osgideps.pl
(10.33 KB)
📄
perl.prov
(5.72 KB)
📄
perl.req
(11.48 KB)
📄
perldeps.pl
(32.13 KB)
📄
pkgconfigdeps.sh
(1.25 KB)
📁
platform
📄
postscriptdriver.prov
(7.08 KB)
📄
pythondeps.sh
(875 B)
📁
redhat
📄
rpm.daily
(296 B)
📄
rpm.log
(61 B)
📄
rpm.supp
(688 B)
📄
rpm2cpio.sh
(1.3 KB)
📄
rpmdb_dump
(15.33 KB)
📄
rpmdb_load
(27.51 KB)
📄
rpmdb_loadcvt
(1.43 KB)
📄
rpmdb_recover
(11.33 KB)
📄
rpmdb_stat
(15.26 KB)
📄
rpmdb_upgrade
(11.23 KB)
📄
rpmdb_verify
(11.25 KB)
📄
rpmdeps
(11.52 KB)
📄
rpmpopt-4.11.3
(9.51 KB)
📄
rpmrc
(15.01 KB)
📄
script.req
(322 B)
📄
sepdebugcrcfix
(15.24 KB)
📄
tcl.req
(2.02 KB)
📄
tgpg
(929 B)
Editing: find-requires
#!/bin/bash # # Auto-generate requirements for executables (both ELF and a.out) and library # sonames, script interpreters, and perl modules. # ulimit -c 0 # # --- Set needed to 0 for traditional find-requires behavior. needed=1 if [ X"$1" = Xldd ]; then needed=0 elif [ X"$1" = Xobjdump ]; then needed=1 fi # # --- Grab the file manifest and classify files. #filelist=`sed "s/['\"]/\\\&/g"` filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` exelist=`echo $filelist | xargs -r file | \ grep -Ev ":.* (commands|script)[, ]" | \ grep ":.*executable" | cut -d: -f1` scriptlist=`echo $filelist | xargs -r file | \ grep -E ":.* (commands|script)[, ]" | cut -d: -f1` liblist=`echo $filelist | xargs -r file | \ grep ":.*shared object" | cut -d : -f1` interplist= perllist= pythonlist= tcllist= # # --- Alpha does not mark 64bit dependencies case `uname -m` in alpha*) mark64="" ;; *) mark64="()(64bit)" ;; esac if [ "$needed" -eq 0 ]; then # # --- Executable dependency sonames. for f in $exelist; do [ -r $f -a -x $f ] || continue lib64=`if file -L $f 2>/dev/null | \ grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` ldd $f | awk '/=>/ { if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/) { gsub(/'\''"/,"\\&",$1); printf "%s'$lib64'\n", $1 } }' done | xargs -r -n 1 basename | sort -u # # --- Library dependency sonames. for f in $liblist; do [ -r $f ] || continue lib64=`if file -L $f 2>/dev/null | \ grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` ldd $f | awk '/=>/ { if ($1 !~ /libNoVersion.so/ && $1 !~ /4[um]lib.so/ && $1 !~ /libredhat-kernel.so/) { gsub(/'\''"/,"\\&",$1); printf "%s'$lib64'\n", $1 } }' done | xargs -r -n 1 basename | sort -u fi # # --- Script interpreters. for f in $scriptlist; do [ -r $f -a -x $f ] || continue interp=`head -n 1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` interplist="$interplist $interp" case $interp in */perl) perllist="$perllist $f" ;; esac done [ -n "$interplist" ] && { echo "$interplist" | tr '[:blank:]' \\n | sort -u ; } # # --- Add perl module files to perllist. for f in $filelist; do [ -r $f -a "${f%.pm}" != "${f}" ] && perllist="$perllist $f" done # # --- Weak symbol versions (from glibc). [ -n "$mark64" ] && mark64="(64bit)" for f in $liblist $exelist ; do [ -r $f ] || continue lib64=`if file -L $f 2>/dev/null | \ grep "ELF 64-bit" >/dev/null; then echo "$mark64"; fi` objdump -p $f | awk 'BEGIN { START=0; LIBNAME=""; needed='$needed'; } /^$/ { START=0; } /^Dynamic Section:$/ { START=1; } (START==1) && /NEEDED/ { if (needed) { if ("'$lib64'" != "") { sub(/$/, "()'$lib64'", $2) ; } print $2 ; } } (START==2) && /^[A-Za-z]/ { START=3; } /^Version References:$/ { START=2; } (START==2) && /required from/ { sub(/:/, "", $3); LIBNAME=$3; } (START==2) && (LIBNAME!="") && ($4!="") && (($4~/^GLIBC_*/) || ($4~/^GCC_*/)) { print LIBNAME "(" $4 ")'$lib64'"; } ' done | sort -u # # --- Perl modules. [ -x /usr/lib/rpm/perl.req -a -n "$perllist" ] && \ echo $perllist | tr '[:blank:]' \\n | /usr/lib/rpm/perl.req | sort -u # # --- Python modules. [ -x /usr/lib/rpm/python.req -a -n "$pythonlist" ] && \ echo $pythonlist | tr '[:blank:]' \\n | /usr/lib/rpm/python.req | sort -u # # --- Tcl modules. [ -x /usr/lib/rpm/tcl.req -a -n "$tcllist" ] && \ echo $tcllist | tr '[:blank:]' \\n | /usr/lib/rpm/tcl.req | sort -u exit 0
Upload File
Create Folder