packages patch

This commit is contained in:
Ohio2 2021-07-07 12:48:44 +02:00
parent d512c014cb
commit d55064e8c5
13 changed files with 36 additions and 157 deletions

View file

@ -1,6 +1,6 @@
wget -O binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
tar -xf ./binutils.tar.xz
cd binutils
wget -O ${temp_location}/binutils/binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
tar -xf ${temp_location}/binutils/binutils.tar.xz
cd ${temp_location}/biinutils/binutils
chmod +x makeinfo
export PATH=$PATH:$PWD
./configure \

View file

@ -1,6 +1,6 @@
wget -O busybox.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
tar -xf ./busybox.tar.bz2
cd busybox
wget -O ${temp_location}/busybox/busybox.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
tar -xf ${temp_location}/busybox/busybox.tar.bz2
cd ${temp_location}/busybox
make defconfig
LDFLAGS="--static" make
make install DESTDIR="$1"

View file

@ -1,6 +1,6 @@
wget -O bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
tar -xf ./bzip2.tar.gz
cd bzip2
wget -O ${temp_location}/bzip2/bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
tar -xf ${temp_location}/bzip2/bzip2.tar.gz
cd ${temp_location}/bzip2/bzip2
make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2
mkdir -p "$1/usr/bin" "$1/usr/lib" "$1/usr/share/man/man1" "$1/usr/include"

View file

@ -1,6 +1,6 @@
wget -O gcc.tar.gz
tar -xf ./gcc.tar.gz
cd gcc
wget -O ${temp_location}/gcc/gcc.tar.gz
tar -xf ${temp_location}/gcc/gcc.tar.gz
cd ${temp_location}/gcc/gcc
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
mkdir build

View file

@ -1,6 +1,6 @@
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
cd git
wget -O ${temp_location}/git/git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
tar -xf ${temp_location}/git/git.tar.xz
cd ${temp_location}/git/git
./configure --prefix=/usr
make
make install DESTDIR="$1"

View file

@ -1,6 +1,6 @@
wget -O glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
tar -xf ./glibc.tar.gz
cd glibc
wget -O ${temp_location}/glibc/glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
tar -xf ${temp_location}/glibc/glibc.tar.gz
cd ${temp_location}/glibc/glibc
mkdir build
cd build
../configure --prefix=/usr

View file

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

View file

@ -1,4 +1,4 @@
git clone https://github.com/Sweets/hummingbird hummingbird-build
cd hummingbird-build
git clone https://github.com/Sweets/hummingbird ${temp_location}/hummingbird-build
cd ${temp_location}/hummingbird-build
make
make install DESTDIR=$1

View file

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

View file

@ -1,6 +1,6 @@
wget -O openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf ./openssl.tar.gz
cd openssl
wget -O ${temp_location}/openssl/openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf ${temp_location}/openssl/openssl.tar.gz
cd ${temp_location}/openssl/openssl
chmod +x ./config
./config --prefix="/usr"
make

121
patch
View file

@ -1,121 +0,0 @@
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,6 +1,6 @@
wget -O xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
tar -xf ./xz.tar.gz
cd xz
wget -O ${temp_location}/xz/xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
tar -xf ${temp_location}/xz/xz.tar.gz
cd ${temp_location}/xz/xz
./configure --prefix=/usr --disable-nls
make
make install DESTDIR="$1"

View file

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