updated to lfs9.1
This commit is contained in:
parent
8bf6d10c46
commit
bc26b67553
65 changed files with 1285 additions and 661 deletions
29
02-base
29
02-base
|
@ -68,11 +68,11 @@ mount_pseudo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
umount_pseudo() {
|
umount_pseudo() {
|
||||||
mountpoint -q $LFS/dev/pts && umount $LFS/dev/pts
|
unmount $LFS/dev/pts
|
||||||
mountpoint -q $LFS/dev && umount $LFS/dev
|
unmount $LFS/dev
|
||||||
mountpoint -q $LFS/run && umount $LFS/run
|
unmount $LFS/run
|
||||||
mountpoint -q $LFS/proc && umount $LFS/proc
|
unmount $LFS/proc
|
||||||
mountpoint -q $LFS/sys && umount $LFS/sys
|
unmount $LFS/sys
|
||||||
}
|
}
|
||||||
|
|
||||||
mountbind_cache() {
|
mountbind_cache() {
|
||||||
|
@ -84,8 +84,15 @@ mountbind_cache() {
|
||||||
|
|
||||||
umountbind_cache() {
|
umountbind_cache() {
|
||||||
# umount binded cachedir
|
# umount binded cachedir
|
||||||
umount $LFS/var/lib/pkg/src &>/dev/null
|
unmount $LFS/var/lib/pkg/src
|
||||||
umount $LFS/var/lib/pkg/pkg &>/dev/null
|
unmount $LFS/var/lib/pkg/pkg
|
||||||
|
}
|
||||||
|
|
||||||
|
unmount() {
|
||||||
|
while true; do
|
||||||
|
mountpoint -q $1 || break
|
||||||
|
umount $1 2>/dev/null
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -136,7 +143,7 @@ else
|
||||||
ENVLFS=/tools/bin/env
|
ENVLFS=/tools/bin/env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PKGS="filesystem linux-api-headers man-pages glibc tzdata zlib file readline m4 bc binutils gmp mpfr mpc attr acl shadow gcc bzip2
|
PKGS="filesystem linux-api-headers man-pages glibc tzdata zlib bzip2 file readline m4 bc binutils gmp mpfr mpc attr acl shadow gcc
|
||||||
pkg-config ncurses libcap sed psmisc iana-etc bison flex grep bash libtool gdbm gperf expat inetutils
|
pkg-config ncurses libcap sed psmisc iana-etc bison flex grep bash libtool gdbm gperf expat inetutils
|
||||||
perl perl-xml-parser intltool autoconf automake xz kmod gettext elfutils libffi openssl python3 coreutils
|
perl perl-xml-parser intltool autoconf automake xz kmod gettext elfutils libffi openssl python3 coreutils
|
||||||
diffutils gawk findutils groff fuse2 grub less gzip iproute2 kbd libpipeline make patch man-db tar texinfo vim procps-ng
|
diffutils gawk findutils groff fuse2 grub less gzip iproute2 kbd libpipeline make patch man-db tar texinfo vim procps-ng
|
||||||
|
@ -149,9 +156,9 @@ if [ ! -f $LFS/var/lib/pkg/db ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $LFS/usr/ports/
|
mkdir -p $LFS/usr/ports/
|
||||||
runinchroot ports -u || die
|
#runinchroot ports -u || die
|
||||||
#echo "==> Copying ports"
|
echo "==> Copying ports"
|
||||||
#cp -Ra ports/* $LFS/usr/ports/
|
cp -Ra ports/* $LFS/usr/ports/
|
||||||
|
|
||||||
mountbind_cache
|
mountbind_cache
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=bc
|
name=bc
|
||||||
version=2.2.0
|
version=2.5.3
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/gavinhoward/bc/archive/$version/bc-$version.tar.gz)
|
source=(https://github.com/gavinhoward/bc/archive/$version/bc-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=binutils
|
name=binutils
|
||||||
version=2.33.1
|
version=2.34
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/binutils/$name-$version.tar.xz)
|
source=(https://ftp.gnu.org/gnu/binutils/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=bison
|
name=bison
|
||||||
version=3.4.2
|
version=3.5.2
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ name=coreutils
|
||||||
version=8.31
|
version=8.31
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
|
||||||
http://www.linuxfromscratch.org/patches/lfs/development/coreutils-$version-i18n-1.patch)
|
http://www.linuxfromscratch.org/patches/lfs/9.1/coreutils-$version-i18n-1.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: ca-certificates openssl
|
# Depends on: ca-certificates openssl
|
||||||
|
|
||||||
name=curl
|
name=curl
|
||||||
version=7.66.0
|
version=7.68.0
|
||||||
release=1
|
release=1
|
||||||
source=(https://curl.haxx.se/download/$name-$version.tar.xz)
|
source=(https://curl.haxx.se/download/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=dhcpcd
|
name=dhcpcd
|
||||||
version=8.1.1
|
version=8.1.6
|
||||||
bootscriptsversion=20191025
|
bootscriptsversion=20191204
|
||||||
release=1
|
release=1
|
||||||
source=(https://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.xz
|
source=(https://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.xz
|
||||||
http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-$bootscriptsversion.tar.xz)
|
http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-$bootscriptsversion.tar.xz)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: bash bc
|
# Depends on: bash bc
|
||||||
|
|
||||||
name=e2fsprogs
|
name=e2fsprogs
|
||||||
version=1.45.4
|
version=1.45.6
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.kernel.org/pub/linux/kernel/people/tytso/$name/v$version/$name-$version.tar.xz)
|
source=(https://www.kernel.org/pub/linux/kernel/people/tytso/$name/v$version/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=elfutils
|
name=elfutils
|
||||||
version=0.177
|
version=0.178
|
||||||
release=1
|
release=1
|
||||||
source=(https://sourceware.org/ftp/elfutils/$version/elfutils-$version.tar.bz2)
|
source=(https://sourceware.org/ftp/elfutils/$version/elfutils-$version.tar.bz2)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
./configure --prefix=/usr --program-prefix="eu-"
|
./configure --prefix=/usr --program-prefix="eu-" --disable-debuginfod
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=expat
|
name=expat
|
||||||
version=2.2.8
|
version=2.2.9
|
||||||
release=1
|
release=1
|
||||||
source=(https://sourceforge.net/projects/expat/files/expat/$version/expat-$version.tar.bz2)
|
source=(https://sourceforge.net/projects/expat/files/expat/$version/expat-$version.tar.bz2)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=file
|
name=file
|
||||||
version=5.37
|
version=5.38
|
||||||
release=1
|
release=1
|
||||||
source=(ftp://ftp.astron.com/pub/$name/$name-$version.tar.gz)
|
source=(ftp://ftp.astron.com/pub/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,10 @@ build() {
|
||||||
sed -e '/m64=/s/lib64/lib/' \
|
sed -e '/m64=/s/lib64/lib/' \
|
||||||
-i.orig gcc/config/i386/t-linux64
|
-i.orig gcc/config/i386/t-linux64
|
||||||
|
|
||||||
|
# fix a problem introduced by Glibc-2.31
|
||||||
|
sed -e '1161 s|^|//|' \
|
||||||
|
-i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||||
|
|
||||||
mkdir -v build
|
mkdir -v build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=glibc
|
name=glibc
|
||||||
version=2.30
|
version=2.31
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
|
||||||
http://www.linuxfromscratch.org/patches/lfs/9.0/$name-$version-fhs-1.patch)
|
http://www.linuxfromscratch.org/patches/lfs/9.1/$name-$version-fhs-1.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
if [ "$MULTILIB" = "yes" ]; then
|
if [ "$MULTILIB" = "yes" ]; then
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=gmp
|
name=gmp
|
||||||
version=6.1.2
|
version=6.2.0
|
||||||
release=2
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/gmp/$name-$version.tar.xz)
|
source=(https://ftp.gnu.org/gnu/gmp/$name-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -17,4 +17,4 @@ build() {
|
||||||
--disable-static
|
--disable-static
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
|
|
||||||
name=gpm
|
name=gpm
|
||||||
version=1.20.7
|
version=1.20.7
|
||||||
bootscriptsversion=20191025
|
bootscriptsversion=20191204
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.nico.schottelius.org/software/gpm/archives/$name-$version.tar.bz2
|
source=(https://www.nico.schottelius.org/software/gpm/archives/$name-$version.tar.bz2
|
||||||
http://www.linuxfromscratch.org/patches/blfs/svn/gpm-$version-glibc_2.26-1.patch
|
http://www.linuxfromscratch.org/patches/blfs/9.1/gpm-$version-glibc_2.26-1.patch
|
||||||
http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-$bootscriptsversion.tar.xz)
|
http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-$bootscriptsversion.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=grep
|
name=grep
|
||||||
version=3.3
|
version=3.4
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=iproute2
|
name=iproute2
|
||||||
version=5.2.0
|
version=5.5.0
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz)
|
source=(https://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
name=lfs-bootscripts
|
name=lfs-bootscripts
|
||||||
version=20191031
|
version=20191031
|
||||||
release=1
|
release=1
|
||||||
source=(http://www.linuxfromscratch.org/lfs/downloads/development/$name-$version.tar.xz
|
source=(http://www.linuxfromscratch.org/lfs/downloads/9.1/lfs-bootscripts-$version.tar.xz
|
||||||
lfs-bootscripts_add-support-uefi.patch
|
lfs-bootscripts_add-support-uefi.patch
|
||||||
clock
|
clock
|
||||||
console
|
console
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=libarchive
|
name=libarchive
|
||||||
version=3.4.0
|
version=3.4.2
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/libarchive/libarchive/releases/download/v$version/libarchive-$version.tar.gz)
|
source=(https://github.com/libarchive/libarchive/releases/download/v$version/libarchive-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=libcap
|
name=libcap
|
||||||
version=2.27
|
version=2.31
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz)
|
source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=libffi
|
name=libffi
|
||||||
version=3.2.1
|
version=3.3
|
||||||
release=1
|
release=1
|
||||||
source=(ftp://sourceware.org/pub/$name/$name-$version.tar.gz)
|
source=(ftp://sourceware.org/pub/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=libpipeline
|
name=libpipeline
|
||||||
version=1.5.1
|
version=1.5.2
|
||||||
release=1
|
release=1
|
||||||
source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)
|
source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=libtasn1
|
name=libtasn1
|
||||||
version=4.14
|
version=4.16.0
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.14.tar.gz)
|
source=(https://ftp.gnu.org/gnu/libtasn1/libtasn1-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=libxml2
|
name=libxml2
|
||||||
version=2.9.9
|
version=2.9.10
|
||||||
release=1
|
release=1
|
||||||
source=(http://xmlsoft.org/sources/$name-$version.tar.gz)
|
source=(http://xmlsoft.org/sources/$name-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,16 +4,17 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=linux-api-headers
|
name=linux-api-headers
|
||||||
version=4.19.66
|
version=5.4.44
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz)
|
source=(https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd linux-$version
|
cd linux-$version
|
||||||
|
|
||||||
make mrproper
|
make mrproper
|
||||||
make INSTALL_HDR_PATH=dest headers_install
|
make headers
|
||||||
find dest/include \( -name .install -o -name ..install.cmd \) -delete
|
find usr/include -name '.*' -delete
|
||||||
|
rm usr/include/Makefile
|
||||||
mkdir -p $PKG/usr/include
|
mkdir -p $PKG/usr/include
|
||||||
cp -rv dest/include/* $PKG/usr/include
|
cp -rv usr/include/* $PKG/usr/include
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=linux-firmware
|
name=linux-firmware
|
||||||
version=20191022
|
version=20200519
|
||||||
release=1
|
release=1
|
||||||
source=(https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-$version.tar.gz)
|
source=(https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,17 +4,18 @@
|
||||||
# Depends on: elfutils mkinitramfs openssl linux-firmware
|
# Depends on: elfutils mkinitramfs openssl linux-firmware
|
||||||
|
|
||||||
name=linux
|
name=linux
|
||||||
version=4.19.66
|
version=5.4.44
|
||||||
release=1
|
release=1
|
||||||
source=(https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz
|
source=(https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz
|
||||||
config-$version)
|
config)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd linux-$version
|
cd linux-$version
|
||||||
|
|
||||||
make mrproper
|
make mrproper
|
||||||
|
|
||||||
cp $SRC/config-$version ./.config
|
cp $SRC/config ./.config
|
||||||
|
make olddefconfig
|
||||||
|
|
||||||
sed '/^CONFIG_LOCALVERSION=/d' -i .config
|
sed '/^CONFIG_LOCALVERSION=/d' -i .config
|
||||||
echo 'CONFIG_LOCALVERSION="-LFS"' >> .config
|
echo 'CONFIG_LOCALVERSION="-LFS"' >> .config
|
||||||
|
|
1729
ports/core/linux/config-4.19.66 → ports/core/linux/config
Executable file → Normal file
1729
ports/core/linux/config-4.19.66 → ports/core/linux/config
Executable file → Normal file
File diff suppressed because it is too large
Load diff
|
@ -4,16 +4,13 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=make
|
name=make
|
||||||
version=4.2.1
|
version=4.3
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
# work around an error caused by glibc-2.27
|
|
||||||
sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c
|
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=man-pages
|
name=man-pages
|
||||||
version=5.03
|
version=5.05
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.kernel.org/pub/linux/docs/$name/$name-$version.tar.xz)
|
source=(https://www.kernel.org/pub/linux/docs/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,13 @@
|
||||||
# Depends on: libarchive bash
|
# Depends on: libarchive bash
|
||||||
|
|
||||||
name=mkinitramfs
|
name=mkinitramfs
|
||||||
version=20190819
|
version=20200118
|
||||||
release=1
|
release=1
|
||||||
_commit=39f3bb586bb2f77729c0efe5f1642a166f30f7e9
|
source=(https://github.com/venomlinux/mkinitramfs/archive/$version/$name-$version.tar.gz
|
||||||
source=(https://github.com/emmett1/mkinitramfs/archive/$_commit.tar.gz)
|
https://github.com/venomlinux/mkinitramfs/commit/2b323335ff368f0bbd40ed7cd907648b2e35bcc1.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$_commit
|
cd $name-$version
|
||||||
|
patch -Np1 -i $SRC/2b323335ff368f0bbd40ed7cd907648b2e35bcc1.patch
|
||||||
DESTDIR=$PKG ./INSTALL.sh
|
DESTDIR=$PKG ./INSTALL.sh
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=ncurses
|
name=ncurses
|
||||||
version=6.1
|
version=6.2
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu//$name/$name-$version.tar.gz)
|
source=(https://ftp.gnu.org/gnu//$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=p11-kit
|
name=p11-kit
|
||||||
version=0.23.16.1
|
version=0.23.20
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/p11-glue/p11-kit/releases/download/$version/p11-kit-$version.tar.gz)
|
source=(https://github.com/p11-glue/p11-kit/releases/download/$version/p11-kit-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=pciutils
|
name=pciutils
|
||||||
version=3.6.2
|
version=3.6.4
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.kernel.org/pub/software/utils/$name/$name-$version.tar.xz)
|
source=(https://www.kernel.org/pub/software/utils/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=perl-xml-parser
|
name=perl-xml-parser
|
||||||
version=2.44
|
version=2.46
|
||||||
release=1
|
release=1
|
||||||
source=(http://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-$version.tar.gz)
|
source=(http://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=perl
|
name=perl
|
||||||
version=5.30.0
|
version=5.30.1
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.cpan.org/src/5.0/$name-$version.tar.xz)
|
source=(https://www.cpan.org/src/5.0/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: libffi
|
# Depends on: libffi
|
||||||
|
|
||||||
name=python3
|
name=python3
|
||||||
version=3.8.0
|
version=3.8.1
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
|
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=sed
|
name=sed
|
||||||
version=4.7
|
version=4.8
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=shadow
|
name=shadow
|
||||||
version=4.7
|
version=4.8.1
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/shadow-maint/shadow/releases/download/$version/$name-$version.tar.xz)
|
source=(https://github.com/shadow-maint/shadow/releases/download/$version/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: gzip ncurses perl bash
|
# Depends on: gzip ncurses perl bash
|
||||||
|
|
||||||
name=texinfo
|
name=texinfo
|
||||||
version=6.6
|
version=6.7
|
||||||
release=1
|
release=1
|
||||||
source=(https://ftp.gnu.org/gnu/texinfo/$name-$version.tar.xz)
|
source=(https://ftp.gnu.org/gnu/texinfo/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: coreutils shadow
|
# Depends on: coreutils shadow
|
||||||
|
|
||||||
name=util-linux
|
name=util-linux
|
||||||
version=2.34
|
version=2.35.1
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.kernel.org/pub/linux/utils/$name/v${version::4}/$name-$version.tar.xz)
|
source=(https://www.kernel.org/pub/linux/utils/$name/v${version::4}/$name-$version.tar.xz)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: acl gawk
|
# Depends on: acl gawk
|
||||||
|
|
||||||
name=vim
|
name=vim
|
||||||
version=8.1.1967
|
version=8.2.0190
|
||||||
release=1
|
release=1
|
||||||
source=(https://github.com/vim/vim/archive/v$version.tar.gz)
|
source=(https://github.com/vim/vim/archive/v$version.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
name=wpa_supplicant
|
name=wpa_supplicant
|
||||||
version=2.9
|
version=2.9
|
||||||
bootscriptsversion=20191025
|
bootscriptsversion=20191204
|
||||||
release=2
|
release=2
|
||||||
source=(https://w1.fi/releases/wpa_supplicant-$version.tar.gz
|
source=(https://w1.fi/releases/wpa_supplicant-$version.tar.gz
|
||||||
http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-$bootscriptsversion.tar.xz
|
http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-$bootscriptsversion.tar.xz
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=binutils
|
name=binutils
|
||||||
version=2.33.1
|
version=2.34
|
||||||
source=(http://ftp.gnu.org/gnu/binutils/binutils-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/binutils/binutils-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name=gcc
|
name=gcc
|
||||||
version=9.2.0
|
version=9.2.0
|
||||||
gmp_version=6.1.2
|
gmp_version=6.2.0
|
||||||
mpc_version=1.1.0
|
mpc_version=1.1.0
|
||||||
mpfr_version=4.0.2
|
mpfr_version=4.0.2
|
||||||
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.xz
|
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.xz
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name=linux
|
name=linux
|
||||||
version=4.19.66
|
version=5.4.44
|
||||||
source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz)
|
source=(https://www.kernel.org/pub/linux/kernel/v5.x/linux-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd linux-$version
|
cd linux-$version
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=glibc
|
name=glibc
|
||||||
version=2.30
|
version=2.31
|
||||||
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=binutils
|
name=binutils
|
||||||
version=2.33.1
|
version=2.34
|
||||||
source=(http://ftp.gnu.org/gnu/binutils/binutils-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/binutils/binutils-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name=gcc
|
name=gcc
|
||||||
version=9.2.0
|
version=9.2.0
|
||||||
gmp_version=6.1.2
|
gmp_version=6.2.0
|
||||||
mpc_version=1.1.0
|
mpc_version=1.1.0
|
||||||
mpfr_version=4.0.2
|
mpfr_version=4.0.2
|
||||||
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.xz
|
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.xz
|
||||||
|
@ -46,6 +46,10 @@ build() {
|
||||||
-i.orig gcc/config/i386/t-linux64
|
-i.orig gcc/config/i386/t-linux64
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# fix a problem introduced by Glibc-2.31
|
||||||
|
sed -e '1161 s|^|//|' \
|
||||||
|
-i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||||
|
|
||||||
mkdir -v build
|
mkdir -v build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=tcl
|
name=tcl
|
||||||
version=8.6.9
|
version=8.6.10
|
||||||
source=(https://downloads.sourceforge.net/tcl/tcl$version-src.tar.gz)
|
source=(https://downloads.sourceforge.net/tcl/tcl$version-src.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=ncurses
|
name=ncurses
|
||||||
version=6.1
|
version=6.2
|
||||||
source=(http://ftp.gnu.org/gnu/ncurses/ncurses-$version.tar.gz)
|
source=(http://ftp.gnu.org/gnu/ncurses/ncurses-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=bison
|
name=bison
|
||||||
version=3.4.2
|
version=3.5.2
|
||||||
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -4,6 +4,11 @@ source=(https://www.sourceware.org/pub/bzip2/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
make -f Makefile-libbz2_so
|
||||||
|
make clean
|
||||||
make
|
make
|
||||||
make PREFIX=/tools install
|
make PREFIX=/tools install
|
||||||
|
cp -v bzip2-shared /tools/bin/bzip2
|
||||||
|
cp -av libbz2.so* /tools/lib
|
||||||
|
ln -sv libbz2.so.1.0 /tools/lib/libbz2.so
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=file
|
name=file
|
||||||
version=5.37
|
version=5.38
|
||||||
source=(ftp://ftp.astron.com/pub/file/file-$version.tar.gz)
|
source=(ftp://ftp.astron.com/pub/file/file-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -6,9 +6,9 @@ build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
# fixes required by glibc-2.28
|
# fixes required by glibc-2.28
|
||||||
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' gl/lib/*.c
|
#sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' gl/lib/*.c
|
||||||
sed -i '/unistd/a #include <sys/sysmacros.h>' gl/lib/mountlist.c
|
#sed -i '/unistd/a #include <sys/sysmacros.h>' gl/lib/mountlist.c
|
||||||
echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h
|
#echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h
|
||||||
|
|
||||||
./configure --prefix=/tools
|
./configure --prefix=/tools
|
||||||
make
|
make
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=grep
|
name=grep
|
||||||
version=3.3
|
version=3.4
|
||||||
source=(http://ftp.gnu.org/gnu/grep/grep-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/grep/grep-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -6,8 +6,8 @@ build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
#fixes required by glibc-2.28
|
#fixes required by glibc-2.28
|
||||||
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
#sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
||||||
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
#echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
||||||
|
|
||||||
./configure --prefix=/tools
|
./configure --prefix=/tools
|
||||||
make
|
make
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
name=make
|
name=make
|
||||||
version=4.2.1
|
version=4.3
|
||||||
source=(http://ftp.gnu.org/gnu/make/make-$version.tar.gz)
|
source=(http://ftp.gnu.org/gnu/make/make-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c
|
|
||||||
./configure --prefix=/tools --without-guile
|
./configure --prefix=/tools --without-guile
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=perl
|
name=perl
|
||||||
version=5.30.0
|
version=5.30.1
|
||||||
source=(https://www.cpan.org/src/5.0/perl-$version.tar.xz)
|
source=(https://www.cpan.org/src/5.0/perl-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=python
|
name=python
|
||||||
version=3.8.0
|
version=3.8.1
|
||||||
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
|
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=sed
|
name=sed
|
||||||
version=4.7
|
version=4.8
|
||||||
source=(http://ftp.gnu.org/gnu/sed/sed-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/sed/sed-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=curl
|
name=curl
|
||||||
version=7.66.0
|
version=7.68.0
|
||||||
source=(https://curl.haxx.se/download/$name-$version.tar.xz)
|
source=(https://curl.haxx.se/download/$name-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=libarchive
|
name=libarchive
|
||||||
version=3.4.0
|
version=3.4.2
|
||||||
source=(https://github.com/libarchive/libarchive/releases/download/v$version/libarchive-$version.tar.gz)
|
source=(https://github.com/libarchive/libarchive/releases/download/v$version/libarchive-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=expat
|
name=expat
|
||||||
version=2.2.7
|
version=2.2.9
|
||||||
source=(https://prdownloads.sourceforge.net/expat/expat-$version.tar.xz)
|
source=(https://prdownloads.sourceforge.net/expat/expat-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name=nano
|
name=nano
|
||||||
version=4.4
|
version=4.8
|
||||||
source=(https://www.nano-editor.org/dist/v${version::1}/nano-$version.tar.xz)
|
source=(https://www.nano-editor.org/dist/v${version::1}/nano-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue