| Server IP : 178.212.43.201 / Your IP : 10.100.0.33 Web Server : Apache/2.4.37 (Oracle Linux Server) OpenSSL/1.1.1k System : Linux spa0007.srv.paxillus.pl 5.4.17-2136.355.3.1.el8uek.x86_64 #3 SMP Sat May 9 17:11:55 PDT 2026 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/bin/ |
Upload File : |
#!/bin/sh
# Copyright (C) 2003 Enrico Scholz <[email protected]>
# 2008-2009 Ville Skyttä <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
name="$(basename $0)"
csum="${name##rpmdev-}"
csum="${csum%%sum}"
while test "$1"; do
case "$1" in
--help) echo $"Usage: $name <archive-file>"; exit 0;;
--version) echo $"$name 0.8"; exit 0;;
--) shift; break;;
*) break
esac
shift
done
test "$1" || {
echo $"No package file specified; use '--help' for more information"
exit 1
}
unset CDPATH
tmp=`mktemp -d ${TMPDIR:-/tmp}/"$name.XXXXXX"`
trap "rm -rf '$tmp'" EXIT
cd -- `dirname -- "$1"`
dir=`pwd`
file=`basename -- "$1"`
"${csum}sum" -- "$file"
cd "$tmp"
rpmdev-extract -q "$dir/$file"
find . -type f -print0 | xargs -0r "${csum}sum" | sed -e 's|\(\s\)./[^/]*/|\1|'