From e46f384f6c37e48aa26cf1c35082c9681eff918a Mon Sep 17 00:00:00 2001 From: ngn Date: Sat, 20 Jul 2024 22:52:09 +0300 Subject: [PATCH] new: more package migrations --- src/acl/.gitignore | 3 +++ src/acl/changes.md | 2 ++ src/acl/pkg.sh | 24 +++++++++++++++++++++++ src/attr/.gitignore | 3 +++ src/attr/changes.md | 2 ++ src/attr/pkg.sh | 25 ++++++++++++++++++++++++ src/autoconf/.gitignore | 3 +++ src/autoconf/changes.md | 2 ++ src/autoconf/pkg.sh | 22 +++++++++++++++++++++ src/automake/.gitignore | 3 +++ src/automake/changes.md | 2 ++ src/automake/pkg.sh | 22 +++++++++++++++++++++ src/bc/.gitignore | 3 +++ src/bc/changes.md | 2 ++ src/bc/pkg.sh | 23 ++++++++++++++++++++++ src/binutils/.gitignore | 3 +++ src/binutils/changes.md | 2 ++ src/binutils/pkg.sh | 36 ++++++++++++++++++++++++++++++++++ src/bison/.gitignore | 3 +++ src/bison/changes.md | 2 ++ src/bison/pkg.sh | 22 +++++++++++++++++++++ src/check/.gitignore | 3 +++ src/check/changes.md | 2 ++ src/check/pkg.sh | 22 +++++++++++++++++++++ src/coreutils/.gitignore | 3 +++ src/coreutils/changes.md | 2 ++ src/coreutils/pkg.sh | 37 +++++++++++++++++++++++++++++++++++ src/dejagnu/.gitignore | 3 +++ src/dejagnu/changes.md | 2 ++ src/dejagnu/pkg.sh | 30 ++++++++++++++++++++++++++++ src/dhcpcd/.gitignore | 3 +++ src/dhcpcd/changes.md | 2 ++ src/dhcpcd/pkg.sh | 41 +++++++++++++++++++++++++++++++++++++++ src/diffutils/.gitignore | 3 +++ src/diffutils/changes.md | 2 ++ src/diffutils/pkg.sh | 22 +++++++++++++++++++++ src/dosfstools/.gitignore | 3 +++ src/dosfstools/changes.md | 2 ++ src/dosfstools/pkg.sh | 25 ++++++++++++++++++++++++ src/e2fsprogs/.gitignore | 3 +++ src/e2fsprogs/changes.md | 2 ++ src/e2fsprogs/pkg.sh | 35 +++++++++++++++++++++++++++++++++ src/efibootmgr/.gitignore | 3 +++ src/efibootmgr/changes.md | 2 ++ src/efibootmgr/pkg.sh | 22 +++++++++++++++++++++ src/efivar/.gitignore | 3 +++ src/efivar/changes.md | 2 ++ src/efivar/pkg.sh | 21 ++++++++++++++++++++ src/expat/.gitignore | 3 +++ src/expat/changes.md | 2 ++ src/expat/pkg.sh | 26 +++++++++++++++++++++++++ src/expect/.gitignore | 3 +++ src/expect/changes.md | 2 ++ src/expect/pkg.sh | 27 ++++++++++++++++++++++++++ src/file/.gitignore | 3 +++ src/file/changes.md | 2 ++ src/file/pkg.sh | 31 +++++++++++++++++++++++++++++ src/findutils/.gitignore | 3 +++ src/findutils/changes.md | 2 ++ src/findutils/pkg.sh | 23 ++++++++++++++++++++++ src/flex/.gitignore | 3 +++ src/flex/changes.md | 2 ++ src/flex/pkg.sh | 29 +++++++++++++++++++++++++++ src/flit-core/.gitignore | 3 +++ src/flit-core/changes.md | 2 ++ src/flit-core/pkg.sh | 22 +++++++++++++++++++++ src/libseccomp/.gitignore | 3 +++ src/libseccomp/changes.md | 2 ++ src/libseccomp/pkg.sh | 25 ++++++++++++++++++++++++ 69 files changed, 727 insertions(+) create mode 100644 src/acl/.gitignore create mode 100644 src/acl/changes.md create mode 100644 src/acl/pkg.sh create mode 100644 src/attr/.gitignore create mode 100644 src/attr/changes.md create mode 100644 src/attr/pkg.sh create mode 100644 src/autoconf/.gitignore create mode 100644 src/autoconf/changes.md create mode 100644 src/autoconf/pkg.sh create mode 100644 src/automake/.gitignore create mode 100644 src/automake/changes.md create mode 100644 src/automake/pkg.sh create mode 100644 src/bc/.gitignore create mode 100644 src/bc/changes.md create mode 100644 src/bc/pkg.sh create mode 100644 src/binutils/.gitignore create mode 100644 src/binutils/changes.md create mode 100644 src/binutils/pkg.sh create mode 100644 src/bison/.gitignore create mode 100644 src/bison/changes.md create mode 100644 src/bison/pkg.sh create mode 100644 src/check/.gitignore create mode 100644 src/check/changes.md create mode 100644 src/check/pkg.sh create mode 100644 src/coreutils/.gitignore create mode 100644 src/coreutils/changes.md create mode 100644 src/coreutils/pkg.sh create mode 100644 src/dejagnu/.gitignore create mode 100644 src/dejagnu/changes.md create mode 100644 src/dejagnu/pkg.sh create mode 100644 src/dhcpcd/.gitignore create mode 100644 src/dhcpcd/changes.md create mode 100644 src/dhcpcd/pkg.sh create mode 100644 src/diffutils/.gitignore create mode 100644 src/diffutils/changes.md create mode 100644 src/diffutils/pkg.sh create mode 100644 src/dosfstools/.gitignore create mode 100644 src/dosfstools/changes.md create mode 100644 src/dosfstools/pkg.sh create mode 100644 src/e2fsprogs/.gitignore create mode 100644 src/e2fsprogs/changes.md create mode 100644 src/e2fsprogs/pkg.sh create mode 100644 src/efibootmgr/.gitignore create mode 100644 src/efibootmgr/changes.md create mode 100644 src/efibootmgr/pkg.sh create mode 100644 src/efivar/.gitignore create mode 100644 src/efivar/changes.md create mode 100644 src/efivar/pkg.sh create mode 100644 src/expat/.gitignore create mode 100644 src/expat/changes.md create mode 100644 src/expat/pkg.sh create mode 100644 src/expect/.gitignore create mode 100644 src/expect/changes.md create mode 100644 src/expect/pkg.sh create mode 100644 src/file/.gitignore create mode 100644 src/file/changes.md create mode 100644 src/file/pkg.sh create mode 100644 src/findutils/.gitignore create mode 100644 src/findutils/changes.md create mode 100644 src/findutils/pkg.sh create mode 100644 src/flex/.gitignore create mode 100644 src/flex/changes.md create mode 100644 src/flex/pkg.sh create mode 100644 src/flit-core/.gitignore create mode 100644 src/flit-core/changes.md create mode 100644 src/flit-core/pkg.sh create mode 100644 src/libseccomp/.gitignore create mode 100644 src/libseccomp/changes.md create mode 100644 src/libseccomp/pkg.sh diff --git a/src/acl/.gitignore b/src/acl/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/acl/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/acl/changes.md b/src/acl/changes.md new file mode 100644 index 0000000..f7e255d --- /dev/null +++ b/src/acl/changes.md @@ -0,0 +1,2 @@ +# 2.3.2 +First version diff --git a/src/acl/pkg.sh b/src/acl/pkg.sh new file mode 100644 index 0000000..c4bc97c --- /dev/null +++ b/src/acl/pkg.sh @@ -0,0 +1,24 @@ +# general info +NAME="acl" +DESC="Commands for manipulating POSIX Access Control Lists" +VERSION="2.3.2" + +# required files +FILES=("https://download.savannah.gnu.org/releases/acl/acl-${VERSION}.tar.xz") +HASHES=("590765dee95907dbc3c856f7255bd669") + +# install and build depends +DEPENDS=("glibc") +BUILD=("attr") + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --disable-static \ + --docdir="/usr/share/doc/acl-${VERSION}" + make && make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/attr/.gitignore b/src/attr/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/attr/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/attr/changes.md b/src/attr/changes.md new file mode 100644 index 0000000..6f9625a --- /dev/null +++ b/src/attr/changes.md @@ -0,0 +1,2 @@ +# 2.5.2 +First version diff --git a/src/attr/pkg.sh b/src/attr/pkg.sh new file mode 100644 index 0000000..93df061 --- /dev/null +++ b/src/attr/pkg.sh @@ -0,0 +1,25 @@ +# general info +NAME="attr" +DESC="Commands for manipulating filesystem extended attributes" +VERSION="2.5.2" + +# required files +FILES=("https://download.savannah.gnu.org/releases/attr/attr-${VERSION}.tar.gz") +HASHES=("227043ec2f6ca03c0948df5517f9c927") + +# install and build depends +DEPENDS=("glibc") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --disable-static \ + --sysconfdir=/etc \ + --docdir="/usr/share/doc/attr-${VERSION}" + make && make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/autoconf/.gitignore b/src/autoconf/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/autoconf/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/autoconf/changes.md b/src/autoconf/changes.md new file mode 100644 index 0000000..01bbacf --- /dev/null +++ b/src/autoconf/changes.md @@ -0,0 +1,2 @@ +# 2.72 +First version diff --git a/src/autoconf/pkg.sh b/src/autoconf/pkg.sh new file mode 100644 index 0000000..0b80948 --- /dev/null +++ b/src/autoconf/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="autoconf" +DESC="Extensible package of M4 macros that produce shell scripts to automatically configure software source code packages" +VERSION="2.72" + +# required files +FILES=("https://ftp.gnu.org/gnu/autoconf/autoconf-${VERSION}.tar.xz") +HASHES=("1be79f7106ab6767f18391c5e22be701") + +# install and build depends +DEPENDS=("gawk" "diffutils" "m4" "perl" "bash") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make && make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/automake/.gitignore b/src/automake/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/automake/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/automake/changes.md b/src/automake/changes.md new file mode 100644 index 0000000..17165de --- /dev/null +++ b/src/automake/changes.md @@ -0,0 +1,2 @@ +# 1.16.5 +First version diff --git a/src/automake/pkg.sh b/src/automake/pkg.sh new file mode 100644 index 0000000..5450754 --- /dev/null +++ b/src/automake/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="automake" +DESC="Tool for automatically generating Makefile.in files compliant with the GNU Coding Standards" +VERSION="1.16.5" + +# required files +FILES=("https://ftp.gnu.org/gnu/automake/automake-${VERSION}.tar.xz") +HASHES=("4017e96f89fca45ca946f1c5db6be714") + +# install and build depends +DEPENDS=("bash" "perl") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr --docdir="/usr/share/doc/automake-${VERSION}" + make && make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/bc/.gitignore b/src/bc/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/bc/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/bc/changes.md b/src/bc/changes.md new file mode 100644 index 0000000..ba63de5 --- /dev/null +++ b/src/bc/changes.md @@ -0,0 +1,2 @@ +# 6.7.5 +First version diff --git a/src/bc/pkg.sh b/src/bc/pkg.sh new file mode 100644 index 0000000..5fa5916 --- /dev/null +++ b/src/bc/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="bc" +DESC="Arbitrary precision numeric processing language" +VERSION="6.7.5" + +# required files +FILES=("https://github.com/gavinhoward/bc/releases/download/${VERSION}/bc-${VERSION}.tar.xz") +HASHES=("e249b1f86f886d6fb71c15f72b65dd3d") + +# install and build depends +DEPENDS=("readline") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + CC=gcc ./configure --prefix=/usr -G -O3 -r + make && make test + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/binutils/.gitignore b/src/binutils/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/binutils/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/binutils/changes.md b/src/binutils/changes.md new file mode 100644 index 0000000..f6c2479 --- /dev/null +++ b/src/binutils/changes.md @@ -0,0 +1,2 @@ +# 2.42 +First version diff --git a/src/binutils/pkg.sh b/src/binutils/pkg.sh new file mode 100644 index 0000000..ceb2d96 --- /dev/null +++ b/src/binutils/pkg.sh @@ -0,0 +1,36 @@ +# general info +NAME="binutils" +DESC="Collection of binary tools" +VERSION="2.42" + +# required files +FILES=("https://sourceware.org/pub/binutils/releases/binutils-${VERSION}.tar.xz") +HASHES=("a075178a9646551379bfb64040487715") + +# install and build depends +DEPENDS=("glibc" "jansson" "libelf" "zlib" "zstd") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + mkdir -v build + cd build + + ../configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-gold \ + --enable-ld=default \ + --enable-plugins \ + --enable-shared \ + --disable-werror \ + --enable-64-bit-bfd \ + --with-system-zlib \ + --enable-default-hash-style=gnu + + make tooldir=/usr && make DESTDIR="${ROOTDIR}" tooldir=/usr install + rm -fv "${ROOTDIR}/usr/lib/lib"{bfd,ctf,ctf-nobfd,gprofng,opcodes,sframe}.a + + cd ../.. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/bison/.gitignore b/src/bison/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/bison/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/bison/changes.md b/src/bison/changes.md new file mode 100644 index 0000000..0ae68a9 --- /dev/null +++ b/src/bison/changes.md @@ -0,0 +1,2 @@ +# 3.8.2 +First version diff --git a/src/bison/pkg.sh b/src/bison/pkg.sh new file mode 100644 index 0000000..86dd400 --- /dev/null +++ b/src/bison/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="bison" +DESC="General-purpose parser generator" +VERSION="3.8.2" + +# required files +FILES=("https://ftp.gnu.org/gnu/bison/bison-${VERSION}.tar.xz") +HASHES=("c28f119f405a2304ff0a7ccdcc629713") + +# install and build depends +DEPENDS=("gettext" "glibc" "m4" "bash") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr --docdir="/usr/share/doc/bison-${VERSION}" + make && make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/check/.gitignore b/src/check/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/check/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/check/changes.md b/src/check/changes.md new file mode 100644 index 0000000..f110bdf --- /dev/null +++ b/src/check/changes.md @@ -0,0 +1,2 @@ +# 0.15.2 +First version diff --git a/src/check/pkg.sh b/src/check/pkg.sh new file mode 100644 index 0000000..7153cd8 --- /dev/null +++ b/src/check/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="check" +DESC="Unit testing framework for C" +VERSION="0.15.2" + +# required files +FILES=("https://github.com/libcheck/check/releases/download/${VERSION}/check-${VERSION}.tar.gz") +HASHES=("50fcafcecde5a380415b12e9c574e0b2") + +# install and build depends +DEPENDS=("gawk") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr --disable-static + make && make DESTDIR="${ROOTDIR}" docdir="/usr/share/doc/check-${VERSION}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/coreutils/.gitignore b/src/coreutils/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/coreutils/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/coreutils/changes.md b/src/coreutils/changes.md new file mode 100644 index 0000000..2f919e4 --- /dev/null +++ b/src/coreutils/changes.md @@ -0,0 +1,2 @@ +# 9.4 +First version diff --git a/src/coreutils/pkg.sh b/src/coreutils/pkg.sh new file mode 100644 index 0000000..66994b8 --- /dev/null +++ b/src/coreutils/pkg.sh @@ -0,0 +1,37 @@ +# general info +NAME="coreutils" +DESC="GNU core utilities" +VERSION="9.4" + +# required files +FILES=("https://ftp.gnu.org/gnu/coreutils/coreutils-${VERSION}.tar.xz") +HASHES=("459e9546074db2834eefe5421f250025") + +# install and build depends +DEPENDS=("acl" "attr" "glibc" "gmp" "libcap" "openssl") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + patch -Np1 -i "../coreutils-${VERSION}-i18n-1.patch" + sed -e '/n_out += n_hold/,+4 s|.*bufsize.*|//&|' \ + -i src/split.c + + autoreconf -fiv + FORCE_UNSAFE_CONFIGURE=1 ./configure \ + --prefix=/usr \ + --enable-no-install-program=kill,uptime + + make && make DESTDIR="${ROOTDIR}" install + + mkdir -pv "${ROOTDIR}/usr/sbin" + mkdir -pv "${ROOTDIR}/usr/share/man/man8" + + mv -v "${ROOTDIR}/usr/share/man/man1/chroot.1" "${ROOTDIR}/usr/share/man/man8/chroot.8" + mv -v "${ROOTDIR}/usr/bin/chroot" "${ROOTDIR}/usr/sbin" + sed -i 's/"1"/"8"/' "${ROOTDIR}/usr/share/man/man8/chroot.8" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/dejagnu/.gitignore b/src/dejagnu/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/dejagnu/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/dejagnu/changes.md b/src/dejagnu/changes.md new file mode 100644 index 0000000..252eead --- /dev/null +++ b/src/dejagnu/changes.md @@ -0,0 +1,2 @@ +# 1.6.3 +First version diff --git a/src/dejagnu/pkg.sh b/src/dejagnu/pkg.sh new file mode 100644 index 0000000..2fd160d --- /dev/null +++ b/src/dejagnu/pkg.sh @@ -0,0 +1,30 @@ +# general info +NAME="dejagnu" +DESC="Framework for testing other programs" +VERSION="1.6.3" + +# required files +FILES=("https://ftp.gnu.org/gnu/dejagnu/dejagnu-${VERSION}.tar.gz") +HASHES=("68c5208c58236eba447d7d6d1326b821") + +# install and build depends +DEPENDS=("expect" "bash") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + mkdir -v build + cd build + + ../configure --prefix=/usr + makeinfo --html --no-split -o doc/dejagnu.html ../doc/dejagnu.texi + makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi + + make DESTDIR="${ROOTDIR}" install + install -v -dm755 "${ROOTDIR}/usr/share/doc/dejagnu-${VERSION}" + install -v -m644 doc/dejagnu.{html,txt} "${ROOTDIR}/usr/share/doc/dejagnu-${VERSION}" + + cd ../.. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/dhcpcd/.gitignore b/src/dhcpcd/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/dhcpcd/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/dhcpcd/changes.md b/src/dhcpcd/changes.md new file mode 100644 index 0000000..8d53a42 --- /dev/null +++ b/src/dhcpcd/changes.md @@ -0,0 +1,2 @@ +# 10.0.8 +First version diff --git a/src/dhcpcd/pkg.sh b/src/dhcpcd/pkg.sh new file mode 100644 index 0000000..45180bd --- /dev/null +++ b/src/dhcpcd/pkg.sh @@ -0,0 +1,41 @@ +# general info +NAME="dhcpcd" +DESC="DHCP and DHCPv6 client" +VERSION="10.0.8" + +# required files +FILES=("https://github.com/NetworkConfiguration/dhcpcd/releases/download/v${VERSION}/dhcpcd-${VERSION}.tar.xz") +HASHES=("d8dddf9f971a8d9ff828f33d8fa9f6d9a892a4a1429d230e9efb2be97dd0e313") + +# install and build depends +DEPENDS=("glibc" "openssl" "bash" "systemd") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/dhcpcd \ + --dbdir=/var/lib/dhcpcd \ + --runstatedir=/run \ + --privsepuser=dhcpcd + make && make DESTDIR="${ROOTDIR}" install + + mkdir -pv "${ROOTDIR}/usr/lib/systemd/system" + install -Dm644 "${ROOTDIR}/dhcpcd.service" "${ROOTDIR}/usr/lib/systemd/system" + + cd .. && rm -r "${NAME}-${VERSION}" +} + +install() { + install -v -m700 -d /var/lib/dhcpcd + groupadd -g 52 dhcpcd + useradd -c 'dhcpcd PrivSep' \ + -d /var/lib/dhcpcd \ + -g dhcpcd \ + -s /bin/false \ + -u 52 dhcpcd + chown -v dhcpcd:dhcpcd /var/lib/dhcpcd +} diff --git a/src/diffutils/.gitignore b/src/diffutils/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/diffutils/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/diffutils/changes.md b/src/diffutils/changes.md new file mode 100644 index 0000000..cb8af91 --- /dev/null +++ b/src/diffutils/changes.md @@ -0,0 +1,2 @@ +# 3.10 +First version diff --git a/src/diffutils/pkg.sh b/src/diffutils/pkg.sh new file mode 100644 index 0000000..79d5311 --- /dev/null +++ b/src/diffutils/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="diffutils" +DESC="Package of several programs related to finding differences between files" +VERSION="3.10" + +# required files +FILES=("https://ftp.gnu.org/gnu/diffutils/diffutils-${VERSION}.tar.xz") +HASHES=("2745c50f6f4e395e7b7d52f902d075bf") + +# install and build depends +DEPENDS=("glibc" "bash") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make && make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/dosfstools/.gitignore b/src/dosfstools/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/dosfstools/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/dosfstools/changes.md b/src/dosfstools/changes.md new file mode 100644 index 0000000..85639f0 --- /dev/null +++ b/src/dosfstools/changes.md @@ -0,0 +1,2 @@ +# 4.2 +First version diff --git a/src/dosfstools/pkg.sh b/src/dosfstools/pkg.sh new file mode 100644 index 0000000..f6768b5 --- /dev/null +++ b/src/dosfstools/pkg.sh @@ -0,0 +1,25 @@ +# general info +NAME="dosfstools" +DESC="Utilities for use with the FAT family of file systems" +VERSION="4.2" + +# required files +FILES=("https://github.com/dosfstools/dosfstools/releases/download/v${VERSION}/dosfstools-${VERSION}.tar.gz") +HASHES=("49c8e457327dc61efab5b115a27b087a") + +# install and build depends +DEPENDS=("glibc") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --enable-compat-symlinks \ + --mandir=/usr/share/man \ + --docdir="/usr/share/doc/dosfstools-${VERSION}" + make && make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/e2fsprogs/.gitignore b/src/e2fsprogs/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/e2fsprogs/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/e2fsprogs/changes.md b/src/e2fsprogs/changes.md new file mode 100644 index 0000000..05164a5 --- /dev/null +++ b/src/e2fsprogs/changes.md @@ -0,0 +1,2 @@ +# 1.47.0 +First version diff --git a/src/e2fsprogs/pkg.sh b/src/e2fsprogs/pkg.sh new file mode 100644 index 0000000..cdbc80c --- /dev/null +++ b/src/e2fsprogs/pkg.sh @@ -0,0 +1,35 @@ +# general info +NAME="e2fsprogs" +DESC="Utilities for handling the ext file systems" +VERSION="1.47.0" + +# required files +FILES=("https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v${VERSION}/e2fsprogs-${VERSION}.tar.gz") +HASHES=("6b4f18a33873623041857b4963641ee9") + +# install and build depends +DEPENDS=("bash" "util-linux") +BUILD=("systemd") + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + mkdir -v build + cd build + + ../configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ + --disable-fsckmake + + make && make DESTDIR="${ROOTDIR}" install + rm -fv "${ROOTDIR}/usr/lib/"{libcom_err,libe2p,libext2fs,libss}.a + gunzip -v "${ROOTDIR}/usr/share/info/libext2fs.info.gz" + install-info --dir-file="${ROOTDIR}/usr/share/info/dir" "${ROOTDIR}/usr/share/info/libext2fs.info" + + cd ../.. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/efibootmgr/.gitignore b/src/efibootmgr/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/efibootmgr/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/efibootmgr/changes.md b/src/efibootmgr/changes.md new file mode 100644 index 0000000..db29897 --- /dev/null +++ b/src/efibootmgr/changes.md @@ -0,0 +1,2 @@ +# 18 +First version diff --git a/src/efibootmgr/pkg.sh b/src/efibootmgr/pkg.sh new file mode 100644 index 0000000..bc614af --- /dev/null +++ b/src/efibootmgr/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="efibootmgr" +DESC="Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager" +VERSION="18" + +# required files +FILES=("https://github.com/rhboot/efibootmgr/archive/18/efibootmgr-${VERSION}.tar.gz") +HASHES=("e170147da25e1d5f72721ffc46fe4e06") + +# install and build depends +DEPENDS=("efivar" "glibc" "popt") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + make EFIDIR=LFS EFI_LOADER=grubx64.efi + make DESTDIR="${ROOTDIR}" install EFIDIR=LFS + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/efivar/.gitignore b/src/efivar/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/efivar/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/efivar/changes.md b/src/efivar/changes.md new file mode 100644 index 0000000..723608e --- /dev/null +++ b/src/efivar/changes.md @@ -0,0 +1,2 @@ +# 39 +First version diff --git a/src/efivar/pkg.sh b/src/efivar/pkg.sh new file mode 100644 index 0000000..016c2d7 --- /dev/null +++ b/src/efivar/pkg.sh @@ -0,0 +1,21 @@ +# general info +NAME="efivar" +DESC="Tools and libraries to work with EFI variables" +VERSION="39" + +# required files +FILES=("https://github.com/rhboot/efivar/archive/${VERSION}/efivar-${VERSION}.tar.gz") +HASHES=("a8fc3e79336cd6e738ab44f9bc96a5aa") + +# install and build depends +DEPENDS=("glibc") +BUILD=("mandoc") + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + make && make DESTDIR="${ROOTDIR}" install LIBDIR=/usr/lib + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/expat/.gitignore b/src/expat/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/expat/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/expat/changes.md b/src/expat/changes.md new file mode 100644 index 0000000..93aa8b0 --- /dev/null +++ b/src/expat/changes.md @@ -0,0 +1,2 @@ +# 2.6.0 +First version diff --git a/src/expat/pkg.sh b/src/expat/pkg.sh new file mode 100644 index 0000000..51154e4 --- /dev/null +++ b/src/expat/pkg.sh @@ -0,0 +1,26 @@ +# general info +NAME="expat" +DESC="Stream-oriented XML parser library written in C" +VERSION="2.6.2" +_RVERSION="$(echo "R_${VERSION}" | sed 's/\./_/g')" + +# required files +FILES=("https://github.com/libexpat/libexpat/releases/download/${_RVERSION}/expat-${VERSION}.tar.bz2") +HASHES=("15811413e92a632272188781cc3f2a9e52ed62f6edfad9b2eeeca0946e53132b6c9ca6dc460eda766d6a4e68e5920128335d705f9556b5aa3f77593658780470") + +# install and build depends +DEPENDS=("glibc") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.bz2" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --disable-static \ + --docdir="/usr/share/doc/expat-${VERSION}" + make && make DESTDIR="${ROOTDIR}" install + install -v -m644 doc/*.{html,css} "/usr/share/doc/expat-${VERSION}" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/expect/.gitignore b/src/expect/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/expect/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/expect/changes.md b/src/expect/changes.md new file mode 100644 index 0000000..8829daf --- /dev/null +++ b/src/expect/changes.md @@ -0,0 +1,2 @@ +# 5.45.4 +First version diff --git a/src/expect/pkg.sh b/src/expect/pkg.sh new file mode 100644 index 0000000..958b3b1 --- /dev/null +++ b/src/expect/pkg.sh @@ -0,0 +1,27 @@ +# general info +NAME="expect" +DESC="Tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc." +VERSION="5.45.4" + +# required files +FILES=("https://prdownloads.sourceforge.net/expect/expect${VERSION}.tar.gz") +HASHES=("00fce8de158422f5ccd2666512329bd2") + +# install and build depends +DEPENDS=("tcl") +BUILD=() + +build(){ + tar xf "${NAME}${VERSION}.tar.gz" + cd "${NAME}${VERSION}" + + ./configure --prefix=/usr \ + --with-tcl=/usr/lib \ + --enable-shared \ + --mandir=/usr/share/man \ + --with-tclinclude=/usr/include + make && make DESTDIR="${ROOTDIR}" install + ln -svf "expect${VERSION}/libexpect${VERSION}.so" "${ROOTDIR}/usr/lib" + + cd .. && rm -r "${NAME}${VERSION}" +} diff --git a/src/file/.gitignore b/src/file/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/file/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/file/changes.md b/src/file/changes.md new file mode 100644 index 0000000..b74cd10 --- /dev/null +++ b/src/file/changes.md @@ -0,0 +1,2 @@ +# 5.45 +First version diff --git a/src/file/pkg.sh b/src/file/pkg.sh new file mode 100644 index 0000000..b15c13c --- /dev/null +++ b/src/file/pkg.sh @@ -0,0 +1,31 @@ +# general info +NAME="file" +DESC="A file type guesser" +VERSION="5.45" + +# required files +FILES=("https://astron.com/pub/file/file-${VERSION}.tar.gz") +HASHES=("26b2a96d4e3a8938827a1e572afd527a") + +# install and build depends +# DEPENDS=("bzip2" "glibc" "xz" "zlib" "zstd" "libseccomp") +DEPENDS=("bzip2" "glibc" "xz" "zlib" "zstd") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + CFLAGS+=" -pthread" + ./configure \ + --prefix=/usr \ + --datadir=/usr/share/file \ + --enable-fsect-man5 \ + --disable-libseccomp +# --enable-libseccomp + + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/findutils/.gitignore b/src/findutils/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/findutils/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/findutils/changes.md b/src/findutils/changes.md new file mode 100644 index 0000000..0af94dd --- /dev/null +++ b/src/findutils/changes.md @@ -0,0 +1,2 @@ +# 4.9.0 +First version diff --git a/src/findutils/pkg.sh b/src/findutils/pkg.sh new file mode 100644 index 0000000..2b4a293 --- /dev/null +++ b/src/findutils/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="findutils" +DESC="Basic directory searching utilities of the GNU operating system" +VERSION="4.9.0" + +# required files +FILES=("https://ftp.gnu.org/gnu/findutils/findutils-${VERSION}.tar.xz") +HASHES=("4a4a547e888a944b2f3af31d789a1137") + +# install and build depends +DEPENDS=("ncurses") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr --localstatedir=/var/lib/locate + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/flex/.gitignore b/src/flex/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/flex/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/flex/changes.md b/src/flex/changes.md new file mode 100644 index 0000000..ec8bcea --- /dev/null +++ b/src/flex/changes.md @@ -0,0 +1,2 @@ +# 2.6.4 +First version diff --git a/src/flex/pkg.sh b/src/flex/pkg.sh new file mode 100644 index 0000000..c53c2a4 --- /dev/null +++ b/src/flex/pkg.sh @@ -0,0 +1,29 @@ +# general info +NAME="flex" +DESC="The Fast Lexical Analyzer" +VERSION="2.6.4" + +# required files +FILES=("https://github.com/westes/flex/releases/download/v${VERSION}/flex-${VERSION}.tar.gz") +HASHES=("2882e3179748cc9f9c23ec593d6adc8d") + +# install and build depends +DEPENDS=() +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --docdir="/usr/share/doc/flex-${VERSION}" \ + --disable-static + + make + make DESTDIR="${ROOTDIR}" install + + ln -sv flex "${ROOTDIR}/usr/bin/lex" + ln -sv flex.1 "${ROOTDIR}/usr/share/man/man1/lex.1" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/flit-core/.gitignore b/src/flit-core/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/flit-core/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/flit-core/changes.md b/src/flit-core/changes.md new file mode 100644 index 0000000..73492b3 --- /dev/null +++ b/src/flit-core/changes.md @@ -0,0 +1,2 @@ +# 3.9.0 +First version diff --git a/src/flit-core/pkg.sh b/src/flit-core/pkg.sh new file mode 100644 index 0000000..61433c2 --- /dev/null +++ b/src/flit-core/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="flit-core" +DESC="Distribution-building parts of Flit" +VERSION="3.9.0" + +# required files +FILES=("https://pypi.org/packages/source/f/flit-core/flit_core-${VERSION}.tar.gz") +HASHES=("3bc52f1952b9a78361114147da63c35b") + +# install and build depends +DEPENDS=("glibc" "python3") +BUILD=() + +build(){ + tar xf "flit_core-${VERSION}.tar.gz" + cd "flit_core-${VERSION}" + + python3 -m build --wheel --skip-dependency-check --no-isolation + PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl + + cd .. && rm -r "flit_core-${VERSION}" +} diff --git a/src/libseccomp/.gitignore b/src/libseccomp/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libseccomp/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libseccomp/changes.md b/src/libseccomp/changes.md new file mode 100644 index 0000000..461efeb --- /dev/null +++ b/src/libseccomp/changes.md @@ -0,0 +1,2 @@ +# 2.5.5 +First version diff --git a/src/libseccomp/pkg.sh b/src/libseccomp/pkg.sh new file mode 100644 index 0000000..a305a19 --- /dev/null +++ b/src/libseccomp/pkg.sh @@ -0,0 +1,25 @@ +# general info +NAME="libseccomp" +DESC="An easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism" +VERSION="2.5.5" + +# required files +FILES=("https://github.com/seccomp/libseccomp/releases/download/v${VERSION}/libseccomp-${VERSION}.tar.gz") +HASHES=("c27a5e43cae1e89e6ebfedeea734c9b4") + +# install and build depends +DEPENDS=("gcc-libs" "glibc") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + autoreconf -fiv + ./configure --prefix=/usr + + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +}