From d86a911ac9d3162a3f8fe2d4341823021dc0ff33 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 5 Feb 2025 18:47:31 -0500 Subject: [PATCH 001/146] wip: create lfs-12.2-systemd/python-flit-core-3.9.0 --- lfs-12.2-systemd/python-flit-core-3.9.0.PKGBUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lfs-12.2-systemd/python-flit-core-3.9.0.PKGBUILD diff --git a/lfs-12.2-systemd/python-flit-core-3.9.0.PKGBUILD b/lfs-12.2-systemd/python-flit-core-3.9.0.PKGBUILD new file mode 100644 index 0000000..8ef630e --- /dev/null +++ b/lfs-12.2-systemd/python-flit-core-3.9.0.PKGBUILD @@ -0,0 +1,14 @@ +pkgname=python-flit-core +_name=${pkgname#python-} +pkgver=3.9.0 +pkgdesc="A PEP 517 build backend for packages using Flit" +homepage="https://github.com/pypa/flit/tree/main/flit_core" +license=(BSD-3-Clause) +sources=("flit_core-${pkgver}.tar.gz") +urls=("https://pypi.org/packages/source/f/${_name}/${sources[0]}") +md5sums=("3bc52f1952b9a78361114147da63c35b") + +src_prepare() { + tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 +} + From 02fd8b18b8f878db11de4e0f962c7f47ccebed5b Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 01:29:59 -0400 Subject: [PATCH 002/146] update: rename to Gentoo style --- {misc => app-misc}/neofetch-7.1.0.PKGBUILD.old | 0 {misc => app-misc}/neofetch-7.1.1.PKGBUILD | 0 {shells => app-shells}/zsh-5.9.PKGBUILD | 0 {dev => dev-vcs}/git-2.44.0.PKGBUILD | 0 {net => net-misc}/wget-1.24.5.PKGBUILD | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename {misc => app-misc}/neofetch-7.1.0.PKGBUILD.old (100%) rename {misc => app-misc}/neofetch-7.1.1.PKGBUILD (100%) rename {shells => app-shells}/zsh-5.9.PKGBUILD (100%) rename {dev => dev-vcs}/git-2.44.0.PKGBUILD (100%) rename {net => net-misc}/wget-1.24.5.PKGBUILD (100%) diff --git a/misc/neofetch-7.1.0.PKGBUILD.old b/app-misc/neofetch-7.1.0.PKGBUILD.old similarity index 100% rename from misc/neofetch-7.1.0.PKGBUILD.old rename to app-misc/neofetch-7.1.0.PKGBUILD.old diff --git a/misc/neofetch-7.1.1.PKGBUILD b/app-misc/neofetch-7.1.1.PKGBUILD similarity index 100% rename from misc/neofetch-7.1.1.PKGBUILD rename to app-misc/neofetch-7.1.1.PKGBUILD diff --git a/shells/zsh-5.9.PKGBUILD b/app-shells/zsh-5.9.PKGBUILD similarity index 100% rename from shells/zsh-5.9.PKGBUILD rename to app-shells/zsh-5.9.PKGBUILD diff --git a/dev/git-2.44.0.PKGBUILD b/dev-vcs/git-2.44.0.PKGBUILD similarity index 100% rename from dev/git-2.44.0.PKGBUILD rename to dev-vcs/git-2.44.0.PKGBUILD diff --git a/net/wget-1.24.5.PKGBUILD b/net-misc/wget-1.24.5.PKGBUILD similarity index 100% rename from net/wget-1.24.5.PKGBUILD rename to net-misc/wget-1.24.5.PKGBUILD From a4b9b9fdc504cb19f09c0203b99ae98da94af050 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 01:33:44 -0400 Subject: [PATCH 003/146] update: rename lfs-12.2 to lfs --- {lfs-12.2-systemd => lfs}/acl-2.3.2.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/attr-2.5.2.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/autoconf-2.72.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/automake-1.17.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/bash-5.2.32.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/bc-6.7.6.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/binutils-2.43.1.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/bison-3.8.2.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/bzip2-1.0.8.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/dejagnu-1.6.3.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/expat-2.6.2.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/expect-5.45.4.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/file-5.45.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/flex-2.6.4.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/gcc-14.2.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/gdbm-1.24.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/gettext-0.22.5.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/glibc-2.40.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/glibc-2.40/ld.so.conf | 0 {lfs-12.2-systemd => lfs}/glibc-2.40/nsswitch.conf | 0 {lfs-12.2-systemd => lfs}/gmp-6.3.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/gperf-3.1.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/grep-3.11.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/iana-etc-20240806.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/inetutils-2.5.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/intltool-0.51.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/kmod-33.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/less-661.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/libcap-2.70.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/libelf-0.191.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/libffi-3.4.6.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/libtool-2.4.7.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/libxcrypt-4.4.36.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/libxcrypt-compat-4.4.36.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/lz4-4.10.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/m4-1.4.19.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/man-pages-6.9.1.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/mpc-1.3.1.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/mpfr-4.2.1.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/ncurses-6.5.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/openssl-3.3.1.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/perl-5.40.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/perl-xml-parser-2.47.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/pkgconf-2.3.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/psmisc-23.7.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/python-3.12.5.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/python-flit-core-3.9.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/python-setuptools-72.2.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/readline-8.2.13.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/sed-4.9.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/shadow-4.16.0.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/shadow-4.16.0/useradd | 0 {lfs-12.2-systemd => lfs}/tcl-8.6.14.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/xz-5.6.2.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/zlib-1.3.1.PKGBUILD | 0 {lfs-12.2-systemd => lfs}/zstd-1.5.6.PKGBUILD | 0 56 files changed, 0 insertions(+), 0 deletions(-) rename {lfs-12.2-systemd => lfs}/acl-2.3.2.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/attr-2.5.2.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/autoconf-2.72.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/automake-1.17.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/bash-5.2.32.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/bc-6.7.6.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/binutils-2.43.1.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/bison-3.8.2.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/bzip2-1.0.8.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/dejagnu-1.6.3.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/expat-2.6.2.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/expect-5.45.4.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/file-5.45.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/flex-2.6.4.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/gcc-14.2.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/gdbm-1.24.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/gettext-0.22.5.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/glibc-2.40.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/glibc-2.40/ld.so.conf (100%) rename {lfs-12.2-systemd => lfs}/glibc-2.40/nsswitch.conf (100%) rename {lfs-12.2-systemd => lfs}/gmp-6.3.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/gperf-3.1.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/grep-3.11.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/iana-etc-20240806.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/inetutils-2.5.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/intltool-0.51.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/kmod-33.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/less-661.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/libcap-2.70.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/libelf-0.191.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/libffi-3.4.6.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/libtool-2.4.7.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/libxcrypt-4.4.36.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/libxcrypt-compat-4.4.36.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/lz4-4.10.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/m4-1.4.19.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/man-pages-6.9.1.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/mpc-1.3.1.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/mpfr-4.2.1.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/ncurses-6.5.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/openssl-3.3.1.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/perl-5.40.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/perl-xml-parser-2.47.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/pkgconf-2.3.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/psmisc-23.7.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/python-3.12.5.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/python-flit-core-3.9.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/python-setuptools-72.2.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/readline-8.2.13.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/sed-4.9.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/shadow-4.16.0.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/shadow-4.16.0/useradd (100%) rename {lfs-12.2-systemd => lfs}/tcl-8.6.14.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/xz-5.6.2.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/zlib-1.3.1.PKGBUILD (100%) rename {lfs-12.2-systemd => lfs}/zstd-1.5.6.PKGBUILD (100%) diff --git a/lfs-12.2-systemd/acl-2.3.2.PKGBUILD b/lfs/acl-2.3.2.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/acl-2.3.2.PKGBUILD rename to lfs/acl-2.3.2.PKGBUILD diff --git a/lfs-12.2-systemd/attr-2.5.2.PKGBUILD b/lfs/attr-2.5.2.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/attr-2.5.2.PKGBUILD rename to lfs/attr-2.5.2.PKGBUILD diff --git a/lfs-12.2-systemd/autoconf-2.72.PKGBUILD b/lfs/autoconf-2.72.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/autoconf-2.72.PKGBUILD rename to lfs/autoconf-2.72.PKGBUILD diff --git a/lfs-12.2-systemd/automake-1.17.PKGBUILD b/lfs/automake-1.17.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/automake-1.17.PKGBUILD rename to lfs/automake-1.17.PKGBUILD diff --git a/lfs-12.2-systemd/bash-5.2.32.PKGBUILD b/lfs/bash-5.2.32.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/bash-5.2.32.PKGBUILD rename to lfs/bash-5.2.32.PKGBUILD diff --git a/lfs-12.2-systemd/bc-6.7.6.PKGBUILD b/lfs/bc-6.7.6.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/bc-6.7.6.PKGBUILD rename to lfs/bc-6.7.6.PKGBUILD diff --git a/lfs-12.2-systemd/binutils-2.43.1.PKGBUILD b/lfs/binutils-2.43.1.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/binutils-2.43.1.PKGBUILD rename to lfs/binutils-2.43.1.PKGBUILD diff --git a/lfs-12.2-systemd/bison-3.8.2.PKGBUILD b/lfs/bison-3.8.2.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/bison-3.8.2.PKGBUILD rename to lfs/bison-3.8.2.PKGBUILD diff --git a/lfs-12.2-systemd/bzip2-1.0.8.PKGBUILD b/lfs/bzip2-1.0.8.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/bzip2-1.0.8.PKGBUILD rename to lfs/bzip2-1.0.8.PKGBUILD diff --git a/lfs-12.2-systemd/dejagnu-1.6.3.PKGBUILD b/lfs/dejagnu-1.6.3.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/dejagnu-1.6.3.PKGBUILD rename to lfs/dejagnu-1.6.3.PKGBUILD diff --git a/lfs-12.2-systemd/expat-2.6.2.PKGBUILD b/lfs/expat-2.6.2.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/expat-2.6.2.PKGBUILD rename to lfs/expat-2.6.2.PKGBUILD diff --git a/lfs-12.2-systemd/expect-5.45.4.PKGBUILD b/lfs/expect-5.45.4.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/expect-5.45.4.PKGBUILD rename to lfs/expect-5.45.4.PKGBUILD diff --git a/lfs-12.2-systemd/file-5.45.PKGBUILD b/lfs/file-5.45.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/file-5.45.PKGBUILD rename to lfs/file-5.45.PKGBUILD diff --git a/lfs-12.2-systemd/flex-2.6.4.PKGBUILD b/lfs/flex-2.6.4.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/flex-2.6.4.PKGBUILD rename to lfs/flex-2.6.4.PKGBUILD diff --git a/lfs-12.2-systemd/gcc-14.2.0.PKGBUILD b/lfs/gcc-14.2.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/gcc-14.2.0.PKGBUILD rename to lfs/gcc-14.2.0.PKGBUILD diff --git a/lfs-12.2-systemd/gdbm-1.24.PKGBUILD b/lfs/gdbm-1.24.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/gdbm-1.24.PKGBUILD rename to lfs/gdbm-1.24.PKGBUILD diff --git a/lfs-12.2-systemd/gettext-0.22.5.PKGBUILD b/lfs/gettext-0.22.5.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/gettext-0.22.5.PKGBUILD rename to lfs/gettext-0.22.5.PKGBUILD diff --git a/lfs-12.2-systemd/glibc-2.40.PKGBUILD b/lfs/glibc-2.40.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/glibc-2.40.PKGBUILD rename to lfs/glibc-2.40.PKGBUILD diff --git a/lfs-12.2-systemd/glibc-2.40/ld.so.conf b/lfs/glibc-2.40/ld.so.conf similarity index 100% rename from lfs-12.2-systemd/glibc-2.40/ld.so.conf rename to lfs/glibc-2.40/ld.so.conf diff --git a/lfs-12.2-systemd/glibc-2.40/nsswitch.conf b/lfs/glibc-2.40/nsswitch.conf similarity index 100% rename from lfs-12.2-systemd/glibc-2.40/nsswitch.conf rename to lfs/glibc-2.40/nsswitch.conf diff --git a/lfs-12.2-systemd/gmp-6.3.0.PKGBUILD b/lfs/gmp-6.3.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/gmp-6.3.0.PKGBUILD rename to lfs/gmp-6.3.0.PKGBUILD diff --git a/lfs-12.2-systemd/gperf-3.1.PKGBUILD b/lfs/gperf-3.1.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/gperf-3.1.PKGBUILD rename to lfs/gperf-3.1.PKGBUILD diff --git a/lfs-12.2-systemd/grep-3.11.PKGBUILD b/lfs/grep-3.11.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/grep-3.11.PKGBUILD rename to lfs/grep-3.11.PKGBUILD diff --git a/lfs-12.2-systemd/iana-etc-20240806.PKGBUILD b/lfs/iana-etc-20240806.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/iana-etc-20240806.PKGBUILD rename to lfs/iana-etc-20240806.PKGBUILD diff --git a/lfs-12.2-systemd/inetutils-2.5.PKGBUILD b/lfs/inetutils-2.5.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/inetutils-2.5.PKGBUILD rename to lfs/inetutils-2.5.PKGBUILD diff --git a/lfs-12.2-systemd/intltool-0.51.0.PKGBUILD b/lfs/intltool-0.51.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/intltool-0.51.0.PKGBUILD rename to lfs/intltool-0.51.0.PKGBUILD diff --git a/lfs-12.2-systemd/kmod-33.PKGBUILD b/lfs/kmod-33.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/kmod-33.PKGBUILD rename to lfs/kmod-33.PKGBUILD diff --git a/lfs-12.2-systemd/less-661.PKGBUILD b/lfs/less-661.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/less-661.PKGBUILD rename to lfs/less-661.PKGBUILD diff --git a/lfs-12.2-systemd/libcap-2.70.PKGBUILD b/lfs/libcap-2.70.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/libcap-2.70.PKGBUILD rename to lfs/libcap-2.70.PKGBUILD diff --git a/lfs-12.2-systemd/libelf-0.191.PKGBUILD b/lfs/libelf-0.191.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/libelf-0.191.PKGBUILD rename to lfs/libelf-0.191.PKGBUILD diff --git a/lfs-12.2-systemd/libffi-3.4.6.PKGBUILD b/lfs/libffi-3.4.6.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/libffi-3.4.6.PKGBUILD rename to lfs/libffi-3.4.6.PKGBUILD diff --git a/lfs-12.2-systemd/libtool-2.4.7.PKGBUILD b/lfs/libtool-2.4.7.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/libtool-2.4.7.PKGBUILD rename to lfs/libtool-2.4.7.PKGBUILD diff --git a/lfs-12.2-systemd/libxcrypt-4.4.36.PKGBUILD b/lfs/libxcrypt-4.4.36.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/libxcrypt-4.4.36.PKGBUILD rename to lfs/libxcrypt-4.4.36.PKGBUILD diff --git a/lfs-12.2-systemd/libxcrypt-compat-4.4.36.PKGBUILD b/lfs/libxcrypt-compat-4.4.36.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/libxcrypt-compat-4.4.36.PKGBUILD rename to lfs/libxcrypt-compat-4.4.36.PKGBUILD diff --git a/lfs-12.2-systemd/lz4-4.10.0.PKGBUILD b/lfs/lz4-4.10.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/lz4-4.10.0.PKGBUILD rename to lfs/lz4-4.10.0.PKGBUILD diff --git a/lfs-12.2-systemd/m4-1.4.19.PKGBUILD b/lfs/m4-1.4.19.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/m4-1.4.19.PKGBUILD rename to lfs/m4-1.4.19.PKGBUILD diff --git a/lfs-12.2-systemd/man-pages-6.9.1.PKGBUILD b/lfs/man-pages-6.9.1.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/man-pages-6.9.1.PKGBUILD rename to lfs/man-pages-6.9.1.PKGBUILD diff --git a/lfs-12.2-systemd/mpc-1.3.1.PKGBUILD b/lfs/mpc-1.3.1.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/mpc-1.3.1.PKGBUILD rename to lfs/mpc-1.3.1.PKGBUILD diff --git a/lfs-12.2-systemd/mpfr-4.2.1.PKGBUILD b/lfs/mpfr-4.2.1.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/mpfr-4.2.1.PKGBUILD rename to lfs/mpfr-4.2.1.PKGBUILD diff --git a/lfs-12.2-systemd/ncurses-6.5.PKGBUILD b/lfs/ncurses-6.5.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/ncurses-6.5.PKGBUILD rename to lfs/ncurses-6.5.PKGBUILD diff --git a/lfs-12.2-systemd/openssl-3.3.1.PKGBUILD b/lfs/openssl-3.3.1.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/openssl-3.3.1.PKGBUILD rename to lfs/openssl-3.3.1.PKGBUILD diff --git a/lfs-12.2-systemd/perl-5.40.0.PKGBUILD b/lfs/perl-5.40.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/perl-5.40.0.PKGBUILD rename to lfs/perl-5.40.0.PKGBUILD diff --git a/lfs-12.2-systemd/perl-xml-parser-2.47.PKGBUILD b/lfs/perl-xml-parser-2.47.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/perl-xml-parser-2.47.PKGBUILD rename to lfs/perl-xml-parser-2.47.PKGBUILD diff --git a/lfs-12.2-systemd/pkgconf-2.3.0.PKGBUILD b/lfs/pkgconf-2.3.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/pkgconf-2.3.0.PKGBUILD rename to lfs/pkgconf-2.3.0.PKGBUILD diff --git a/lfs-12.2-systemd/psmisc-23.7.PKGBUILD b/lfs/psmisc-23.7.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/psmisc-23.7.PKGBUILD rename to lfs/psmisc-23.7.PKGBUILD diff --git a/lfs-12.2-systemd/python-3.12.5.PKGBUILD b/lfs/python-3.12.5.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/python-3.12.5.PKGBUILD rename to lfs/python-3.12.5.PKGBUILD diff --git a/lfs-12.2-systemd/python-flit-core-3.9.0.PKGBUILD b/lfs/python-flit-core-3.9.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/python-flit-core-3.9.0.PKGBUILD rename to lfs/python-flit-core-3.9.0.PKGBUILD diff --git a/lfs-12.2-systemd/python-setuptools-72.2.0.PKGBUILD b/lfs/python-setuptools-72.2.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/python-setuptools-72.2.0.PKGBUILD rename to lfs/python-setuptools-72.2.0.PKGBUILD diff --git a/lfs-12.2-systemd/readline-8.2.13.PKGBUILD b/lfs/readline-8.2.13.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/readline-8.2.13.PKGBUILD rename to lfs/readline-8.2.13.PKGBUILD diff --git a/lfs-12.2-systemd/sed-4.9.PKGBUILD b/lfs/sed-4.9.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/sed-4.9.PKGBUILD rename to lfs/sed-4.9.PKGBUILD diff --git a/lfs-12.2-systemd/shadow-4.16.0.PKGBUILD b/lfs/shadow-4.16.0.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/shadow-4.16.0.PKGBUILD rename to lfs/shadow-4.16.0.PKGBUILD diff --git a/lfs-12.2-systemd/shadow-4.16.0/useradd b/lfs/shadow-4.16.0/useradd similarity index 100% rename from lfs-12.2-systemd/shadow-4.16.0/useradd rename to lfs/shadow-4.16.0/useradd diff --git a/lfs-12.2-systemd/tcl-8.6.14.PKGBUILD b/lfs/tcl-8.6.14.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/tcl-8.6.14.PKGBUILD rename to lfs/tcl-8.6.14.PKGBUILD diff --git a/lfs-12.2-systemd/xz-5.6.2.PKGBUILD b/lfs/xz-5.6.2.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/xz-5.6.2.PKGBUILD rename to lfs/xz-5.6.2.PKGBUILD diff --git a/lfs-12.2-systemd/zlib-1.3.1.PKGBUILD b/lfs/zlib-1.3.1.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/zlib-1.3.1.PKGBUILD rename to lfs/zlib-1.3.1.PKGBUILD diff --git a/lfs-12.2-systemd/zstd-1.5.6.PKGBUILD b/lfs/zstd-1.5.6.PKGBUILD similarity index 100% rename from lfs-12.2-systemd/zstd-1.5.6.PKGBUILD rename to lfs/zstd-1.5.6.PKGBUILD From ec21881388f243bd9121d47cc52ae07c37eb054f Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 01:44:33 -0400 Subject: [PATCH 004/146] update: wget to 1.25.0 --- net-misc/{wget-1.24.5.PKGBUILD => wget-1.25.0.PKGBUILD} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename net-misc/{wget-1.24.5.PKGBUILD => wget-1.25.0.PKGBUILD} (79%) diff --git a/net-misc/wget-1.24.5.PKGBUILD b/net-misc/wget-1.25.0.PKGBUILD similarity index 79% rename from net-misc/wget-1.24.5.PKGBUILD rename to net-misc/wget-1.25.0.PKGBUILD index f56a549..3181c2c 100644 --- a/net-misc/wget-1.24.5.PKGBUILD +++ b/net-misc/wget-1.25.0.PKGBUILD @@ -1,11 +1,11 @@ pkgname=wget -pkgver=1.24.5 +pkgver=1.25.0 pkgdesc='Network utility to retrieve files from the Web' homepage='https://www.gnu.org/software/wget/wget.html' license=('GPL3') sources=("${pkgname}-${pkgver}.tar.gz") -urls=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('271bf949384d0858c2c3d419f6311365') +urls=(https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}) +md5sums=('c70ba58b36f944e8ba1d655ace552881') src_prepare() { tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 From 120cfdcc6a8063b5c77a67c6980946ecdeaf058c Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 01:49:41 -0400 Subject: [PATCH 005/146] feat: use instead --- app-misc/neofetch-7.1.1.PKGBUILD | 2 +- app-shells/zsh-5.9.PKGBUILD | 2 +- dev-vcs/git-2.44.0.PKGBUILD | 4 ++-- lfs/acl-2.3.2.PKGBUILD | 2 +- lfs/attr-2.5.2.PKGBUILD | 2 +- lfs/autoconf-2.72.PKGBUILD | 2 +- lfs/automake-1.17.PKGBUILD | 2 +- lfs/bash-5.2.32.PKGBUILD | 2 +- lfs/bc-6.7.6.PKGBUILD | 2 +- lfs/binutils-2.43.1.PKGBUILD | 2 +- lfs/bison-3.8.2.PKGBUILD | 2 +- lfs/bzip2-1.0.8.PKGBUILD | 4 ++-- lfs/dejagnu-1.6.3.PKGBUILD | 2 +- lfs/expat-2.6.2.PKGBUILD | 2 +- lfs/expect-5.45.4.PKGBUILD | 4 ++-- lfs/file-5.45.PKGBUILD | 2 +- lfs/flex-2.6.4.PKGBUILD | 2 +- lfs/gcc-14.2.0.PKGBUILD | 2 +- lfs/gdbm-1.24.PKGBUILD | 2 +- lfs/gettext-0.22.5.PKGBUILD | 2 +- lfs/glibc-2.40.PKGBUILD | 10 +++++----- lfs/gmp-6.3.0.PKGBUILD | 2 +- lfs/gperf-3.1.PKGBUILD | 2 +- lfs/grep-3.11.PKGBUILD | 2 +- lfs/iana-etc-20240806.PKGBUILD | 4 ++-- lfs/inetutils-2.5.PKGBUILD | 2 +- lfs/intltool-0.51.0.PKGBUILD | 2 +- lfs/kmod-33.PKGBUILD | 2 +- lfs/less-661.PKGBUILD | 2 +- lfs/libcap-2.70.PKGBUILD | 2 +- lfs/libelf-0.191.PKGBUILD | 2 +- lfs/libffi-3.4.6.PKGBUILD | 2 +- lfs/libtool-2.4.7.PKGBUILD | 2 +- lfs/libxcrypt-4.4.36.PKGBUILD | 2 +- lfs/libxcrypt-compat-4.4.36.PKGBUILD | 2 +- lfs/lz4-4.10.0.PKGBUILD | 2 +- lfs/m4-1.4.19.PKGBUILD | 2 +- lfs/man-pages-6.9.1.PKGBUILD | 4 ++-- lfs/mpc-1.3.1.PKGBUILD | 2 +- lfs/mpfr-4.2.1.PKGBUILD | 2 +- lfs/ncurses-6.5.PKGBUILD | 2 +- lfs/openssl-3.3.1.PKGBUILD | 2 +- lfs/perl-5.40.0.PKGBUILD | 2 +- lfs/perl-xml-parser-2.47.PKGBUILD | 2 +- lfs/pkgconf-2.3.0.PKGBUILD | 2 +- lfs/psmisc-23.7.PKGBUILD | 2 +- lfs/python-3.12.5.PKGBUILD | 4 ++-- lfs/python-flit-core-3.9.0.PKGBUILD | 2 +- lfs/python-setuptools-72.2.0.PKGBUILD | 2 +- lfs/readline-8.2.13.PKGBUILD | 2 +- lfs/sed-4.9.PKGBUILD | 2 +- lfs/shadow-4.16.0.PKGBUILD | 4 ++-- lfs/tcl-8.6.14.PKGBUILD | 4 ++-- lfs/xz-5.6.2.PKGBUILD | 2 +- lfs/zlib-1.3.1.PKGBUILD | 2 +- lfs/zstd-1.5.6.PKGBUILD | 2 +- net-misc/wget-1.25.0.PKGBUILD | 2 +- 57 files changed, 69 insertions(+), 69 deletions(-) diff --git a/app-misc/neofetch-7.1.1.PKGBUILD b/app-misc/neofetch-7.1.1.PKGBUILD index e6198e7..f6d9e84 100644 --- a/app-misc/neofetch-7.1.1.PKGBUILD +++ b/app-misc/neofetch-7.1.1.PKGBUILD @@ -9,7 +9,7 @@ urls=("https://gitea.phywyj.dynv6.net/wyj/neofetch/archive/${pkgver}.tar.gz") md5sums=("421b7dc986ffb23bd8b0d74bcf20325b") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_install() { diff --git a/app-shells/zsh-5.9.PKGBUILD b/app-shells/zsh-5.9.PKGBUILD index 8c790f1..80704e8 100644 --- a/app-shells/zsh-5.9.PKGBUILD +++ b/app-shells/zsh-5.9.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("182e37ca3fe3fa6a44f69ad462c5c30e") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 sed -e 's/set_from_init_file/texinfo_&/' -i Doc/Makefile.in sed 's|/etc/z|/etc/zsh/z|g' -i Doc/*.* } diff --git a/dev-vcs/git-2.44.0.PKGBUILD b/dev-vcs/git-2.44.0.PKGBUILD index 54114cc..9542591 100644 --- a/dev-vcs/git-2.44.0.PKGBUILD +++ b/dev-vcs/git-2.44.0.PKGBUILD @@ -7,10 +7,10 @@ sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.kernel.org/pub/software/scm/git/git-2.44.0.tar.xz") md5sums=("7e4eb7c45e9ba7c90fa51deeea49732f") -distdir=${DIST_DIR}/${pkgname}-${pkgver} +distdir=${distdir} src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_check(){ diff --git a/lfs/acl-2.3.2.PKGBUILD b/lfs/acl-2.3.2.PKGBUILD index 3f5c4a8..279ea14 100644 --- a/lfs/acl-2.3.2.PKGBUILD +++ b/lfs/acl-2.3.2.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("590765dee95907dbc3c856f7255bd669") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/attr-2.5.2.PKGBUILD b/lfs/attr-2.5.2.PKGBUILD index f32a069..d656c6a 100644 --- a/lfs/attr-2.5.2.PKGBUILD +++ b/lfs/attr-2.5.2.PKGBUILD @@ -17,7 +17,7 @@ md5sums=("227043ec2f6ca03c0948df5517f9c927") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 sed -i '/nfs/d' xattr.conf } diff --git a/lfs/autoconf-2.72.PKGBUILD b/lfs/autoconf-2.72.PKGBUILD index 4dd79ad..943cea8 100644 --- a/lfs/autoconf-2.72.PKGBUILD +++ b/lfs/autoconf-2.72.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("1be79f7106ab6767f18391c5e22be701") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/automake-1.17.PKGBUILD b/lfs/automake-1.17.PKGBUILD index 40d82d7..c10ae95 100644 --- a/lfs/automake-1.17.PKGBUILD +++ b/lfs/automake-1.17.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("7ab3a02318fee6f5bd42adfc369abf10") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/bash-5.2.32.PKGBUILD b/lfs/bash-5.2.32.PKGBUILD index 39693c2..e94f87b 100644 --- a/lfs/bash-5.2.32.PKGBUILD +++ b/lfs/bash-5.2.32.PKGBUILD @@ -10,7 +10,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("f204835b2e06c06e37b5ad776ff907f4") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/bc-6.7.6.PKGBUILD b/lfs/bc-6.7.6.PKGBUILD index 5a527c8..b775e02 100644 --- a/lfs/bc-6.7.6.PKGBUILD +++ b/lfs/bc-6.7.6.PKGBUILD @@ -10,7 +10,7 @@ md5sums=("a47aa5e4e7395fbcd159a9228613b97b") options=(!strip) src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/binutils-2.43.1.PKGBUILD b/lfs/binutils-2.43.1.PKGBUILD index 32781f9..930e65d 100644 --- a/lfs/binutils-2.43.1.PKGBUILD +++ b/lfs/binutils-2.43.1.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("9202d02925c30969d1917e4bad5a2320") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 mkdir -v build cd build } diff --git a/lfs/bison-3.8.2.PKGBUILD b/lfs/bison-3.8.2.PKGBUILD index 20f7bd6..0e8e965 100644 --- a/lfs/bison-3.8.2.PKGBUILD +++ b/lfs/bison-3.8.2.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("c28f119f405a2304ff0a7ccdcc629713") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/bzip2-1.0.8.PKGBUILD b/lfs/bzip2-1.0.8.PKGBUILD index 52a5e76..7edafd5 100644 --- a/lfs/bzip2-1.0.8.PKGBUILD +++ b/lfs/bzip2-1.0.8.PKGBUILD @@ -15,8 +15,8 @@ md5sums=("67e051268d0c475ea773822f7500d0e5" src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 - patch -Np1 -i "${DIST_DIR}/${pkgname}-${pkgver}/${sources[1]}" + tar -xf ${distdir}/${sources[0]} --strip-components=1 + patch -Np1 -i "${distdir}/${sources[1]}" } src_build() { diff --git a/lfs/dejagnu-1.6.3.PKGBUILD b/lfs/dejagnu-1.6.3.PKGBUILD index bd29aaf..bde922d 100644 --- a/lfs/dejagnu-1.6.3.PKGBUILD +++ b/lfs/dejagnu-1.6.3.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("68c5208c58236eba447d7d6d1326b821") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 mkdir -v build cd build } diff --git a/lfs/expat-2.6.2.PKGBUILD b/lfs/expat-2.6.2.PKGBUILD index 2a43f87..47bba74 100644 --- a/lfs/expat-2.6.2.PKGBUILD +++ b/lfs/expat-2.6.2.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://prdownloads.sourceforge.net/${pkgname}/${sources[0]}") md5sums=("101fe3e320a2800f36af8cf4045b45c7") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/expect-5.45.4.PKGBUILD b/lfs/expect-5.45.4.PKGBUILD index 69f70e0..7ae3654 100644 --- a/lfs/expect-5.45.4.PKGBUILD +++ b/lfs/expect-5.45.4.PKGBUILD @@ -18,8 +18,8 @@ src_prepare() { if ! python3 -c 'from pty import spawn; spawn(["echo", "ok"])'; then leaf_error "PTY issue. Cannot build." fi - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 - patch -Np1 -i ${DIST_DIR}/${pkgname}-${pkgver}/${sources[1]} + tar -xf ${distdir}/${sources[0]} --strip-components=1 + patch -Np1 -i ${distdir}/${sources[1]} } src_build() { diff --git a/lfs/file-5.45.PKGBUILD b/lfs/file-5.45.PKGBUILD index bd76a69..8455554 100644 --- a/lfs/file-5.45.PKGBUILD +++ b/lfs/file-5.45.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=("26b2a96d4e3a8938827a1e572afd527a") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/flex-2.6.4.PKGBUILD b/lfs/flex-2.6.4.PKGBUILD index a01d86d..d651aac 100644 --- a/lfs/flex-2.6.4.PKGBUILD +++ b/lfs/flex-2.6.4.PKGBUILD @@ -11,7 +11,7 @@ md5sums=("2882e3179748cc9f9c23ec593d6adc8d") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/gcc-14.2.0.PKGBUILD b/lfs/gcc-14.2.0.PKGBUILD index c1a2604..362ff1b 100644 --- a/lfs/gcc-14.2.0.PKGBUILD +++ b/lfs/gcc-14.2.0.PKGBUILD @@ -7,7 +7,7 @@ urls=("https://ftp.gnu.org/gnu/gcc/${pkgname}-${pkgver}/${sources[0]}") md5sums=("2268420ba02dc01821960e274711bde0") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 case $(uname -m) in x86_64) sed -e '/m64=/s/lib64/lib/' \ diff --git a/lfs/gdbm-1.24.PKGBUILD b/lfs/gdbm-1.24.PKGBUILD index 6f53b13..9cd7542 100644 --- a/lfs/gdbm-1.24.PKGBUILD +++ b/lfs/gdbm-1.24.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("c780815649e52317be48331c1773e987") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/gettext-0.22.5.PKGBUILD b/lfs/gettext-0.22.5.PKGBUILD index d503886..8aac290 100644 --- a/lfs/gettext-0.22.5.PKGBUILD +++ b/lfs/gettext-0.22.5.PKGBUILD @@ -13,7 +13,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("3ae5580599d84be93e6213930facb2db") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/glibc-2.40.PKGBUILD b/lfs/glibc-2.40.PKGBUILD index 08ecb1f..90c15ed 100644 --- a/lfs/glibc-2.40.PKGBUILD +++ b/lfs/glibc-2.40.PKGBUILD @@ -21,8 +21,8 @@ md5sums=("b390feef233022114950317f10c4fa97" license=(GPL-2.0-or-later LGPL-2.1-or-later) src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 - patch -Np1 -i "${DIST_DIR}/${pkgname}-${pkgver}/${sources[1]}" + tar -xf ${distdir}/${sources[0]} --strip-components=1 + patch -Np1 -i "${distdir}/${sources[1]}" } src_build() { @@ -95,10 +95,10 @@ src_install() { localedef -i zh_CN -f UTF-8 zh_CN.UTF-8 if [ ! -f /etc/nsswitch.conf ]; then - install -m644 "${DIST_DIR}/${pkgname}-${pkgver}/nsswitch.conf" "${pkgdir}/etc/nsswitch.conf" + install -m644 "${distdir}/nsswitch.conf" "${pkgdir}/etc/nsswitch.conf" fi - tar -xf "${DIST_DIR}/${pkgname}-${pkgver}/tzdata2024a.tar.gz" + tar -xf "${distdir}/tzdata2024a.tar.gz" ZONEINFO=${pkgdir}/usr/share/zoneinfo mkdir -pv $ZONEINFO/{posix,right} for tz in etcetera southamerica northamerica europe africa antarctica \ @@ -112,7 +112,7 @@ src_install() { unset ZONEINFO if [ ! -f /etc/ld.so.conf ]; then - install -m644 "${DIST_DIR}/${pkgname}-${pkgver}/ld.so.conf" "${pkgdir}/etc/ld.so.conf" + install -m644 "${distdir}/ld.so.conf" "${pkgdir}/etc/ld.so.conf" fi } diff --git a/lfs/gmp-6.3.0.PKGBUILD b/lfs/gmp-6.3.0.PKGBUILD index a8cd7a4..76df950 100644 --- a/lfs/gmp-6.3.0.PKGBUILD +++ b/lfs/gmp-6.3.0.PKGBUILD @@ -10,7 +10,7 @@ md5sums=("956dc04e864001a9c22429f761f2c283") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/gperf-3.1.PKGBUILD b/lfs/gperf-3.1.PKGBUILD index 88d9a4e..037ff35 100644 --- a/lfs/gperf-3.1.PKGBUILD +++ b/lfs/gperf-3.1.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("9e251c0a618ad0824b51117d5d9db87e") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/grep-3.11.PKGBUILD b/lfs/grep-3.11.PKGBUILD index d8b8f92..ce92c15 100644 --- a/lfs/grep-3.11.PKGBUILD +++ b/lfs/grep-3.11.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=('7c9bbd74492131245f7cdb291fa142c0') src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/iana-etc-20240806.PKGBUILD b/lfs/iana-etc-20240806.PKGBUILD index f62123f..82a7a81 100644 --- a/lfs/iana-etc-20240806.PKGBUILD +++ b/lfs/iana-etc-20240806.PKGBUILD @@ -7,10 +7,10 @@ urls=('https://github.com/Mic92/iana-etc/releases/download/20240806/iana-etc-202 md5sums=("ea3c37c00d22f1159fc3b7d988de8476") license=('custom:none') -distdir=${DIST_DIR}/${pkgname}-${pkgver} +distdir=${distdir} src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/inetutils-2.5.PKGBUILD b/lfs/inetutils-2.5.PKGBUILD index 81c00df..e114370 100644 --- a/lfs/inetutils-2.5.PKGBUILD +++ b/lfs/inetutils-2.5.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("9e5a6dfd2d794dc056a770e8ad4a9263") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 sed -i 's/def HAVE_TERMCAP_TGETENT/ 1/' telnet/telnet.c } diff --git a/lfs/intltool-0.51.0.PKGBUILD b/lfs/intltool-0.51.0.PKGBUILD index 1907607..612a36a 100644 --- a/lfs/intltool-0.51.0.PKGBUILD +++ b/lfs/intltool-0.51.0.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://launchpad.net/intltool/trunk/0.51.0/+download/${sources[0]}") md5sums=("12e517cac2b57a0121cda351570f1e63") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 sed -i 's:\\\${:\\\$\\{:' intltool-update.in } diff --git a/lfs/kmod-33.PKGBUILD b/lfs/kmod-33.PKGBUILD index 3f8e396..90278c8 100644 --- a/lfs/kmod-33.PKGBUILD +++ b/lfs/kmod-33.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://www.kernel.org/pub/linux/utils/kernel/${pkgname}/${sources[0]}") md5sums=("c451c4aa61521adbe8af147f498046f8") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/less-661.PKGBUILD b/lfs/less-661.PKGBUILD index 5007ad2..552aa8e 100644 --- a/lfs/less-661.PKGBUILD +++ b/lfs/less-661.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://www.greenwoodsoftware.com/${pkgname}/${sources[0]}") md5sums=("44f54b6313c5d71fa1ac224d8d84766a") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/libcap-2.70.PKGBUILD b/lfs/libcap-2.70.PKGBUILD index 3f8a9aa..e9209fc 100644 --- a/lfs/libcap-2.70.PKGBUILD +++ b/lfs/libcap-2.70.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("df0e20c6eeca849347b87d5d6a8870c0") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 sed -i '/install -m.*STA/d' libcap/Makefile } diff --git a/lfs/libelf-0.191.PKGBUILD b/lfs/libelf-0.191.PKGBUILD index 0c56bd9..cd4a740 100644 --- a/lfs/libelf-0.191.PKGBUILD +++ b/lfs/libelf-0.191.PKGBUILD @@ -9,7 +9,7 @@ urls=("https://sourceware.org/ftp/${_pkgbase}/${pkgver}/${sources[0]}") md5sums="636547248fb3fae58ec48030298d3ef7" src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/libffi-3.4.6.PKGBUILD b/lfs/libffi-3.4.6.PKGBUILD index 0b719cb..8fb995f 100644 --- a/lfs/libffi-3.4.6.PKGBUILD +++ b/lfs/libffi-3.4.6.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://github.com/libffi/libffi/releases/download/v${pkgver}/${sources[0 md5sums=("b9cac6c5997dca2b3787a59ede34e0eb") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/libtool-2.4.7.PKGBUILD b/lfs/libtool-2.4.7.PKGBUILD index ae559a4..f91e6bb 100644 --- a/lfs/libtool-2.4.7.PKGBUILD +++ b/lfs/libtool-2.4.7.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("2fc0b6ddcd66a89ed6e45db28fa44232") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/libxcrypt-4.4.36.PKGBUILD b/lfs/libxcrypt-4.4.36.PKGBUILD index a84046d..a372054 100644 --- a/lfs/libxcrypt-4.4.36.PKGBUILD +++ b/lfs/libxcrypt-4.4.36.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("b84cd4104e08c975063ec6c4d0372446") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/libxcrypt-compat-4.4.36.PKGBUILD b/lfs/libxcrypt-compat-4.4.36.PKGBUILD index 573d5cb..c2e9b06 100644 --- a/lfs/libxcrypt-compat-4.4.36.PKGBUILD +++ b/lfs/libxcrypt-compat-4.4.36.PKGBUILD @@ -10,7 +10,7 @@ md5sums=("b84cd4104e08c975063ec6c4d0372446") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/lz4-4.10.0.PKGBUILD b/lfs/lz4-4.10.0.PKGBUILD index 3f37930..d9d6f69 100644 --- a/lfs/lz4-4.10.0.PKGBUILD +++ b/lfs/lz4-4.10.0.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://github.com/lz4/lz4/releases/download/v1.10.0/lz4-1.10.0.tar.gz") md5sums=("dead9f5f1966d9ae56e1e32761e4e675") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/m4-1.4.19.PKGBUILD b/lfs/m4-1.4.19.PKGBUILD index 7003bee..d1c241e 100644 --- a/lfs/m4-1.4.19.PKGBUILD +++ b/lfs/m4-1.4.19.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("0d90823e1426f1da2fd872df0311298d") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/man-pages-6.9.1.PKGBUILD b/lfs/man-pages-6.9.1.PKGBUILD index adc2610..ba2de6f 100644 --- a/lfs/man-pages-6.9.1.PKGBUILD +++ b/lfs/man-pages-6.9.1.PKGBUILD @@ -6,10 +6,10 @@ sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.kernel.org/pub/linux/docs/man-pages/man-pages-6.9.1.tar.xz") md5sums=("4d56775b6cce4edf1e496249e7c01c1a") -distdir=${DIST_DIR}/${pkgname}-${pkgver} +distdir=${distdir} src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_check(){ diff --git a/lfs/mpc-1.3.1.PKGBUILD b/lfs/mpc-1.3.1.PKGBUILD index 377b553..dd342cc 100644 --- a/lfs/mpc-1.3.1.PKGBUILD +++ b/lfs/mpc-1.3.1.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("5c9bc658c9fd0f940e8e3e0f09530c62") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/mpfr-4.2.1.PKGBUILD b/lfs/mpfr-4.2.1.PKGBUILD index 05a3977..696a1bf 100644 --- a/lfs/mpfr-4.2.1.PKGBUILD +++ b/lfs/mpfr-4.2.1.PKGBUILD @@ -16,7 +16,7 @@ md5sums=("523c50c6318dde6f9dc523bc0244690a") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/ncurses-6.5.PKGBUILD b/lfs/ncurses-6.5.PKGBUILD index 8054d73..440523b 100644 --- a/lfs/ncurses-6.5.PKGBUILD +++ b/lfs/ncurses-6.5.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://invisible-mirror.net/archives/ncurses/${sources[0]}") md5sums=("ac2d2629296f04c8537ca706b6977687") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/openssl-3.3.1.PKGBUILD b/lfs/openssl-3.3.1.PKGBUILD index 9926709..33e573a 100644 --- a/lfs/openssl-3.3.1.PKGBUILD +++ b/lfs/openssl-3.3.1.PKGBUILD @@ -9,7 +9,7 @@ urls=("https://www.openssl.org/source/${sources[0]}") md5sums=("8a4342b399c18f870ca6186299195984") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/perl-5.40.0.PKGBUILD b/lfs/perl-5.40.0.PKGBUILD index 6b1106b..175c2f1 100644 --- a/lfs/perl-5.40.0.PKGBUILD +++ b/lfs/perl-5.40.0.PKGBUILD @@ -9,7 +9,7 @@ urls=("https://www.cpan.org/src/5.0/${sources[0]}") md5sums=("cfe14ef0709b9687f9c514042e8e1e82") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/perl-xml-parser-2.47.PKGBUILD b/lfs/perl-xml-parser-2.47.PKGBUILD index 43f5eeb..f956d47 100644 --- a/lfs/perl-xml-parser-2.47.PKGBUILD +++ b/lfs/perl-xml-parser-2.47.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://cpan.metacpan.org/authors/id/T/TO/TODDR/${sources[0]}") md5sums=("89a8e82cfd2ad948b349c0a69c494463") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/pkgconf-2.3.0.PKGBUILD b/lfs/pkgconf-2.3.0.PKGBUILD index 74a1b50..155c6ee 100644 --- a/lfs/pkgconf-2.3.0.PKGBUILD +++ b/lfs/pkgconf-2.3.0.PKGBUILD @@ -9,7 +9,7 @@ md5sums=("833363e77b5bed0131c7bc4cc6f7747b") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/psmisc-23.7.PKGBUILD b/lfs/psmisc-23.7.PKGBUILD index cd2f98f..b3b5d98 100644 --- a/lfs/psmisc-23.7.PKGBUILD +++ b/lfs/psmisc-23.7.PKGBUILD @@ -7,7 +7,7 @@ urls="https://sourceforge.net/projects/psmisc/files/${pkgname}/${sources[0]}" md5sums="53eae841735189a896d614cba440eb10" src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/python-3.12.5.PKGBUILD b/lfs/python-3.12.5.PKGBUILD index 155def3..5ae2ae1 100644 --- a/lfs/python-3.12.5.PKGBUILD +++ b/lfs/python-3.12.5.PKGBUILD @@ -14,8 +14,8 @@ md5sums=("02c7d269e077f4034963bba6befdc715" ) src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 - tar --no-same-owner -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[1]} + tar -xf ${distdir}/${sources[0]} --strip-components=1 + tar --no-same-owner -xf ${distdir}/${sources[1]} } src_build() { diff --git a/lfs/python-flit-core-3.9.0.PKGBUILD b/lfs/python-flit-core-3.9.0.PKGBUILD index 8ef630e..76a1110 100644 --- a/lfs/python-flit-core-3.9.0.PKGBUILD +++ b/lfs/python-flit-core-3.9.0.PKGBUILD @@ -9,6 +9,6 @@ urls=("https://pypi.org/packages/source/f/${_name}/${sources[0]}") md5sums=("3bc52f1952b9a78361114147da63c35b") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } diff --git a/lfs/python-setuptools-72.2.0.PKGBUILD b/lfs/python-setuptools-72.2.0.PKGBUILD index 0809a8b..9f9e868 100644 --- a/lfs/python-setuptools-72.2.0.PKGBUILD +++ b/lfs/python-setuptools-72.2.0.PKGBUILD @@ -9,7 +9,7 @@ urls=("https://pypi.org/packages/source/s/${_name}/${sources[0]}") md5sums=("2e0ffd0f6fc632a11442b79d9b1c68bd") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/readline-8.2.13.PKGBUILD b/lfs/readline-8.2.13.PKGBUILD index d40b225..05b5906 100644 --- a/lfs/readline-8.2.13.PKGBUILD +++ b/lfs/readline-8.2.13.PKGBUILD @@ -10,7 +10,7 @@ urls=("https://ftp.gnu.org/gnu/readline/readline-${pkgver}.tar.gz") md5sums=("05080bf3801e6874bb115cd6700b708f") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 sed -i '/MV.*old/d' Makefile.in sed -i '/{OLDSUFF}/c:' support/shlib-install sed -i 's/-Wl,-rpath,[^ ]*//' support/shobj-conf diff --git a/lfs/sed-4.9.PKGBUILD b/lfs/sed-4.9.PKGBUILD index 2ea7ebf..7f0438d 100644 --- a/lfs/sed-4.9.PKGBUILD +++ b/lfs/sed-4.9.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("6aac9b2dbafcd5b7a67a8a9bcb8036c3") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/shadow-4.16.0.PKGBUILD b/lfs/shadow-4.16.0.PKGBUILD index ee5ffd5..8b46837 100644 --- a/lfs/shadow-4.16.0.PKGBUILD +++ b/lfs/shadow-4.16.0.PKGBUILD @@ -15,7 +15,7 @@ md5sums=("eb70bad3316d08f0d3bb3d4bbeccb3b4" src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 sed -i 's/groups$(EXEEXT) //' src/Makefile.in find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; @@ -41,5 +41,5 @@ src_install() { make exec_prefix=/usr DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" -C man install-man install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/" - install -vDm 600 "${DIST_DIR}/${pkgname}-${pkgver}/useradd" -t "${pkgdir}/etc/default/" + install -vDm 600 "${distdir}/useradd" -t "${pkgdir}/etc/default/" } diff --git a/lfs/tcl-8.6.14.PKGBUILD b/lfs/tcl-8.6.14.PKGBUILD index 1923027..0b7daf5 100644 --- a/lfs/tcl-8.6.14.PKGBUILD +++ b/lfs/tcl-8.6.14.PKGBUILD @@ -16,7 +16,7 @@ md5sums=("c30b57c6051be28fa928d09aca82841e" src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { @@ -58,7 +58,7 @@ src_install() { mv "${pkgdir}"/usr/share/man/man3/{Thread,Tcl_Thread}.3 cd .. - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[1]} --strip-components=1 + tar -xf ${distdir}/${sources[1]} --strip-components=1 mkdir -v -p "${pkgdir}/usr/share/doc/tcl-8.6.14" cp -v -r ./html/* "${pkgdir}/usr/share/doc/tcl-8.6.14" } diff --git a/lfs/xz-5.6.2.PKGBUILD b/lfs/xz-5.6.2.PKGBUILD index bd32b50..a0ae09c 100644 --- a/lfs/xz-5.6.2.PKGBUILD +++ b/lfs/xz-5.6.2.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://github.com//tukaani-project/xz/releases/download/v5.6.2/xz-5.6.2. md5sums=("bbf73fb28425cebb854328599f85c4cf") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/zlib-1.3.1.PKGBUILD b/lfs/zlib-1.3.1.PKGBUILD index 99a4b6a..6b96ee7 100644 --- a/lfs/zlib-1.3.1.PKGBUILD +++ b/lfs/zlib-1.3.1.PKGBUILD @@ -8,7 +8,7 @@ urls=("https://zlib.net/fossils/zlib-1.3.1.tar.gz") md5sums=("9855b6d802d7fe5b7bd5b196a2271655") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/lfs/zstd-1.5.6.PKGBUILD b/lfs/zstd-1.5.6.PKGBUILD index 2d56d0b..07272f8 100644 --- a/lfs/zstd-1.5.6.PKGBUILD +++ b/lfs/zstd-1.5.6.PKGBUILD @@ -11,7 +11,7 @@ urls=("https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar. md5sums=("5a473726b3445d0e5d6296afd1ab6854") src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { diff --git a/net-misc/wget-1.25.0.PKGBUILD b/net-misc/wget-1.25.0.PKGBUILD index 3181c2c..a7658fd 100644 --- a/net-misc/wget-1.25.0.PKGBUILD +++ b/net-misc/wget-1.25.0.PKGBUILD @@ -8,7 +8,7 @@ urls=(https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}) md5sums=('c70ba58b36f944e8ba1d655ace552881') src_prepare() { - tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1 + tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { From 053518b1636dc487f8947ca8ad489cbef4e3ae44 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 12:07:06 -0400 Subject: [PATCH 006/146] update: fix source name --- app-misc/neofetch-7.1.1.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-misc/neofetch-7.1.1.PKGBUILD b/app-misc/neofetch-7.1.1.PKGBUILD index f6d9e84..ab09988 100644 --- a/app-misc/neofetch-7.1.1.PKGBUILD +++ b/app-misc/neofetch-7.1.1.PKGBUILD @@ -4,7 +4,7 @@ pkgdesc="A CLI system information tool written in BASH that supports displaying arch=('any') homepage="https://gitea.phywyj.dynv6.net/wyj/neofetch" license=('MIT') -sources=("${pkgver}.tar.gz") +sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://gitea.phywyj.dynv6.net/wyj/neofetch/archive/${pkgver}.tar.gz") md5sums=("421b7dc986ffb23bd8b0d74bcf20325b") From 48c1db7447e7f4325789be697c5c039e97ef8f3a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 12:08:04 -0400 Subject: [PATCH 007/146] update to 12.3: man-pages --- lfs/{man-pages-6.9.1.PKGBUILD => man-pages-6.12.PKGBUILD} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename lfs/{man-pages-6.9.1.PKGBUILD => man-pages-6.12.PKGBUILD} (61%) diff --git a/lfs/man-pages-6.9.1.PKGBUILD b/lfs/man-pages-6.12.PKGBUILD similarity index 61% rename from lfs/man-pages-6.9.1.PKGBUILD rename to lfs/man-pages-6.12.PKGBUILD index ba2de6f..7e5ef13 100644 --- a/lfs/man-pages-6.9.1.PKGBUILD +++ b/lfs/man-pages-6.12.PKGBUILD @@ -1,10 +1,10 @@ pkgname="man-pages" -pkgver="6.9.1" +pkgver="6.12" pkgdesc="Linux man pages" license=("GPL2") sources=("${pkgname}-${pkgver}.tar.xz") -urls=("https://www.kernel.org/pub/linux/docs/man-pages/man-pages-6.9.1.tar.xz") -md5sums=("4d56775b6cce4edf1e496249e7c01c1a") +urls=("https://www.kernel.org/pub/linux/docs/man-pages/${sources[0]}") +md5sums=("44de430a598605eaba3e36dd43f24298") distdir=${distdir} @@ -22,5 +22,5 @@ src_build() { } src_install() { - make prefix=/usr DESTDIR="$pkgdir" install + make -R GIT=false prefix=/usr DESTDIR="$pkgdir" install } From e983d93e95f0031e19b12423d9e5fdf08f78d401 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 12:16:15 -0400 Subject: [PATCH 008/146] update to 12.3: iana-etc --- ...a-etc-20240806.PKGBUILD => iana-etc-20250123.PKGBUILD} | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) rename lfs/{iana-etc-20240806.PKGBUILD => iana-etc-20250123.PKGBUILD} (67%) diff --git a/lfs/iana-etc-20240806.PKGBUILD b/lfs/iana-etc-20250123.PKGBUILD similarity index 67% rename from lfs/iana-etc-20240806.PKGBUILD rename to lfs/iana-etc-20250123.PKGBUILD index 82a7a81..d5851d7 100644 --- a/lfs/iana-etc-20240806.PKGBUILD +++ b/lfs/iana-etc-20250123.PKGBUILD @@ -1,14 +1,12 @@ pkgname="iana-etc" -pkgver="20240806" +pkgver="20250123" pkgdesc='/etc/protocols and /etc/services provided by IANA' homepage="https://www.iana.org/protocols" sources=("${pkgname}-${pkgver}.tar.gz") -urls=('https://github.com/Mic92/iana-etc/releases/download/20240806/iana-etc-20240806.tar.gz') -md5sums=("ea3c37c00d22f1159fc3b7d988de8476") +urls=('https://github.com/Mic92/iana-etc/releases/download/${pkgver}/${sources[0]}') +md5sums=("f8a0ebdc19a5004cf42d8bdcf614fa5d") license=('custom:none') -distdir=${distdir} - src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } From bb665c1a0a96fe040d57c44512db084e3d7eb080 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 23:49:33 -0400 Subject: [PATCH 009/146] update to 12.3: glibc --- ...libc-2.40.PKGBUILD => glibc-2.41.PKGBUILD} | 44 +++++++++---------- lfs/{glibc-2.40 => glibc-2.41}/ld.so.conf | 0 lfs/{glibc-2.40 => glibc-2.41}/nsswitch.conf | 0 3 files changed, 20 insertions(+), 24 deletions(-) rename lfs/{glibc-2.40.PKGBUILD => glibc-2.41.PKGBUILD} (76%) rename lfs/{glibc-2.40 => glibc-2.41}/ld.so.conf (100%) rename lfs/{glibc-2.40 => glibc-2.41}/nsswitch.conf (100%) diff --git a/lfs/glibc-2.40.PKGBUILD b/lfs/glibc-2.41.PKGBUILD similarity index 76% rename from lfs/glibc-2.40.PKGBUILD rename to lfs/glibc-2.41.PKGBUILD index 90c15ed..43394cb 100644 --- a/lfs/glibc-2.40.PKGBUILD +++ b/lfs/glibc-2.41.PKGBUILD @@ -1,16 +1,16 @@ pkgname="glibc" -pkgver=2.40 -sources=("glibc-2.40.tar.xz" - "glibc-2.40-fhs-1.patch" - "nsswitch.conf" - "ld.so.conf" - "tzdata2024a.tar.gz" +pkgver=2.41 +sources=("${pkgname}-${pkgver}.tar.xz" + "${pkgname}-${pkgver}-fhs-1.patch" + "${pkgname}-${pkgver}/nsswitch.conf" + "${pkgname}-${pkgver}/ld.so.conf" + "${pkgname}-${pkgver}/tzdata2025a.tar.gz" ) -urls=("https://ftp.gnu.org/gnu/glibc/glibc-2.40.tar.xz" - "https://www.linuxfromscratch.org/patches/lfs/12.2/glibc-2.40-fhs-1.patch" - "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs-12.2-systemd/glibc-2.40/nsswitch.conf" - "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs-12.2-systemd/glibc-2.40/ld.so.conf" - "https://www.iana.org/time-zones/repository/releases/tzdata2024a.tar.gz" +urls=("https://ftp.gnu.org/gnu/glibc/${sources[0]}" + "https://www.linuxfromscratch.org/patches/lfs/12.2/${pkgname}-${pkgver}-fhs-1.patch" + "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs/${pkgname}-${pkgver}/nsswitch.conf" + "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs/${pkgname}-${pkgver}/ld.so.conf" + "https://www.iana.org/time-zones/repository/releases/tzdata2025a.tar.gz" ) md5sums=("b390feef233022114950317f10c4fa97" "9a5997c3452909b1769918c759eff8a2" @@ -29,12 +29,12 @@ src_build() { mkdir -pv build cd build echo "rootsbindir=/usr/sbin" > configparms - ../configure --prefix=/usr \ - --disable-werror \ - --enable-kernel=4.19 \ - --enable-stack-protector=strong \ - --disable-nscd \ - libc_cv_slibdir=/usr/lib + ../configure --prefix=/usr \ + --disable-werror \ + --enable-kernel=5.4 \ + --enable-stack-protector=strong \ + --disable-nscd \ + libc_cv_slibdir=/usr/lib make } @@ -94,11 +94,9 @@ src_install() { localedef -i zh_TW -f UTF-8 zh_TW.UTF-8 localedef -i zh_CN -f UTF-8 zh_CN.UTF-8 - if [ ! -f /etc/nsswitch.conf ]; then - install -m644 "${distdir}/nsswitch.conf" "${pkgdir}/etc/nsswitch.conf" - fi + install -m644 "${distdir}/${sources[2]}" "${pkgdir}/etc/nsswitch.conf" - tar -xf "${distdir}/tzdata2024a.tar.gz" + tar -xf "${distdir}/${sources[4]}" ZONEINFO=${pkgdir}/usr/share/zoneinfo mkdir -pv $ZONEINFO/{posix,right} for tz in etcetera southamerica northamerica europe africa antarctica \ @@ -111,9 +109,7 @@ src_install() { zic -d $ZONEINFO -p America/New_York unset ZONEINFO - if [ ! -f /etc/ld.so.conf ]; then - install -m644 "${distdir}/ld.so.conf" "${pkgdir}/etc/ld.so.conf" - fi + install -m644 "${distdir}/${sources[3]}" "${pkgdir}/etc/ld.so.conf" } src_preinstall() { diff --git a/lfs/glibc-2.40/ld.so.conf b/lfs/glibc-2.41/ld.so.conf similarity index 100% rename from lfs/glibc-2.40/ld.so.conf rename to lfs/glibc-2.41/ld.so.conf diff --git a/lfs/glibc-2.40/nsswitch.conf b/lfs/glibc-2.41/nsswitch.conf similarity index 100% rename from lfs/glibc-2.40/nsswitch.conf rename to lfs/glibc-2.41/nsswitch.conf From e72116de6f6a0f5f66df1a13101345a0c2b2be4a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 14 Mar 2025 23:55:19 -0400 Subject: [PATCH 010/146] update to 12.3: glibc --- lfs/glibc-2.41.PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/glibc-2.41.PKGBUILD b/lfs/glibc-2.41.PKGBUILD index 43394cb..188a36d 100644 --- a/lfs/glibc-2.41.PKGBUILD +++ b/lfs/glibc-2.41.PKGBUILD @@ -12,11 +12,11 @@ urls=("https://ftp.gnu.org/gnu/glibc/${sources[0]}" "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs/${pkgname}-${pkgver}/ld.so.conf" "https://www.iana.org/time-zones/repository/releases/tzdata2025a.tar.gz" ) -md5sums=("b390feef233022114950317f10c4fa97" +md5sums=("19862601af60f73ac69e067d3e9267d4" "9a5997c3452909b1769918c759eff8a2" "4caf37ca10aacf7f7bfabddf915e9d25" "79220f5a36182b7160e0cf567dc64129" - "2349edd8335245525cc082f2755d5bf4" + "404229390c06b7440f5e48d12c1a3251" ) license=(GPL-2.0-or-later LGPL-2.1-or-later) From 21943a3b045231cb0acd85f236fe519cdbdf1c96 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 15 Mar 2025 10:08:47 -0400 Subject: [PATCH 011/146] new: test vars --- test/just-vars-1.0.PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 test/just-vars-1.0.PKGBUILD diff --git a/test/just-vars-1.0.PKGBUILD b/test/just-vars-1.0.PKGBUILD new file mode 100644 index 0000000..b54f556 --- /dev/null +++ b/test/just-vars-1.0.PKGBUILD @@ -0,0 +1,28 @@ +pkgname="just-vars" +pkgver="1.0" +pkgdesc="print vars" +homepage="" +license=("GPL") +sources=() +urls=() +md5sums=() + +src_prepare() { + echo ">>> in src_prepare" + echo "distdir is ${distdir}" +} + +src_build() { + echo ">>> in src_build" + echo "distdir is ${distdir}" +} + +src_check() { + echo ">>> in src_check" + echo "distdir is ${distdir}" +} + +src_install() { + echo ">>> in src_install" + echo "distdir is ${distdir}" +} From 258813c2a401fe01982f86756577e5cf21b585b7 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 22:13:16 -0400 Subject: [PATCH 012/146] update to 12.3: zlibc --- lfs/zlib-1.3.1.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/zlib-1.3.1.PKGBUILD b/lfs/zlib-1.3.1.PKGBUILD index 6b96ee7..539cfcc 100644 --- a/lfs/zlib-1.3.1.PKGBUILD +++ b/lfs/zlib-1.3.1.PKGBUILD @@ -4,7 +4,7 @@ pkgdesc='Compression library implementing the deflate compression method found i homepage="https://www.zlib.net/" license=("Zlib") sources=("zlib-1.3.1.tar.gz") -urls=("https://zlib.net/fossils/zlib-1.3.1.tar.gz") +urls=("https://zlib.net/fossils/${sources[0]}") md5sums=("9855b6d802d7fe5b7bd5b196a2271655") src_prepare() { From fa0498777f37d27565929bc0c13d6d77897c5e6c Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 22:22:50 -0400 Subject: [PATCH 013/146] update to 12.3: xz --- lfs/{xz-5.6.2.PKGBUILD => xz-5.6.4.PKGBUILD} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename lfs/{xz-5.6.2.PKGBUILD => xz-5.6.4.PKGBUILD} (75%) diff --git a/lfs/xz-5.6.2.PKGBUILD b/lfs/xz-5.6.4.PKGBUILD similarity index 75% rename from lfs/xz-5.6.2.PKGBUILD rename to lfs/xz-5.6.4.PKGBUILD index a0ae09c..676915b 100644 --- a/lfs/xz-5.6.2.PKGBUILD +++ b/lfs/xz-5.6.4.PKGBUILD @@ -1,11 +1,11 @@ pkgname="xz" -pkgver="5.6.2" +pkgver="5.6.4" pkgdesc='Library and command line tools for XZ and LZMA compressed files' homepage="https://tukaani.org/xz" license=('GPL' 'LGPL' 'custom') -sources=("xz-5.6.2.tar.xz") -urls=("https://github.com//tukaani-project/xz/releases/download/v5.6.2/xz-5.6.2.tar.xz") -md5sums=("bbf73fb28425cebb854328599f85c4cf") +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://github.com//tukaani-project/xz/releases/download/v${pkgver}/${sources[0]}") +md5sums=("4b1cf07d45ec7eb90a01dd3c00311a3e") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -14,7 +14,7 @@ src_prepare() { src_build() { ./configure --prefix=/usr \ --disable-static \ - --docdir=/usr/share/doc/xz-5.6.2 && + --docdir=/usr/share/doc/${pkgname}-${pkgver} && make } From f00f66a40617961e4566f00b11f1a49e1f356dda Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 22:33:33 -0400 Subject: [PATCH 014/146] update to 12.3: lz4 --- lfs/{lz4-4.10.0.PKGBUILD => lz4-1.10.0.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{lz4-4.10.0.PKGBUILD => lz4-1.10.0.PKGBUILD} (77%) diff --git a/lfs/lz4-4.10.0.PKGBUILD b/lfs/lz4-1.10.0.PKGBUILD similarity index 77% rename from lfs/lz4-4.10.0.PKGBUILD rename to lfs/lz4-1.10.0.PKGBUILD index d9d6f69..733438b 100644 --- a/lfs/lz4-4.10.0.PKGBUILD +++ b/lfs/lz4-1.10.0.PKGBUILD @@ -3,8 +3,8 @@ pkgver="1.10.0" pkgdesc='Extremely fast compression algorithm' homepage="https://lz4.org/" license=('GPL-2.0-or-later') -sources=("lz4-1.10.0.tar.gz") -urls=("https://github.com/lz4/lz4/releases/download/v1.10.0/lz4-1.10.0.tar.gz") +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/lz4/lz4/releases/download/v${pkgver}/${sources[0]}") md5sums=("dead9f5f1966d9ae56e1e32761e4e675") src_prepare() { From 16f727bd88d105e7d454918c2d408d602a3341b6 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 23:17:17 -0400 Subject: [PATCH 015/146] update to 12.3: zstd --- lfs/{zstd-1.5.6.PKGBUILD => zstd-1.5.7.PKGBUILD} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename lfs/{zstd-1.5.6.PKGBUILD => zstd-1.5.7.PKGBUILD} (68%) diff --git a/lfs/zstd-1.5.6.PKGBUILD b/lfs/zstd-1.5.7.PKGBUILD similarity index 68% rename from lfs/zstd-1.5.6.PKGBUILD rename to lfs/zstd-1.5.7.PKGBUILD index 07272f8..d6c9865 100644 --- a/lfs/zstd-1.5.6.PKGBUILD +++ b/lfs/zstd-1.5.7.PKGBUILD @@ -1,14 +1,14 @@ pkgname=zstd -pkgver=1.5.6 +pkgver=1.5.7 pkgdesc='Zstandard - Fast real-time compression algorithm' url='https://facebook.github.io/zstd/' license=( BSD-3-Clause GPL-2.0-only ) -sources=("zstd-${pkgver}.tar.gz") -urls=("https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz") -md5sums=("5a473726b3445d0e5d6296afd1ab6854") +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/facebook/zstd/releases/download/v${pkgver}/${sources[0]}") +md5sums=("780fc1896922b1bc52a4e90980cdda48") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 5c38bfb702a56423995ed71c60eb41714c8d9fab Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 23:19:37 -0400 Subject: [PATCH 016/146] update to 12.3: file --- lfs/{file-5.45.PKGBUILD => file-5.46.PKGBUILD} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename lfs/{file-5.45.PKGBUILD => file-5.46.PKGBUILD} (78%) diff --git a/lfs/file-5.45.PKGBUILD b/lfs/file-5.46.PKGBUILD similarity index 78% rename from lfs/file-5.45.PKGBUILD rename to lfs/file-5.46.PKGBUILD index 8455554..24f5e4c 100644 --- a/lfs/file-5.45.PKGBUILD +++ b/lfs/file-5.46.PKGBUILD @@ -1,11 +1,11 @@ pkgname=file -pkgver=5.45 +pkgver=5.46 pkgdesc='File type identification utility' license=('custom') homepage='https://www.darwinsys.com/file/' sources=("$pkgname-$pkgver.tar.gz") -urls=("https://astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=("26b2a96d4e3a8938827a1e572afd527a") +urls=("https://astron.com/pub/$pkgname/${sources[0]}") +md5sums=("459da2d4b534801e2e2861611d823864") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From e951d14d1fe26c58c6d5301abb8198f8602de5db Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 23:24:53 -0400 Subject: [PATCH 017/146] update to 12.3: readline --- lfs/readline-8.2.13.PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/readline-8.2.13.PKGBUILD b/lfs/readline-8.2.13.PKGBUILD index 05b5906..29cecf7 100644 --- a/lfs/readline-8.2.13.PKGBUILD +++ b/lfs/readline-8.2.13.PKGBUILD @@ -6,7 +6,7 @@ pkgdesc='GNU readline library' homepage='https://tiswww.case.edu/php/chet/readline/rltop.html' license=('GPL-3.0-only') sources=("${pkgname}-${pkgver}.tar.gz") -urls=("https://ftp.gnu.org/gnu/readline/readline-${pkgver}.tar.gz") +urls=("https://ftp.gnu.org/gnu/readline/${sources[0]}") md5sums=("05080bf3801e6874bb115cd6700b708f") src_prepare() { @@ -20,11 +20,11 @@ src_build() { ./configure --prefix=/usr \ --disable-static \ --with-curses \ - --docdir=/usr/share/doc/readline-8.2.13 + --docdir=/usr/share/doc/${pkgname}-${pkgver} make SHLIB_LIBS="-lncursesw" } src_install() { make SHLIB_LIBS="-lncursesw" DESTDIR="$pkgdir" install - install -v -m644 doc/*.{ps,pdf,html,dvi} ${pkgdir}/usr/share/doc/readline-8.2.13 + install -v -m644 doc/*.{ps,pdf,html,dvi} ${pkgdir}/usr/share/doc/${pkgname}-${pkgver} } From a51d3a46de7abc8125571955e96ba5318ff9c60a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 23:28:18 -0400 Subject: [PATCH 018/146] update to 12.3: m4 --- lfs/m4-1.4.19.PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/m4-1.4.19.PKGBUILD b/lfs/m4-1.4.19.PKGBUILD index d1c241e..c800c61 100644 --- a/lfs/m4-1.4.19.PKGBUILD +++ b/lfs/m4-1.4.19.PKGBUILD @@ -3,8 +3,8 @@ pkgver=1.4.19 pkgdesc="The GNU macro processor" homepage="https://www.gnu.org/software/m4" license=('GPL3') -sources=("$pkgname-$pkgver.tar.xz") -urls=("https://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz") +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://ftp.gnu.org/gnu/m4/${sources[0]}") md5sums=("0d90823e1426f1da2fd872df0311298d") From fdb1dd3977241e301806bcb4567bd3f6553d1e67 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 23:33:35 -0400 Subject: [PATCH 019/146] update to 12.3: bc --- lfs/{bc-6.7.6.PKGBUILD => bc-7.0.3.PKGBUILD} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename lfs/{bc-6.7.6.PKGBUILD => bc-7.0.3.PKGBUILD} (86%) diff --git a/lfs/bc-6.7.6.PKGBUILD b/lfs/bc-7.0.3.PKGBUILD similarity index 86% rename from lfs/bc-6.7.6.PKGBUILD rename to lfs/bc-7.0.3.PKGBUILD index b775e02..176bb1c 100644 --- a/lfs/bc-6.7.6.PKGBUILD +++ b/lfs/bc-7.0.3.PKGBUILD @@ -1,11 +1,11 @@ pkgname=bc -pkgver=6.7.6 +pkgver=7.0.3 pkgdesc='An arbitrary precision calculator language' homepage="https://git.gavinhoward.com/gavin/bc" license=('GPL-3.0-only') sources=("${pkgname}-${pkgver}.tar.xz") -urls=("https://github.com/gavinhoward/bc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz") -md5sums=("a47aa5e4e7395fbcd159a9228613b97b") +urls=("https://github.com/gavinhoward/bc/releases/download/${pkgver}/${sources[0]}") +md5sums=("ad4db5a0eb4fdbb3f6813be4b6b3da74") options=(!strip) From 8ec7559cfd3d636306cfd5788e94520b830f2c93 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 23:38:13 -0400 Subject: [PATCH 020/146] update to 12.3: flex --- lfs/flex-2.6.4.PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/flex-2.6.4.PKGBUILD b/lfs/flex-2.6.4.PKGBUILD index d651aac..26ab737 100644 --- a/lfs/flex-2.6.4.PKGBUILD +++ b/lfs/flex-2.6.4.PKGBUILD @@ -5,7 +5,7 @@ url="https://github.com/westes/flex" license=('custom') sources=("${pkgname}-${pkgver}.tar.gz") urls=( - "https://github.com/westes/flex/releases/download/v$pkgver/flex-$pkgver.tar.gz" + "https://github.com/westes/flex/releases/download/v${pkgver}/${sources[0]}" ) md5sums=("2882e3179748cc9f9c23ec593d6adc8d") @@ -16,7 +16,7 @@ src_prepare() { src_build() { ./configure --prefix=/usr \ - --docdir=/usr/share/doc/flex-2.6.4 \ + --docdir=/usr/share/doc/${pkgname}-${pkgver} \ --disable-static make } From 73be67decdf4941435cc3b9d6d98740405c92f80 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 18 Mar 2025 23:47:46 -0400 Subject: [PATCH 021/146] update to 12.3: tcl --- lfs/tcl-8.6.14.PKGBUILD | 64 --------------------------------------- lfs/tcl-8.6.16.PKGBUILD | 67 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 64 deletions(-) delete mode 100644 lfs/tcl-8.6.14.PKGBUILD create mode 100644 lfs/tcl-8.6.16.PKGBUILD diff --git a/lfs/tcl-8.6.14.PKGBUILD b/lfs/tcl-8.6.14.PKGBUILD deleted file mode 100644 index 0b7daf5..0000000 --- a/lfs/tcl-8.6.14.PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -pkgname=tcl -pkgver=8.6.14 -pkgdesc='Powerful, easy-to-learn dynamic programming language' -homepage='http://tcl.sourceforge.net/' -license=(TCL) -_archive="$pkgname$pkgver" -sources=("${_archive}-src.tar.gz" - "${_archive}-html.tar.gz" -) -urls=("https://downloads.sourceforge.net/sourceforge/tcl/$_archive-src.tar.gz" - "https://downloads.sourceforge.net/sourceforge/tcl/$_archive-html.tar.gz" -) -md5sums=("c30b57c6051be28fa928d09aca82841e" - "5467198f8d57c54835bf80b98ffb0170" -) - - -src_prepare() { - tar -xf ${distdir}/${sources[0]} --strip-components=1 -} - -src_build() { - SRCDIR=$(pwd) - cd unix - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --disable-rpath - make - - sed -e "s|$SRCDIR/unix|/usr/lib|" \ - -e "s|$SRCDIR|/usr/include|" \ - -i tclConfig.sh - - sed -e "s|$SRCDIR/unix/pkgs/tdbc1.1.7|/usr/lib/tdbc1.1.7|" \ - -e "s|$SRCDIR/pkgs/tdbc1.1.7/generic|/usr/include|" \ - -e "s|$SRCDIR/pkgs/tdbc1.1.7/library|/usr/lib/tcl8.6|" \ - -e "s|$SRCDIR/pkgs/tdbc1.1.7|/usr/include|" \ - -i pkgs/tdbc1.1.7/tdbcConfig.sh - - sed -e "s|$SRCDIR/unix/pkgs/itcl4.2.4|/usr/lib/itcl4.2.4|" \ - -e "s|$SRCDIR/pkgs/itcl4.2.4/generic|/usr/include|" \ - -e "s|$SRCDIR/pkgs/itcl4.2.4|/usr/include|" \ - -i pkgs/itcl4.2.4/itclConfig.sh - - unset SRCDIR -} - -src_check() { - cd "${srcdir}/unix" - make test -} - -src_install() { - cd "${srcdir}/unix" - make INSTALL_ROOT="${pkgdir}" install install-private-headers - chmod -v u+w "${pkgdir}/usr/lib/libtcl8.6.so" - ln -sfv tclsh8.6 "${pkgdir}/usr/bin/tclsh" - mv "${pkgdir}"/usr/share/man/man3/{Thread,Tcl_Thread}.3 - - cd .. - tar -xf ${distdir}/${sources[1]} --strip-components=1 - mkdir -v -p "${pkgdir}/usr/share/doc/tcl-8.6.14" - cp -v -r ./html/* "${pkgdir}/usr/share/doc/tcl-8.6.14" -} diff --git a/lfs/tcl-8.6.16.PKGBUILD b/lfs/tcl-8.6.16.PKGBUILD new file mode 100644 index 0000000..9828dbd --- /dev/null +++ b/lfs/tcl-8.6.16.PKGBUILD @@ -0,0 +1,67 @@ +pkgname=tcl +_basever=8.6 +pkgver=${_basever}.16 +pkgdesc='Powerful, easy-to-learn dynamic programming language' +homepage='http://tcl.sourceforge.net/' +license=(TCL) +_archive="$pkgname$pkgver" +sources=("${_archive}-src.tar.gz" + "${_archive}-html.tar.gz" +) +urls=("https://downloads.sourceforge.net/sourceforge/tcl/${sources[0]}" + "https://downloads.sourceforge.net/sourceforge/tcl/${sources[0]}" +) +md5sums=("eaef5d0a27239fb840f04af8ec608242" + "750c221bcb6f8737a6791c1fbe98b684" +) + + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + SRCDIR=$(pwd) + cd unix + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-rpath + make + + tdbcver=1.1.10 + itcver=4.3.2 + sed -e "s|$SRCDIR/unix|/usr/lib|" \ + -e "s|$SRCDIR|/usr/include|" \ + -i tclConfig.sh + + sed -e "s|$SRCDIR/unix/pkgs/tdbc${tdbcver}|/usr/lib/tdbc${tdbcver}|" \ + -e "s|$SRCDIR/pkgs/tdbc${tdbcver}/generic|/usr/include|" \ + -e "s|$SRCDIR/pkgs/tdbc${tdbcver}/library|/usr/lib/tcl${_basever}|" \ + -e "s|$SRCDIR/pkgs/tdbc${tdbcver}|/usr/include|" \ + -i pkgs/tdbc${tdbcver}/tdbcConfig.sh + + sed -e "s|$SRCDIR/unix/pkgs/itcl${itcver}|/usr/lib/itcl${itcver}|" \ + -e "s|$SRCDIR/pkgs/itcl${itcver}/generic|/usr/include|" \ + -e "s|$SRCDIR/pkgs/itcl${itcver}|/usr/include|" \ + -i pkgs/itcl${itcver}/itclConfig.sh + + unset SRCDIR +} + +src_check() { + cd "${srcdir}/unix" + make test +} + +src_install() { + cd "${srcdir}/unix" + make INSTALL_ROOT="${pkgdir}" install install-private-headers + chmod -v u+w "${pkgdir}/usr/lib/libtcl${_basever}.so" + ln -sfv tclsh${_basever} "${pkgdir}/usr/bin/tclsh" + mv "${pkgdir}"/usr/share/man/man3/{Thread,Tcl_Thread}.3 + + cd .. + tar -xf ${distdir}/${sources[1]} --strip-components=1 + mkdir -v -p "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}" + cp -v -r ./html/* "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}" +} From 7c39577a0f577584fdad6d359427124eed543008 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 00:36:36 -0400 Subject: [PATCH 022/146] update to 12.3: expect --- lfs/expect-5.45.4.PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lfs/expect-5.45.4.PKGBUILD b/lfs/expect-5.45.4.PKGBUILD index 7ae3654..7d92965 100644 --- a/lfs/expect-5.45.4.PKGBUILD +++ b/lfs/expect-5.45.4.PKGBUILD @@ -3,11 +3,12 @@ pkgver=5.45.4 pkgdesc='A tool for automating interactive applications' homepage='https://www.nist.gov/el/msid/expect.cfm' license=(custom) -sources=("${pkgname}${pkgver}.tar.gz" - "expect-5.45.4-gcc14-1.patch" +_archive=${pkgname}${pkgver} +sources=("${_archive}.tar.gz" + "${pkgname}-${pkgver}-gcc14-1.patch" ) -urls=("https://prdownloads.sourceforge.net/expect/expect${pkgver}.tar.gz" - "https://www.linuxfromscratch.org/patches/lfs/12.2/expect-5.45.4-gcc14-1.patch" +urls=("https://prdownloads.sourceforge.net/expect/${sources[0]}" + "https://www.linuxfromscratch.org/patches/lfs/12.2/${sources[1]}" ) md5sums=("00fce8de158422f5ccd2666512329bd2" "0b8b5ac411d011263ad40b0664c669f0" @@ -38,7 +39,7 @@ src_check() { src_install() { make DESTDIR="$pkgdir" install - ln -svf expect5.45.4/libexpect5.45.4.so "${pkgdir}/usr/lib" + ln -svf ${pkgname}${pkgver}/libexpect${pkgver}.so "${pkgdir}/usr/lib" install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/README" # avoid file conflict with the more powerful mkpasswd from the whois package From e663bde75c570c37fddc340637e0c624fae71059 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 14:11:54 -0400 Subject: [PATCH 023/146] fix: use " instead of \' --- lfs/iana-etc-20250123.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/iana-etc-20250123.PKGBUILD b/lfs/iana-etc-20250123.PKGBUILD index d5851d7..19c770f 100644 --- a/lfs/iana-etc-20250123.PKGBUILD +++ b/lfs/iana-etc-20250123.PKGBUILD @@ -3,7 +3,7 @@ pkgver="20250123" pkgdesc='/etc/protocols and /etc/services provided by IANA' homepage="https://www.iana.org/protocols" sources=("${pkgname}-${pkgver}.tar.gz") -urls=('https://github.com/Mic92/iana-etc/releases/download/${pkgver}/${sources[0]}') +urls=("https://github.com/Mic92/iana-etc/releases/download/${pkgver}/${sources[0]}") md5sums=("f8a0ebdc19a5004cf42d8bdcf614fa5d") license=('custom:none') From 222b028caa55d4a6c58e8426cb8dfd558fa5e5ab Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 14:40:38 -0400 Subject: [PATCH 024/146] fix: lfs 12.3 --- lfs/glibc-2.41.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/glibc-2.41.PKGBUILD b/lfs/glibc-2.41.PKGBUILD index 188a36d..513eb91 100644 --- a/lfs/glibc-2.41.PKGBUILD +++ b/lfs/glibc-2.41.PKGBUILD @@ -7,7 +7,7 @@ sources=("${pkgname}-${pkgver}.tar.xz" "${pkgname}-${pkgver}/tzdata2025a.tar.gz" ) urls=("https://ftp.gnu.org/gnu/glibc/${sources[0]}" - "https://www.linuxfromscratch.org/patches/lfs/12.2/${pkgname}-${pkgver}-fhs-1.patch" + "https://www.linuxfromscratch.org/patches/lfs/12.3/${pkgname}-${pkgver}-fhs-1.patch" "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs/${pkgname}-${pkgver}/nsswitch.conf" "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs/${pkgname}-${pkgver}/ld.so.conf" "https://www.iana.org/time-zones/repository/releases/tzdata2025a.tar.gz" From fad106767d6334c2920cf69f4be5731e2d0b37a7 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 20:38:12 -0400 Subject: [PATCH 025/146] update to 12.3: dejagnu --- lfs/dejagnu-1.6.3.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/dejagnu-1.6.3.PKGBUILD b/lfs/dejagnu-1.6.3.PKGBUILD index bde922d..4df6e32 100644 --- a/lfs/dejagnu-1.6.3.PKGBUILD +++ b/lfs/dejagnu-1.6.3.PKGBUILD @@ -4,7 +4,7 @@ pkgdesc='Framework for testing other programs' homepage='https://www.gnu.org/software/dejagnu/' license=(GPL) sources=("${pkgname}-${pkgver}.tar.gz") -urls=(https://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz) +urls=("https://ftp.gnu.org/gnu/dejagnu/${sources[0]}") md5sums=("68c5208c58236eba447d7d6d1326b821") From e27f059704d31b934c0780e4f2fe2dbd1e318340 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 20:43:12 -0400 Subject: [PATCH 026/146] update to 12.3: pkgconf --- lfs/pkgconf-2.3.0.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/pkgconf-2.3.0.PKGBUILD b/lfs/pkgconf-2.3.0.PKGBUILD index 155c6ee..fa7868f 100644 --- a/lfs/pkgconf-2.3.0.PKGBUILD +++ b/lfs/pkgconf-2.3.0.PKGBUILD @@ -4,7 +4,7 @@ pkgdesc="Package compiler and linker metadata toolkit" homepage="https://github.com/pkgconf/pkgconf" license=(ISC) sources=("${pkgname}-${pkgver}.tar.xz") -urls=("https://distfiles.ariadne.space/pkgconf/${pkgname}-${pkgver}.tar.xz") +urls=("https://distfiles.ariadne.space/pkgconf/${sources[0]}") md5sums=("833363e77b5bed0131c7bc4cc6f7747b") From fca3130bd43175f42ecbc089777e397b0ebcfaec Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 20:47:31 -0400 Subject: [PATCH 027/146] update to 12.3: binutils --- lfs/binutils-2.43.1.PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/binutils-2.43.1.PKGBUILD b/lfs/binutils-2.43.1.PKGBUILD index 930e65d..bc1e807 100644 --- a/lfs/binutils-2.43.1.PKGBUILD +++ b/lfs/binutils-2.43.1.PKGBUILD @@ -1,11 +1,11 @@ pkgname=binutils -pkgver=2.43.1 +pkgver=2.44 pkgdesc='A set of programs to assemble and manipulate binary and object files' homepage='https://www.gnu.org/software/binutils/' license=(GPL-2.0-or-later GPL-3.0-or-later LGPL-2.0-or-later LGPL-3.0-or-later GFDL-1.3 FSFAP) sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://sourceware.org/pub/binutils/releases/${sources[0]}") -md5sums=("9202d02925c30969d1917e4bad5a2320") +md5sums=("49912ce774666a30806141f106124294") src_prepare() { From fe8d44cc00156077afd592653fe0ef2449283aa8 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 20:55:35 -0400 Subject: [PATCH 028/146] update to 12.3: binutils --- lfs/{binutils-2.43.1.PKGBUILD => binutils-2.44.PKGBUILD} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename lfs/{binutils-2.43.1.PKGBUILD => binutils-2.44.PKGBUILD} (100%) diff --git a/lfs/binutils-2.43.1.PKGBUILD b/lfs/binutils-2.44.PKGBUILD similarity index 100% rename from lfs/binutils-2.43.1.PKGBUILD rename to lfs/binutils-2.44.PKGBUILD From 6ce33c8f74904022efaf98e036e2321a9e8753e2 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 21:02:13 -0400 Subject: [PATCH 029/146] update to 12.3: gmp --- lfs/gmp-6.3.0.PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/gmp-6.3.0.PKGBUILD b/lfs/gmp-6.3.0.PKGBUILD index 76df950..cafe43e 100644 --- a/lfs/gmp-6.3.0.PKGBUILD +++ b/lfs/gmp-6.3.0.PKGBUILD @@ -4,7 +4,7 @@ pkgdesc='A free library for arbitrary precision arithmetic' homepage='https://gmplib.org/' license=(GPL-2.0-or-later LGPL-3.0-or-later) -sources=(gmp-$pkgver.tar.xz) +sources=("${pkgname}-$pkgver.tar.xz") urls=("https://ftp.gnu.org/gnu/gmp/${sources[0]}") md5sums=("956dc04e864001a9c22429f761f2c283") @@ -17,7 +17,7 @@ src_build() { ./configure --prefix=/usr \ --enable-cxx \ --disable-static \ - --docdir=/usr/share/doc/gmp-6.3.0 + --docdir=/usr/share/doc/${pkgname}-${pkgver} make make html } From 48bb7f4d5f205d846bb2659645dee19d2be60b05 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 21:05:39 -0400 Subject: [PATCH 030/146] update to 12.3: gpfr --- lfs/mpfr-4.2.1.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/mpfr-4.2.1.PKGBUILD b/lfs/mpfr-4.2.1.PKGBUILD index 696a1bf..31c0fe2 100644 --- a/lfs/mpfr-4.2.1.PKGBUILD +++ b/lfs/mpfr-4.2.1.PKGBUILD @@ -11,7 +11,7 @@ homepage='https://www.mpfr.org/' # NOTE: download potentially existing patches from upstream: # `curl patches.diff -o https://www.mpfr.org/mpfr-${_pkgver}/allpatches` sources=("${pkgname}-${_pkgver}.tar.xz") -urls=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$_pkgver.tar.xz) +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("523c50c6318dde6f9dc523bc0244690a") From 9b91d95bc40261af87429e5841cec3b80d85cf93 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 21:08:37 -0400 Subject: [PATCH 031/146] update to 12.3: gpc --- lfs/mpc-1.3.1.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/mpc-1.3.1.PKGBUILD b/lfs/mpc-1.3.1.PKGBUILD index dd342cc..c37455c 100644 --- a/lfs/mpc-1.3.1.PKGBUILD +++ b/lfs/mpc-1.3.1.PKGBUILD @@ -3,7 +3,7 @@ pkgver=1.3.1 pkgdesc="Minimalist command line interface to MPD" homepage="https://www.musicpd.org/clients/mpc/" license=(GPL-2.0-or-later) -sources=($pkgname-$pkgver.tar.gz) +sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("5c9bc658c9fd0f940e8e3e0f09530c62") From 2c9a5ef6d118230ee68d43b95b8cfa49e437235f Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 21:56:11 -0400 Subject: [PATCH 032/146] update to 12.3: acl --- lfs/acl-2.3.2.PKGBUILD | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lfs/acl-2.3.2.PKGBUILD b/lfs/acl-2.3.2.PKGBUILD index 279ea14..15547fb 100644 --- a/lfs/acl-2.3.2.PKGBUILD +++ b/lfs/acl-2.3.2.PKGBUILD @@ -19,6 +19,11 @@ src_build() { make } +src_check() { + leaf_record_message "test/cp.test is known to fail." + make check +} + src_install() { make DESTDIR="${pkgdir}" install } From a94e08589dd17b22fc9b0cdd6d704bec255357f7 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 21:59:14 -0400 Subject: [PATCH 033/146] update to 12.3: libcap --- lfs/{libcap-2.70.PKGBUILD => libcap-2.73.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{libcap-2.70.PKGBUILD => libcap-2.73.PKGBUILD} (91%) diff --git a/lfs/libcap-2.70.PKGBUILD b/lfs/libcap-2.73.PKGBUILD similarity index 91% rename from lfs/libcap-2.70.PKGBUILD rename to lfs/libcap-2.73.PKGBUILD index e9209fc..3c268d5 100644 --- a/lfs/libcap-2.70.PKGBUILD +++ b/lfs/libcap-2.73.PKGBUILD @@ -1,11 +1,11 @@ pkgname=libcap -pkgver=2.70 +pkgver=2.73 pkgdesc="POSIX 1003.1e capabilities" homepage="https://sites.google.com/site/fullycapable/" license=('BSD-3-Clause OR GPL-2.0-only') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${sources[0]}") -md5sums=("df0e20c6eeca849347b87d5d6a8870c0") +md5sums=("0e186df9de9b1e925593a96684fe2e32") src_prepare() { From 3faa8ec4f0e4a8194f44e71a6b583d60538a08fc Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 22:01:36 -0400 Subject: [PATCH 034/146] update to 12.3: libxcrypt --- lfs/{libxcrypt-4.4.36.PKGBUILD => libxcrypt-4.4.38.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{libxcrypt-4.4.36.PKGBUILD => libxcrypt-4.4.38.PKGBUILD} (91%) diff --git a/lfs/libxcrypt-4.4.36.PKGBUILD b/lfs/libxcrypt-4.4.38.PKGBUILD similarity index 91% rename from lfs/libxcrypt-4.4.36.PKGBUILD rename to lfs/libxcrypt-4.4.38.PKGBUILD index a372054..8e91d6e 100644 --- a/lfs/libxcrypt-4.4.36.PKGBUILD +++ b/lfs/libxcrypt-4.4.38.PKGBUILD @@ -1,11 +1,11 @@ pkgname=libxcrypt -pkgver=4.4.36 +pkgver=4.4.38 pkgdesc='Modern library for one-way hashing of passwords' homepage='https://github.com/besser82/libxcrypt/' license=('LGPL') sources=("${pkgname}-${pkgver}.tar.xz") urls=("${homepage}/releases/download/v${pkgver}/${sources[0]}") -md5sums=("b84cd4104e08c975063ec6c4d0372446") +md5sums=("1796a5d20098e9dd9e3f576803c83000") src_prepare() { From 4fce2108d946a6c733e6f785155d731f5e99ae37 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 22:03:29 -0400 Subject: [PATCH 035/146] update to 12.3: libxcrypt-compat --- ...ompat-4.4.36.PKGBUILD => libxcrypt-compat-4.4.38.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{libxcrypt-compat-4.4.36.PKGBUILD => libxcrypt-compat-4.4.38.PKGBUILD} (92%) diff --git a/lfs/libxcrypt-compat-4.4.36.PKGBUILD b/lfs/libxcrypt-compat-4.4.38.PKGBUILD similarity index 92% rename from lfs/libxcrypt-compat-4.4.36.PKGBUILD rename to lfs/libxcrypt-compat-4.4.38.PKGBUILD index c2e9b06..3e9db7e 100644 --- a/lfs/libxcrypt-compat-4.4.36.PKGBUILD +++ b/lfs/libxcrypt-compat-4.4.38.PKGBUILD @@ -1,12 +1,12 @@ pkgname=libxcrypt-compat _pkgbase=libxcrypt -pkgver=4.4.36 +pkgver=4.4.38 pkgdesc='Modern library for one-way hashing of passwords - legacy API functions' homepage='https://github.com/besser82/libxcrypt/' license=('LGPL') sources=("${_pkgbase}-${pkgver}.tar.xz") urls=("${homepage}/releases/download/v${pkgver}/${sources[0]}") -md5sums=("b84cd4104e08c975063ec6c4d0372446") +md5sums=("1796a5d20098e9dd9e3f576803c83000") src_prepare() { From fe6cf0a11ee274a36b73afe7c81f40fda8fba7f7 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 23:40:07 -0400 Subject: [PATCH 036/146] update to 12.3: shadow --- lfs/shadow-4.16.0/useradd | 11 ---------- ...4.16.0.PKGBUILD => shadow-4.17.3.PKGBUILD} | 22 ++++++++++++++----- 2 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 lfs/shadow-4.16.0/useradd rename lfs/{shadow-4.16.0.PKGBUILD => shadow-4.17.3.PKGBUILD} (78%) diff --git a/lfs/shadow-4.16.0/useradd b/lfs/shadow-4.16.0/useradd deleted file mode 100644 index e4eb68b..0000000 --- a/lfs/shadow-4.16.0/useradd +++ /dev/null @@ -1,11 +0,0 @@ -# useradd defaults file -GROUP=999 -GROUPS= -HOME=/home -INACTIVE=-1 -EXPIRE= -SHELL=/bin/bash -SKEL=/etc/skel -USRSKEL=/usr/etc/skel -CREATE_MAIL_SPOOL=no -LOG_INIT=yes diff --git a/lfs/shadow-4.16.0.PKGBUILD b/lfs/shadow-4.17.3.PKGBUILD similarity index 78% rename from lfs/shadow-4.16.0.PKGBUILD rename to lfs/shadow-4.17.3.PKGBUILD index 8b46837..703e938 100644 --- a/lfs/shadow-4.16.0.PKGBUILD +++ b/lfs/shadow-4.17.3.PKGBUILD @@ -1,16 +1,13 @@ pkgname=shadow -pkgver=4.16.0 +pkgver=4.17.3 pkgdesc="Password and account management tool suite with support for shadow files and PAM" homepage="https://github.com/shadow-maint/shadow" license=(BSD-3-Clause) sources=("${pkgname}-${pkgver}.tar.xz" - "useradd" ) urls=("https://github.com/shadow-maint/shadow/releases/download/${pkgver}/${sources[0]}" - "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs-12.2-systemd/shadow-4.16.0/useradd" ) -md5sums=("eb70bad3316d08f0d3bb3d4bbeccb3b4" - "87ed6b2e7cdf479e05d4fe2510adb77f" +md5sums=("0da190e53ecee76237e4c8f3f39531ed" ) @@ -41,5 +38,18 @@ src_install() { make exec_prefix=/usr DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" -C man install-man install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/" - install -vDm 600 "${distdir}/useradd" -t "${pkgdir}/etc/default/" + #install -vDm 600 "${distdir}/useradd" -t "${pkgdir}/etc/default/" + mkdir -pv "${pkgdir}/etc/default" + cat > "${pkgdir}/etc/default/useradd" << EOF +GROUP=999 +GROUPS= +HOME=/home +INACTIVE=-1 +EXPIRE= +SHELL=/bin/bash +SKEL=/etc/skel +USRSKEL=/usr/etc/skel +CREATE_MAIL_SPOOL=no +LOG_INIT=yes +EOF } From dfb7d1cb57b1210534e6d4b38e683c05fa8fe7cf Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 19 Mar 2025 23:48:27 -0400 Subject: [PATCH 037/146] update to 12.3: gcc --- lfs/gcc-14.2.0.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/gcc-14.2.0.PKGBUILD b/lfs/gcc-14.2.0.PKGBUILD index 362ff1b..63171b9 100644 --- a/lfs/gcc-14.2.0.PKGBUILD +++ b/lfs/gcc-14.2.0.PKGBUILD @@ -1,6 +1,6 @@ pkgname="gcc" pkgver="14.2.0" -pkgdesc="" +pkgdesc="The GNU Compiler Collection" homepage="https://gcc.gnu.org" sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/gcc/${pkgname}-${pkgver}/${sources[0]}") From 3c2aabeb9bb989e98144b25fab6ca18150c4bead Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 20 Mar 2025 00:09:19 -0400 Subject: [PATCH 038/146] fix: gcc will work in initial install --- lfs/gcc-14.2.0.PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/gcc-14.2.0.PKGBUILD b/lfs/gcc-14.2.0.PKGBUILD index 63171b9..770d982 100644 --- a/lfs/gcc-14.2.0.PKGBUILD +++ b/lfs/gcc-14.2.0.PKGBUILD @@ -52,11 +52,11 @@ src_install() { pushd build > /dev/null make DESTDIR="$pkgdir" install chown -R root:root \ - "$pkgdir"/usr/lib/gcc/$(gcc -dumpmachine)/14.2.0/include{,-fixed} + "$pkgdir"/usr/lib/gcc/$(${pkgdir}/usr/bin/gcc -dumpmachine)/14.2.0/include{,-fixed} ln -sv ../bin/cpp "$pkgdir"/usr/lib ln -sv gcc.1 "$pkgdir"/usr/share/man/man1/cc.1 install -d -v -m755 "$pkgdir/usr/lib/bfd-plugins" - ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/14.2.0/liblto_plugin.so \ + ln -sfv ../../libexec/gcc/$(${pkgdir}/usr/bin/gcc -dumpmachine)/14.2.0/liblto_plugin.so \ "$pkgdir"/usr/lib/bfd-plugins/ mkdir -pv "$pkgdir"/usr/share/gdb/auto-load/usr/lib mv -v "$pkgdir"/usr/lib/*gdb.py "$pkgdir"/usr/share/gdb/auto-load/usr/lib From 6bd5fcb44c4ce65da9a28173e9dbcc5f0c4bd0b7 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 12:00:18 -0400 Subject: [PATCH 039/146] fix: lib-path issue --- lfs/binutils-2.44.PKGBUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/lfs/binutils-2.44.PKGBUILD b/lfs/binutils-2.44.PKGBUILD index bc1e807..22e0393 100644 --- a/lfs/binutils-2.44.PKGBUILD +++ b/lfs/binutils-2.44.PKGBUILD @@ -17,7 +17,6 @@ src_prepare() { src_build() { ../configure --prefix=/usr \ --sysconfdir="${pkgdir}"/etc \ - --with-lib-path=/usr/lib:/usr/local/lib \ --enable-gold \ --enable-ld=default \ --enable-plugins \ From 4b7fddb23f649cec2d5eba465280834cdbf27f60 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 12:45:38 -0400 Subject: [PATCH 040/146] update to 12.3: gettext --- lfs/{gettext-0.22.5.PKGBUILD => gettext-0.24.PKGBUILD} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename lfs/{gettext-0.22.5.PKGBUILD => gettext-0.24.PKGBUILD} (64%) diff --git a/lfs/gettext-0.22.5.PKGBUILD b/lfs/gettext-0.24.PKGBUILD similarity index 64% rename from lfs/gettext-0.22.5.PKGBUILD rename to lfs/gettext-0.24.PKGBUILD index 8aac290..6fbd227 100644 --- a/lfs/gettext-0.22.5.PKGBUILD +++ b/lfs/gettext-0.24.PKGBUILD @@ -1,5 +1,5 @@ pkgname=gettext -pkgver=0.22.5 +pkgver=0.24 pkgdesc="GNU internationalization library" homepage="https://www.gnu.org/software/gettext/" license=( @@ -10,7 +10,7 @@ license=( ) sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("3ae5580599d84be93e6213930facb2db") +md5sums=("87aea3013802a3c60fa3feb5c7164069") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -19,12 +19,11 @@ src_prepare() { src_build() { ./configure --prefix=/usr \ --disable-static \ - --docdir=/usr/share/doc/gettext-0.22.5 + --docdir=/usr/share/doc/${pkgname}-${pkgver} make } src_check() { - leaf_record_message "If zh_CN.UTF-8 has been defined, then 5 tests are known to fail without libunistring:\n\ttest-ctype_alnum\n\ttest-ctype_alpha\n\ttest-ctype_graph\n\ttest-ctype_print\n\ttest-ctype_punct" make -k check } From ed468a860d759a54aaf4788c802fd19f0576d372 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 13:16:42 -0400 Subject: [PATCH 041/146] update to 12.3: bison --- lfs/bison-3.8.2.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/bison-3.8.2.PKGBUILD b/lfs/bison-3.8.2.PKGBUILD index 0e8e965..9c640b5 100644 --- a/lfs/bison-3.8.2.PKGBUILD +++ b/lfs/bison-3.8.2.PKGBUILD @@ -12,7 +12,7 @@ src_prepare() { } src_build() { - ./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.2 + ./configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}-${pkgver} make } From b9928fc5bf1edd9438bd2164336173050fe181fb Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 13:33:10 -0400 Subject: [PATCH 042/146] update to 12.3: bash --- lfs/{bash-5.2.32.PKGBUILD => bash-5.2.37.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{bash-5.2.32.PKGBUILD => bash-5.2.37.PKGBUILD} (93%) diff --git a/lfs/bash-5.2.32.PKGBUILD b/lfs/bash-5.2.37.PKGBUILD similarity index 93% rename from lfs/bash-5.2.32.PKGBUILD rename to lfs/bash-5.2.37.PKGBUILD index e94f87b..539f38b 100644 --- a/lfs/bash-5.2.32.PKGBUILD +++ b/lfs/bash-5.2.37.PKGBUILD @@ -1,13 +1,13 @@ pkgname=bash _basever=5.2 -_patchlevel=32 +_patchlevel=37 pkgver=${_basever}.${_patchlevel} pkgdesc='The GNU Bourne Again shell' license=('GPL-3.0-or-later') url='https://www.gnu.org/software/bash' sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("f204835b2e06c06e37b5ad776ff907f4") +md5sums=("9c28f21ff65de72ca329c1779684a972") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 9d6c26af0f6c701ca10892e6956ec3919b16139a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 13:45:13 -0400 Subject: [PATCH 043/146] update to 12.3: libtool --- lfs/{libtool-2.4.7.PKGBUILD => libtool-2.5.4.PKGBUILD} | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename lfs/{libtool-2.4.7.PKGBUILD => libtool-2.5.4.PKGBUILD} (68%) diff --git a/lfs/libtool-2.4.7.PKGBUILD b/lfs/libtool-2.5.4.PKGBUILD similarity index 68% rename from lfs/libtool-2.4.7.PKGBUILD rename to lfs/libtool-2.5.4.PKGBUILD index f91e6bb..bb94bd5 100644 --- a/lfs/libtool-2.4.7.PKGBUILD +++ b/lfs/libtool-2.5.4.PKGBUILD @@ -1,23 +1,22 @@ pkgname=libtool -pkgver=2.4.7 +pkgver=2.5.4 pkgdesc='A generic library support script' homepage='https://www.gnu.org/software/libtool' license=('LGPL-2.0-or-later WITH Libtool-exception') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("2fc0b6ddcd66a89ed6e45db28fa44232") +md5sums=("22e0a29df8af5fdde276ea3a7d351d30") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { - ./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32" + ./configure --prefix=/usr make } src_check() { - leaf_record_message "Two of the tests are known to fail. See LFS handbook." make -k check } From 0dfb2a7276d78d7bc75bf3e304edc3b3a6584f94 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 13:56:59 -0400 Subject: [PATCH 044/146] new: clear CFLAGS in gcc and glibc --- lfs/gcc-14.2.0.PKGBUILD | 7 ++++++- lfs/glibc-2.41.PKGBUILD | 13 +++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/lfs/gcc-14.2.0.PKGBUILD b/lfs/gcc-14.2.0.PKGBUILD index 770d982..531454a 100644 --- a/lfs/gcc-14.2.0.PKGBUILD +++ b/lfs/gcc-14.2.0.PKGBUILD @@ -17,6 +17,9 @@ src_prepare() { } src_build() { + old_cflags="$CFLAGS" + unset CFLAGS + mkdir -v build pushd build > /dev/null ../configure --prefix=/usr \ @@ -30,6 +33,8 @@ src_build() { --disable-fixincludes \ --with-system-zlib make + + export CFLAGS="$old_cflags" popd } @@ -43,7 +48,7 @@ src_check() { -e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c chown -R leaf . - su leaf -c "PATH=$PATH make -k check" + env -u CFLAGS su leaf -c "PATH=$PATH make -k check" ../contrib/test_summary | grep -A7 Summ popd } diff --git a/lfs/glibc-2.41.PKGBUILD b/lfs/glibc-2.41.PKGBUILD index 513eb91..1ed3d70 100644 --- a/lfs/glibc-2.41.PKGBUILD +++ b/lfs/glibc-2.41.PKGBUILD @@ -26,6 +26,9 @@ src_prepare() { } src_build() { + old_cflags="$CFLAGS" + unset CFLAGS + mkdir -pv build cd build echo "rootsbindir=/usr/sbin" > configparms @@ -36,6 +39,8 @@ src_build() { --disable-nscd \ libc_cv_slibdir=/usr/lib make + + export CFLAGS="$old_cflags" } _skip_test() { @@ -46,10 +51,16 @@ _skip_test() { src_check() { _skip_test tst-lchmod io/Makefile + + old_cflags="$CFLAGS" + unset CFLAGS make check + export CFLAGS="$old_cflags" } src_install() { + old_cflags="$CFLAGS" + unset CFLAGS cd "${srcdir}/build" install -d "${pkgdir}/etc" touch "${pkgdir}/etc/ld.so.conf" @@ -110,6 +121,8 @@ src_install() { unset ZONEINFO install -m644 "${distdir}/${sources[3]}" "${pkgdir}/etc/ld.so.conf" + + export CFLAGS="$old_cflags" } src_preinstall() { From 5d1a080c03a5ecb08e2f3c0f292a24506de83623 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 17:39:37 -0400 Subject: [PATCH 045/146] update to 12.3: gperf --- lfs/gperf-3.1.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/gperf-3.1.PKGBUILD b/lfs/gperf-3.1.PKGBUILD index 037ff35..961c506 100644 --- a/lfs/gperf-3.1.PKGBUILD +++ b/lfs/gperf-3.1.PKGBUILD @@ -12,7 +12,7 @@ src_prepare() { } src_build() { - ./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1 + ./configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}-${pkgver} make } From ff8e1112264db3eee9ae2452edf9d210c427a053 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 17:43:58 -0400 Subject: [PATCH 046/146] update to 12.3: expat --- lfs/{expat-2.6.2.PKGBUILD => expat-2.6.4.PKGBUILD} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename lfs/{expat-2.6.2.PKGBUILD => expat-2.6.4.PKGBUILD} (100%) diff --git a/lfs/expat-2.6.2.PKGBUILD b/lfs/expat-2.6.4.PKGBUILD similarity index 100% rename from lfs/expat-2.6.2.PKGBUILD rename to lfs/expat-2.6.4.PKGBUILD From a3103c80f1db06872c5ee2d0f4c9b5727509fbae Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 18:23:37 -0400 Subject: [PATCH 047/146] feat: add CFLAGS support --- lfs/gcc-14.2.0.PKGBUILD | 8 ++------ lfs/glibc-2.41.PKGBUILD | 13 +------------ 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/lfs/gcc-14.2.0.PKGBUILD b/lfs/gcc-14.2.0.PKGBUILD index 531454a..c2bd78f 100644 --- a/lfs/gcc-14.2.0.PKGBUILD +++ b/lfs/gcc-14.2.0.PKGBUILD @@ -17,9 +17,7 @@ src_prepare() { } src_build() { - old_cflags="$CFLAGS" - unset CFLAGS - + leaf_clear_flags mkdir -v build pushd build > /dev/null ../configure --prefix=/usr \ @@ -33,8 +31,6 @@ src_build() { --disable-fixincludes \ --with-system-zlib make - - export CFLAGS="$old_cflags" popd } @@ -48,7 +44,7 @@ src_check() { -e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c chown -R leaf . - env -u CFLAGS su leaf -c "PATH=$PATH make -k check" + su leaf -c "PATH=$PATH make -k check" ../contrib/test_summary | grep -A7 Summ popd } diff --git a/lfs/glibc-2.41.PKGBUILD b/lfs/glibc-2.41.PKGBUILD index 1ed3d70..bd47a2f 100644 --- a/lfs/glibc-2.41.PKGBUILD +++ b/lfs/glibc-2.41.PKGBUILD @@ -26,9 +26,7 @@ src_prepare() { } src_build() { - old_cflags="$CFLAGS" - unset CFLAGS - + leaf_clear_flags mkdir -pv build cd build echo "rootsbindir=/usr/sbin" > configparms @@ -39,8 +37,6 @@ src_build() { --disable-nscd \ libc_cv_slibdir=/usr/lib make - - export CFLAGS="$old_cflags" } _skip_test() { @@ -52,15 +48,10 @@ _skip_test() { src_check() { _skip_test tst-lchmod io/Makefile - old_cflags="$CFLAGS" - unset CFLAGS make check - export CFLAGS="$old_cflags" } src_install() { - old_cflags="$CFLAGS" - unset CFLAGS cd "${srcdir}/build" install -d "${pkgdir}/etc" touch "${pkgdir}/etc/ld.so.conf" @@ -121,8 +112,6 @@ src_install() { unset ZONEINFO install -m644 "${distdir}/${sources[3]}" "${pkgdir}/etc/ld.so.conf" - - export CFLAGS="$old_cflags" } src_preinstall() { From af5598400fb57ffa58a9a66b77ce9dbd9288b028 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 18:23:59 -0400 Subject: [PATCH 048/146] new: add test/just-env --- test/just-env-1.0.PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 test/just-env-1.0.PKGBUILD diff --git a/test/just-env-1.0.PKGBUILD b/test/just-env-1.0.PKGBUILD new file mode 100644 index 0000000..8c5e842 --- /dev/null +++ b/test/just-env-1.0.PKGBUILD @@ -0,0 +1,30 @@ + +pkgname="just-env" +pkgver="1.0" +pkgdesc="print env" +homepage="" +license=("GPL") +sources=() +urls=() +md5sums=() + +src_prepare() { + echo ">>> in src_prepare" + env + leaf_clear_flags +} + +src_build() { + echo ">>> in src_build" + env +} + +src_check() { + echo ">>> in src_check" + env +} + +src_install() { + echo ">>> in src_install" + env +} From 0519bf4c9d1bc1900f33c28a83f9bad953ee9740 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 18:39:20 -0400 Subject: [PATCH 049/146] update to 12.3: inetutils --- lfs/{inetutils-2.5.PKGBUILD => inetutils-2.6.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{inetutils-2.5.PKGBUILD => inetutils-2.6.PKGBUILD} (94%) diff --git a/lfs/inetutils-2.5.PKGBUILD b/lfs/inetutils-2.6.PKGBUILD similarity index 94% rename from lfs/inetutils-2.5.PKGBUILD rename to lfs/inetutils-2.6.PKGBUILD index e114370..1a3acf8 100644 --- a/lfs/inetutils-2.5.PKGBUILD +++ b/lfs/inetutils-2.6.PKGBUILD @@ -1,11 +1,11 @@ pkgname=inetutils -pkgver=2.5 +pkgver=2.6 pkgdesc="A collection of common network programs" homepage="https://www.gnu.org/software/inetutils/" license=('GPL-3.0-or-later') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("9e5a6dfd2d794dc056a770e8ad4a9263") +md5sums=("401d7d07682a193960bcdecafd03de94") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From b9a5223f88c221aefc2f50b87976cdfb3002ef68 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 18:42:14 -0400 Subject: [PATCH 050/146] update to 12.3: less --- lfs/{less-661.PKGBUILD => less-668.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{less-661.PKGBUILD => less-668.PKGBUILD} (91%) diff --git a/lfs/less-661.PKGBUILD b/lfs/less-668.PKGBUILD similarity index 91% rename from lfs/less-661.PKGBUILD rename to lfs/less-668.PKGBUILD index 552aa8e..d80fdea 100644 --- a/lfs/less-661.PKGBUILD +++ b/lfs/less-668.PKGBUILD @@ -1,11 +1,11 @@ pkgname=less -pkgver=661 +pkgver=668 pkgdesc='A terminal based program for viewing text files' license=('GPL-3.0-or-later' 'BSD-2-Clause') homepage='https://www.greenwoodsoftware.com/less/' sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://www.greenwoodsoftware.com/${pkgname}/${sources[0]}") -md5sums=("44f54b6313c5d71fa1ac224d8d84766a") +md5sums=("d72760386c5f80702890340d2f66c302") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 02469e48c4331dfb266721b5376a0558fcfdd55a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 20:29:36 -0400 Subject: [PATCH 051/146] update to 12.3: perl --- lfs/{perl-5.40.0.PKGBUILD => perl-5.40.1.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{perl-5.40.0.PKGBUILD => perl-5.40.1.PKGBUILD} (95%) diff --git a/lfs/perl-5.40.0.PKGBUILD b/lfs/perl-5.40.1.PKGBUILD similarity index 95% rename from lfs/perl-5.40.0.PKGBUILD rename to lfs/perl-5.40.1.PKGBUILD index 175c2f1..bf5fcec 100644 --- a/lfs/perl-5.40.0.PKGBUILD +++ b/lfs/perl-5.40.1.PKGBUILD @@ -1,12 +1,12 @@ pkgname=perl -pkgver=5.40.0 +pkgver=5.40.1 _basever="${pkgver%.*}" pkgdesc="A highly capable, feature-rich programming language" license=('GPL' 'PerlArtistic') homepage="https://www.perl.org" sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.cpan.org/src/5.0/${sources[0]}") -md5sums=("cfe14ef0709b9687f9c514042e8e1e82") +md5sums=("bab3547a5cdf2302ee0396419d74a42e") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 4a3ea96b1b383b81e85276a4ed1f5d969571eb4c Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 22:42:25 -0400 Subject: [PATCH 052/146] update to 12.3: openssl --- lfs/{openssl-3.3.1.PKGBUILD => openssl-3.4.1.PKGBUILD} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename lfs/{openssl-3.3.1.PKGBUILD => openssl-3.4.1.PKGBUILD} (86%) diff --git a/lfs/openssl-3.3.1.PKGBUILD b/lfs/openssl-3.4.1.PKGBUILD similarity index 86% rename from lfs/openssl-3.3.1.PKGBUILD rename to lfs/openssl-3.4.1.PKGBUILD index 33e573a..3eb11c2 100644 --- a/lfs/openssl-3.3.1.PKGBUILD +++ b/lfs/openssl-3.4.1.PKGBUILD @@ -1,12 +1,12 @@ pkgname=openssl -pkgver=3.3.1 +pkgver=3.4.1 pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security' arch=('x86_64') homepage='https://www.openssl.org' license=('Apache-2.0') sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://www.openssl.org/source/${sources[0]}") -md5sums=("8a4342b399c18f870ca6186299195984") +md5sums=("fb7a747ac6793a7ad7118eaba45db379") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -29,6 +29,7 @@ src_check() { src_install() { sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile make DESTDIR="${pkgdir}" MANSUFFIX=ssl install + mv -v "${pkgdir}/usr/share/doc/openssl" "${pkgdir}/usr/share/doc/openssl-${pkgver}" install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" } From 85bf1956d1eecdda8ddfb46baec268f262b4f340 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 23:26:31 -0400 Subject: [PATCH 053/146] update to 12.3: libelf --- lfs/{libelf-0.191.PKGBUILD => libelf-0.192.PKGBUILD} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename lfs/{libelf-0.191.PKGBUILD => libelf-0.192.PKGBUILD} (91%) diff --git a/lfs/libelf-0.191.PKGBUILD b/lfs/libelf-0.192.PKGBUILD similarity index 91% rename from lfs/libelf-0.191.PKGBUILD rename to lfs/libelf-0.192.PKGBUILD index cd4a740..5663632 100644 --- a/lfs/libelf-0.191.PKGBUILD +++ b/lfs/libelf-0.192.PKGBUILD @@ -1,18 +1,19 @@ pkgname="libelf" _pkgbase="elfutils" -pkgver=0.191 +pkgver=0.192 pkgdesc="Handle ELF object files and DWARF debugging information (lib)" license=("GPL-2.0-or-later OR LGPL-3.0-or-later") homepage="https://sourceware.org/elfutils/" sources=("${_pkgbase}-${pkgver}.tar.bz2") urls=("https://sourceware.org/ftp/${_pkgbase}/${pkgver}/${sources[0]}") -md5sums="636547248fb3fae58ec48030298d3ef7" +md5sums="a6bb1efc147302cfc15b5c2b827f186a" src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { + CFLAGS+=" -g" ./configure --prefix=/usr \ --disable-debuginfod \ --enable-libdebuginfod=dummy From eb14859b092e9d3c5cc094d1278ec8b03cfcd47d Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 25 Mar 2025 23:33:41 -0400 Subject: [PATCH 054/146] update to 12.3: libffi --- lfs/{libffi-3.4.6.PKGBUILD => libffi-3.4.7.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{libffi-3.4.6.PKGBUILD => libffi-3.4.7.PKGBUILD} (92%) diff --git a/lfs/libffi-3.4.6.PKGBUILD b/lfs/libffi-3.4.7.PKGBUILD similarity index 92% rename from lfs/libffi-3.4.6.PKGBUILD rename to lfs/libffi-3.4.7.PKGBUILD index 8fb995f..88bc3e7 100644 --- a/lfs/libffi-3.4.6.PKGBUILD +++ b/lfs/libffi-3.4.7.PKGBUILD @@ -1,11 +1,11 @@ pkgname=libffi -pkgver=3.4.6 +pkgver=3.4.7 pkgdesc='Portable foreign function interface library' homepage='https://sourceware.org/libffi/' license=(MIT) sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://github.com/libffi/libffi/releases/download/v${pkgver}/${sources[0]}") -md5sums=("b9cac6c5997dca2b3787a59ede34e0eb") +md5sums=("696a1d483a1174ce8a477575546a5284") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 21c4800eb87fae50119da498d46a3a6af7cc1a54 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 00:28:03 -0400 Subject: [PATCH 055/146] update to 12.3: python --- lfs/{python-3.12.5.PKGBUILD => python-3.13.2.PKGBUILD} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename lfs/{python-3.12.5.PKGBUILD => python-3.13.2.PKGBUILD} (93%) diff --git a/lfs/python-3.12.5.PKGBUILD b/lfs/python-3.13.2.PKGBUILD similarity index 93% rename from lfs/python-3.12.5.PKGBUILD rename to lfs/python-3.13.2.PKGBUILD index 5ae2ae1..865c223 100644 --- a/lfs/python-3.12.5.PKGBUILD +++ b/lfs/python-3.13.2.PKGBUILD @@ -1,5 +1,5 @@ pkgname=python -pkgver=3.12.5 +pkgver=3.13.2 pkgdesc="The Python programming language" license=('PSF-2.0') homepage="https://www.python.org/" @@ -9,8 +9,8 @@ sources=("Python-${pkgver}.tar.xz" urls=("https://www.python.org/ftp/${pkgname}/${pkgver}/${sources[0]}" "https://www.python.org/ftp/${pkgname}/doc/${pkgver}/${sources[1]}" ) -md5sums=("02c7d269e077f4034963bba6befdc715" - "52274d813236ca4a972fb6988480dc56" +md5sums=("4c2d9202ab4db02c9d0999b14655dfe5" + "d6aede88f480a018d26b3206f21654ae" ) src_prepare() { From cf90f9df6ebc1221111acad6aefc88c2bdd9dbfc Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 00:30:29 -0400 Subject: [PATCH 056/146] update to 12.3: python --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5903d1e..bb830c7 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,6 @@ This is my repository for Linux from Scratch, and designed for the package manager [leaf](https://gitea.phywyj.dynv6.net/wyj/leaf). Warning: `leaf` won't deal with the dependence relation, and currently won't check file confliction. You have to deal with these problems as the maintainer of your own LFS system. + +## Different with LFS book +- Use `ensurepip` in *Chapter 7.10. Python-3.13.2* From 938ebc2a798e7819d81a0376dc7a17a8a13512d8 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 00:36:25 -0400 Subject: [PATCH 057/146] update to 12.3: python-flit-core --- ...9.0.PKGBUILD => python-flit-core-3.11.0.PKGBUILD} | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) rename lfs/{python-flit-core-3.9.0.PKGBUILD => python-flit-core-3.11.0.PKGBUILD} (54%) diff --git a/lfs/python-flit-core-3.9.0.PKGBUILD b/lfs/python-flit-core-3.11.0.PKGBUILD similarity index 54% rename from lfs/python-flit-core-3.9.0.PKGBUILD rename to lfs/python-flit-core-3.11.0.PKGBUILD index 76a1110..1062409 100644 --- a/lfs/python-flit-core-3.9.0.PKGBUILD +++ b/lfs/python-flit-core-3.11.0.PKGBUILD @@ -1,14 +1,22 @@ pkgname=python-flit-core _name=${pkgname#python-} -pkgver=3.9.0 +pkgver=3.11.0 pkgdesc="A PEP 517 build backend for packages using Flit" homepage="https://github.com/pypa/flit/tree/main/flit_core" license=(BSD-3-Clause) sources=("flit_core-${pkgver}.tar.gz") urls=("https://pypi.org/packages/source/f/${_name}/${sources[0]}") -md5sums=("3bc52f1952b9a78361114147da63c35b") +md5sums=("6d677b1acef1769c4c7156c7508e0dbd") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } +src_build() { + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD +} + +src_install() { + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist flit_core +} + From 7ae92940f22ead5690680033bc50d6009b0778bd Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 00:43:21 -0400 Subject: [PATCH 058/146] update to 12.3: python-wheel --- lfs/python-wheel-0.45.1.PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lfs/python-wheel-0.45.1.PKGBUILD diff --git a/lfs/python-wheel-0.45.1.PKGBUILD b/lfs/python-wheel-0.45.1.PKGBUILD new file mode 100644 index 0000000..6cf28c1 --- /dev/null +++ b/lfs/python-wheel-0.45.1.PKGBUILD @@ -0,0 +1,23 @@ +pkgname=python-wheel +_name=${pkgname#python-} +pkgver=0.45.1 +pkgrel=1 +pkgdesc="A built-package format for Python" +arch=(any) +homepage="https://pypi.python.org/pypi/wheel" +license=('MIT') +sources=("${_name}-${pkgver}.tar.gz") +urls=("https://pypi.org/packages/source/w/${_name}/${sources[0]}") +md5sums=("dddc505d0573d03576c7c6c5a4fe0641") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD +} + +src_install() { + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${_name} +} From 4a8b2dd9d6ffd4a7b2e07a4775fb5110b403df57 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 10:13:31 -0400 Subject: [PATCH 059/146] update to 12.3: python-setuptools --- ....2.0.PKGBUILD => python-setuptools-75.8.1.PKGBUILD} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename lfs/{python-setuptools-72.2.0.PKGBUILD => python-setuptools-75.8.1.PKGBUILD} (56%) diff --git a/lfs/python-setuptools-72.2.0.PKGBUILD b/lfs/python-setuptools-75.8.1.PKGBUILD similarity index 56% rename from lfs/python-setuptools-72.2.0.PKGBUILD rename to lfs/python-setuptools-75.8.1.PKGBUILD index 9f9e868..e9593d0 100644 --- a/lfs/python-setuptools-72.2.0.PKGBUILD +++ b/lfs/python-setuptools-75.8.1.PKGBUILD @@ -1,19 +1,20 @@ pkgname=python-setuptools _name=${pkgname#python-} -pkgver=72.2.0 +pkgver=75.8.1 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages" homepage="https://pypi.org/project/setuptools/" license=('MIT') sources=("${_name}-${pkgver}.tar.gz") urls=("https://pypi.org/packages/source/s/${_name}/${sources[0]}") -md5sums=("2e0ffd0f6fc632a11442b79d9b1c68bd") +md5sums=("7dc3d3f529b76b10e35326e25c676b30") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { - python3 setup.py build + #python3 setup.py build + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD } src_check() { @@ -21,7 +22,8 @@ src_check() { } src_install() { - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build + #python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${_name} install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" } From 1eccd731d2c82aec77df28ed107738145ea2bc0c Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 10:36:07 -0400 Subject: [PATCH 060/146] update to 12.3: ninja --- lfs/ninja-1.12.1.PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lfs/ninja-1.12.1.PKGBUILD diff --git a/lfs/ninja-1.12.1.PKGBUILD b/lfs/ninja-1.12.1.PKGBUILD new file mode 100644 index 0000000..2c0437d --- /dev/null +++ b/lfs/ninja-1.12.1.PKGBUILD @@ -0,0 +1,30 @@ +pkgname=ninja +pkgver=1.12.1 +pkgdesc='Small build system with a focus on speed' +arch=(x86_64) +homepage='https://ninja-build.org/' +license=(Apache-2.0) +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/ninja-build/ninja/archive/v${pkgver}/${sources[0]}") +md5sums=("6288992b05e593a391599692e2f7e490") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 + sed -i '/int Guess/a \ + int j = 0;\ + char* jobs = getenv( "NINJAJOBS" );\ + if ( jobs != NULL ) j = atoi( jobs );\ + if ( j > 0 ) return j;\ +' src/ninja.cc +} + +src_build() { + python3 configure.py --bootstrap --verbose +} + +src_install() { + install -d -v -m755 ${pkgdir}/usr/bin/ + install -vm755 ninja ${pkgdir}/usr/bin/ + install -vDm644 misc/bash-completion ${pkgdir}/usr/share/bash-completion/completions/ninja + install -vDm644 misc/zsh-completion ${pkgdir}/usr/share/zsh/site-functions/_ninja +} From 8efca34c25257656af0db9e0aa339aeb18610948 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 11:35:19 -0400 Subject: [PATCH 061/146] update to 12.3: meson --- lfs/meson-1.7.0.PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lfs/meson-1.7.0.PKGBUILD diff --git a/lfs/meson-1.7.0.PKGBUILD b/lfs/meson-1.7.0.PKGBUILD new file mode 100644 index 0000000..09723fa --- /dev/null +++ b/lfs/meson-1.7.0.PKGBUILD @@ -0,0 +1,23 @@ +pkgname=meson +pkgver=1.7.0 +pkgdesc="High productivity build system" +homepage="https://mesonbuild.com/" +arch=(any) +license=(Apache-2.0) +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/mesonbuild/meson/releases/download/${pkgver}/${sources[0]}") +md5sums=("c20f3e5ebbb007352d22f4fd6ceb925c") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD +} + +src_install() { + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${pkgname} + install -vDm644 data/shell-completions/bash/meson ${pkgdir}/usr/share/bash-completion/completions/meson + install -vDm644 data/shell-completions/zsh/_meson ${pkgdir}/usr/share/zsh/site-functions/_meson +} From 4c25641fbca6dbc8dfc15561bf4a52bd98683103 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 11:46:02 -0400 Subject: [PATCH 062/146] update to 12.3: kmod --- lfs/kmod-33.PKGBUILD | 34 ---------------------------------- lfs/kmod-34.PKGBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 34 deletions(-) delete mode 100644 lfs/kmod-33.PKGBUILD create mode 100644 lfs/kmod-34.PKGBUILD diff --git a/lfs/kmod-33.PKGBUILD b/lfs/kmod-33.PKGBUILD deleted file mode 100644 index 90278c8..0000000 --- a/lfs/kmod-33.PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -pkgname=kmod -pkgver=33 -pkgdesc="Linux kernel module management tools and library" -url="https://github.com/kmod-project/kmod" -license=('LGPL-2.1-or-later' 'GPL-2.0-or-later') -sources=("${pkgname}-${pkgver}.tar.xz") -urls=("https://www.kernel.org/pub/linux/utils/kernel/${pkgname}/${sources[0]}") -md5sums=("c451c4aa61521adbe8af147f498046f8") - -src_prepare() { - tar -xf ${distdir}/${sources[0]} --strip-components=1 -} - -src_build() { - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-openssl \ - --with-xz \ - --with-zstd \ - --with-zlib \ - --disable-manpages - make -} - -src_install() { - make DESTDIR="${pkgdir}" install - install -d -m 755 "${pkgdir}/usr/sbin" - install -dm0755 "${pkgdir}"/{etc,usr/lib}/{depmod,modprobe}.d - for target in depmod insmod modinfo modprobe rmmod; do - ln -sfv ../bin/kmod "${pkgdir}/usr/sbin/$target" - rm -fv "${pkgdir}/usr/bin/$target" - done -} - diff --git a/lfs/kmod-34.PKGBUILD b/lfs/kmod-34.PKGBUILD new file mode 100644 index 0000000..1fb9c1a --- /dev/null +++ b/lfs/kmod-34.PKGBUILD @@ -0,0 +1,27 @@ +pkgname=kmod +pkgver=34 +pkgdesc="Linux kernel module management tools and library" +arch=('x86_64') +homepage='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git' +license=('LGPL-2.1-or-later' 'GPL-2.0-or-later') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://www.kernel.org/pub/linux/utils/kernel/${pkgname}/${sources[0]}") +md5sums=("3e6c5c9ad9c7367ab9c3cc4f08dfde62") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + mkdir -p build + cd build + meson setup --prefix=/usr .. \ + --sbindir=/usr/sbin \ + --buildtype=release \ + -D manpages=false + ninja +} + +src_install() { + DESTDIR=${pkgdir} ninja install +} From a87e0f83800c0701b550c363bda9b7f8313de648 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 20:50:10 -0400 Subject: [PATCH 063/146] update to 12.3: coreutils --- lfs/coreutils-9.6.PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 lfs/coreutils-9.6.PKGBUILD diff --git a/lfs/coreutils-9.6.PKGBUILD b/lfs/coreutils-9.6.PKGBUILD new file mode 100644 index 0000000..97809e8 --- /dev/null +++ b/lfs/coreutils-9.6.PKGBUILD @@ -0,0 +1,49 @@ +pkgname=coreutils +pkgver=9.6 +pkgdesc='The basic file, shell and text manipulation utilities of the GNU operating system' +arch=('x86_64') +license=( + GPL-3.0-or-later + GFDL-1.3-or-later +) +homepage='https://www.gnu.org/software/coreutils/' +sources=("${pkgname}-${pkgver}.tar.xz" + "${pkgname}-${pkgver}-i18n-1.patch" +) +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}" + "https://www.linuxfromscratch.org/patches/lfs/12.3/coreutils-9.6-i18n-1.patch" +) +md5sums=("0ed6cc983fe02973bc98803155cc1733" + "6aee45dd3e05b7658971c321d92f44b7" +) + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 + patch -Np1 -i ${distdir}/${sources[1]} +} + +src_build() { + autoreconf -fv + automake -af + FORCE_UNSAFE_CONFIGURE=1 ./configure \ + --prefix=/usr \ + --enable-no-install-program=kill,uptime + make +} + +src_check() { + make NON_ROOT_USERNAME=leaf check-root + # non-root test + chown -R leaf . + su leaf -c "PATH=$PATH make -k RUN_EXPENSIVE_TESTS=yes check" \ + < /dev/null +} + +src_install() { + make DESTDIR=${pkgdir} install + install -d -m 755 ${pkgdir}/usr/sbin/ + mv -v ${pkgdir}/usr/bin/chroot ${pkgdir}/usr/sbin + install -d -m 755 ${pkgdir}/usr/share/man/man8/ + mv -v ${pkgdir}/usr/share/man/man1/chroot.1 ${pkgdir}/usr/share/man/man8/chroot.8 + sed -i 's/"1"/"8"/' ${pkgdir}/usr/share/man/man8/chroot.8 +} From 87e07621c2d2f8cd11977be0c5d2b8ccd325dde0 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 21:55:31 -0400 Subject: [PATCH 064/146] update to 12.3: check --- lfs/check-0.15.2.PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lfs/check-0.15.2.PKGBUILD diff --git a/lfs/check-0.15.2.PKGBUILD b/lfs/check-0.15.2.PKGBUILD new file mode 100644 index 0000000..e95a6b7 --- /dev/null +++ b/lfs/check-0.15.2.PKGBUILD @@ -0,0 +1,26 @@ +pkgname=check +pkgver=0.15.2 +pkgdesc="A unit testing framework for C" +homepage="https://libcheck.github.io/check/" +arch=(x86_64) +license=(LGPL) +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/libcheck/check/releases/download/${pkgver}/${sources[0]}") +md5sums=("50fcafcecde5a380415b12e9c574e0b2") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr --disable-static + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" docdir=/usr/share/doc/check-${pkgver} install +} From 8209988e50c2b1e3b13fdb9a9a7eae37928cb9da Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 22:03:07 -0400 Subject: [PATCH 065/146] update to 12.3: diffutils --- lfs/diffutils-3.11.PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lfs/diffutils-3.11.PKGBUILD diff --git a/lfs/diffutils-3.11.PKGBUILD b/lfs/diffutils-3.11.PKGBUILD new file mode 100644 index 0000000..691352f --- /dev/null +++ b/lfs/diffutils-3.11.PKGBUILD @@ -0,0 +1,26 @@ +pkgname=diffutils +pkgver=3.11 +pkgdesc='Utility programs used for creating patch files' +arch=('x86_64') +homepage='https://www.gnu.org/software/diffutils' +license=('GPL-3.0-or-later') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("75ab2bb7b5ac0e3e10cece85bd1780c2") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From 39ac54bc0b3a6423a1f7aaa0003bb8134960ffd3 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 22:38:39 -0400 Subject: [PATCH 066/146] update to 12.3: gawk --- lfs/gawk-5.3.1.PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lfs/gawk-5.3.1.PKGBUILD diff --git a/lfs/gawk-5.3.1.PKGBUILD b/lfs/gawk-5.3.1.PKGBUILD new file mode 100644 index 0000000..d739d42 --- /dev/null +++ b/lfs/gawk-5.3.1.PKGBUILD @@ -0,0 +1,30 @@ +pkgname=gawk +pkgver=5.3.1 +pkgdesc="GNU version of awk" +arch=('x86_64') +homepage="https://www.gnu.org/software/gawk/" +license=('GPL-3.0-or-later') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("4e9292a06b43694500e0620851762eec") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 + sed -i 's/extras//' Makefile.in +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + chown -R leaf . + su leaf -c "PATH=$PATH make check" +} + +src_install() { + make DESTDIR="${pkgdir}" install + ln -sv gawk.1 "${pkgdir}"/usr/share/man/man1/awk.1 + install -vDm644 doc/{awkforai.txt,*.{eps,pdf,jpg}} -t "${pkgdir}"/usr/share/doc/gawk-5.3.1 +} From a7098482bc659d665a9fa3b90318a5e8f1f52304 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 22:49:40 -0400 Subject: [PATCH 067/146] update to 12.3: findutils --- lfs/findutils-4.10.0.PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lfs/findutils-4.10.0.PKGBUILD diff --git a/lfs/findutils-4.10.0.PKGBUILD b/lfs/findutils-4.10.0.PKGBUILD new file mode 100644 index 0000000..90efc7f --- /dev/null +++ b/lfs/findutils-4.10.0.PKGBUILD @@ -0,0 +1,27 @@ +pkgname=findutils +pkgver=4.10.0 +pkgrel=2 +pkgdesc="GNU utilities to locate files" +arch=('x86_64') +license=('GPL-3.0-or-later') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("870cfd71c07d37ebe56f9f4aaf4ad872") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr --localstatedir=/var/lib/locate + make +} + +src_check() { + chown -R leaf . + su leaf -c "PATH=$PATH make check" +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From 9a1e081513d5ac73a3a2c7f4b2fac6d5a205b0c3 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Wed, 26 Mar 2025 22:56:51 -0400 Subject: [PATCH 068/146] update to 12.3: groff --- lfs/groff-1.23.0.PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lfs/groff-1.23.0.PKGBUILD diff --git a/lfs/groff-1.23.0.PKGBUILD b/lfs/groff-1.23.0.PKGBUILD new file mode 100644 index 0000000..528b856 --- /dev/null +++ b/lfs/groff-1.23.0.PKGBUILD @@ -0,0 +1,26 @@ +pkgname=groff +pkgver=1.23.0 +pkgdesc='GNU troff text-formatting system' +arch=('x86_64') +homepage='https://www.gnu.org/software/groff/groff.html' +license=('GPL-3.0-or-later') +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("5e4f40315a22bb8a158748e7d5094c7d") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + PAGE=A4 ./configure --prefix=/usr + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From cec8893de4fdcd964e25178b62bf6e444e040480 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 27 Mar 2025 00:06:09 -0400 Subject: [PATCH 069/146] update to 12.3: gzip --- lfs/gzip-1.13.PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lfs/gzip-1.13.PKGBUILD diff --git a/lfs/gzip-1.13.PKGBUILD b/lfs/gzip-1.13.PKGBUILD new file mode 100644 index 0000000..4a2f474 --- /dev/null +++ b/lfs/gzip-1.13.PKGBUILD @@ -0,0 +1,26 @@ +pkgname=gzip +pkgver=1.13 +pkgdesc='GNU compression utility' +arch=('x86_64') +homepage='https://www.gnu.org/software/gzip/' +license=('GPL-3.0-or-later') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("d5c9fc9441288817a4a0be2da0249e29") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From c903082ec46c7dacc5e417bcde9f4cdd378df5be Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 27 Mar 2025 00:32:11 -0400 Subject: [PATCH 070/146] update to 12.3: iproute2 --- README.md | 1 + lfs/iproute2-6.13.0.PKGBUILD | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 lfs/iproute2-6.13.0.PKGBUILD diff --git a/README.md b/README.md index bb830c7..056d4ee 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,4 @@ Warning: `leaf` won't deal with the dependence relation, and currently won't che ## Different with LFS book - Use `ensurepip` in *Chapter 7.10. Python-3.13.2* +- Use `SBINDIR=/usr/bin/` to install `iproute2`. `ip` command should be avaliable for non-root. diff --git a/lfs/iproute2-6.13.0.PKGBUILD b/lfs/iproute2-6.13.0.PKGBUILD new file mode 100644 index 0000000..af410be --- /dev/null +++ b/lfs/iproute2-6.13.0.PKGBUILD @@ -0,0 +1,24 @@ +pkgname=iproute2 +pkgver=6.13.0 +pkgdesc='IP Routing Utilities' +arch=('x86_64') +license=('GPL-2.0-or-later') +homepage='https://www.kernel.org/pub/linux/utils/net/iproute2/' +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://www.kernel.org/pub/linux/utils/net/${pkgname}/${sources[0]}") +md5sums=("1603d25120d03feeaba9b360d03ffaec") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + sed -i /ARPD/d Makefile + rm -fv man/man8/arpd.8 + make NETNS_RUN_DIR=/run/netns +} + +src_install() { + make DESTDIR="${pkgdir}" SBINDIR=/usr/bin/ install + install -vDm644 COPYING README* -t "${pkgdir}"/usr/share/doc/iproute2-6.13.0 +} From 57f736e45b97e9aa8029fb1872143d8af511bc12 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 27 Mar 2025 00:46:41 -0400 Subject: [PATCH 071/146] update: --color auto for ip --- lfs/iproute2-6.13.0.PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/iproute2-6.13.0.PKGBUILD b/lfs/iproute2-6.13.0.PKGBUILD index af410be..2628f0e 100644 --- a/lfs/iproute2-6.13.0.PKGBUILD +++ b/lfs/iproute2-6.13.0.PKGBUILD @@ -15,6 +15,7 @@ src_prepare() { src_build() { sed -i /ARPD/d Makefile rm -fv man/man8/arpd.8 + ./configure --color auto make NETNS_RUN_DIR=/run/netns } From 3191a47781ba7bc8358e3bc0d1776cb3985484ef Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 27 Mar 2025 01:00:45 -0400 Subject: [PATCH 072/146] update to 12.3: kbd --- lfs/kbd-2.7.1.PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 lfs/kbd-2.7.1.PKGBUILD diff --git a/lfs/kbd-2.7.1.PKGBUILD b/lfs/kbd-2.7.1.PKGBUILD new file mode 100644 index 0000000..3853fb0 --- /dev/null +++ b/lfs/kbd-2.7.1.PKGBUILD @@ -0,0 +1,37 @@ +pkgname=kbd +pkgver=2.7.1 +pkgdesc="Keytable files and keyboard utilities" +arch=('x86_64') +homepage="http://www.kbd-project.org" +license=('GPL-2.0-or-later') +sources=("${pkgname}-${pkgver}.tar.xz" + "kbd-2.7.1-backspace-1.patch" +) +urls=("https://www.kernel.org/pub/linux/utils/${pkgname}/${sources[0]}" + "https://www.linuxfromscratch.org/patches/lfs/12.3/kbd-2.7.1-backspace-1.patch" +) +md5sums=("f15673d9f748e58f82fa50cff0d0fd20" + "f75cca16a38da6caa7d52151f7136895" +) + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 + patch -Np1 -i ${distdir}/${sources[1]} + sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure + sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in +} + +src_build() { + ./configure --prefix=/usr --disable-vlock + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install + install -d -v "${pkgdir}/usr/share/doc/kbd-2.7.1" + cp -R -v docs/doc -T "${pkgdir}/usr/share/doc/kbd-2.7.1" +} From c9730c7ec19f20ae45123242de566d907cd2bdb3 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 27 Mar 2025 01:08:01 -0400 Subject: [PATCH 073/146] update to 12.3: libpipeline --- lfs/libpipeline-1.5.8.PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lfs/libpipeline-1.5.8.PKGBUILD diff --git a/lfs/libpipeline-1.5.8.PKGBUILD b/lfs/libpipeline-1.5.8.PKGBUILD new file mode 100644 index 0000000..842c15e --- /dev/null +++ b/lfs/libpipeline-1.5.8.PKGBUILD @@ -0,0 +1,26 @@ +pkgname=libpipeline +pkgver=1.5.8 +pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way" +arch=('x86_64') +homepage="https://nongnu.org/libpipeline/" +license=('GPL-3.0-or-later') +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://download.savannah.gnu.org/releases/${pkgname}/${sources[0]}") +md5sums=("17ac6969b2015386bcb5d278a08a40b5") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From 2abc8d87140aebfd72af687823b271abbd351927 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 27 Mar 2025 01:30:27 -0400 Subject: [PATCH 074/146] update to 12.3: make --- lfs/make-4.4.1.PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lfs/make-4.4.1.PKGBUILD diff --git a/lfs/make-4.4.1.PKGBUILD b/lfs/make-4.4.1.PKGBUILD new file mode 100644 index 0000000..c33e910 --- /dev/null +++ b/lfs/make-4.4.1.PKGBUILD @@ -0,0 +1,27 @@ +pkgname=make +pkgver=4.4.1 +pkgdesc="GNU make utility to maintain groups of programs" +arch=('x86_64') +homepage="https://www.gnu.org/software/make" +license=('GPL3') +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("c8469a3713cbbe04d955d4ae4be23eeb") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + chown -R leaf . + su leaf -c "PATH=$PATH make check" +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From 5793113e98bae878a623d4178da08440ac88f116 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 27 Mar 2025 01:34:45 -0400 Subject: [PATCH 075/146] update to 12.3: patch --- lfs/patch-2.7.6.PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lfs/patch-2.7.6.PKGBUILD diff --git a/lfs/patch-2.7.6.PKGBUILD b/lfs/patch-2.7.6.PKGBUILD new file mode 100644 index 0000000..72fab20 --- /dev/null +++ b/lfs/patch-2.7.6.PKGBUILD @@ -0,0 +1,27 @@ +pkgname=patch +pkgver=2.7.6 +pkgrel=10 +pkgdesc='A utility to apply patch files to original sources' +arch=('x86_64') +url='https://www.gnu.org/software/patch/' +license=('GPL') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("78ad9937e4caadcba1526ef1853730d5") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From 9ed5f1410f3f0660a89475db239a077b0def392f Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 28 Mar 2025 18:26:30 -0400 Subject: [PATCH 076/146] update to 12.3: tar --- lfs/tar-1.35.PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lfs/tar-1.35.PKGBUILD diff --git a/lfs/tar-1.35.PKGBUILD b/lfs/tar-1.35.PKGBUILD new file mode 100644 index 0000000..eab12d0 --- /dev/null +++ b/lfs/tar-1.35.PKGBUILD @@ -0,0 +1,28 @@ +pkgname=tar +pkgver=1.35 +pkgdesc='Utility used to store, backup, and transport files' +arch=('x86_64') +homepage='https://www.gnu.org/software/tar/' +license=('GPL3') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("a2d8042658cfd8ea939e6d911eaf4152") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr + make +} + +src_check() { + leaf_record_message "capabilities: binary store/restore is known to fail. See LFS handbook." + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" -C doc install-html docdir=/usr/share/doc/tar-${pkgver} +} From a6e8f7139fb195daa0976f88643ae0b31ff4366f Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 28 Mar 2025 23:31:27 -0400 Subject: [PATCH 077/146] new: add hello world --- test/hello-1.0.PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/hello-1.0.PKGBUILD diff --git a/test/hello-1.0.PKGBUILD b/test/hello-1.0.PKGBUILD new file mode 100644 index 0000000..0938cee --- /dev/null +++ b/test/hello-1.0.PKGBUILD @@ -0,0 +1,25 @@ +pkgname="hello" +pkgver="1.0" +homepage="https://gitea.phywyj.dynv6.net" +pkgdesc="Just a hello world" +license=("GPL") +sourses=() +urls=() +md5sums=() + +src_prepare() { + cat > "hello.c" << "EOF" +#include +int main(){ + printf("Hello! LFS!\n"); +} +EOF +} + +src_build() { + cc ${CFLAGS} hello.c -o hello +} + +src_install() { + install -Dm755 hello ${pkgdir}/usr/bin/hello +} From ccda9c0495a3f825caa5b9049c3bc3144d287f58 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 28 Mar 2025 23:31:47 -0400 Subject: [PATCH 078/146] new: add just-hook for a hook --- test/just-hook-1.0.PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test/just-hook-1.0.PKGBUILD diff --git a/test/just-hook-1.0.PKGBUILD b/test/just-hook-1.0.PKGBUILD new file mode 100644 index 0000000..bf98016 --- /dev/null +++ b/test/just-hook-1.0.PKGBUILD @@ -0,0 +1,26 @@ +pkgname="just-hook" +pkgver="1.0" +homepage="https://gitea.phywyj.dynv6.net" +pkgdesc="Just a Hook file" +license=("GPL") +sourses=() +urls=() +md5sums=() + +src_prepare() { + cat > test.HOOK << "EOF" +target=(/usr/*) +triggers=("install" "remove") +operation() { + echo "This is a hook." +} +EOF +} + +src_build() { + : +} + +src_install() { + leaf_install_hook test.HOOK +} From 93f62e3f4fe8bb887bfac97a125d4feeaacd7a12 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 28 Mar 2025 23:45:00 -0400 Subject: [PATCH 079/146] update to 12.3: texinfo --- lfs/texinfo-7.2.PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lfs/texinfo-7.2.PKGBUILD diff --git a/lfs/texinfo-7.2.PKGBUILD b/lfs/texinfo-7.2.PKGBUILD new file mode 100644 index 0000000..86d189c --- /dev/null +++ b/lfs/texinfo-7.2.PKGBUILD @@ -0,0 +1,38 @@ +pkgname=texinfo +pkgver=7.2 +pkgdesc='GNU documentation system for on-line information and printed output' +arch=(x86_64) +homepage='https://www.gnu.org/software/texinfo/' +license=(GPL3) +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") +md5sums=("11939a7624572814912a18e76c8d8972") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 + cat > texinfo.HOOK << "EOF" +target=(/usr/share/info/*.info*) +triggers=(install remove) +operation() { + echo -e "${GREEN_COLOR}>>>HOOK: update info cache${CLEAR_COLOR}" + rm -fv /usr/share/info/dir + for _info in /usr/share/info/*.info*; do + /usr/bin/install-info $_info /usr/share/info/dir + done +} +EOF +} + +src_build() { + ./configure --prefix=/usr + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install + leaf_install_hook texinfo.HOOK +} From 7fe75677cd92fffcf9402f062a389fc7124780b0 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Fri, 28 Mar 2025 23:46:53 -0400 Subject: [PATCH 080/146] update to 12.3: texinfo --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 056d4ee..cd84212 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,5 @@ Warning: `leaf` won't deal with the dependence relation, and currently won't che ## Different with LFS book - Use `ensurepip` in *Chapter 7.10. Python-3.13.2* -- Use `SBINDIR=/usr/bin/` to install `iproute2`. `ip` command should be avaliable for non-root. +- Use `SBINDIR=/usr/bin/` to install `iproute2`. `ip` command should be avaliable for non-root +- We won't install TeX files in *Chapter 8.72. Texinfo-7.2*. We will install TexLive. From 6aaa84804e958f7dfe484079211c3620e6ebc7a1 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 29 Mar 2025 02:43:52 -0400 Subject: [PATCH 081/146] update to 12.3: vim --- README.md | 4 ++++ lfs/vim-9.1.1166.PKGBUILD | 42 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 lfs/vim-9.1.1166.PKGBUILD diff --git a/README.md b/README.md index cd84212..90451da 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,7 @@ Warning: `leaf` won't deal with the dependence relation, and currently won't che - Use `ensurepip` in *Chapter 7.10. Python-3.13.2* - Use `SBINDIR=/usr/bin/` to install `iproute2`. `ip` command should be avaliable for non-root - We won't install TeX files in *Chapter 8.72. Texinfo-7.2*. We will install TexLive. + +## issues +- `lfs/vim-9.1.1166` has `Test_write_backup_symlink` failed, which can pass if `call assert_true(filereadable('./Xbackup/Xwbsfile.bak')) +` is commented. Seams like cannot create this backup file. diff --git a/lfs/vim-9.1.1166.PKGBUILD b/lfs/vim-9.1.1166.PKGBUILD new file mode 100644 index 0000000..a9f9af3 --- /dev/null +++ b/lfs/vim-9.1.1166.PKGBUILD @@ -0,0 +1,42 @@ +pkgname=vim +pkgver=9.1.1166 +_versiondir=91 +pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor' +home='https://www.vim.org' +arch=('x86_64') +license=('custom:vim') +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://github.com/vim/vim/archive/v${pkgver}/${sources[0]}") +md5sums=("718d43ce957ab7c81071793de176c2eb") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 + echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h +} + +src_build() { + ./configure --prefix=/usr \ + --disable-gui \ + --with-x=no \ + --with-compiledby='LFS' + make +} + +src_check() { + leaf_record_message "Tests require at least 24 lines with 80 characters." + chown -R leaf . + sed '/test_plugin_glvs/d' -i src/testdir/Make_all.mak + echo "Testing... May take a while..." + su leaf -c "TERM=xterm-256color LANG=en_US.UTF-8 make -j1 test" \ + &> vim-test.log +} + +src_install() { + make DESTDIR="${pkgdir}" install + ln -sv vim ${pkgdir}/usr/bin/vi + for L in ${pkgdir}/usr/share/man/{,*/}man1/vim.1; do + ln -sv vim.1 $(dirname $L)/vi.1 + done + install -d ${pkgdir}/usr/share/doc/ + ln -sv ../vim/vim${_versiondir}/doc ${pkgdir}/usr/share/doc/vim-${pkgver} +} From fffefd831e5aa8bab3466fe029f1db42f71bc1b0 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 29 Mar 2025 02:52:07 -0400 Subject: [PATCH 082/146] update to 12.3: vim :vimrc --- lfs/vim-9.1.1166.PKGBUILD | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/lfs/vim-9.1.1166.PKGBUILD b/lfs/vim-9.1.1166.PKGBUILD index a9f9af3..2527af5 100644 --- a/lfs/vim-9.1.1166.PKGBUILD +++ b/lfs/vim-9.1.1166.PKGBUILD @@ -12,6 +12,23 @@ md5sums=("718d43ce957ab7c81071793de176c2eb") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h + cat > vimrc << "EOF" +" Begin /etc/vimrc + +" Ensure defaults are set before customizing settings, not after +source $VIMRUNTIME/defaults.vim +let skip_defaults_vim=1 + +set nocompatible +set backspace=2 +set mouse= +syntax on +if (&term == "xterm") || (&term == "putty") + set background=dark +endif + +" End /etc/vimrc +EOF } src_build() { @@ -37,6 +54,7 @@ src_install() { for L in ${pkgdir}/usr/share/man/{,*/}man1/vim.1; do ln -sv vim.1 $(dirname $L)/vi.1 done - install -d ${pkgdir}/usr/share/doc/ + install -Dv vimrc ${pkgdir}/etc/vimrc + install -dv ${pkgdir}/usr/share/doc/ ln -sv ../vim/vim${_versiondir}/doc ${pkgdir}/usr/share/doc/vim-${pkgver} } From e77a34af5c7690580ac01d079edf09c37b612a1a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 29 Mar 2025 03:02:10 -0400 Subject: [PATCH 083/146] update to 12.3: python-markupsafe --- lfs/python-markupsafe-3.0.2.PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lfs/python-markupsafe-3.0.2.PKGBUILD diff --git a/lfs/python-markupsafe-3.0.2.PKGBUILD b/lfs/python-markupsafe-3.0.2.PKGBUILD new file mode 100644 index 0000000..54567c3 --- /dev/null +++ b/lfs/python-markupsafe-3.0.2.PKGBUILD @@ -0,0 +1,27 @@ +pkgname=python-markupsafe +_name=${pkgname#python-} +pkgver=3.0.2 +pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python" +arch=('x86_64') +homepage="https://pypi.python.org/pypi/MarkupSafe" +license=('BSD-3-Clause') +sources=("${_name}-${pkgver}.tar.gz") +urls=("https://pypi.org/packages/source/M/MarkupSafe/${sources[0]}") +md5sums=("cb0071711b573b155cc8f86e1de72167") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD +} + +src_check() { + : +} + +src_install() { + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${_name} + install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/ +} From e0182c8302faad7b01fe968d028ed557cb22436a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 6 Apr 2025 21:18:24 -0400 Subject: [PATCH 084/146] update to 12.3: python-jinja2 --- lfs/python-jinja2-3.1.5.PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lfs/python-jinja2-3.1.5.PKGBUILD diff --git a/lfs/python-jinja2-3.1.5.PKGBUILD b/lfs/python-jinja2-3.1.5.PKGBUILD new file mode 100644 index 0000000..939f7c8 --- /dev/null +++ b/lfs/python-jinja2-3.1.5.PKGBUILD @@ -0,0 +1,27 @@ +pkgname=python-jinja2 +_name="${pkgname#python-}" +pkgver=3.1.5 +pkgdesc="A simple pythonic template language written in Python" +arch=('any') +homepage="https://palletsprojects.com/p/jinja/" +license=('BSD-3-Clause') +sources=("${_name}-${pkgver}.tar.gz") +urls=("https://pypi.org/packages/source/J/Jinja2/${sources[0]}") +md5sums=("083d64f070f6f1b5f75971ae60240785") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD +} + +src_check() { + : +} + +src_install() { + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist Jinja2 + install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/" +} From 7f43368ef6678f6c317a8c2f8d5ab6e43e365352 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 16:28:16 -0500 Subject: [PATCH 085/146] update: lfs/man-pages-6.15 --- lfs/{man-pages-6.12.PKGBUILD => man-pages-6.15.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{man-pages-6.12.PKGBUILD => man-pages-6.15.PKGBUILD} (87%) diff --git a/lfs/man-pages-6.12.PKGBUILD b/lfs/man-pages-6.15.PKGBUILD similarity index 87% rename from lfs/man-pages-6.12.PKGBUILD rename to lfs/man-pages-6.15.PKGBUILD index 7e5ef13..fd0b327 100644 --- a/lfs/man-pages-6.12.PKGBUILD +++ b/lfs/man-pages-6.15.PKGBUILD @@ -1,10 +1,10 @@ pkgname="man-pages" -pkgver="6.12" +pkgver="6.15" pkgdesc="Linux man pages" license=("GPL2") sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.kernel.org/pub/linux/docs/man-pages/${sources[0]}") -md5sums=("44de430a598605eaba3e36dd43f24298") +md5sums=("16f68d70139dd2bbcae4102be4705753") distdir=${distdir} From fd69842d1283e9ffbb76d98c54f4765bc4fbf079 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 16:34:45 -0500 Subject: [PATCH 086/146] update to 12.4-systemd: lfs/iana-etc-20250807 --- ...{iana-etc-20250123.PKGBUILD => iana-etc-20250807.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{iana-etc-20250123.PKGBUILD => iana-etc-20250807.PKGBUILD} (87%) diff --git a/lfs/iana-etc-20250123.PKGBUILD b/lfs/iana-etc-20250807.PKGBUILD similarity index 87% rename from lfs/iana-etc-20250123.PKGBUILD rename to lfs/iana-etc-20250807.PKGBUILD index 19c770f..aebef37 100644 --- a/lfs/iana-etc-20250123.PKGBUILD +++ b/lfs/iana-etc-20250807.PKGBUILD @@ -1,10 +1,10 @@ pkgname="iana-etc" -pkgver="20250123" +pkgver="20250807" pkgdesc='/etc/protocols and /etc/services provided by IANA' homepage="https://www.iana.org/protocols" sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://github.com/Mic92/iana-etc/releases/download/${pkgver}/${sources[0]}") -md5sums=("f8a0ebdc19a5004cf42d8bdcf614fa5d") +md5sums=("de0a909103d4ff59d1424c5ec7ac9e4a") license=('custom:none') src_prepare() { From 0e193fc4641731e60653d618aa2ddcbcf64c69a7 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 17:40:23 -0500 Subject: [PATCH 087/146] update to 12.4: glibc-2.42 --- ...{glibc-2.41.PKGBUILD => glibc-2.42.PKGBUILD} | 17 +++++++++++------ lfs/{glibc-2.41 => glibc-2.42}/ld.so.conf | 0 lfs/{glibc-2.41 => glibc-2.42}/nsswitch.conf | 0 3 files changed, 11 insertions(+), 6 deletions(-) rename lfs/{glibc-2.41.PKGBUILD => glibc-2.42.PKGBUILD} (90%) rename lfs/{glibc-2.41 => glibc-2.42}/ld.so.conf (100%) rename lfs/{glibc-2.41 => glibc-2.42}/nsswitch.conf (100%) diff --git a/lfs/glibc-2.41.PKGBUILD b/lfs/glibc-2.42.PKGBUILD similarity index 90% rename from lfs/glibc-2.41.PKGBUILD rename to lfs/glibc-2.42.PKGBUILD index bd47a2f..fef7683 100644 --- a/lfs/glibc-2.41.PKGBUILD +++ b/lfs/glibc-2.42.PKGBUILD @@ -1,28 +1,33 @@ pkgname="glibc" -pkgver=2.41 +pkgver=2.42 sources=("${pkgname}-${pkgver}.tar.xz" "${pkgname}-${pkgver}-fhs-1.patch" "${pkgname}-${pkgver}/nsswitch.conf" "${pkgname}-${pkgver}/ld.so.conf" - "${pkgname}-${pkgver}/tzdata2025a.tar.gz" + "${pkgname}-${pkgver}/tzdata2025b.tar.gz" ) urls=("https://ftp.gnu.org/gnu/glibc/${sources[0]}" - "https://www.linuxfromscratch.org/patches/lfs/12.3/${pkgname}-${pkgver}-fhs-1.patch" + "https://www.linuxfromscratch.org/patches/lfs/12.4/${pkgname}-${pkgver}-fhs-1.patch" "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs/${pkgname}-${pkgver}/nsswitch.conf" "https://gitea.phywyj.dynv6.net/wyj/LFS-PKGBUILDs/raw/branch/main/lfs/${pkgname}-${pkgver}/ld.so.conf" - "https://www.iana.org/time-zones/repository/releases/tzdata2025a.tar.gz" + "https://www.iana.org/time-zones/repository/releases/tzdata2025b.tar.gz" ) -md5sums=("19862601af60f73ac69e067d3e9267d4" +md5sums=("23c6f5a27932b435cae94e087cb8b1f5" "9a5997c3452909b1769918c759eff8a2" "4caf37ca10aacf7f7bfabddf915e9d25" "79220f5a36182b7160e0cf567dc64129" - "404229390c06b7440f5e48d12c1a3251" + "ad65154c48c74a9b311fe84778c5434f" ) license=(GPL-2.0-or-later LGPL-2.1-or-later) src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 patch -Np1 -i "${distdir}/${sources[1]}" + sed -e '/unistd.h/i #include ' \ + -e '/libc_rwlock_init/c\ + __libc_rwlock_define_initialized (, reset_lock);\ + memcpy (&lock, &reset_lock, sizeof (lock));' \ + -i stdlib/abort.c } src_build() { diff --git a/lfs/glibc-2.41/ld.so.conf b/lfs/glibc-2.42/ld.so.conf similarity index 100% rename from lfs/glibc-2.41/ld.so.conf rename to lfs/glibc-2.42/ld.so.conf diff --git a/lfs/glibc-2.41/nsswitch.conf b/lfs/glibc-2.42/nsswitch.conf similarity index 100% rename from lfs/glibc-2.41/nsswitch.conf rename to lfs/glibc-2.42/nsswitch.conf From bf9555244a1c193259ed1543f35da3c2468967a1 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 20:03:50 -0500 Subject: [PATCH 088/146] update to 12.4-systemd: lfs/xz-5.8.1 --- lfs/{xz-5.6.4.PKGBUILD => xz-5.8.1.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{xz-5.6.4.PKGBUILD => xz-5.8.1.PKGBUILD} (92%) diff --git a/lfs/xz-5.6.4.PKGBUILD b/lfs/xz-5.8.1.PKGBUILD similarity index 92% rename from lfs/xz-5.6.4.PKGBUILD rename to lfs/xz-5.8.1.PKGBUILD index 676915b..de309f6 100644 --- a/lfs/xz-5.6.4.PKGBUILD +++ b/lfs/xz-5.8.1.PKGBUILD @@ -1,11 +1,11 @@ pkgname="xz" -pkgver="5.6.4" +pkgver="5.8.1" pkgdesc='Library and command line tools for XZ and LZMA compressed files' homepage="https://tukaani.org/xz" license=('GPL' 'LGPL' 'custom') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://github.com//tukaani-project/xz/releases/download/v${pkgver}/${sources[0]}") -md5sums=("4b1cf07d45ec7eb90a01dd3c00311a3e") +md5sums=("cf5e1feb023d22c6bdaa30e84ef3abe3") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 50d0dd5e527a8264d4e3249b7bf69ff361bc1888 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 20:34:23 -0500 Subject: [PATCH 089/146] update to 12.4-systemd: lfs/readline-8.3 --- lfs/{readline-8.2.13.PKGBUILD => readline-8.3.PKGBUILD} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename lfs/{readline-8.2.13.PKGBUILD => readline-8.3.PKGBUILD} (86%) diff --git a/lfs/readline-8.2.13.PKGBUILD b/lfs/readline-8.3.PKGBUILD similarity index 86% rename from lfs/readline-8.2.13.PKGBUILD rename to lfs/readline-8.3.PKGBUILD index 29cecf7..6e00a75 100644 --- a/lfs/readline-8.2.13.PKGBUILD +++ b/lfs/readline-8.3.PKGBUILD @@ -1,13 +1,14 @@ pkgname=readline -_basever=8.2 -_patchlevel=13 -pkgver=${_basever}.${_patchlevel} +_basever=8.3 +#_patchlevel=13 +#pkgver=${_basever}.${_patchlevel} +pkgver=${_basever} pkgdesc='GNU readline library' homepage='https://tiswww.case.edu/php/chet/readline/rltop.html' license=('GPL-3.0-only') sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://ftp.gnu.org/gnu/readline/${sources[0]}") -md5sums=("05080bf3801e6874bb115cd6700b708f") +md5sums=("25a73bfb2a3ad7146c5e9d4408d9f6cd") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 3252f53d609d037e237d4754411188e09e5250da Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 20:39:46 -0500 Subject: [PATCH 090/146] update to 12.4-systemd: lfs/m4-1.4.20 --- lfs/{m4-1.4.19.PKGBUILD => m4-1.4.20.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{m4-1.4.19.PKGBUILD => m4-1.4.20.PKGBUILD} (87%) diff --git a/lfs/m4-1.4.19.PKGBUILD b/lfs/m4-1.4.20.PKGBUILD similarity index 87% rename from lfs/m4-1.4.19.PKGBUILD rename to lfs/m4-1.4.20.PKGBUILD index c800c61..dd457df 100644 --- a/lfs/m4-1.4.19.PKGBUILD +++ b/lfs/m4-1.4.20.PKGBUILD @@ -1,11 +1,11 @@ pkgname=m4 -pkgver=1.4.19 +pkgver=1.4.20 pkgdesc="The GNU macro processor" homepage="https://www.gnu.org/software/m4" license=('GPL3') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/m4/${sources[0]}") -md5sums=("0d90823e1426f1da2fd872df0311298d") +md5sums=("6eb2ebed5b24e74b6e890919331d2132") src_prepare() { From ad68134ae2f38667154da8bb977cc50c34c6d643 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 20:54:04 -0500 Subject: [PATCH 091/146] update to 12.4-systemd: fix bc --- lfs/bc-7.0.3.PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/bc-7.0.3.PKGBUILD b/lfs/bc-7.0.3.PKGBUILD index 176bb1c..491aa22 100644 --- a/lfs/bc-7.0.3.PKGBUILD +++ b/lfs/bc-7.0.3.PKGBUILD @@ -15,6 +15,7 @@ src_prepare() { src_build() { CFLAGS+=" -O3 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" \ + CFLAGS+=" -std=gnu17" # fix bug CC=gcc \ ./configure --prefix=/usr -G -r make From f3d2c6113088dbdb72fdf7efa6c08c862cf6fe9b Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 22:47:10 -0500 Subject: [PATCH 092/146] update to 12.4-systemd: expect-5.45.4 patch update --- lfs/expect-5.45.4.PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/expect-5.45.4.PKGBUILD b/lfs/expect-5.45.4.PKGBUILD index 7d92965..06a72b3 100644 --- a/lfs/expect-5.45.4.PKGBUILD +++ b/lfs/expect-5.45.4.PKGBUILD @@ -5,13 +5,13 @@ homepage='https://www.nist.gov/el/msid/expect.cfm' license=(custom) _archive=${pkgname}${pkgver} sources=("${_archive}.tar.gz" - "${pkgname}-${pkgver}-gcc14-1.patch" + "${pkgname}-${pkgver}-gcc15-1.patch" ) urls=("https://prdownloads.sourceforge.net/expect/${sources[0]}" "https://www.linuxfromscratch.org/patches/lfs/12.2/${sources[1]}" ) md5sums=("00fce8de158422f5ccd2666512329bd2" - "0b8b5ac411d011263ad40b0664c669f0" + "0ca4d6bb8d572fbcdb13cb36cd34833e" ) From 9e24441d9c2d054b2ff732043114a80fffdf3a31 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 22:55:38 -0500 Subject: [PATCH 093/146] update to 12.4-systemd: pkgconf-2.5.1 --- lfs/{pkgconf-2.3.0.PKGBUILD => pkgconf-2.5.1.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{pkgconf-2.3.0.PKGBUILD => pkgconf-2.5.1.PKGBUILD} (91%) diff --git a/lfs/pkgconf-2.3.0.PKGBUILD b/lfs/pkgconf-2.5.1.PKGBUILD similarity index 91% rename from lfs/pkgconf-2.3.0.PKGBUILD rename to lfs/pkgconf-2.5.1.PKGBUILD index fa7868f..cdf0786 100644 --- a/lfs/pkgconf-2.3.0.PKGBUILD +++ b/lfs/pkgconf-2.5.1.PKGBUILD @@ -1,11 +1,11 @@ pkgname=pkgconf -pkgver=2.3.0 +pkgver=2.5.1 pkgdesc="Package compiler and linker metadata toolkit" homepage="https://github.com/pkgconf/pkgconf" license=(ISC) sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://distfiles.ariadne.space/pkgconf/${sources[0]}") -md5sums=("833363e77b5bed0131c7bc4cc6f7747b") +md5sums=("3291128c917fdb8fccd8c9e7784b643b") src_prepare() { From 05e04d3b92a1fba91dffbfd10431890d65c1a93c Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 23:09:39 -0500 Subject: [PATCH 094/146] update to 12.4-systemd: binutils-2.45 --- ...binutils-2.44.PKGBUILD => binutils-2.45.PKGBUILD} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename lfs/{binutils-2.44.PKGBUILD => binutils-2.45.PKGBUILD} (89%) diff --git a/lfs/binutils-2.44.PKGBUILD b/lfs/binutils-2.45.PKGBUILD similarity index 89% rename from lfs/binutils-2.44.PKGBUILD rename to lfs/binutils-2.45.PKGBUILD index 22e0393..2b528b2 100644 --- a/lfs/binutils-2.44.PKGBUILD +++ b/lfs/binutils-2.45.PKGBUILD @@ -1,11 +1,11 @@ pkgname=binutils -pkgver=2.44 +pkgver=2.45 pkgdesc='A set of programs to assemble and manipulate binary and object files' homepage='https://www.gnu.org/software/binutils/' license=(GPL-2.0-or-later GPL-3.0-or-later LGPL-2.0-or-later LGPL-3.0-or-later GFDL-1.3 FSFAP) sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://sourceware.org/pub/binutils/releases/${sources[0]}") -md5sums=("49912ce774666a30806141f106124294") +md5sums=("dee5b4267e0305a99a3c9d6131f45759") src_prepare() { @@ -31,10 +31,10 @@ src_build() { src_check() { make -k CFLAGS_FOR_TARGET="-O2 -g" \ - CXXFLAGS="-O2 -no-pie -fno-PIC" \ - CFLAGS="-O2 -no-pie" \ - LDFLAGS="" \ - check + CXXFLAGS="-O2 -no-pie -fno-PIC" \ + CFLAGS="-O2 -no-pie" \ + LDFLAGS="" \ + check } src_install() { From dec9b68e0e6cb64d6277728aa8773e6d62691ea6 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 23:17:00 -0500 Subject: [PATCH 095/146] update to 12.4-systemd: gmp-6.3.0 --- lfs/gmp-6.3.0.PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/gmp-6.3.0.PKGBUILD b/lfs/gmp-6.3.0.PKGBUILD index cafe43e..6b8ce57 100644 --- a/lfs/gmp-6.3.0.PKGBUILD +++ b/lfs/gmp-6.3.0.PKGBUILD @@ -14,6 +14,7 @@ src_prepare() { } src_build() { + sed -i '/long long t1;/,+1s/()/(...)/' configure ./configure --prefix=/usr \ --enable-cxx \ --disable-static \ From 2510881fb8cddb3a4ac890b0f0d256d09a9bc260 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 23:22:01 -0500 Subject: [PATCH 096/146] update to 12.4-systemd: mpfr-4.2.2 --- lfs/{mpfr-4.2.1.PKGBUILD => mpfr-4.2.2.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{mpfr-4.2.1.PKGBUILD => mpfr-4.2.2.PKGBUILD} (93%) diff --git a/lfs/mpfr-4.2.1.PKGBUILD b/lfs/mpfr-4.2.2.PKGBUILD similarity index 93% rename from lfs/mpfr-4.2.1.PKGBUILD rename to lfs/mpfr-4.2.2.PKGBUILD index 31c0fe2..df37058 100644 --- a/lfs/mpfr-4.2.1.PKGBUILD +++ b/lfs/mpfr-4.2.2.PKGBUILD @@ -1,5 +1,5 @@ pkgname=mpfr -_pkgver=4.2.1 +_pkgver=4.2.2 _patchver=0 if (( _patchver == 0 )); then pkgver=$_pkgver @@ -12,7 +12,7 @@ homepage='https://www.mpfr.org/' # `curl patches.diff -o https://www.mpfr.org/mpfr-${_pkgver}/allpatches` sources=("${pkgname}-${_pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("523c50c6318dde6f9dc523bc0244690a") +md5sums=("7c32c39b8b6e3ae85f25156228156061") src_prepare() { From e46779248fa7f33bc1bb59df3787794dcca08f83 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 23:33:54 -0500 Subject: [PATCH 097/146] update to 12.4-systemd: libcap-2.76 --- lfs/{libcap-2.73.PKGBUILD => libcap-2.76.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{libcap-2.73.PKGBUILD => libcap-2.76.PKGBUILD} (91%) diff --git a/lfs/libcap-2.73.PKGBUILD b/lfs/libcap-2.76.PKGBUILD similarity index 91% rename from lfs/libcap-2.73.PKGBUILD rename to lfs/libcap-2.76.PKGBUILD index 3c268d5..cff00bd 100644 --- a/lfs/libcap-2.73.PKGBUILD +++ b/lfs/libcap-2.76.PKGBUILD @@ -1,11 +1,11 @@ pkgname=libcap -pkgver=2.73 +pkgver=2.76 pkgdesc="POSIX 1003.1e capabilities" homepage="https://sites.google.com/site/fullycapable/" license=('BSD-3-Clause OR GPL-2.0-only') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${sources[0]}") -md5sums=("0e186df9de9b1e925593a96684fe2e32") +md5sums=("449ade7d620b5c4eeb15a632fbaa4f74") src_prepare() { From 668e9d91b9a2151c378ebbae02ffa25c57b09a11 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 20 Dec 2025 23:57:10 -0500 Subject: [PATCH 098/146] update to 12.4-systemd: shadow-4.18.0 --- lfs/{shadow-4.17.3.PKGBUILD => shadow-4.18.0.PKGBUILD} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename lfs/{shadow-4.17.3.PKGBUILD => shadow-4.18.0.PKGBUILD} (92%) diff --git a/lfs/shadow-4.17.3.PKGBUILD b/lfs/shadow-4.18.0.PKGBUILD similarity index 92% rename from lfs/shadow-4.17.3.PKGBUILD rename to lfs/shadow-4.18.0.PKGBUILD index 703e938..9218e3b 100644 --- a/lfs/shadow-4.17.3.PKGBUILD +++ b/lfs/shadow-4.18.0.PKGBUILD @@ -1,5 +1,5 @@ pkgname=shadow -pkgver=4.17.3 +pkgver=4.18.0 pkgdesc="Password and account management tool suite with support for shadow files and PAM" homepage="https://github.com/shadow-maint/shadow" license=(BSD-3-Clause) @@ -7,7 +7,7 @@ sources=("${pkgname}-${pkgver}.tar.xz" ) urls=("https://github.com/shadow-maint/shadow/releases/download/${pkgver}/${sources[0]}" ) -md5sums=("0da190e53ecee76237e4c8f3f39531ed" +md5sums=("30ef46f54363db1d624587be68794ef2" ) @@ -23,6 +23,10 @@ src_prepare() { -e 's:/var/spool/mail:/var/mail:' \ -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \ -i etc/login.defs + + if [[ ! -f /usr/bin/passwd ]]; then + touch /usr/bin/passwd + fi } src_build() { From 8cdfdcc215633bfea02fcdc7ae5dba3360bc6f2b Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 15:41:41 -0500 Subject: [PATCH 099/146] update to 12.4-systemd: gcc-15.2.0 --- lfs/{gcc-14.2.0.PKGBUILD => gcc-15.2.0.PKGBUILD} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename lfs/{gcc-14.2.0.PKGBUILD => gcc-15.2.0.PKGBUILD} (80%) diff --git a/lfs/gcc-14.2.0.PKGBUILD b/lfs/gcc-15.2.0.PKGBUILD similarity index 80% rename from lfs/gcc-14.2.0.PKGBUILD rename to lfs/gcc-15.2.0.PKGBUILD index c2bd78f..687ad5d 100644 --- a/lfs/gcc-14.2.0.PKGBUILD +++ b/lfs/gcc-15.2.0.PKGBUILD @@ -1,10 +1,10 @@ pkgname="gcc" -pkgver="14.2.0" +pkgver="15.2.0" pkgdesc="The GNU Compiler Collection" homepage="https://gcc.gnu.org" sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/gcc/${pkgname}-${pkgver}/${sources[0]}") -md5sums=("2268420ba02dc01821960e274711bde0") +md5sums=("b861b092bf1af683c46a8aa2e689a6fd") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -38,10 +38,10 @@ src_check() { pushd build > /dev/null ulimit -s -H unlimited sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp - sed -e 's/no-pic /&-no-pie /' -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c - sed -e 's/300000/(1|300000)/' -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c - sed -e 's/{ target nonpic } //' \ - -e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c + #sed -e 's/no-pic /&-no-pie /' -i ../gcc/testsuite/gcc.target/i386/pr113689-1.c + #sed -e 's/300000/(1|300000)/' -i ../libgomp/testsuite/libgomp.c-c++-common/pr109062.c + #sed -e 's/{ target nonpic } //' \ + # -e '/GOTPCREL/d' -i ../gcc/testsuite/gcc.target/i386/fentryname3.c chown -R leaf . su leaf -c "PATH=$PATH make -k check" @@ -53,11 +53,11 @@ src_install() { pushd build > /dev/null make DESTDIR="$pkgdir" install chown -R root:root \ - "$pkgdir"/usr/lib/gcc/$(${pkgdir}/usr/bin/gcc -dumpmachine)/14.2.0/include{,-fixed} + "$pkgdir"/usr/lib/gcc/$(${pkgdir}/usr/bin/gcc -dumpmachine)/${pkgver}/include{,-fixed} ln -sv ../bin/cpp "$pkgdir"/usr/lib ln -sv gcc.1 "$pkgdir"/usr/share/man/man1/cc.1 install -d -v -m755 "$pkgdir/usr/lib/bfd-plugins" - ln -sfv ../../libexec/gcc/$(${pkgdir}/usr/bin/gcc -dumpmachine)/14.2.0/liblto_plugin.so \ + ln -sfv ../../libexec/gcc/$(${pkgdir}/usr/bin/gcc -dumpmachine)/${pkgver}/liblto_plugin.so \ "$pkgdir"/usr/lib/bfd-plugins/ mkdir -pv "$pkgdir"/usr/share/gdb/auto-load/usr/lib mv -v "$pkgdir"/usr/lib/*gdb.py "$pkgdir"/usr/share/gdb/auto-load/usr/lib From 07b8dd025edc05fc1c6cf091747592bc8655c4c0 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 16:14:38 -0500 Subject: [PATCH 100/146] fix: expect --- lfs/expect-5.45.4.PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/expect-5.45.4.PKGBUILD b/lfs/expect-5.45.4.PKGBUILD index 06a72b3..833e7de 100644 --- a/lfs/expect-5.45.4.PKGBUILD +++ b/lfs/expect-5.45.4.PKGBUILD @@ -8,7 +8,7 @@ sources=("${_archive}.tar.gz" "${pkgname}-${pkgver}-gcc15-1.patch" ) urls=("https://prdownloads.sourceforge.net/expect/${sources[0]}" - "https://www.linuxfromscratch.org/patches/lfs/12.2/${sources[1]}" + "https://www.linuxfromscratch.org/patches/lfs/12.4/${sources[1]}" ) md5sums=("00fce8de158422f5ccd2666512329bd2" "0ca4d6bb8d572fbcdb13cb36cd34833e" From ae305b75a0eeac295cb56137631adf6f055057c6 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 16:29:46 -0500 Subject: [PATCH 101/146] update to 12.4-systemd: ncurses-6.5 --- lfs/ncurses-6.5.PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lfs/ncurses-6.5.PKGBUILD b/lfs/ncurses-6.5.PKGBUILD index 440523b..f769b3c 100644 --- a/lfs/ncurses-6.5.PKGBUILD +++ b/lfs/ncurses-6.5.PKGBUILD @@ -1,11 +1,11 @@ pkgname="ncurses" -pkgver="6.5" +pkgver="6.5-20250809" pkgdesc='System V Release 4.0 curses emulation library' homepage="https://www.gnu.org/software/ncurses/" license=(MIT-open-group) -sources=("${pkgname}-${pkgver}.tar.gz") -urls=("https://invisible-mirror.net/archives/ncurses/${sources[0]}") -md5sums=("ac2d2629296f04c8537ca706b6977687") +sources=("${pkgname}-${pkgver}.tgz") +urls=("https://invisible-mirror.net/archives/ncurses/current/${sources[0]}") +md5sums=("679987405412f970561cc85e1e6428a2") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 3fe2053a0c7d7c8d8e7f7339fb07f872afa5b538 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 16:43:00 -0500 Subject: [PATCH 102/146] update to 12.4-systemd: gettext-0.26 --- lfs/{gettext-0.24.PKGBUILD => gettext-0.26.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{gettext-0.24.PKGBUILD => gettext-0.26.PKGBUILD} (91%) diff --git a/lfs/gettext-0.24.PKGBUILD b/lfs/gettext-0.26.PKGBUILD similarity index 91% rename from lfs/gettext-0.24.PKGBUILD rename to lfs/gettext-0.26.PKGBUILD index 6fbd227..b2335cd 100644 --- a/lfs/gettext-0.24.PKGBUILD +++ b/lfs/gettext-0.26.PKGBUILD @@ -1,5 +1,5 @@ pkgname=gettext -pkgver=0.24 +pkgver=0.26 pkgdesc="GNU internationalization library" homepage="https://www.gnu.org/software/gettext/" license=( @@ -10,7 +10,7 @@ license=( ) sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("87aea3013802a3c60fa3feb5c7164069") +md5sums=("8e14e926f088e292f5f2bce95b81d10e") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 3d6562660598b994807f6a9c9875a7be68a2e6e2 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 17:31:38 -0500 Subject: [PATCH 103/146] fix: add bison-3.8.2-gcc15-glibcxx-assertions.patch --- lfs/bison-3.8.2.PKGBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lfs/bison-3.8.2.PKGBUILD b/lfs/bison-3.8.2.PKGBUILD index 9c640b5..9c2e9d0 100644 --- a/lfs/bison-3.8.2.PKGBUILD +++ b/lfs/bison-3.8.2.PKGBUILD @@ -3,12 +3,16 @@ pkgver=3.8.2 pkgdesc="The GNU general-purpose parser generator" license=('GPL-3.0-or-later') url="https://www.gnu.org/software/bison/bison.html" -sources=("${pkgname}-${pkgver}.tar.xz") -urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("c28f119f405a2304ff0a7ccdcc629713") +sources=("${pkgname}-${pkgver}.tar.xz" + "bison-3.8.2-gcc15-glibcxx-assertions.patch") +urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}" + "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/bison/files/${sources[1]}") +md5sums=("c28f119f405a2304ff0a7ccdcc629713" + "c82e47067aa2fb6f15ab930245b7bbb2") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 + patch -Np1 -i ${distdir}/${sources[1]} } src_build() { From 4350809ec0cbed9f0c739a5ab1c1a0ed05b62d6f Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 17:38:32 -0500 Subject: [PATCH 104/146] update to 12.4-systemd: grep-3.12 --- lfs/{grep-3.11.PKGBUILD => grep-3.12.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{grep-3.11.PKGBUILD => grep-3.12.PKGBUILD} (88%) diff --git a/lfs/grep-3.11.PKGBUILD b/lfs/grep-3.12.PKGBUILD similarity index 88% rename from lfs/grep-3.11.PKGBUILD rename to lfs/grep-3.12.PKGBUILD index ce92c15..c81c5db 100644 --- a/lfs/grep-3.11.PKGBUILD +++ b/lfs/grep-3.12.PKGBUILD @@ -1,11 +1,11 @@ pkgname=grep -pkgver=3.11 +pkgver=3.12 pkgdesc='A string search utility' license=('GPL3') homepage='https://www.gnu.org/software/grep/' sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=('7c9bbd74492131245f7cdb291fa142c0') +md5sums=('5d9301ed9d209c4a88c8d3a6fd08b9ac') src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 01695bd978a5ec2648729c0605b0d3ed014a5fac Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 18:00:29 -0500 Subject: [PATCH 105/146] update to 12.4-systemd: bash-5.3 --- lfs/{bash-5.2.37.PKGBUILD => bash-5.3.PKGBUILD} | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename lfs/{bash-5.2.37.PKGBUILD => bash-5.3.PKGBUILD} (83%) diff --git a/lfs/bash-5.2.37.PKGBUILD b/lfs/bash-5.3.PKGBUILD similarity index 83% rename from lfs/bash-5.2.37.PKGBUILD rename to lfs/bash-5.3.PKGBUILD index 539f38b..4476102 100644 --- a/lfs/bash-5.2.37.PKGBUILD +++ b/lfs/bash-5.3.PKGBUILD @@ -1,13 +1,17 @@ pkgname=bash -_basever=5.2 -_patchlevel=37 -pkgver=${_basever}.${_patchlevel} +_basever=5.3 +_patchver=0 +if (( _patchver == 0 )); then + pkgver=$_basever +else + pkgver=$_basever.$_patchver +fi pkgdesc='The GNU Bourne Again shell' license=('GPL-3.0-or-later') url='https://www.gnu.org/software/bash' sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("9c28f21ff65de72ca329c1779684a972") +md5sums=("977c8c0c5ae6309191e7768e28ebc951") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 3668e8f08d6b4efaf038fb719841e17ec8cf294a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 18:16:43 -0500 Subject: [PATCH 106/146] update to 12.4-systemd: gdbm-1.26 --- lfs/{gdbm-1.24.PKGBUILD => gdbm-1.26.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{gdbm-1.24.PKGBUILD => gdbm-1.26.PKGBUILD} (89%) diff --git a/lfs/gdbm-1.24.PKGBUILD b/lfs/gdbm-1.26.PKGBUILD similarity index 89% rename from lfs/gdbm-1.24.PKGBUILD rename to lfs/gdbm-1.26.PKGBUILD index 9cd7542..7af5ceb 100644 --- a/lfs/gdbm-1.24.PKGBUILD +++ b/lfs/gdbm-1.26.PKGBUILD @@ -1,11 +1,11 @@ pkgname=gdbm -pkgver=1.24 +pkgver=1.26 pkgdesc="GNU database library" homepage="https://www.gnu.org/software/gdbm" license=(GPL-3.0-or-later) sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("c780815649e52317be48331c1773e987") +md5sums=("aaa600665bc89e2febb3c7bd90679115") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 7302959a628049311179163f0f0a4518bd8c438c Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 18:26:33 -0500 Subject: [PATCH 107/146] update to 12.4-systemd: gperf-3.3 --- lfs/{gperf-3.1.PKGBUILD => gperf-3.3.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{gperf-3.1.PKGBUILD => gperf-3.3.PKGBUILD} (89%) diff --git a/lfs/gperf-3.1.PKGBUILD b/lfs/gperf-3.3.PKGBUILD similarity index 89% rename from lfs/gperf-3.1.PKGBUILD rename to lfs/gperf-3.3.PKGBUILD index 961c506..95923e3 100644 --- a/lfs/gperf-3.1.PKGBUILD +++ b/lfs/gperf-3.3.PKGBUILD @@ -1,11 +1,11 @@ pkgname=gperf -pkgver=3.1 +pkgver=3.3 pkgdesc="Perfect hash function generator" homepage="https://www.gnu.org/software/gperf/" license=('GPL-3.0-or-later') sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("9e251c0a618ad0824b51117d5d9db87e") +md5sums=("31753b021ea78a21f154bf9eecb8b079") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 69527c8c86c01e03d5a73dd7b428a5924eb3a7f2 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 18:30:32 -0500 Subject: [PATCH 108/146] update to 12.4-systemd: expat-2.7.1 --- lfs/{expat-2.6.4.PKGBUILD => expat-2.7.1.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{expat-2.6.4.PKGBUILD => expat-2.7.1.PKGBUILD} (92%) diff --git a/lfs/expat-2.6.4.PKGBUILD b/lfs/expat-2.7.1.PKGBUILD similarity index 92% rename from lfs/expat-2.6.4.PKGBUILD rename to lfs/expat-2.7.1.PKGBUILD index 47bba74..8441a87 100644 --- a/lfs/expat-2.6.4.PKGBUILD +++ b/lfs/expat-2.7.1.PKGBUILD @@ -1,11 +1,11 @@ pkgname=expat -pkgver=2.6.4 +pkgver=2.7.1 pkgdesc="An XML parser library" homepage="https://libexpat.github.io/" license=(MIT) sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://prdownloads.sourceforge.net/${pkgname}/${sources[0]}") -md5sums=("101fe3e320a2800f36af8cf4045b45c7") +md5sums=("9f0c266ff4b9720beae0c6bd53ae4469") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 91085bea9ed58d8d30fe69294cf2f194e8766529 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 18:41:17 -0500 Subject: [PATCH 109/146] update to 12.4-systemd: less-679 --- lfs/{less-668.PKGBUILD => less-679.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{less-668.PKGBUILD => less-679.PKGBUILD} (91%) diff --git a/lfs/less-668.PKGBUILD b/lfs/less-679.PKGBUILD similarity index 91% rename from lfs/less-668.PKGBUILD rename to lfs/less-679.PKGBUILD index d80fdea..00990c8 100644 --- a/lfs/less-668.PKGBUILD +++ b/lfs/less-679.PKGBUILD @@ -1,11 +1,11 @@ pkgname=less -pkgver=668 +pkgver=679 pkgdesc='A terminal based program for viewing text files' license=('GPL-3.0-or-later' 'BSD-2-Clause') homepage='https://www.greenwoodsoftware.com/less/' sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://www.greenwoodsoftware.com/${pkgname}/${sources[0]}") -md5sums=("d72760386c5f80702890340d2f66c302") +md5sums=("0386dc14f6a081a94dfb4c2413864eed") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 0aadeeeac1579da26731bd99802913ee0f9ee793 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 18:49:12 -0500 Subject: [PATCH 110/146] update to 12.4-systemd: perl-5.42.0 --- ...rl-5.40.1.PKGBUILD => perl-5.42.0.PKGBUILD} | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename lfs/{perl-5.40.1.PKGBUILD => perl-5.42.0.PKGBUILD} (63%) diff --git a/lfs/perl-5.40.1.PKGBUILD b/lfs/perl-5.42.0.PKGBUILD similarity index 63% rename from lfs/perl-5.40.1.PKGBUILD rename to lfs/perl-5.42.0.PKGBUILD index bf5fcec..52ac5bc 100644 --- a/lfs/perl-5.40.1.PKGBUILD +++ b/lfs/perl-5.42.0.PKGBUILD @@ -1,12 +1,12 @@ pkgname=perl -pkgver=5.40.1 +pkgver=5.42.0 _basever="${pkgver%.*}" pkgdesc="A highly capable, feature-rich programming language" license=('GPL' 'PerlArtistic') homepage="https://www.perl.org" sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.cpan.org/src/5.0/${sources[0]}") -md5sums=("bab3547a5cdf2302ee0396419d74a42e") +md5sums=("7a6950a9f12d01eb96a9d2ed2f4e0072") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -15,19 +15,19 @@ src_prepare() { src_build() { export BUILD_ZLIB=False export BUILD_BZIP2=0 - sh Configure -des \ - -D prefix=/usr \ - -D vendorprefix=/usr \ + sh Configure -des \ + -D prefix=/usr \ + -D vendorprefix=/usr \ -D privlib=/usr/lib/perl5/${_basever}/core_perl \ -D archlib=/usr/lib/perl5/${_basever}/core_perl \ -D sitelib=/usr/lib/perl5/${_basever}/site_perl \ -D sitearch=/usr/lib/perl5/${_basever}/site_perl \ -D vendorlib=/usr/lib/perl5/${_basever}/vendor_perl \ -D vendorarch=/usr/lib/perl5/${_basever}/vendor_perl \ - -D man1dir=/usr/share/man/man1 \ - -D man3dir=/usr/share/man/man3 \ - -D pager="/usr/bin/less -isR" \ - -D useshrplib \ + -D man1dir=/usr/share/man/man1 \ + -D man3dir=/usr/share/man/man3 \ + -D pager="/usr/bin/less -isR" \ + -D useshrplib \ -D usethreads make } From cef0098bba3f7e70d2ed405f608cddbcc916d2c2 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 18:57:32 -0500 Subject: [PATCH 111/146] update to 12.4-systemd: intltool-0.51.0 --- lfs/intltool-0.51.0.PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/intltool-0.51.0.PKGBUILD b/lfs/intltool-0.51.0.PKGBUILD index 612a36a..5400865 100644 --- a/lfs/intltool-0.51.0.PKGBUILD +++ b/lfs/intltool-0.51.0.PKGBUILD @@ -4,7 +4,7 @@ pkgdesc="The internationalization tool collection" homepage="https://launchpad.net/intltool" license=('GPL') sources=("${pkgname}-${pkgver}.tar.gz") -urls=("https://launchpad.net/intltool/trunk/0.51.0/+download/${sources[0]}") +urls=("https://launchpad.net/intltool/trunk/${pkgver}/+download/${sources[0]}") md5sums=("12e517cac2b57a0121cda351570f1e63") src_prepare() { @@ -23,6 +23,6 @@ src_check() { src_install() { make DESTDIR="${pkgdir}" install - install -v -Dm644 doc/I18N-HOWTO "${pkgdir}/usr/share/doc/intltool-0.51.0/I18N-HOWTO" + install -v -Dm644 doc/I18N-HOWTO "${pkgdir}/usr/share/doc/${pkgname}-${pkgver}/I18N-HOWTO" } From 613f43caf24a3fcbfc0416fe1c67e453bcf50f1b Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 19:13:49 -0500 Subject: [PATCH 112/146] update to 12.4-systemd: automake-1.18.1 --- lfs/{automake-1.17.PKGBUILD => automake-1.18.1.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{automake-1.17.PKGBUILD => automake-1.18.1.PKGBUILD} (89%) diff --git a/lfs/automake-1.17.PKGBUILD b/lfs/automake-1.18.1.PKGBUILD similarity index 89% rename from lfs/automake-1.17.PKGBUILD rename to lfs/automake-1.18.1.PKGBUILD index c10ae95..c82bd54 100644 --- a/lfs/automake-1.17.PKGBUILD +++ b/lfs/automake-1.18.1.PKGBUILD @@ -1,11 +1,11 @@ pkgname=automake -pkgver=1.17 +pkgver=1.18.1 pkgdesc="A GNU tool for automatically creating Makefiles" license=('GPL') url="https://www.gnu.org/software/automake" sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("7ab3a02318fee6f5bd42adfc369abf10") +md5sums=("cea31dbf1120f890cbf2a3032cfb9a68") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From b148219eda6cbb6720e8760ed88555aa01f84080 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 19:22:49 -0500 Subject: [PATCH 113/146] update to 12.4-systemd: openssl-3.5.2 --- lfs/{openssl-3.4.1.PKGBUILD => openssl-3.5.2.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{openssl-3.4.1.PKGBUILD => openssl-3.5.2.PKGBUILD} (94%) diff --git a/lfs/openssl-3.4.1.PKGBUILD b/lfs/openssl-3.5.2.PKGBUILD similarity index 94% rename from lfs/openssl-3.4.1.PKGBUILD rename to lfs/openssl-3.5.2.PKGBUILD index 3eb11c2..9d0d851 100644 --- a/lfs/openssl-3.4.1.PKGBUILD +++ b/lfs/openssl-3.5.2.PKGBUILD @@ -1,12 +1,12 @@ pkgname=openssl -pkgver=3.4.1 +pkgver=3.5.2 pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security' arch=('x86_64') homepage='https://www.openssl.org' license=('Apache-2.0') sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://www.openssl.org/source/${sources[0]}") -md5sums=("fb7a747ac6793a7ad7118eaba45db379") +md5sums=("890fc59f86fc21b5e4d1c031a698dbde") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From a63f06f123a584c23f1d73708917b3b8edd3a7cd Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 21:21:40 -0500 Subject: [PATCH 114/146] update to 12.4-systemd: libelf-0.193 --- lfs/{libelf-0.192.PKGBUILD => libelf-0.193.PKGBUILD} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename lfs/{libelf-0.192.PKGBUILD => libelf-0.193.PKGBUILD} (84%) diff --git a/lfs/libelf-0.192.PKGBUILD b/lfs/libelf-0.193.PKGBUILD similarity index 84% rename from lfs/libelf-0.192.PKGBUILD rename to lfs/libelf-0.193.PKGBUILD index 5663632..2c5d5ac 100644 --- a/lfs/libelf-0.192.PKGBUILD +++ b/lfs/libelf-0.193.PKGBUILD @@ -1,12 +1,12 @@ pkgname="libelf" _pkgbase="elfutils" -pkgver=0.192 +pkgver=0.193 pkgdesc="Handle ELF object files and DWARF debugging information (lib)" license=("GPL-2.0-or-later OR LGPL-3.0-or-later") homepage="https://sourceware.org/elfutils/" sources=("${_pkgbase}-${pkgver}.tar.bz2") urls=("https://sourceware.org/ftp/${_pkgbase}/${pkgver}/${sources[0]}") -md5sums="a6bb1efc147302cfc15b5c2b827f186a" +md5sums="ceefa052ded950a4c523688799193a44" src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -21,7 +21,8 @@ src_build() { } src_check() { - make check + leaf_record_message "dwarf_srclang_check is known to fail." + make -k check } src_install() { From 46145fe3a920b6403b724221ffe48a145937c46e Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 21:47:49 -0500 Subject: [PATCH 115/146] update to 12.4-systemd: libffi-3.5.2 --- lfs/{libffi-3.4.7.PKGBUILD => libffi-3.5.2.PKGBUILD} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename lfs/{libffi-3.4.7.PKGBUILD => libffi-3.5.2.PKGBUILD} (88%) diff --git a/lfs/libffi-3.4.7.PKGBUILD b/lfs/libffi-3.5.2.PKGBUILD similarity index 88% rename from lfs/libffi-3.4.7.PKGBUILD rename to lfs/libffi-3.5.2.PKGBUILD index 88bc3e7..1b8dd89 100644 --- a/lfs/libffi-3.4.7.PKGBUILD +++ b/lfs/libffi-3.5.2.PKGBUILD @@ -1,17 +1,18 @@ pkgname=libffi -pkgver=3.4.7 +pkgver=3.5.2 pkgdesc='Portable foreign function interface library' homepage='https://sourceware.org/libffi/' license=(MIT) sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://github.com/libffi/libffi/releases/download/v${pkgver}/${sources[0]}") -md5sums=("696a1d483a1174ce8a477575546a5284") +md5sums=("92af9efad4ba398995abf44835c5d9e9") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { + CFLAGS+=" -march=native" ./configure --prefix=/usr \ --disable-static \ --with-gcc-arch=native From 2a9969ee82478ae274d4cbae7f41daadb018d80b Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 22:58:13 -0500 Subject: [PATCH 116/146] update to 12.4-systemd: python-3.13.7 --- ...{python-3.13.2.PKGBUILD => python-3.13.7.PKGBUILD} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename lfs/{python-3.13.2.PKGBUILD => python-3.13.7.PKGBUILD} (85%) diff --git a/lfs/python-3.13.2.PKGBUILD b/lfs/python-3.13.7.PKGBUILD similarity index 85% rename from lfs/python-3.13.2.PKGBUILD rename to lfs/python-3.13.7.PKGBUILD index 865c223..559c779 100644 --- a/lfs/python-3.13.2.PKGBUILD +++ b/lfs/python-3.13.7.PKGBUILD @@ -1,5 +1,6 @@ pkgname=python -pkgver=3.13.2 +pkgver=3.13.7 +_pybasever=${pkgver%.*} pkgdesc="The Python programming language" license=('PSF-2.0') homepage="https://www.python.org/" @@ -9,8 +10,8 @@ sources=("Python-${pkgver}.tar.xz" urls=("https://www.python.org/ftp/${pkgname}/${pkgver}/${sources[0]}" "https://www.python.org/ftp/${pkgname}/doc/${pkgver}/${sources[1]}" ) -md5sums=("4c2d9202ab4db02c9d0999b14655dfe5" - "d6aede88f480a018d26b3206f21654ae" +md5sums=("256cdb3bbf45cdce7499e52ba6c36ea3" + "b84c0d81b2758398bb7f5b7411d3d908" ) src_prepare() { @@ -48,7 +49,7 @@ src_install() { ln -s python${_pybasever}.1 "${pkgdir}"/usr/share/man/man1/python.1 # doc - install -v -dm755 "${pkgdir}/usr/share/doc/python-3.12.5/html" + install -v -dm755 "${pkgdir}/usr/share/doc/python-${pkgver}/html" cp -R --no-preserve=mode python-${pkgver}-docs-html/* \ - "${pkgdir}/usr/share/doc/python-3.12.5/html" + "${pkgdir}/usr/share/doc/python-${pkgver}/html" } From 53343727b62119d0030176261e9d88bc311f1fab Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sun, 21 Dec 2025 23:14:50 -0500 Subject: [PATCH 117/146] update to 12.4-systemd: python-flit-core-3.12.0 --- ...-core-3.11.0.PKGBUILD => python-flit-core-3.12.0.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{python-flit-core-3.11.0.PKGBUILD => python-flit-core-3.12.0.PKGBUILD} (91%) diff --git a/lfs/python-flit-core-3.11.0.PKGBUILD b/lfs/python-flit-core-3.12.0.PKGBUILD similarity index 91% rename from lfs/python-flit-core-3.11.0.PKGBUILD rename to lfs/python-flit-core-3.12.0.PKGBUILD index 1062409..47cc9ed 100644 --- a/lfs/python-flit-core-3.11.0.PKGBUILD +++ b/lfs/python-flit-core-3.12.0.PKGBUILD @@ -1,12 +1,12 @@ pkgname=python-flit-core _name=${pkgname#python-} -pkgver=3.11.0 +pkgver=3.12.0 pkgdesc="A PEP 517 build backend for packages using Flit" homepage="https://github.com/pypa/flit/tree/main/flit_core" license=(BSD-3-Clause) sources=("flit_core-${pkgver}.tar.gz") urls=("https://pypi.org/packages/source/f/${_name}/${sources[0]}") -md5sums=("6d677b1acef1769c4c7156c7508e0dbd") +md5sums=("c538415c1f27bd69cbbbf3cdd5135d39") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 73e68f1634559fe74fafc265deac45c30a281a51 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 00:12:01 -0500 Subject: [PATCH 118/146] update to 12.4-systemd: python-packaging-25.0 --- lfs/python-packaging-25.0.PKGBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lfs/python-packaging-25.0.PKGBUILD diff --git a/lfs/python-packaging-25.0.PKGBUILD b/lfs/python-packaging-25.0.PKGBUILD new file mode 100644 index 0000000..661ceb4 --- /dev/null +++ b/lfs/python-packaging-25.0.PKGBUILD @@ -0,0 +1,21 @@ +pkgname=python-packaging +_name=${pkgname#python-} +pkgver=25.0 +pkgdesc="Core utilities for Python packages" +homepage="https://pypi.org/project/packaging/" +license=('Apache-2.0') +sources=("${_name}-${pkgver}.tar.gz") +urls=("https://files.pythonhosted.org/packages/source/p/${_name}/${sources[0]}") +md5sums=("ab0ef21ddebe09d1803575120d3f99f8") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD +} + +src_install() { + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${_name} +} From ed687534d7037d1e0d143fea378bc002216c26ca Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 00:17:34 -0500 Subject: [PATCH 119/146] update to 12.4-systemd: python-wheel-0.46.1 --- ...hon-wheel-0.45.1.PKGBUILD => python-wheel-0.46.1.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{python-wheel-0.45.1.PKGBUILD => python-wheel-0.46.1.PKGBUILD} (91%) diff --git a/lfs/python-wheel-0.45.1.PKGBUILD b/lfs/python-wheel-0.46.1.PKGBUILD similarity index 91% rename from lfs/python-wheel-0.45.1.PKGBUILD rename to lfs/python-wheel-0.46.1.PKGBUILD index 6cf28c1..d769b6f 100644 --- a/lfs/python-wheel-0.45.1.PKGBUILD +++ b/lfs/python-wheel-0.46.1.PKGBUILD @@ -1,6 +1,6 @@ pkgname=python-wheel _name=${pkgname#python-} -pkgver=0.45.1 +pkgver=0.46.1 pkgrel=1 pkgdesc="A built-package format for Python" arch=(any) @@ -8,7 +8,7 @@ homepage="https://pypi.python.org/pypi/wheel" license=('MIT') sources=("${_name}-${pkgver}.tar.gz") urls=("https://pypi.org/packages/source/w/${_name}/${sources[0]}") -md5sums=("dddc505d0573d03576c7c6c5a4fe0641") +md5sums=("65e09ee84af36821e3b1e9564aa91bd5") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 60b36463a32ce34e07aeaf2ddd2f5310fc79ad2a Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 00:32:36 -0500 Subject: [PATCH 120/146] update to 12.4-systemd: python-setuptools-80.9.0 --- ...ols-75.8.1.PKGBUILD => python-setuptools-80.9.0.PKGBUILD} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename lfs/{python-setuptools-75.8.1.PKGBUILD => python-setuptools-80.9.0.PKGBUILD} (90%) diff --git a/lfs/python-setuptools-75.8.1.PKGBUILD b/lfs/python-setuptools-80.9.0.PKGBUILD similarity index 90% rename from lfs/python-setuptools-75.8.1.PKGBUILD rename to lfs/python-setuptools-80.9.0.PKGBUILD index e9593d0..371e105 100644 --- a/lfs/python-setuptools-75.8.1.PKGBUILD +++ b/lfs/python-setuptools-80.9.0.PKGBUILD @@ -1,12 +1,12 @@ pkgname=python-setuptools _name=${pkgname#python-} -pkgver=75.8.1 +pkgver=80.9.0 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages" homepage="https://pypi.org/project/setuptools/" license=('MIT') sources=("${_name}-${pkgver}.tar.gz") urls=("https://pypi.org/packages/source/s/${_name}/${sources[0]}") -md5sums=("7dc3d3f529b76b10e35326e25c676b30") +md5sums=("82e1d67883b713f9493659b50d13b436") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -14,6 +14,7 @@ src_prepare() { src_build() { #python3 setup.py build + PYTHONDONTWRITEBYTECODE=1 pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD } From 4f63835b37525b3199219232b4ab1e875ba5dd76 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:14:40 -0500 Subject: [PATCH 121/146] update to 12.4-systemd: python-pip-25.3 --- lfs/python-pip-25.3.PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 lfs/python-pip-25.3.PKGBUILD diff --git a/lfs/python-pip-25.3.PKGBUILD b/lfs/python-pip-25.3.PKGBUILD new file mode 100644 index 0000000..634ece4 --- /dev/null +++ b/lfs/python-pip-25.3.PKGBUILD @@ -0,0 +1,48 @@ +pkgname=python-pip +_name=${pkgname#python-} +pkgver=25.3 +pkgdesc="The PyPA recommended tool for installing Python packages" +homepage="https://pip.pypa.io/" +license=('MIT') +sources=("${_name}-${pkgver}.tar.gz") +urls=("https://pypi.org/packages/source/p/${_name}/${sources[0]}") +md5sums=("31f52f428372020b80cd7518862fbbee") + +src_prepare() { + tar -xf "${distdir}/${sources[0]}" --strip-components=1 +} + +src_build() { + export PYTHONPYCACHEPREFIX="$PWD/.pycache" + export TMPDIR="$PWD/.tmp" + export PIP_CACHE_DIR="$PWD/.pipcache" + export PIP_DISABLE_PIP_VERSION_CHECK=1 + + mkdir -p "$PYTHONPYCACHEPREFIX" "$TMPDIR" "$PIP_CACHE_DIR" + + export PYTHONDONTWRITEBYTECODE=1 + pip3 wheel \ + -w dist \ + --no-cache-dir \ + --no-build-isolation \ + --no-deps \ + "$PWD" +} + +src_install() { + export PYTHONPYCACHEPREFIX="$PWD/.pycache" + export PIP_DISABLE_PIP_VERSION_CHECK=1 + + pip3 install \ + --no-deps \ + --no-warn-script-location \ + --no-index \ + --no-cache-dir \ + --no-user \ + --ignore-installed \ + --root "${pkgdir}" \ + --find-links dist \ + --root-user-action=ignore \ + pip +} + From 7556dbbe3a3be71ccbfa0be2b8b0091b87905811 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:15:11 -0500 Subject: [PATCH 122/146] update to 12.4-systemd: python-pip-25.3 --- TODO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 0e94de0..03bc59e 100644 --- a/TODO.md +++ b/TODO.md @@ -1,4 +1,4 @@ # todo -- [ ] `pip` should be a standalone package. +- [x] `pip` should be a standalone package. From 3cba0dfed7747ca98b00df8ca3ca389db3415fa5 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:22:06 -0500 Subject: [PATCH 123/146] update to 12.4-systemd: ninja-1.13.1.PKGBUILD --- lfs/{ninja-1.12.1.PKGBUILD => ninja-1.13.1.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{ninja-1.12.1.PKGBUILD => ninja-1.13.1.PKGBUILD} (93%) diff --git a/lfs/ninja-1.12.1.PKGBUILD b/lfs/ninja-1.13.1.PKGBUILD similarity index 93% rename from lfs/ninja-1.12.1.PKGBUILD rename to lfs/ninja-1.13.1.PKGBUILD index 2c0437d..1ac9aed 100644 --- a/lfs/ninja-1.12.1.PKGBUILD +++ b/lfs/ninja-1.13.1.PKGBUILD @@ -1,12 +1,12 @@ pkgname=ninja -pkgver=1.12.1 +pkgver=1.13.1 pkgdesc='Small build system with a focus on speed' arch=(x86_64) homepage='https://ninja-build.org/' license=(Apache-2.0) sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://github.com/ninja-build/ninja/archive/v${pkgver}/${sources[0]}") -md5sums=("6288992b05e593a391599692e2f7e490") +md5sums=("c35f8f55f4cf60f1a916068d8f45a0f8") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 9aa5d90f6ce00a687648a5db945d6ded605b3700 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:28:14 -0500 Subject: [PATCH 124/146] update to 12.4-systemd: meson-1.8.3 --- lfs/{meson-1.7.0.PKGBUILD => meson-1.8.3.PKGBUILD} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename lfs/{meson-1.7.0.PKGBUILD => meson-1.8.3.PKGBUILD} (79%) diff --git a/lfs/meson-1.7.0.PKGBUILD b/lfs/meson-1.8.3.PKGBUILD similarity index 79% rename from lfs/meson-1.7.0.PKGBUILD rename to lfs/meson-1.8.3.PKGBUILD index 09723fa..f58344e 100644 --- a/lfs/meson-1.7.0.PKGBUILD +++ b/lfs/meson-1.8.3.PKGBUILD @@ -1,23 +1,24 @@ pkgname=meson -pkgver=1.7.0 +pkgver=1.8.3 pkgdesc="High productivity build system" homepage="https://mesonbuild.com/" arch=(any) license=(Apache-2.0) sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://github.com/mesonbuild/meson/releases/download/${pkgver}/${sources[0]}") -md5sums=("c20f3e5ebbb007352d22f4fd6ceb925c") +md5sums=("08221d2f515e759686f666ff6409a903") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { + export PYTHONDONTWRITEBYTECODE=1 pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD } src_install() { - pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${pkgname} + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --ignore-installed --root ${pkgdir} --find-links dist ${pkgname} install -vDm644 data/shell-completions/bash/meson ${pkgdir}/usr/share/bash-completion/completions/meson install -vDm644 data/shell-completions/zsh/_meson ${pkgdir}/usr/share/zsh/site-functions/_meson } From 1ec9a7de104ef2b28e36b214557cbfebc7a7bd5d Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:33:49 -0500 Subject: [PATCH 125/146] update to 12.4-systemd: kmod-34.2 --- lfs/{kmod-34.PKGBUILD => kmod-34.2.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{kmod-34.PKGBUILD => kmod-34.2.PKGBUILD} (91%) diff --git a/lfs/kmod-34.PKGBUILD b/lfs/kmod-34.2.PKGBUILD similarity index 91% rename from lfs/kmod-34.PKGBUILD rename to lfs/kmod-34.2.PKGBUILD index 1fb9c1a..b474e01 100644 --- a/lfs/kmod-34.PKGBUILD +++ b/lfs/kmod-34.2.PKGBUILD @@ -1,12 +1,12 @@ pkgname=kmod -pkgver=34 +pkgver=34.2 pkgdesc="Linux kernel module management tools and library" arch=('x86_64') homepage='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git' license=('LGPL-2.1-or-later' 'GPL-2.0-or-later') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.kernel.org/pub/linux/utils/kernel/${pkgname}/${sources[0]}") -md5sums=("3e6c5c9ad9c7367ab9c3cc4f08dfde62") +md5sums=("36f2cc483745e81ede3406fa55e1065a") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 96ce3e4f8bc20860522978ae238778c384ade5c3 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:45:08 -0500 Subject: [PATCH 126/146] update to 12.4-systemd: coreutils-9.7 --- ...coreutils-9.6.PKGBUILD => coreutils-9.7.PKGBUILD} | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename lfs/{coreutils-9.6.PKGBUILD => coreutils-9.7.PKGBUILD} (77%) diff --git a/lfs/coreutils-9.6.PKGBUILD b/lfs/coreutils-9.7.PKGBUILD similarity index 77% rename from lfs/coreutils-9.6.PKGBUILD rename to lfs/coreutils-9.7.PKGBUILD index 97809e8..181f052 100644 --- a/lfs/coreutils-9.6.PKGBUILD +++ b/lfs/coreutils-9.7.PKGBUILD @@ -1,5 +1,5 @@ pkgname=coreutils -pkgver=9.6 +pkgver=9.7 pkgdesc='The basic file, shell and text manipulation utilities of the GNU operating system' arch=('x86_64') license=( @@ -8,18 +8,22 @@ license=( ) homepage='https://www.gnu.org/software/coreutils/' sources=("${pkgname}-${pkgver}.tar.xz" + "${pkgname}-${pkgver}-upstream_fix-1.patch" "${pkgname}-${pkgver}-i18n-1.patch" ) urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}" - "https://www.linuxfromscratch.org/patches/lfs/12.3/coreutils-9.6-i18n-1.patch" + "https://www.linuxfromscratch.org/patches/lfs/12.4/${sources[1]}" + "https://www.linuxfromscratch.org/patches/lfs/12.4/${sources[2]}" ) -md5sums=("0ed6cc983fe02973bc98803155cc1733" - "6aee45dd3e05b7658971c321d92f44b7" +md5sums=("6b7285faf7d5eb91592bdd689270d3f1" + "96382a5aa85d6651a74f94ffb61785d9" + "33ebfad32b2dfb8417c3335c08671206" ) src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 patch -Np1 -i ${distdir}/${sources[1]} + patch -Np1 -i ${distdir}/${sources[2]} } src_build() { From 1a1b271c9057c5a3026b5af08a5bff3a0e805a20 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:48:23 -0500 Subject: [PATCH 127/146] update to 12.4-systemd: diffutils-3.12 --- lfs/{diffutils-3.11.PKGBUILD => diffutils-3.12.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{diffutils-3.11.PKGBUILD => diffutils-3.12.PKGBUILD} (89%) diff --git a/lfs/diffutils-3.11.PKGBUILD b/lfs/diffutils-3.12.PKGBUILD similarity index 89% rename from lfs/diffutils-3.11.PKGBUILD rename to lfs/diffutils-3.12.PKGBUILD index 691352f..e60ebb7 100644 --- a/lfs/diffutils-3.11.PKGBUILD +++ b/lfs/diffutils-3.12.PKGBUILD @@ -1,12 +1,12 @@ pkgname=diffutils -pkgver=3.11 +pkgver=3.12 pkgdesc='Utility programs used for creating patch files' arch=('x86_64') homepage='https://www.gnu.org/software/diffutils' license=('GPL-3.0-or-later') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("75ab2bb7b5ac0e3e10cece85bd1780c2") +md5sums=("d1b18b20868fb561f77861cd90b05de4") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 8298890bbe67ac1cd1d20505f4fde07faa49420d Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:53:38 -0500 Subject: [PATCH 128/146] update to 12.4-systemd: gawk-5.3.2 --- lfs/{gawk-5.3.1.PKGBUILD => gawk-5.3.2.PKGBUILD} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename lfs/{gawk-5.3.1.PKGBUILD => gawk-5.3.2.PKGBUILD} (87%) diff --git a/lfs/gawk-5.3.1.PKGBUILD b/lfs/gawk-5.3.2.PKGBUILD similarity index 87% rename from lfs/gawk-5.3.1.PKGBUILD rename to lfs/gawk-5.3.2.PKGBUILD index d739d42..ff5991d 100644 --- a/lfs/gawk-5.3.1.PKGBUILD +++ b/lfs/gawk-5.3.2.PKGBUILD @@ -1,12 +1,12 @@ pkgname=gawk -pkgver=5.3.1 +pkgver=5.3.2 pkgdesc="GNU version of awk" arch=('x86_64') homepage="https://www.gnu.org/software/gawk/" license=('GPL-3.0-or-later') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("4e9292a06b43694500e0620851762eec") +md5sums=("b7014650c5f45e5d4837c31209dc0037") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -26,5 +26,5 @@ src_check() { src_install() { make DESTDIR="${pkgdir}" install ln -sv gawk.1 "${pkgdir}"/usr/share/man/man1/awk.1 - install -vDm644 doc/{awkforai.txt,*.{eps,pdf,jpg}} -t "${pkgdir}"/usr/share/doc/gawk-5.3.1 + install -vDm644 doc/{awkforai.txt,*.{eps,pdf,jpg}} -t "${pkgdir}"/usr/share/doc/gawk-${pkgver} } From a1280f2077b200f3e8fc3018d5ab41cc31074eea Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 02:56:48 -0500 Subject: [PATCH 129/146] update to 12.4-systemd: findutils-4.10.0 --- lfs/findutils-4.10.0.PKGBUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/lfs/findutils-4.10.0.PKGBUILD b/lfs/findutils-4.10.0.PKGBUILD index 90efc7f..358dace 100644 --- a/lfs/findutils-4.10.0.PKGBUILD +++ b/lfs/findutils-4.10.0.PKGBUILD @@ -1,6 +1,5 @@ pkgname=findutils pkgver=4.10.0 -pkgrel=2 pkgdesc="GNU utilities to locate files" arch=('x86_64') license=('GPL-3.0-or-later') From 6d0c4e0573ac367b14628c076b8d950d21bbe43f Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 03:01:46 -0500 Subject: [PATCH 130/146] update: update README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 90451da..6d1b4d4 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,10 @@ This is my repository for Linux from Scratch, and designed for the package manag Warning: `leaf` won't deal with the dependence relation, and currently won't check file confliction. You have to deal with these problems as the maintainer of your own LFS system. ## Different with LFS book -- Use `ensurepip` in *Chapter 7.10. Python-3.13.2* +- Use `ensurepip` in *Chapter 7.10. Python-3.13.2*, then install `python-pip` after *Chapter 8.51 Python* - Use `SBINDIR=/usr/bin/` to install `iproute2`. `ip` command should be avaliable for non-root - We won't install TeX files in *Chapter 8.72. Texinfo-7.2*. We will install TexLive. +- We won't install Grub in LFS. Install in BLFS with UEFI instead. ## issues - `lfs/vim-9.1.1166` has `Test_write_backup_symlink` failed, which can pass if `call assert_true(filereadable('./Xbackup/Xwbsfile.bak')) From e430edb7866e10fbc06c3b14130323cb41307c9c Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 03:04:11 -0500 Subject: [PATCH 131/146] update to 12.4-systemd: gzip-1.14 --- lfs/{gzip-1.13.PKGBUILD => gzip-1.14.PKGBUILD} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename lfs/{gzip-1.13.PKGBUILD => gzip-1.14.PKGBUILD} (88%) diff --git a/lfs/gzip-1.13.PKGBUILD b/lfs/gzip-1.14.PKGBUILD similarity index 88% rename from lfs/gzip-1.13.PKGBUILD rename to lfs/gzip-1.14.PKGBUILD index 4a2f474..a217d8f 100644 --- a/lfs/gzip-1.13.PKGBUILD +++ b/lfs/gzip-1.14.PKGBUILD @@ -1,12 +1,12 @@ pkgname=gzip -pkgver=1.13 +pkgver=1.14 pkgdesc='GNU compression utility' arch=('x86_64') homepage='https://www.gnu.org/software/gzip/' license=('GPL-3.0-or-later') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("d5c9fc9441288817a4a0be2da0249e29") +md5sums=("4bf5a10f287501ee8e8ebe00ef62b2c2") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From 07a0dae105e3ff37fbc37cbd4cafb93148375dcf Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 03:15:12 -0500 Subject: [PATCH 132/146] update to 12.4-systemd: iproute2-6.16.0 --- lfs/{iproute2-6.13.0.PKGBUILD => iproute2-6.16.0.PKGBUILD} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename lfs/{iproute2-6.13.0.PKGBUILD => iproute2-6.16.0.PKGBUILD} (88%) diff --git a/lfs/iproute2-6.13.0.PKGBUILD b/lfs/iproute2-6.16.0.PKGBUILD similarity index 88% rename from lfs/iproute2-6.13.0.PKGBUILD rename to lfs/iproute2-6.16.0.PKGBUILD index 2628f0e..a6ce17b 100644 --- a/lfs/iproute2-6.13.0.PKGBUILD +++ b/lfs/iproute2-6.16.0.PKGBUILD @@ -1,12 +1,12 @@ pkgname=iproute2 -pkgver=6.13.0 +pkgver=6.16.0 pkgdesc='IP Routing Utilities' arch=('x86_64') license=('GPL-2.0-or-later') homepage='https://www.kernel.org/pub/linux/utils/net/iproute2/' sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.kernel.org/pub/linux/utils/net/${pkgname}/${sources[0]}") -md5sums=("1603d25120d03feeaba9b360d03ffaec") +md5sums=("80e1f91bf59d572acc15d5c6eb4f3e7c") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -21,5 +21,5 @@ src_build() { src_install() { make DESTDIR="${pkgdir}" SBINDIR=/usr/bin/ install - install -vDm644 COPYING README* -t "${pkgdir}"/usr/share/doc/iproute2-6.13.0 + install -vDm644 COPYING README* -t "${pkgdir}"/usr/share/doc/iproute2-${pkgver} } From 5ea8dde5f4f06555f3bc36de518ec8fe069caa5c Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 03:26:54 -0500 Subject: [PATCH 133/146] update to 12.4-systemd: kbd-2.8.0 --- lfs/{kbd-2.7.1.PKGBUILD => kbd-2.8.0.PKGBUILD} | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) rename lfs/{kbd-2.7.1.PKGBUILD => kbd-2.8.0.PKGBUILD} (65%) diff --git a/lfs/kbd-2.7.1.PKGBUILD b/lfs/kbd-2.8.0.PKGBUILD similarity index 65% rename from lfs/kbd-2.7.1.PKGBUILD rename to lfs/kbd-2.8.0.PKGBUILD index 3853fb0..bcf0e0b 100644 --- a/lfs/kbd-2.7.1.PKGBUILD +++ b/lfs/kbd-2.8.0.PKGBUILD @@ -1,16 +1,16 @@ pkgname=kbd -pkgver=2.7.1 +pkgver=2.8.0 pkgdesc="Keytable files and keyboard utilities" arch=('x86_64') homepage="http://www.kbd-project.org" license=('GPL-2.0-or-later') sources=("${pkgname}-${pkgver}.tar.xz" - "kbd-2.7.1-backspace-1.patch" + "kbd-${pkgver}-backspace-1.patch" ) urls=("https://www.kernel.org/pub/linux/utils/${pkgname}/${sources[0]}" - "https://www.linuxfromscratch.org/patches/lfs/12.3/kbd-2.7.1-backspace-1.patch" + "https://www.linuxfromscratch.org/patches/lfs/12.4/${sources[1]}" ) -md5sums=("f15673d9f748e58f82fa50cff0d0fd20" +md5sums=("24b5d24f7483726b88f214dc6c77aa41" "f75cca16a38da6caa7d52151f7136895" ) @@ -27,11 +27,12 @@ src_build() { } src_check() { + leaf_record_message "tests are known to fail without valgrind." make check } src_install() { make DESTDIR="${pkgdir}" install - install -d -v "${pkgdir}/usr/share/doc/kbd-2.7.1" - cp -R -v docs/doc -T "${pkgdir}/usr/share/doc/kbd-2.7.1" + install -d -v "${pkgdir}/usr/share/doc/kbd-${pkgver}" + cp -R -v docs/doc -T "${pkgdir}/usr/share/doc/kbd-${pkgver}" } From 2469b87bd394c80a336e58d80ab4a9b57213d376 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 03:34:42 -0500 Subject: [PATCH 134/146] update to 12.4-systemd: patch-2.8 --- lfs/{patch-2.7.6.PKGBUILD => patch-2.8.PKGBUILD} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename lfs/{patch-2.7.6.PKGBUILD => patch-2.8.PKGBUILD} (87%) diff --git a/lfs/patch-2.7.6.PKGBUILD b/lfs/patch-2.8.PKGBUILD similarity index 87% rename from lfs/patch-2.7.6.PKGBUILD rename to lfs/patch-2.8.PKGBUILD index 72fab20..00950e6 100644 --- a/lfs/patch-2.7.6.PKGBUILD +++ b/lfs/patch-2.8.PKGBUILD @@ -1,13 +1,12 @@ pkgname=patch -pkgver=2.7.6 -pkgrel=10 +pkgver=2.8 pkgdesc='A utility to apply patch files to original sources' arch=('x86_64') url='https://www.gnu.org/software/patch/' license=('GPL') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") -md5sums=("78ad9937e4caadcba1526ef1853730d5") +md5sums=("149327a021d41c8f88d034eab41c039f") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 From b545a3a4522a1b26ed092f1469f688963f79b2d5 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 03:43:14 -0500 Subject: [PATCH 135/146] update to 12.4-systemd: texinfo-7.2 --- lfs/texinfo-7.2.PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/texinfo-7.2.PKGBUILD b/lfs/texinfo-7.2.PKGBUILD index 86d189c..745480b 100644 --- a/lfs/texinfo-7.2.PKGBUILD +++ b/lfs/texinfo-7.2.PKGBUILD @@ -10,6 +10,7 @@ md5sums=("11939a7624572814912a18e76c8d8972") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 + sed 's/! $output_file eq/$output_file ne/' -i tp/Texinfo/Convert/*.pm cat > texinfo.HOOK << "EOF" target=(/usr/share/info/*.info*) triggers=(install remove) From 2474b58069183529eb3c97c896cf09fee0d4e6ac Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 04:58:03 -0500 Subject: [PATCH 136/146] update to 12.4-systemd: vim-9.1.1629 --- lfs/{vim-9.1.1166.PKGBUILD => vim-9.1.1629.PKGBUILD} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename lfs/{vim-9.1.1166.PKGBUILD => vim-9.1.1629.PKGBUILD} (90%) diff --git a/lfs/vim-9.1.1166.PKGBUILD b/lfs/vim-9.1.1629.PKGBUILD similarity index 90% rename from lfs/vim-9.1.1166.PKGBUILD rename to lfs/vim-9.1.1629.PKGBUILD index 2527af5..e3ca5f6 100644 --- a/lfs/vim-9.1.1166.PKGBUILD +++ b/lfs/vim-9.1.1629.PKGBUILD @@ -1,5 +1,5 @@ pkgname=vim -pkgver=9.1.1166 +pkgver=9.1.1629 _versiondir=91 pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor' home='https://www.vim.org' @@ -7,7 +7,7 @@ arch=('x86_64') license=('custom:vim') sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://github.com/vim/vim/archive/v${pkgver}/${sources[0]}") -md5sums=("718d43ce957ab7c81071793de176c2eb") +md5sums=("4f856c3233c1c4570bc17572e4f9e8e4") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 @@ -41,6 +41,7 @@ src_build() { src_check() { leaf_record_message "Tests require at least 24 lines with 80 characters." + leaf_record_message "Test_write_backup_symlink is known to fail if BUILD_DIR is under /tmp." chown -R leaf . sed '/test_plugin_glvs/d' -i src/testdir/Make_all.mak echo "Testing... May take a while..." From 15f807ccb4043b394689fb9461a2c9c8fc55b1f4 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 05:02:49 -0500 Subject: [PATCH 137/146] update to 12.4-systemd: python-markupsafe-3.0.2 --- lfs/python-markupsafe-3.0.2.PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/python-markupsafe-3.0.2.PKGBUILD b/lfs/python-markupsafe-3.0.2.PKGBUILD index 54567c3..c02e4ee 100644 --- a/lfs/python-markupsafe-3.0.2.PKGBUILD +++ b/lfs/python-markupsafe-3.0.2.PKGBUILD @@ -14,6 +14,7 @@ src_prepare() { } src_build() { + PYTHONDONTWRITEBYTECODE=1 pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD } From 426b79693ee8a76f665bd2246ae1164e0628f591 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 05:09:33 -0500 Subject: [PATCH 138/146] update to 12.4-systemd: python-jinja2-3.1.6 --- ...-jinja2-3.1.5.PKGBUILD => python-jinja2-3.1.6.PKGBUILD} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename lfs/{python-jinja2-3.1.5.PKGBUILD => python-jinja2-3.1.6.PKGBUILD} (78%) diff --git a/lfs/python-jinja2-3.1.5.PKGBUILD b/lfs/python-jinja2-3.1.6.PKGBUILD similarity index 78% rename from lfs/python-jinja2-3.1.5.PKGBUILD rename to lfs/python-jinja2-3.1.6.PKGBUILD index 939f7c8..7d72cc0 100644 --- a/lfs/python-jinja2-3.1.5.PKGBUILD +++ b/lfs/python-jinja2-3.1.6.PKGBUILD @@ -1,19 +1,20 @@ pkgname=python-jinja2 _name="${pkgname#python-}" -pkgver=3.1.5 +pkgver=3.1.6 pkgdesc="A simple pythonic template language written in Python" arch=('any') homepage="https://palletsprojects.com/p/jinja/" license=('BSD-3-Clause') sources=("${_name}-${pkgver}.tar.gz") urls=("https://pypi.org/packages/source/J/Jinja2/${sources[0]}") -md5sums=("083d64f070f6f1b5f75971ae60240785") +md5sums=("66d4c25ff43d1deaf9637ccda523dec8") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { + export PYTHONDONTWRITEBYTECODE=1 pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD } @@ -22,6 +23,6 @@ src_check() { } src_install() { - pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist Jinja2 + pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --ignore-installed --root ${pkgdir} --find-links dist Jinja2 install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/" } From 774901cb8907cc852dbbabc323a2ac14361593bc Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 05:39:20 -0500 Subject: [PATCH 139/146] update to 12.4-systemd: systemd-257.8 --- lfs/systemd-257.8.PKGBUILD | 77 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 lfs/systemd-257.8.PKGBUILD diff --git a/lfs/systemd-257.8.PKGBUILD b/lfs/systemd-257.8.PKGBUILD new file mode 100644 index 0000000..dd3215c --- /dev/null +++ b/lfs/systemd-257.8.PKGBUILD @@ -0,0 +1,77 @@ +pkgname="systemd" +pkgver=257.8 +pkgdesc="system and service manager" +homepage="https://www.freedesktop.org/wiki/Software/systemd/" +license=("LGPL-2.1-or-laterC" "C0-1.0" "GPL-2.0-or-later" "MIT-0") +sources=("${pkgname}-${pkgver}.tar.gz" + "${pkgname}-man-pages-${pkgver}.tar.xz" +) +urls=("https://github.com/systemd/systemd/archive/v${pkgver}/${sources[0]}" + "https://anduin.linuxfromscratch.org/LFS/${sources[1]}" +) +md5sums=("25fe5d328e22641254761f1baa74cee0" + "a44063e2ec0cf4adfd2ed5c9e9e095c5" +) + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 + sed -e 's/GROUP="render"/GROUP="video"/' \ + -e 's/GROUP="sgx", //' \ + -i rules.d/50-udev-default.rules.in +} + +src_build() { + mkdir -p build + cd build + + meson setup .. \ + --prefix=/usr \ + --libdir=/usr/lib \ + --buildtype=release \ + -D default-dnssec=no \ + -D firstboot=false \ + -D install-tests=false \ + -D ldconfig=false \ + -D sysusers=false \ + -D rpmmacrosdir=no \ + -D homed=disabled \ + -D userdb=false \ + -D man=disabled \ + -D mode=release \ + -D pamconfdir=no \ + -D dev-kvm-mode=0660 \ + -D nobody-group=nogroup \ + -D sysupdate=disabled \ + -D ukify=disabled \ + -D docdir=/usr/share/doc/systemd-${pkgver} + + ninja + cd .. +} + +src_check() { + pushd build + if [[ ! -f /etc/os-release ]]; then + echo 'NAME="Linux From Scratch"' > /etc/os-release + fi + ninja test + popd +} + +src_install() { + pushd build + DESTDIR=$pkgdir ninja install + install -d -v -m755 ${pkgdir}/usr/share/man + tar -xf ${distdir}/${sources[1]} \ + --no-same-owner --strip-components=1 \ + -C ${pkgdir}/usr/share/man + popd +} + +src_postinstall() { + if [[ ! -f /etc/machine-id ]]; then + systemd-machine-id-setup + systemctl preset-all + fi +} + From 8e24565f2c7dea3c73a18668bc780ba5197a85aa Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 05:52:05 -0500 Subject: [PATCH 140/146] update to 12.4-systemd: dbus-1.16.2 --- lfs/dbus-1.16.2.PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lfs/dbus-1.16.2.PKGBUILD diff --git a/lfs/dbus-1.16.2.PKGBUILD b/lfs/dbus-1.16.2.PKGBUILD new file mode 100644 index 0000000..4bc9508 --- /dev/null +++ b/lfs/dbus-1.16.2.PKGBUILD @@ -0,0 +1,34 @@ +pkgname="dbus" +pkgver="1.16.2" +pkgdesc="Freedesktop.org message bus system" +homepage="https://www.freedesktop.org/wiki/Software/dbus" +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://dbus.freedesktop.org/releases/${pkgname}/${sources[0]}") +md5sums=("97832e6f0a260936d28536e5349c22e5") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + mkdir build + cd build + + meson setup --prefix=/usr --buildtype=release --wrap-mode=nofallback .. + ninja + cd .. +} + +src_check() { + pushd build + ninja test + popd +} + +src_install() { + pushd build + DESTDIR=$pkgdir ninja install + install -d -v -m755 ${pkgdir}/var/lib/dbus + ln -sfv ../../../etc/machine-id ${pkgdir}/var/lib/dbus + popd +} From 128c0f7d12b36f5a01c0269286a9e39cb26f18c2 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 06:04:28 -0500 Subject: [PATCH 141/146] update to 12.4-systemd: man-db-2.13.1 --- lfs/man-db-2.13.1.PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lfs/man-db-2.13.1.PKGBUILD diff --git a/lfs/man-db-2.13.1.PKGBUILD b/lfs/man-db-2.13.1.PKGBUILD new file mode 100644 index 0000000..e22eab5 --- /dev/null +++ b/lfs/man-db-2.13.1.PKGBUILD @@ -0,0 +1,33 @@ +pkgname="man-db" +pkgver="2.13.1" +pkgdesc="A utility for reading man pages" +arch=("x86_64") +homepage="https://www.nongnu.org/man-db/" +lisence=('GPL-2.0-or-later AND GPL-3.0-or-later') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://download.savannah.gnu.org/releases/${pkgname}/${sources[0]}") +md5sums=("b6335533cbeac3b24cd7be31fdee8c83") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr \ + --docdir=/usr/share/doc/man-db-${pkgver} \ + --sysconfdir=/etc \ + --disable-setuid \ + --enable-cache-owner=bin \ + --with-browser=/usr/bin/lynx \ + --with-vgrind=/usr/bin/vgrind \ + --with-grap=/usr/bin/grap + make +} + +src_check() { + make check +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From 7be79568245055ffcbdb8ae4388b572af0cb2021 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 06:16:10 -0500 Subject: [PATCH 142/146] update to 12.4-systemd: procps-ng-4.0.5 --- lfs/procps-ng-4.0.5.PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 lfs/procps-ng-4.0.5.PKGBUILD diff --git a/lfs/procps-ng-4.0.5.PKGBUILD b/lfs/procps-ng-4.0.5.PKGBUILD new file mode 100644 index 0000000..192e2c8 --- /dev/null +++ b/lfs/procps-ng-4.0.5.PKGBUILD @@ -0,0 +1,36 @@ +pkgname=procps-ng +pkgver=4.0.5 +pkgdesc='Utilities for monitoring your system and its processes' +url='https://gitlab.com/procps-ng/procps' +license=(GPL LGPL) +arch=(x86_64) +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://sourceforge.net/projects/procps-ng/files/Production/${sources[0]}") +md5sums=("90803e64f51f192f3325d25c3335d057") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --prefix=/usr \ + --libdir=/usr/lib \ + --docdir=/usr/share/doc/procps-ng-${pkgver} \ + --disable-static \ + --disable-kill \ + --enable-watch8bit \ + --with-systemd + make +} + +src_check() { + chown -R leaf . + leaf_record_message "ps with output flag bsdtime,cputime,etime,etimes is known to fail without CONFIG_BSD_PROCESS_ACCT." + leaf_record_message "one pgrep test is known to fail in chroot." + su leaf -c "PATH=$PATH make check" +} + +src_install() { + make DESTDIR="${pkgdir}" install +} + From 0fbf00b5a47bc10a0ed3128bdffa71728b715aac Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 06:30:16 -0500 Subject: [PATCH 143/146] update to 12.4-systemd: util-linux-2.41.1 --- lfs/util-linux-2.41.1.PKGBUILD | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 lfs/util-linux-2.41.1.PKGBUILD diff --git a/lfs/util-linux-2.41.1.PKGBUILD b/lfs/util-linux-2.41.1.PKGBUILD new file mode 100644 index 0000000..0e0c2ad --- /dev/null +++ b/lfs/util-linux-2.41.1.PKGBUILD @@ -0,0 +1,46 @@ +pkgname=util-linux +pkgver=2.41.1 +pkgdesc='Miscellaneous system utilities for Linux' +url='https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/' +arch=('x86_64') +sources=("${pkgname}-${pkgver}.tar.xz") +urls=("https://www.kernel.org/pub/linux/utils/${pkgname}/v${pkgver}/$sources[0]") +md5sums=("7e5e68845e2f347cf96f5448165f1764") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + ./configure --bindir=/usr/bin \ + --libdir=/usr/lib \ + --runstatedir=/run \ + --sbindir=/usr/sbin \ + --disable-chfn-chsh \ + --disable-login \ + --disable-nologin \ + --disable-su \ + --disable-setpriv \ + --disable-runuser \ + --disable-pylibmount \ + --disable-liblastlog2 \ + --disable-static \ + --without-python \ + ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --docdir=/usr/share/doc/util-linux-${pkgver} + make +} + +src_check() { + leaf_record_message "lsfd: inotify is known to fail without CONFIG_NETLINK_DIAG." + leaf_record_message "kill: decode functions is knwon to fail with >=bash-5.3-rc1." + if [[ ! -f /etc/fstab ]]; then + touch /etc/fstab + fi + chown -R leaf . + su leaf -c "make -k check" +} + +src_install() { + make DESTDIR="${pkgdir}" install +} From d084fbe39bed005df88267f22282dc6a32686258 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 06:34:24 -0500 Subject: [PATCH 144/146] update: remove kill/decode in util-linux test --- lfs/util-linux-2.41.1.PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/util-linux-2.41.1.PKGBUILD b/lfs/util-linux-2.41.1.PKGBUILD index 0e0c2ad..6d9f5b4 100644 --- a/lfs/util-linux-2.41.1.PKGBUILD +++ b/lfs/util-linux-2.41.1.PKGBUILD @@ -9,6 +9,7 @@ md5sums=("7e5e68845e2f347cf96f5448165f1764") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 + rm tests/ts/kill/decode } src_build() { From e49780e763c12f2a368071f6087926ff767a1d68 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 06:47:09 -0500 Subject: [PATCH 145/146] update to 12.4-systemd: e2fsprogs-1.47.3 --- lfs/e2fsprogs-1.47.3.PKGBUILD | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 lfs/e2fsprogs-1.47.3.PKGBUILD diff --git a/lfs/e2fsprogs-1.47.3.PKGBUILD b/lfs/e2fsprogs-1.47.3.PKGBUILD new file mode 100644 index 0000000..6bce4d5 --- /dev/null +++ b/lfs/e2fsprogs-1.47.3.PKGBUILD @@ -0,0 +1,40 @@ +pkgname=e2fsprogs +pkgver=1.47.3 +pkgdesc='Ext2/3/4 filesystem utilities' +arch=('x86_64') +license=('GPL' 'LGPL' 'MIT') +homepage="https://e2fsprogs.sourceforge.net/" +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/v${pkgver}/${sources[0]}") +md5sums=("113d7a7ee0710d2a670a44692a35fd2e") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + mkdir -v build + cd build + + ../configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ + --disable-fsck + make +} + +src_check() { + leaf_record_message "m_assume_storage_prezeroed is known to fail." + leaf_record_message "m_rootdir_acl is known to fail on non-ext4 FS." + make check +} + + +src_install() { + make DESTDIR="${pkgdir}" install + rm -fv ${pkgdir}/usr/lib/{libcom_err,libe2p,libext2fs,libss}.a +} + From ca99a3a6bd690aeeaacbdcf044af3f12ecbdd9bc Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Mon, 22 Dec 2025 07:14:31 -0500 Subject: [PATCH 146/146] fix: url -> homepage --- lfs/attr-2.5.2.PKGBUILD | 3 +-- lfs/automake-1.18.1.PKGBUILD | 2 +- lfs/bash-5.3.PKGBUILD | 2 +- lfs/bison-3.8.2.PKGBUILD | 2 +- lfs/flex-2.6.4.PKGBUILD | 2 +- lfs/patch-2.8.PKGBUILD | 2 +- lfs/procps-ng-4.0.5.PKGBUILD | 2 +- lfs/util-linux-2.41.1.PKGBUILD | 2 +- lfs/zstd-1.5.7.PKGBUILD | 2 +- 9 files changed, 9 insertions(+), 10 deletions(-) diff --git a/lfs/attr-2.5.2.PKGBUILD b/lfs/attr-2.5.2.PKGBUILD index d656c6a..489f83d 100644 --- a/lfs/attr-2.5.2.PKGBUILD +++ b/lfs/attr-2.5.2.PKGBUILD @@ -1,9 +1,8 @@ pkgname=attr pkgver=2.5.2 -pkgrel=1 pkgdesc='Extended attribute support library for ACL support' arch=('x86_64') -url='https://savannah.nongnu.org/projects/attr' +homepage='https://savannah.nongnu.org/projects/attr' license=('LGPL') depends=('glibc') makedepends=('gettext') diff --git a/lfs/automake-1.18.1.PKGBUILD b/lfs/automake-1.18.1.PKGBUILD index c82bd54..b1a3a82 100644 --- a/lfs/automake-1.18.1.PKGBUILD +++ b/lfs/automake-1.18.1.PKGBUILD @@ -2,7 +2,7 @@ pkgname=automake pkgver=1.18.1 pkgdesc="A GNU tool for automatically creating Makefiles" license=('GPL') -url="https://www.gnu.org/software/automake" +homepage="https://www.gnu.org/software/automake" sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("cea31dbf1120f890cbf2a3032cfb9a68") diff --git a/lfs/bash-5.3.PKGBUILD b/lfs/bash-5.3.PKGBUILD index 4476102..3c911c0 100644 --- a/lfs/bash-5.3.PKGBUILD +++ b/lfs/bash-5.3.PKGBUILD @@ -8,7 +8,7 @@ else fi pkgdesc='The GNU Bourne Again shell' license=('GPL-3.0-or-later') -url='https://www.gnu.org/software/bash' +homepage='https://www.gnu.org/software/bash' sources=("${pkgname}-${pkgver}.tar.gz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("977c8c0c5ae6309191e7768e28ebc951") diff --git a/lfs/bison-3.8.2.PKGBUILD b/lfs/bison-3.8.2.PKGBUILD index 9c2e9d0..0e8f2fc 100644 --- a/lfs/bison-3.8.2.PKGBUILD +++ b/lfs/bison-3.8.2.PKGBUILD @@ -2,7 +2,7 @@ pkgname=bison pkgver=3.8.2 pkgdesc="The GNU general-purpose parser generator" license=('GPL-3.0-or-later') -url="https://www.gnu.org/software/bison/bison.html" +homepage="https://www.gnu.org/software/bison/bison.html" sources=("${pkgname}-${pkgver}.tar.xz" "bison-3.8.2-gcc15-glibcxx-assertions.patch") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}" diff --git a/lfs/flex-2.6.4.PKGBUILD b/lfs/flex-2.6.4.PKGBUILD index 26ab737..9e054b7 100644 --- a/lfs/flex-2.6.4.PKGBUILD +++ b/lfs/flex-2.6.4.PKGBUILD @@ -1,7 +1,7 @@ pkgname=flex pkgver=2.6.4 pkgdesc="A tool for generating text-scanning programs" -url="https://github.com/westes/flex" +homepage="https://github.com/westes/flex" license=('custom') sources=("${pkgname}-${pkgver}.tar.gz") urls=( diff --git a/lfs/patch-2.8.PKGBUILD b/lfs/patch-2.8.PKGBUILD index 00950e6..a3e711d 100644 --- a/lfs/patch-2.8.PKGBUILD +++ b/lfs/patch-2.8.PKGBUILD @@ -2,7 +2,7 @@ pkgname=patch pkgver=2.8 pkgdesc='A utility to apply patch files to original sources' arch=('x86_64') -url='https://www.gnu.org/software/patch/' +homepage='https://www.gnu.org/software/patch/' license=('GPL') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") diff --git a/lfs/procps-ng-4.0.5.PKGBUILD b/lfs/procps-ng-4.0.5.PKGBUILD index 192e2c8..31b7d85 100644 --- a/lfs/procps-ng-4.0.5.PKGBUILD +++ b/lfs/procps-ng-4.0.5.PKGBUILD @@ -1,7 +1,7 @@ pkgname=procps-ng pkgver=4.0.5 pkgdesc='Utilities for monitoring your system and its processes' -url='https://gitlab.com/procps-ng/procps' +homepage='https://gitlab.com/procps-ng/procps' license=(GPL LGPL) arch=(x86_64) sources=("${pkgname}-${pkgver}.tar.xz") diff --git a/lfs/util-linux-2.41.1.PKGBUILD b/lfs/util-linux-2.41.1.PKGBUILD index 6d9f5b4..e6aeb35 100644 --- a/lfs/util-linux-2.41.1.PKGBUILD +++ b/lfs/util-linux-2.41.1.PKGBUILD @@ -1,7 +1,7 @@ pkgname=util-linux pkgver=2.41.1 pkgdesc='Miscellaneous system utilities for Linux' -url='https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/' +homepage='https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/' arch=('x86_64') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://www.kernel.org/pub/linux/utils/${pkgname}/v${pkgver}/$sources[0]") diff --git a/lfs/zstd-1.5.7.PKGBUILD b/lfs/zstd-1.5.7.PKGBUILD index d6c9865..db69810 100644 --- a/lfs/zstd-1.5.7.PKGBUILD +++ b/lfs/zstd-1.5.7.PKGBUILD @@ -1,7 +1,7 @@ pkgname=zstd pkgver=1.5.7 pkgdesc='Zstandard - Fast real-time compression algorithm' -url='https://facebook.github.io/zstd/' +homepage='https://facebook.github.io/zstd/' license=( BSD-3-Clause GPL-2.0-only