forked from alnux/repo
packages patch
This commit is contained in:
parent
d512c014cb
commit
d55064e8c5
13 changed files with 36 additions and 157 deletions
|
@ -1,6 +1,6 @@
|
||||||
wget -O binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
wget -O ${temp_location}/binutils/binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
||||||
tar -xf ./binutils.tar.xz
|
tar -xf ${temp_location}/binutils/binutils.tar.xz
|
||||||
cd binutils
|
cd ${temp_location}/biinutils/binutils
|
||||||
chmod +x makeinfo
|
chmod +x makeinfo
|
||||||
export PATH=$PATH:$PWD
|
export PATH=$PATH:$PWD
|
||||||
./configure \
|
./configure \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O busybox.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
|
wget -O ${temp_location}/busybox/busybox.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
|
||||||
tar -xf ./busybox.tar.bz2
|
tar -xf ${temp_location}/busybox/busybox.tar.bz2
|
||||||
cd busybox
|
cd ${temp_location}/busybox
|
||||||
make defconfig
|
make defconfig
|
||||||
LDFLAGS="--static" make
|
LDFLAGS="--static" make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
|
wget -O ${temp_location}/bzip2/bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
|
||||||
tar -xf ./bzip2.tar.gz
|
tar -xf ${temp_location}/bzip2/bzip2.tar.gz
|
||||||
cd bzip2
|
cd ${temp_location}/bzip2/bzip2
|
||||||
make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
|
make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
|
||||||
make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2
|
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"
|
mkdir -p "$1/usr/bin" "$1/usr/lib" "$1/usr/share/man/man1" "$1/usr/include"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O gcc.tar.gz
|
wget -O ${temp_location}/gcc/gcc.tar.gz
|
||||||
tar -xf ./gcc.tar.gz
|
tar -xf ${temp_location}/gcc/gcc.tar.gz
|
||||||
cd gcc
|
cd ${temp_location}/gcc/gcc
|
||||||
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
|
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
|
||||||
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
|
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
|
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 ./git.tar.xz
|
tar -xf ${temp_location}/git/git.tar.xz
|
||||||
cd git
|
cd ${temp_location}/git/git
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
|
wget -O ${temp_location}/glibc/glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
|
||||||
tar -xf ./glibc.tar.gz
|
tar -xf ${temp_location}/glibc/glibc.tar.gz
|
||||||
cd glibc
|
cd ${temp_location}/glibc/glibc
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../configure --prefix=/usr
|
../configure --prefix=/usr
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz
|
wget -O ${temp_location}/gzip/gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz
|
||||||
tar -xf ./gzip.tar.gz
|
tar -xf ${temp_location}/gzip/gzip.tar.gz
|
||||||
cd gzip
|
cd ${temp_location}/gzip/gzip
|
||||||
make CC="${CC:-cc} -static"
|
make CC="${CC:-cc} -static"
|
||||||
mkdir -p "$1/usr/bin" "$1/usr/share/man/man1"
|
mkdir -p "$1/usr/bin" "$1/usr/share/man/man1"
|
||||||
cp -f pigz unpigz "$1/usr/bin"
|
cp -f pigz unpigz "$1/usr/bin"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
git clone https://github.com/Sweets/hummingbird hummingbird-build
|
git clone https://github.com/Sweets/hummingbird ${temp_location}/hummingbird-build
|
||||||
cd hummingbird-build
|
cd ${temp_location}/hummingbird-build
|
||||||
make
|
make
|
||||||
make install DESTDIR=$1
|
make install DESTDIR=$1
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O make.tar.gz https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
|
wget -O ${temp_location}/make/make.tar.gz https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
|
||||||
untar -xf ./make.tar.gz
|
untar -xf ${temp_location}/make/make.tar.gz
|
||||||
cd make
|
cd ${temp_location}/make/make
|
||||||
export CFLAGS="$CFLAGS -static"
|
export CFLAGS="$CFLAGS -static"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
|
wget -O ${temp_location}/openssl/openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
|
||||||
tar -xf ./openssl.tar.gz
|
tar -xf ${temp_location}/openssl/openssl.tar.gz
|
||||||
cd openssl
|
cd ${temp_location}/openssl/openssl
|
||||||
chmod +x ./config
|
chmod +x ./config
|
||||||
./config --prefix="/usr"
|
./config --prefix="/usr"
|
||||||
make
|
make
|
||||||
|
|
121
patch
121
patch
|
@ -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
|
|
6
xz/build
6
xz/build
|
@ -1,6 +1,6 @@
|
||||||
wget -O xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
|
wget -O ${temp_location}/xz/xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
|
||||||
tar -xf ./xz.tar.gz
|
tar -xf ${temp_location}/xz/xz.tar.gz
|
||||||
cd xz
|
cd ${temp_location}/xz/xz
|
||||||
./configure --prefix=/usr --disable-nls
|
./configure --prefix=/usr --disable-nls
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
wget -O zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz
|
wget -O ${temp_location}/zlib/zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz
|
||||||
tar -xf ./zlib.tar.gz
|
tar -xf ${temp_location}/zlib/zlib.tar.gz
|
||||||
cd zlib
|
cd ${temp_location}/zlib/zlib
|
||||||
export CFLAGS="$CFLAGS -fPIC"
|
export CFLAGS="$CFLAGS -fPIC"
|
||||||
./configure --prefix="$1" --lib-dir="/usr/lib" --shared
|
./configure --prefix="$1" --lib-dir="/usr/lib" --shared
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in a new issue