attempt to atleast patch it

This commit is contained in:
Ohio2 2021-07-07 05:51:43 +02:00
parent aab2e746db
commit 0b4306fdb1
12 changed files with 132 additions and 11 deletions

View file

@ -1,5 +1,5 @@
wget -O binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
tar -xfJ binutils.tar.xz
tar -xf ./binutils.tar.xz
cd binutils
chmod +x makeinfo
export PATH=$PATH:$PWD

View file

@ -1,5 +1,5 @@
wget -O busybox.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
tar -xfJ busybox.tar.bz2
tar -xf ./busybox.tar.bz2
cd busybox
make defconfig
LDFLAGS="--static" make

View file

@ -1,5 +1,5 @@
wget -O bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
tar -xfz bzip2.tar.gz
tar -xf ./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

View file

@ -1,5 +1,5 @@
wget -O gcc.tar.gz
tar -xfz gcc.tar.gz
tar -xf ./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

View file

@ -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 -xfJ git.tar.xz
tar -xf ./git.tar.xz
cd git
./configure --prefix=/usr
make

View file

@ -1,5 +1,5 @@
wget -O glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
tar -xfz glibc.tar.gz
tar -xf ./glibc.tar.gz
cd glibc
mkdir build
cd build

View file

@ -1,5 +1,5 @@
wget -O gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz
tar -xfz gzip.tar.gz
tar -xf ./gzip.tar.gz
cd gzip
make CC="${CC:-cc} -static"
mkdir -p "$1/usr/bin" "$1/usr/share/man/man1"

View file

@ -1,5 +1,5 @@
wget -O make.tar.gz https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
untar -xfz make.tar.gz
untar -xf ./make.tar.gz
cd make
export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr

View file

@ -1,5 +1,5 @@
wget -O openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xfz openssl.tar.gz
tar -xf ./openssl.tar.gz
cd openssl
chmod +x ./config
./config --prefix="/usr"

121
patch Normal file
View file

@ -0,0 +1,121 @@
diff --git a/binutils/build b/binutils/build
index 9706d44..43960fa 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 -xfJ binutils.tar.xz
+tar -xf ./binutils.tar.xz
cd binutils
chmod +x makeinfo
export PATH=$PATH:$PWD
diff --git a/busybox/build b/busybox/build
index 3c134e0..b8ac0eb 100755
--- a/busybox/build
+++ b/busybox/build
@@ -1,5 +1,5 @@
wget -O busybox.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
-tar -xfJ busybox.tar.bz2
+tar -xf ./busybox.tar.bz2
cd busybox
make defconfig
LDFLAGS="--static" make
diff --git a/bzip2/build b/bzip2/build
index 08f28bc..b596371 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 -xfz bzip2.tar.gz
+tar -xf ./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 22fbc8b..e64e01b 100755
--- a/gcc/build
+++ b/gcc/build
@@ -1,5 +1,5 @@
wget -O gcc.tar.gz
-tar -xfz gcc.tar.gz
+tar -xf ./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 8150df6..c30214c 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 -xfJ git.tar.xz
+tar -xf ./git.tar.xz
cd git
./configure --prefix=/usr
make
diff --git a/glibc/build b/glibc/build
index 81232b0..aed7364 100755
--- a/glibc/build
+++ b/glibc/build
@@ -1,5 +1,5 @@
wget -O glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
-tar -xfz glibc.tar.gz
+tar -xf ./glibc.tar.gz
cd glibc
mkdir build
cd build
diff --git a/gzip/build b/gzip/build
index 366b75e..996b8bf 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 -xfz gzip.tar.gz
+tar -xf ./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 5f982cd..8d62818 100755
--- a/make/build
+++ b/make/build
@@ -1,5 +1,5 @@
wget -O make.tar.gz https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
-untar -xfz make.tar.gz
+untar -xf ./make.tar.gz
cd make
export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr
diff --git a/openssl/build b/openssl/build
index e8dd288..fb39416 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 -xfz openssl.tar.gz
+tar -xf ./openssl.tar.gz
cd openssl
chmod +x ./config
./config --prefix="/usr"
diff --git a/xz/build b/xz/build
index c5a7880..f81fcac 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 -xfJ xz.tar.gz
+tar -xf ./xz.tar.gz
cd xz
./configure --prefix=/usr --disable-nls
make
diff --git a/zlib/build b/zlib/build
index 905191e..2a1a03f 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 -xfz zlib.tar.gz
+tar -xf ./zlib.tar.gz
cd zlib
export CFLAGS="$CFLAGS -fPIC"
./configure --prefix="$1" --lib-dir="/usr/lib" --shared

View file

@ -1,5 +1,5 @@
wget -O xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
tar -xfJ xz.tar.gz
tar -xf ./xz.tar.gz
cd xz
./configure --prefix=/usr --disable-nls
make

View file

@ -1,5 +1,5 @@
wget -O zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz
tar -xfz zlib.tar.gz
tar -xf ./zlib.tar.gz
cd zlib
export CFLAGS="$CFLAGS -fPIC"
./configure --prefix="$1" --lib-dir="/usr/lib" --shared