From db64fdc9a9aac53f41544789deacc16f6bd46722 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Sun, 4 Jul 2021 21:40:26 +0200 Subject: [PATCH] TAR patch --- binutils/build | 2 +- bzip2/build | 2 +- gcc/build | 2 +- git/build | 2 +- glibc/build | 4 ++-- gzip/build | 2 +- make/build | 3 +++ openssl/build | 2 +- xz/build | 2 +- zlib/build | 2 +- 10 files changed, 13 insertions(+), 10 deletions(-) diff --git a/binutils/build b/binutils/build index 0256175..9706d44 100755 --- a/binutils/build +++ b/binutils/build @@ -1,5 +1,5 @@ wget -O binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz -tar -xf binutils.tar.xz +tar -xfJ binutils.tar.xz cd binutils chmod +x makeinfo export PATH=$PATH:$PWD diff --git a/bzip2/build b/bzip2/build index 5e99447..08f28bc 100755 --- a/bzip2/build +++ b/bzip2/build @@ -1,5 +1,5 @@ wget -O bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz -tar -xf bzip2.tar.gz +tar -xfz bzip2.tar.gz cd bzip2 make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2 diff --git a/gcc/build b/gcc/build index ac99e13..22fbc8b 100755 --- a/gcc/build +++ b/gcc/build @@ -1,5 +1,5 @@ wget -O gcc.tar.gz -tar -xf gcc.tar.gz +tar -xfz gcc.tar.gz cd gcc sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h diff --git a/git/build b/git/build index 1431c37..8150df6 100755 --- a/git/build +++ b/git/build @@ -1,5 +1,5 @@ wget -O git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz -tar -xf git.tar.xz +tar -xfJ git.tar.xz cd git ./configure --prefix=/usr make diff --git a/glibc/build b/glibc/build index 55d7563..81232b0 100755 --- a/glibc/build +++ b/glibc/build @@ -1,8 +1,8 @@ wget -O glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz -tar -xf glibc.tar.gz +tar -xfz glibc.tar.gz cd glibc mkdir build cd build ../configure --prefix=/usr make -make install DESTDIR="$1" \ No newline at end of file +make install DESTDIR="$1" diff --git a/gzip/build b/gzip/build index 804ed0c..366b75e 100755 --- a/gzip/build +++ b/gzip/build @@ -1,5 +1,5 @@ wget -O gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz -tar -xf gzip.tar.gz +tar -xfz gzip.tar.gz cd gzip make CC="${CC:-cc} -static" mkdir -p "$1/usr/bin" "$1/usr/share/man/man1" diff --git a/make/build b/make/build index 0945f2a..5f982cd 100755 --- a/make/build +++ b/make/build @@ -1,3 +1,6 @@ +wget -O make.tar.gz https://ftp.gnu.org/gnu/make/make-4.3.tar.gz +untar -xfz make.tar.gz +cd make export CFLAGS="$CFLAGS -static" ./configure --prefix=/usr make diff --git a/openssl/build b/openssl/build index a769040..e8dd288 100755 --- a/openssl/build +++ b/openssl/build @@ -1,5 +1,5 @@ wget -O openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz -tar -xf openssl.tar.gz +tar -xfz openssl.tar.gz cd openssl chmod +x ./config ./config --prefix="/usr" diff --git a/xz/build b/xz/build index e513a29..c5a7880 100755 --- a/xz/build +++ b/xz/build @@ -1,5 +1,5 @@ wget -O xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz -tar -xf xz.tar.gz +tar -xfJ xz.tar.gz cd xz ./configure --prefix=/usr --disable-nls make diff --git a/zlib/build b/zlib/build index f1d1234..905191e 100755 --- a/zlib/build +++ b/zlib/build @@ -1,5 +1,5 @@ wget -O zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz -tar -xf zlib.tar.gz +tar -xfz zlib.tar.gz cd zlib export CFLAGS="$CFLAGS -fPIC" ./configure --prefix="$1" --lib-dir="/usr/lib" --shared