Page 1 of 1

tar-1.32 backport for Porteus4.0

Posted: 13 Oct 2020, 19:30
by Shadow0815
tar-1.32-x86_64-1.xzm (880kB)
md5: 498a484569c0e8f1c4cc8dcf572e564e

because i want zstd support

binary package from slackware current gives error:
tar: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by tar)


How i did it:

Code: Select all

#### RUN AS ROOT##########################
a="https://linux.rz.rub.de/slackware/slackware64-current/source/a/tar/tar-1.32.tar.xz"
b="https://linux.rz.rub.de/slackware/slackware64-current/source/a/tar/tar-1.32.tar.xz.sig"
c="https://linux.rz.rub.de/slackware/slackware64-current/source/a/tar/tar.SlackBuild"
mkdir build_tar; cd build_tar
wget --no-check-certificate "$a" "$b" "$c"
sed '69,101d' tar.SlackBuild >tar_newestOnly.SlackBuild
sh tar_newestOnly.SlackBuild
mv /tmp/tar-1.32-x86_64-1.txz .
mkdir pkg; cd pkg;
tar xvf ../tar-1.32-x86_64-1.txz
sh install/doinst.sh
mv bin tar
mkdir bin
mv tar bin
rm -rf install
cd ..
dir2xzm pkg tar-1.32-x86_64-1.xzm
echo "done, xzm in:"
echo "build_tar/tar-1.32-x86_64-1.xzm"
##########################################