tar-1.32 backport for Porteus4.0

Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
Post Reply
Shadow0815
Black ninja
Black ninja
Posts: 30
Joined: 16 Jul 2015, 03:50
Distribution: Manjaro, Arch
Location: DE

tar-1.32 backport for Porteus4.0

Post#1 by Shadow0815 » 13 Oct 2020, 19:30

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"
##########################################


User avatar
Rava
Contributor
Contributor
Posts: 2949
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

tar-1.32 backport for Porteus4.0

Post#2 by Rava » 14 Dec 2020, 01:28

Thanks. What is

Code: Select all

sed '69,101d' tar.SlackBuild >tar_newestOnly.SlackBuild
for?
Cheers!
Yours Rava

Shadow0815
Black ninja
Black ninja
Posts: 30
Joined: 16 Jul 2015, 03:50
Distribution: Manjaro, Arch
Location: DE

tar-1.32 backport for Porteus4.0

Post#3 by Shadow0815 » 18 Dec 2020, 23:02

that sed removes the lines that try to build tar-1.13

Post Reply