diff --git a/src/acl/pkg.sh b/src/acl/pkg.sh index c4bc97c..c3313fb 100644 --- a/src/acl/pkg.sh +++ b/src/acl/pkg.sh @@ -11,7 +11,7 @@ HASHES=("590765dee95907dbc3c856f7255bd669") DEPENDS=("glibc") BUILD=("attr") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/attr/pkg.sh b/src/attr/pkg.sh index 93df061..764d51f 100644 --- a/src/attr/pkg.sh +++ b/src/attr/pkg.sh @@ -11,7 +11,7 @@ HASHES=("227043ec2f6ca03c0948df5517f9c927") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/autoconf/pkg.sh b/src/autoconf/pkg.sh index 0b80948..c8b909e 100644 --- a/src/autoconf/pkg.sh +++ b/src/autoconf/pkg.sh @@ -11,7 +11,7 @@ HASHES=("1be79f7106ab6767f18391c5e22be701") DEPENDS=("gawk" "diffutils" "m4" "perl" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/automake/pkg.sh b/src/automake/pkg.sh index 5450754..a91bf56 100644 --- a/src/automake/pkg.sh +++ b/src/automake/pkg.sh @@ -11,7 +11,7 @@ HASHES=("4017e96f89fca45ca946f1c5db6be714") DEPENDS=("bash" "perl") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/bash/pkg.sh b/src/bash/pkg.sh index 35744d1..11bf054 100644 --- a/src/bash/pkg.sh +++ b/src/bash/pkg.sh @@ -31,7 +31,7 @@ BUILD=() KEEP=("/etc/shells") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/bc/pkg.sh b/src/bc/pkg.sh index 5fa5916..9563fe8 100644 --- a/src/bc/pkg.sh +++ b/src/bc/pkg.sh @@ -11,7 +11,7 @@ HASHES=("e249b1f86f886d6fb71c15f72b65dd3d") DEPENDS=("readline") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/binutils/pkg.sh b/src/binutils/pkg.sh index ceb2d96..a97c276 100644 --- a/src/binutils/pkg.sh +++ b/src/binutils/pkg.sh @@ -11,7 +11,7 @@ HASHES=("a075178a9646551379bfb64040487715") DEPENDS=("glibc" "jansson" "libelf" "zlib" "zstd") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/bison/pkg.sh b/src/bison/pkg.sh index 86dd400..bef4fa6 100644 --- a/src/bison/pkg.sh +++ b/src/bison/pkg.sh @@ -11,7 +11,7 @@ HASHES=("c28f119f405a2304ff0a7ccdcc629713") DEPENDS=("gettext" "glibc" "m4" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/brotli/pkg.sh b/src/brotli/pkg.sh index 1d78f56..efec083 100644 --- a/src/brotli/pkg.sh +++ b/src/brotli/pkg.sh @@ -14,7 +14,7 @@ BUILD=( "pypa-setuptools" "pypa-wheel" ) -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/build-essential/pkg.sh b/src/build-essential/pkg.sh index 0abd0de..2da8b5d 100644 --- a/src/build-essential/pkg.sh +++ b/src/build-essential/pkg.sh @@ -15,7 +15,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ echo This is just a wrapper package, nothing to do install -dm755 "${ROOTDIR}/var/lib/wrapper_packages" touch "${ROOTDIR}/var/lib/wrapper_packages/${NAME}" diff --git a/src/bzip2/pkg.sh b/src/bzip2/pkg.sh index f359542..29fcfc6 100644 --- a/src/bzip2/pkg.sh +++ b/src/bzip2/pkg.sh @@ -17,7 +17,7 @@ HASHES=( DEPENDS=("glibc" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/check/pkg.sh b/src/check/pkg.sh index 7153cd8..0f4a61a 100644 --- a/src/check/pkg.sh +++ b/src/check/pkg.sh @@ -11,7 +11,7 @@ HASHES=("50fcafcecde5a380415b12e9c574e0b2") DEPENDS=("gawk") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/coreutils/pkg.sh b/src/coreutils/pkg.sh index 66994b8..b3e628e 100644 --- a/src/coreutils/pkg.sh +++ b/src/coreutils/pkg.sh @@ -11,7 +11,7 @@ HASHES=("459e9546074db2834eefe5421f250025") DEPENDS=("acl" "attr" "glibc" "gmp" "libcap" "openssl") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/curl/pkg.sh b/src/curl/pkg.sh index 8ad0bdb..991c3e3 100644 --- a/src/curl/pkg.sh +++ b/src/curl/pkg.sh @@ -15,7 +15,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/dbus/pkg.sh b/src/dbus/pkg.sh index 2053d6c..78c600d 100644 --- a/src/dbus/pkg.sh +++ b/src/dbus/pkg.sh @@ -11,7 +11,7 @@ HASHES=("46070a3487817ff690981f8cd2ba9376") DEPENDS=("systemd" "libcap" "expat") BUILD=("python3" "systemd") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/dejagnu/pkg.sh b/src/dejagnu/pkg.sh index 2fd160d..176e8e6 100644 --- a/src/dejagnu/pkg.sh +++ b/src/dejagnu/pkg.sh @@ -11,7 +11,7 @@ HASHES=("68c5208c58236eba447d7d6d1326b821") DEPENDS=("expect" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/dhcpcd/pkg.sh b/src/dhcpcd/pkg.sh index 45180bd..1df9fb3 100644 --- a/src/dhcpcd/pkg.sh +++ b/src/dhcpcd/pkg.sh @@ -11,7 +11,7 @@ HASHES=("d8dddf9f971a8d9ff828f33d8fa9f6d9a892a4a1429d230e9efb2be97dd0e313") DEPENDS=("glibc" "openssl" "bash" "systemd") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/diffutils/pkg.sh b/src/diffutils/pkg.sh index 79d5311..4fb2e58 100644 --- a/src/diffutils/pkg.sh +++ b/src/diffutils/pkg.sh @@ -11,7 +11,7 @@ HASHES=("2745c50f6f4e395e7b7d52f902d075bf") DEPENDS=("glibc" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/dosfstools/pkg.sh b/src/dosfstools/pkg.sh index f6768b5..cca3287 100644 --- a/src/dosfstools/pkg.sh +++ b/src/dosfstools/pkg.sh @@ -11,7 +11,7 @@ HASHES=("49c8e457327dc61efab5b115a27b087a") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/e2fsprogs/pkg.sh b/src/e2fsprogs/pkg.sh index cdbc80c..7e3c150 100644 --- a/src/e2fsprogs/pkg.sh +++ b/src/e2fsprogs/pkg.sh @@ -11,7 +11,7 @@ HASHES=("6b4f18a33873623041857b4963641ee9") DEPENDS=("bash" "util-linux") BUILD=("systemd") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/efibootmgr/pkg.sh b/src/efibootmgr/pkg.sh index bc614af..b467670 100644 --- a/src/efibootmgr/pkg.sh +++ b/src/efibootmgr/pkg.sh @@ -11,7 +11,7 @@ HASHES=("e170147da25e1d5f72721ffc46fe4e06") DEPENDS=("efivar" "glibc" "popt") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/efivar/pkg.sh b/src/efivar/pkg.sh index 016c2d7..106301e 100644 --- a/src/efivar/pkg.sh +++ b/src/efivar/pkg.sh @@ -11,7 +11,7 @@ HASHES=("a8fc3e79336cd6e738ab44f9bc96a5aa") DEPENDS=("glibc") BUILD=("mandoc") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/expat/pkg.sh b/src/expat/pkg.sh index 51154e4..c7c34da 100644 --- a/src/expat/pkg.sh +++ b/src/expat/pkg.sh @@ -12,7 +12,7 @@ HASHES=("15811413e92a632272188781cc3f2a9e52ed62f6edfad9b2eeeca0946e53132b6c9ca6d DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/expect/pkg.sh b/src/expect/pkg.sh index 958b3b1..cb428af 100644 --- a/src/expect/pkg.sh +++ b/src/expect/pkg.sh @@ -11,7 +11,7 @@ HASHES=("00fce8de158422f5ccd2666512329bd2") DEPENDS=("tcl") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}${VERSION}.tar.gz" cd "${NAME}${VERSION}" diff --git a/src/file/pkg.sh b/src/file/pkg.sh index b15c13c..5cd30a3 100644 --- a/src/file/pkg.sh +++ b/src/file/pkg.sh @@ -12,7 +12,7 @@ HASHES=("26b2a96d4e3a8938827a1e572afd527a") DEPENDS=("bzip2" "glibc" "xz" "zlib" "zstd") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/findutils/pkg.sh b/src/findutils/pkg.sh index 2b4a293..8f530db 100644 --- a/src/findutils/pkg.sh +++ b/src/findutils/pkg.sh @@ -11,7 +11,7 @@ HASHES=("4a4a547e888a944b2f3af31d789a1137") DEPENDS=("ncurses") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/flex/pkg.sh b/src/flex/pkg.sh index c53c2a4..b4284a5 100644 --- a/src/flex/pkg.sh +++ b/src/flex/pkg.sh @@ -11,7 +11,7 @@ HASHES=("2882e3179748cc9f9c23ec593d6adc8d") DEPENDS=() BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/gawk/pkg.sh b/src/gawk/pkg.sh index 0d30477..339c88f 100644 --- a/src/gawk/pkg.sh +++ b/src/gawk/pkg.sh @@ -11,7 +11,7 @@ HASHES=("97c5a7d83f91a7e1b2035ebbe6ac7abd") DEPENDS=("glibc" "mpfr" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/gcc-libs/pkg.sh b/src/gcc-libs/pkg.sh index 4c0b7dc..15caa7b 100644 --- a/src/gcc-libs/pkg.sh +++ b/src/gcc-libs/pkg.sh @@ -11,7 +11,7 @@ HASHES=("e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "gcc-${VERSION}.tar.xz" cd "gcc-${VERSION}" diff --git a/src/gcc/pkg.sh b/src/gcc/pkg.sh index a579bb1..c95616b 100644 --- a/src/gcc/pkg.sh +++ b/src/gcc/pkg.sh @@ -11,7 +11,7 @@ HASHES=("e283c654987afe3de9d8080bc0bd79534b5ca0d681a73a11ff2b5d3767426840") DEPENDS=("gcc-libs" "binutils" "mpc" "zstd") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/gdbm/pkg.sh b/src/gdbm/pkg.sh index 974b03f..113838c 100644 --- a/src/gdbm/pkg.sh +++ b/src/gdbm/pkg.sh @@ -11,7 +11,7 @@ HASHES=("8551961e36bf8c70b7500d255d3658ec") DEPENDS=("glibc" "readline" "bash") BUILD=("readline") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/gettext/pkg.sh b/src/gettext/pkg.sh index eedecf7..ee6b29b 100644 --- a/src/gettext/pkg.sh +++ b/src/gettext/pkg.sh @@ -11,7 +11,7 @@ HASHES=("2d8507d003ef3ddd1c172707ffa97ed8") DEPENDS=("acl" "gcc-libs" "libunistring" "libxml2" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/glibc/pkg.sh b/src/glibc/pkg.sh index ec02443..58d7c3f 100644 --- a/src/glibc/pkg.sh +++ b/src/glibc/pkg.sh @@ -23,7 +23,7 @@ HASHES=( DEPENDS=("tzdata") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/gmp/pkg.sh b/src/gmp/pkg.sh index 30a3625..b8334c6 100644 --- a/src/gmp/pkg.sh +++ b/src/gmp/pkg.sh @@ -11,7 +11,7 @@ HASHES=("956dc04e864001a9c22429f761f2c283") DEPENDS=("glibc" "gcc-libs") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/gnupg/pkg.sh b/src/gnupg/pkg.sh index 8229bf4..3abb71c 100644 --- a/src/gnupg/pkg.sh +++ b/src/gnupg/pkg.sh @@ -15,7 +15,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/gnutls/pkg.sh b/src/gnutls/pkg.sh index 0dd70f2..9939de0 100644 --- a/src/gnutls/pkg.sh +++ b/src/gnutls/pkg.sh @@ -11,7 +11,7 @@ HASHES=("269966167fa5bf8bae5f7534bcc3c454") DEPENDS=("nettle" "libunistring" "libtasn1" "p11-kit") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/gperf/pkg.sh b/src/gperf/pkg.sh index a37a269..74f8a07 100644 --- a/src/gperf/pkg.sh +++ b/src/gperf/pkg.sh @@ -11,7 +11,7 @@ HASHES=("9e251c0a618ad0824b51117d5d9db87e") DEPENDS=("gcc-libs" "glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/gpgme/pkg.sh b/src/gpgme/pkg.sh index a94b8e4..6f46e21 100644 --- a/src/gpgme/pkg.sh +++ b/src/gpgme/pkg.sh @@ -14,7 +14,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/grep/pkg.sh b/src/grep/pkg.sh index 87b58ae..984bfe0 100644 --- a/src/grep/pkg.sh +++ b/src/grep/pkg.sh @@ -11,7 +11,7 @@ HASHES=("7c9bbd74492131245f7cdb291fa142c0") DEPENDS=("glibc" "pcre2") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/groff/pkg.sh b/src/groff/pkg.sh index 4372c77..d597d63 100644 --- a/src/groff/pkg.sh +++ b/src/groff/pkg.sh @@ -11,7 +11,7 @@ HASHES=("5e4f40315a22bb8a158748e7d5094c7d") DEPENDS=("gcc-libs" "perl") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/grub-bios/pkg.sh b/src/grub-bios/pkg.sh index 28eea09..0dbebed 100644 --- a/src/grub-bios/pkg.sh +++ b/src/grub-bios/pkg.sh @@ -23,7 +23,7 @@ DEPENDS=( ) BUILD=("python3") -build(){ +PACKAGE(){ mkdir -pv "${ROOTDIR}/usr/share/fonts/unifont" gunzip -c unifont-15.1.04.pcf.gz > "${ROOTDIR}/usr/share/fonts/unifont/unifont.pcf" diff --git a/src/grub-efi/pkg.sh b/src/grub-efi/pkg.sh index cbdfcc9..1bee20a 100644 --- a/src/grub-efi/pkg.sh +++ b/src/grub-efi/pkg.sh @@ -23,7 +23,7 @@ DEPENDS=( ) BUILD=("python3") -build(){ +PACKAGE(){ mkdir -pv "${ROOTDIR}/usr/share/fonts/unifont" gunzip -c unifont-15.1.04.pcf.gz > "${ROOTDIR}/usr/share/fonts/unifont/unifont.pcf" diff --git a/src/gzip/pkg.sh b/src/gzip/pkg.sh index 80c42ff..fe56858 100644 --- a/src/gzip/pkg.sh +++ b/src/gzip/pkg.sh @@ -14,7 +14,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/iana-etc/pkg.sh b/src/iana-etc/pkg.sh index bb8d31f..1d172c2 100644 --- a/src/iana-etc/pkg.sh +++ b/src/iana-etc/pkg.sh @@ -11,7 +11,7 @@ HASHES=("aed66d04de615d76c70890233081e584") DEPENDS=() BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/icu/pkg.sh b/src/icu/pkg.sh index 4c0559d..c291fbc 100644 --- a/src/icu/pkg.sh +++ b/src/icu/pkg.sh @@ -13,7 +13,7 @@ HASHES=("94c0b370f43123ea92b146ebea9c709d") DEPENDS=("gcc-libs" "glibc" "bash") BUILD=("python3") -build(){ +PACKAGE(){ tar xf "${NAME}4c-${_RVERSION}-src.tgz" cd "${NAME}" diff --git a/src/inetutils/pkg.sh b/src/inetutils/pkg.sh index 176bd5f..cff6d3a 100644 --- a/src/inetutils/pkg.sh +++ b/src/inetutils/pkg.sh @@ -14,7 +14,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/intltool/pkg.sh b/src/intltool/pkg.sh index 59f56a8..6bececf 100644 --- a/src/intltool/pkg.sh +++ b/src/intltool/pkg.sh @@ -11,7 +11,7 @@ HASHES=("12e517cac2b57a0121cda351570f1e63") DEPENDS=("xml-parser") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/iproute2/pkg.sh b/src/iproute2/pkg.sh index 6ba4f3e..5199076 100644 --- a/src/iproute2/pkg.sh +++ b/src/iproute2/pkg.sh @@ -11,7 +11,7 @@ HASHES=("35d8277d1469596b7edc07a51470a033") DEPENDS=("glibc" "libcap" "libelf") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/jansson/pkg.sh b/src/jansson/pkg.sh index 3e5b242..ac42542 100644 --- a/src/jansson/pkg.sh +++ b/src/jansson/pkg.sh @@ -11,7 +11,7 @@ HASHES=("3f90473d7d54ebd1cb6a2757396641df") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/kbd/pkg.sh b/src/kbd/pkg.sh index eae22f0..cb570e2 100644 --- a/src/kbd/pkg.sh +++ b/src/kbd/pkg.sh @@ -17,7 +17,7 @@ HASHES=( DEPENDS=("glibc" "linux-pam") BUILD=("check") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/kmod/pkg.sh b/src/kmod/pkg.sh index 9e7715c..1426f26 100644 --- a/src/kmod/pkg.sh +++ b/src/kmod/pkg.sh @@ -15,7 +15,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/less/pkg.sh b/src/less/pkg.sh index ebb73f2..6c710e8 100644 --- a/src/less/pkg.sh +++ b/src/less/pkg.sh @@ -11,7 +11,7 @@ HASHES=("2b5f0167216e3ef0ffcb0c31c374e287eb035e4e223d5dae315c2783b6e738ed") DEPENDS=("glibc" "pcre2" "ncurses") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libarchive/pkg.sh b/src/libarchive/pkg.sh index bccc62c..812095a 100644 --- a/src/libarchive/pkg.sh +++ b/src/libarchive/pkg.sh @@ -15,7 +15,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/libassuan/pkg.sh b/src/libassuan/pkg.sh index f224e4f..2c350e1 100644 --- a/src/libassuan/pkg.sh +++ b/src/libassuan/pkg.sh @@ -11,7 +11,7 @@ HASHES=("6914a02c20053bae0fc4c29c5c40655f1cec711983d57fa85e46df34e90b10e33d31256 DEPENDS=("glibc" "libgpg-error" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/libcap/pkg.sh b/src/libcap/pkg.sh index 8931d8d..c388022 100644 --- a/src/libcap/pkg.sh +++ b/src/libcap/pkg.sh @@ -11,7 +11,7 @@ HASHES=("4e0bf0efeccb654c409afe9727b2b53c1d4da8190d7a0a9848fc52550ff3e13502add3e DEPENDS=("gcc-libs" "glibc" "linux-pam") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/libelf/pkg.sh b/src/libelf/pkg.sh index 6a97524..1d22705 100644 --- a/src/libelf/pkg.sh +++ b/src/libelf/pkg.sh @@ -14,7 +14,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "elfutils-${VERSION}.tar.bz2" cd "elfutils-${VERSION}" diff --git a/src/libffi/pkg.sh b/src/libffi/pkg.sh index be0f988..9e56ba3 100644 --- a/src/libffi/pkg.sh +++ b/src/libffi/pkg.sh @@ -11,7 +11,7 @@ HASHES=("b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libgcrypt/pkg.sh b/src/libgcrypt/pkg.sh index 78fe3e8..fe38169 100644 --- a/src/libgcrypt/pkg.sh +++ b/src/libgcrypt/pkg.sh @@ -11,7 +11,7 @@ HASHES=("09120c9867ce7f2081d6aaa1775386b98c2f2f246135761aae47d81f58685b9c") DEPENDS=("glibc" "libgpg-error") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/libgpg-error/pkg.sh b/src/libgpg-error/pkg.sh index 1161993..d6de9c3 100644 --- a/src/libgpg-error/pkg.sh +++ b/src/libgpg-error/pkg.sh @@ -11,7 +11,7 @@ HASHES=("69405349e0a633e444a28c5b35ce8f14484684518a508dc48a089992fe93e20a") DEPENDS=("glibc" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/libidn2/pkg.sh b/src/libidn2/pkg.sh index 2d0467d..a1426d0 100644 --- a/src/libidn2/pkg.sh +++ b/src/libidn2/pkg.sh @@ -11,7 +11,7 @@ HASHES=("de2818c7dea718a4f264f463f595596b") DEPENDS=("libunistring") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libinih/pkg.sh b/src/libinih/pkg.sh index 64d2897..0d7bc15 100644 --- a/src/libinih/pkg.sh +++ b/src/libinih/pkg.sh @@ -11,7 +11,7 @@ HASHES=("e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7") DEPENDS=("gcc-libs" "glibc") BUILD=("meson" "ninja") -build(){ +PACKAGE(){ tar xf "r${VERSION}.tar.gz" cd "inih-r${VERSION}" diff --git a/src/libksba/pkg.sh b/src/libksba/pkg.sh index 6b81879..22c3230 100644 --- a/src/libksba/pkg.sh +++ b/src/libksba/pkg.sh @@ -11,7 +11,7 @@ HASHES=("cf72510b8ebb4eb6693eef765749d83677a03c79291a311040a5bfd79baab763") DEPENDS=("bash" "glibc" "libgpg-error") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/libndp/pkg.sh b/src/libndp/pkg.sh index 9d6adc5..18a884a 100644 --- a/src/libndp/pkg.sh +++ b/src/libndp/pkg.sh @@ -11,7 +11,7 @@ HASHES=("e564f5914a6b1b799c3afa64c258824a801c1b79a29e2fe6525b682249c65261") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "v${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libpipeline/pkg.sh b/src/libpipeline/pkg.sh index b42aa95..be4ab89 100644 --- a/src/libpipeline/pkg.sh +++ b/src/libpipeline/pkg.sh @@ -11,7 +11,7 @@ HASHES=("1a48b5771b9f6c790fb4efdb1ac71342") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libpsl/pkg.sh b/src/libpsl/pkg.sh index 774d260..9532b77 100644 --- a/src/libpsl/pkg.sh +++ b/src/libpsl/pkg.sh @@ -11,7 +11,7 @@ HASHES=("870a798ee9860b6e77896548428dba7b") DEPENDS=("libidn2" "libunistring") BUILD=("python3" "libxslt") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libseccomp/pkg.sh b/src/libseccomp/pkg.sh index a305a19..9fb553a 100644 --- a/src/libseccomp/pkg.sh +++ b/src/libseccomp/pkg.sh @@ -11,7 +11,7 @@ HASHES=("c27a5e43cae1e89e6ebfedeea734c9b4") DEPENDS=("gcc-libs" "glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libssh2/pkg.sh b/src/libssh2/pkg.sh index fca2ffd..ce166f0 100644 --- a/src/libssh2/pkg.sh +++ b/src/libssh2/pkg.sh @@ -11,7 +11,7 @@ HASHES=("3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461") DEPENDS=("openssl" "zlib") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libtasn1/pkg.sh b/src/libtasn1/pkg.sh index 2178883..c512b13 100644 --- a/src/libtasn1/pkg.sh +++ b/src/libtasn1/pkg.sh @@ -11,7 +11,7 @@ HASHES=("f701ab57eb8e7d9c105b2cd5d809b29a") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/libtirpc/pkg.sh b/src/libtirpc/pkg.sh index eb6bbf0..aa6ea45 100644 --- a/src/libtirpc/pkg.sh +++ b/src/libtirpc/pkg.sh @@ -11,7 +11,7 @@ HASHES=("004e61b5853717324790c46cda5ff227d525909f189194ae72a1ec8f476ca35d7f4c1f0 DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/libtool/pkg.sh b/src/libtool/pkg.sh index ab0eaa6..f8e45dd 100644 --- a/src/libtool/pkg.sh +++ b/src/libtool/pkg.sh @@ -11,7 +11,7 @@ HASHES=("2fc0b6ddcd66a89ed6e45db28fa44232") DEPENDS=() BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/libunistring/pkg.sh b/src/libunistring/pkg.sh index 6d5771c..0e0b128 100644 --- a/src/libunistring/pkg.sh +++ b/src/libunistring/pkg.sh @@ -11,7 +11,7 @@ HASHES=("632bd65ed74a881ca8a0309a1001c428bd1cbd5cd7ddbf8cedcd2e65f4dcdc44") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/libxcrypt/pkg.sh b/src/libxcrypt/pkg.sh index bebe4af..4b0958d 100644 --- a/src/libxcrypt/pkg.sh +++ b/src/libxcrypt/pkg.sh @@ -11,7 +11,7 @@ HASHES=("b84cd4104e08c975063ec6c4d0372446") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/libxml2/pkg.sh b/src/libxml2/pkg.sh index 60f0805..b0201d8 100644 --- a/src/libxml2/pkg.sh +++ b/src/libxml2/pkg.sh @@ -15,7 +15,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/libxslt/pkg.sh b/src/libxslt/pkg.sh index 22d59a9..a9fd93d 100644 --- a/src/libxslt/pkg.sh +++ b/src/libxslt/pkg.sh @@ -14,7 +14,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/linux-pam/pkg.sh b/src/linux-pam/pkg.sh index 08dc655..3bc69db 100644 --- a/src/linux-pam/pkg.sh +++ b/src/linux-pam/pkg.sh @@ -32,7 +32,7 @@ DEPENDS=( ) BUILD=("flex") -build(){ +PACKAGE(){ tar xf "Linux-PAM-${VERSION}.tar.xz" cd "Linux-PAM-${VERSION}" diff --git a/src/linux/pkg.sh b/src/linux/pkg.sh index e08cc12..0d66969 100644 --- a/src/linux/pkg.sh +++ b/src/linux/pkg.sh @@ -17,7 +17,7 @@ HASHES=( DEPENDS=() BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "linux-${VERSION}" diff --git a/src/m4/pkg.sh b/src/m4/pkg.sh index 81a99c0..5dec45a 100644 --- a/src/m4/pkg.sh +++ b/src/m4/pkg.sh @@ -11,7 +11,7 @@ HASHES=("0d90823e1426f1da2fd872df0311298d") DEPENDS=("bash" "glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/make-ca/pkg.sh b/src/make-ca/pkg.sh index f060f6d..e222870 100644 --- a/src/make-ca/pkg.sh +++ b/src/make-ca/pkg.sh @@ -17,7 +17,7 @@ HASHES=( DEPENDS=("p11-kit" "libtasn1") BUILD=() -build(){ +PACKAGE(){ tar xf "v${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/make/pkg.sh b/src/make/pkg.sh index 5f274d5..6f6be32 100644 --- a/src/make/pkg.sh +++ b/src/make/pkg.sh @@ -11,7 +11,7 @@ HASHES=("c8469a3713cbbe04d955d4ae4be23eeb") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/man-db/pkg.sh b/src/man-db/pkg.sh index d388689..c8951e1 100644 --- a/src/man-db/pkg.sh +++ b/src/man-db/pkg.sh @@ -15,7 +15,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/man-pages/pkg.sh b/src/man-pages/pkg.sh index a0792e9..793ab18 100644 --- a/src/man-pages/pkg.sh +++ b/src/man-pages/pkg.sh @@ -17,7 +17,7 @@ HASHES=( DEPENDS=() BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" tar xf "${NAME}-posix-2017-a.tar.xz" diff --git a/src/mandoc/pkg.sh b/src/mandoc/pkg.sh index c6deca1..600c713 100644 --- a/src/mandoc/pkg.sh +++ b/src/mandoc/pkg.sh @@ -11,7 +11,7 @@ HASHES=("f0adf24e8fdef5f3e332191f653e422a") DEPENDS=("zlib" "less") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/meson/pkg.sh b/src/meson/pkg.sh index 53835d7..fd5d80b 100644 --- a/src/meson/pkg.sh +++ b/src/meson/pkg.sh @@ -11,7 +11,7 @@ HASHES=("45d7b8653c1e5139df35b33be2dd5b2d040c5b2c6129f9a7c890d507e33312b8") DEPENDS=("ninja" "python3") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/mpc/pkg.sh b/src/mpc/pkg.sh index 52360ef..19f7ae6 100644 --- a/src/mpc/pkg.sh +++ b/src/mpc/pkg.sh @@ -11,7 +11,7 @@ HASHES=("5c9bc658c9fd0f940e8e3e0f09530c62") DEPENDS=("mpfr") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/mpfr/pkg.sh b/src/mpfr/pkg.sh index 82ff61f..6817a92 100644 --- a/src/mpfr/pkg.sh +++ b/src/mpfr/pkg.sh @@ -11,7 +11,7 @@ HASHES=("277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2") DEPENDS=("glibc" "gmp") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/nano/pkg.sh b/src/nano/pkg.sh index 6e1ba9e..e6ebc94 100644 --- a/src/nano/pkg.sh +++ b/src/nano/pkg.sh @@ -11,7 +11,7 @@ HASHES=("93b3e3e9155ae389fe9ccf9cb7ab380eac29602835ba3077b22f64d0f0cbe8cb") DEPENDS=("ncurses" "file" "glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/ncurses/pkg.sh b/src/ncurses/pkg.sh index 439220e..70543ac 100644 --- a/src/ncurses/pkg.sh +++ b/src/ncurses/pkg.sh @@ -11,7 +11,7 @@ HASHES=("136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6") DEPENDS=("glibc" "gcc-libs") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/nettle/pkg.sh b/src/nettle/pkg.sh index 2ffe94e..be0b551 100644 --- a/src/nettle/pkg.sh +++ b/src/nettle/pkg.sh @@ -11,7 +11,7 @@ HASHES=("b4c518adb174e484cb4acea54118f02380c7133771e7e9beb98a0787194ee47c") DEPENDS=("glibc" "gmp") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/nghttp2/pkg.sh b/src/nghttp2/pkg.sh index 764ccc4..f8bd1c7 100644 --- a/src/nghttp2/pkg.sh +++ b/src/nghttp2/pkg.sh @@ -11,7 +11,7 @@ HASHES=("73c8af772dd2b30cedc114d37291cf1485b0a7ce11833595fc2aec7b3ce3ba5c") DEPENDS=("glibc" "libxml2") BUILD=() -build(){ +PACKAGE(){ tar xf "v${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/ninja/pkg.sh b/src/ninja/pkg.sh index ae3784d..12f32ae 100644 --- a/src/ninja/pkg.sh +++ b/src/ninja/pkg.sh @@ -11,7 +11,7 @@ HASHES=("821bdff48a3f683bc4bb3b6f0b5fe7b2d647cf65d52aeb63328c91a6c6df285a") DEPENDS=("gcc-libs" "python3") BUILD=() -build(){ +PACKAGE(){ tar xf "v${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/npth/pkg.sh b/src/npth/pkg.sh index b2e9b74..79ef711 100644 --- a/src/npth/pkg.sh +++ b/src/npth/pkg.sh @@ -11,7 +11,7 @@ HASHES=("8589f56937b75ce33b28d312fccbf302b3b71ec3f3945fde6aaa74027914ad05") DEPENDS=("bash" "glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/openldap/pkg.sh b/src/openldap/pkg.sh index 4411168..5f08c77 100644 --- a/src/openldap/pkg.sh +++ b/src/openldap/pkg.sh @@ -20,7 +20,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tgz" cd "${NAME}-${VERSION}" diff --git a/src/p11-kit/pkg.sh b/src/p11-kit/pkg.sh index 5bfd9e2..394ab8d 100644 --- a/src/p11-kit/pkg.sh +++ b/src/p11-kit/pkg.sh @@ -21,7 +21,7 @@ DEPENDS=( ) BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/patch/pkg.sh b/src/patch/pkg.sh index 473deeb..a1993a8 100644 --- a/src/patch/pkg.sh +++ b/src/patch/pkg.sh @@ -11,7 +11,7 @@ HASHES=("78ad9937e4caadcba1526ef1853730d5") DEPENDS=("attr" "glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/pcre2/pkg.sh b/src/pcre2/pkg.sh index 560bf15..dbf2901 100644 --- a/src/pcre2/pkg.sh +++ b/src/pcre2/pkg.sh @@ -11,7 +11,7 @@ HASHES=("d34f02e113cf7193a1ebf2770d3ac527088d485d4e047ed10e5d217c6ef5de96") DEPENDS=("glibc" "bzip2" "readline" "zlib" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/perl/pkg.sh b/src/perl/pkg.sh index 6bf7014..6c499e9 100644 --- a/src/perl/pkg.sh +++ b/src/perl/pkg.sh @@ -14,7 +14,7 @@ HASHES=("d3957d75042918a23ec0abac4a2b7e0a") DEPENDS=("gdbm" "glibc" "libxcrypt" "procps") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.xz" cd "${NAME}-${VERSION}" diff --git a/src/pinentry/pkg.sh b/src/pinentry/pkg.sh index 1ffb566..feccb3d 100644 --- a/src/pinentry/pkg.sh +++ b/src/pinentry/pkg.sh @@ -11,7 +11,7 @@ HASHES=("bc72ee27c7239007ab1896c3c2fae53b076e2c9bd2483dc2769a16902bce8c04") DEPENDS=("libassuan" "libgpg-error" "ncurses" "glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.bz2" cd "${NAME}-${VERSION}" diff --git a/src/pkgconf/pkg.sh b/src/pkgconf/pkg.sh index 127b60d..485bb14 100644 --- a/src/pkgconf/pkg.sh +++ b/src/pkgconf/pkg.sh @@ -11,7 +11,7 @@ HASHES=("2c72cbf37b2d42a9fbf7ed8f0e5432a0b0925481f67995a21ecf77962a6000bc") DEPENDS=("glibc" "bash") BUILD=("meson") -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${NAME}-${VERSION}" diff --git a/src/popt/.gitignore b/src/popt/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/popt/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/popt/changes.md b/src/popt/changes.md new file mode 100644 index 0000000..862e394 --- /dev/null +++ b/src/popt/changes.md @@ -0,0 +1,2 @@ +# 1.19 +First version diff --git a/src/popt/pkg.sh b/src/popt/pkg.sh new file mode 100644 index 0000000..9b7a3fa --- /dev/null +++ b/src/popt/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="popt" +DESC="C library for parsing command line parameters" +VERSION="1.19" + +# required files +FILES=("http://ftp.rpm.org/popt/releases/popt-${VERSION%.*}.x/popt-${VERSION}.tar.gz") +HASHES=("eaa2135fddb6eb03f2c87ee1823e5a78") + +# install and build depends +DEPENDS=("glibc") +BUILD=() + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr --disable-static + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/procps-ng/.gitignore b/src/procps-ng/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/procps-ng/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/procps-ng/changes.md b/src/procps-ng/changes.md new file mode 100644 index 0000000..4daaa4d --- /dev/null +++ b/src/procps-ng/changes.md @@ -0,0 +1,2 @@ +# 4.0.4 +First version diff --git a/src/procps-ng/pkg.sh b/src/procps-ng/pkg.sh new file mode 100644 index 0000000..34d0929 --- /dev/null +++ b/src/procps-ng/pkg.sh @@ -0,0 +1,27 @@ +# general info +NAME="procps-ng" +DESC="Command line and full screen utilities for browsing procfs" +VERSION="4.0.4" + +# required files +FILES=("https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-${VERSION}.tar.xz") +HASHES=("2f747fc7df8ccf402d03e375c565cf96") + +# install and build depends +DEPENDS=("glibc" "ncurses" "systemd") +BUILD=() + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --docdir="/usr/share/doc/procps-ng-${VERSION}" \ + --disable-static \ + --disable-kill \ + --with-systemd + make src_w_LDADD='$(LDADD) -lsystemd' + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/psmisc/.gitignore b/src/psmisc/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/psmisc/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/psmisc/changes.md b/src/psmisc/changes.md new file mode 100644 index 0000000..4abf6fb --- /dev/null +++ b/src/psmisc/changes.md @@ -0,0 +1,2 @@ +# 23.7 +First version diff --git a/src/psmisc/pkg.sh b/src/psmisc/pkg.sh new file mode 100644 index 0000000..a3dbcaa --- /dev/null +++ b/src/psmisc/pkg.sh @@ -0,0 +1,24 @@ +# general info +NAME="psmisc" +DESC="Miscellaneous utilities that use the proc file-system" +VERSION="23.7" + +# required files +FILES=("https://gitlab.com/psmisc/psmisc/-/archive/v${VERSION}/psmisc-v${VERSION}.tar.gz") +HASHES=("8f2526ce7ac6ef4976454cd63095fa10e467ef745cf33dc4f91df0bd7b10b905") + +# install and build depends +DEPENDS=("ncurses") +BUILD=() + +PACKAGE(){ + tar xf "${NAME}-v${VERSION}.tar.gz" + cd "${NAME}-v${VERSION}" + + ./autogen.sh + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-v${VERSION}" +} diff --git a/src/pypa-wheel/.gitignore b/src/pypa-wheel/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/pypa-wheel/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/pypa-wheel/changes.md b/src/pypa-wheel/changes.md new file mode 100644 index 0000000..c229e6a --- /dev/null +++ b/src/pypa-wheel/changes.md @@ -0,0 +1,2 @@ +# 0.42.0 +First version diff --git a/src/pypa-wheel/pkg.sh b/src/pypa-wheel/pkg.sh new file mode 100644 index 0000000..16e3d01 --- /dev/null +++ b/src/pypa-wheel/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="pypa-wheel" +DESC="Official binary distribution format for Python " +VERSION="0.42.0" + +# required files +FILES=("https://pypi.org/packages/source/w/wheel/wheel-${VERSION}.tar.gz") +HASHES=("802ad6e5f9336fcb1c76b7593f0cd22d") + +# install and build depends +DEPENDS=("pypa-packaging" "pypi-flit-core" "python3") +BUILD=() + +PACKAGE(){ + tar xf "wheel-${VERSION}.tar.gz" + cd "wheel-${VERSION}" + + python3 -m build --wheel --skip-dependency-check --no-isolation + PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl + + cd .. && rm -r "wheel-${VERSION}" +} diff --git a/src/pypi-flit-core/pkg.sh b/src/pypi-flit-core/pkg.sh index 6066599..e7200c8 100644 --- a/src/pypi-flit-core/pkg.sh +++ b/src/pypi-flit-core/pkg.sh @@ -11,7 +11,7 @@ HASHES=("3bc52f1952b9a78361114147da63c35b") DEPENDS=("glibc" "python3") BUILD=() -build(){ +PACKAGE(){ tar xf "flit_core-${VERSION}.tar.gz" cd "flit_core-${VERSION}" diff --git a/src/pypi-jinja2/pkg.sh b/src/pypi-jinja2/pkg.sh index 2d1750a..b91d5f1 100644 --- a/src/pypi-jinja2/pkg.sh +++ b/src/pypi-jinja2/pkg.sh @@ -11,7 +11,7 @@ HASHES=("caf5418c851eac59e70a78d9730d4cea") DEPENDS=("python3" "pypi-markupsafe") BUILD=("pypi-flit-core") -build(){ +PACKAGE(){ tar xf "Jinja2-${VERSION}.tar.gz" cd "Jinja2-${VERSION}" diff --git a/src/pypi-markupsafe/pkg.sh b/src/pypi-markupsafe/pkg.sh index c17195c..1dd0672 100644 --- a/src/pypi-markupsafe/pkg.sh +++ b/src/pypi-markupsafe/pkg.sh @@ -11,7 +11,7 @@ HASHES=("8fe7227653f2fb9b1ffe7f9f2058998a") DEPENDS=("python3") BUILD=() -build(){ +PACKAGE(){ tar xf "MarkupSafe-${VERSION}.tar.gz" cd "MarkupSafe-${VERSION}" diff --git a/src/python3/.gitignore b/src/python3/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/python3/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/python3/changes.md b/src/python3/changes.md new file mode 100644 index 0000000..da9c295 --- /dev/null +++ b/src/python3/changes.md @@ -0,0 +1,2 @@ +# 3.12.2 +First version diff --git a/src/python3/pkg.sh b/src/python3/pkg.sh new file mode 100644 index 0000000..ccf1925 --- /dev/null +++ b/src/python3/pkg.sh @@ -0,0 +1,43 @@ +# general info +NAME="python3" +_NAME="Python" + +DESC="Python development environment" +VERSION="3.12.2" + +# required files +FILES=( + "https://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tar.xz" + "https://www.python.org/ftp/python/doc/${VERSION}/python-${VERSION}-docs-html.tar.bz2" +) +HASHES=( + "e7c178b97bf8f7ccd677b94d614f7b3c" + "8a6310f6288e7f60c3565277ec3b5279" +) + +# install and build depends +DEPENDS=( + "bzip2" "expat" "libffi" + "libxcrypt" "openssl" "gdbm" + "zlib" "tzdata" "sqlite" "xz" +) +BUILD=() + +PACKAGE(){ + tar xf "${_NAME}-${VERSION}.tar.xz" + cd "${_NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --enable-shared \ + --with-system-expat \ + --enable-optimizations + make + make DESTDIR="${ROOTDIR}" install + + install -v -dm755 "${ROOTDIR}/usr/share/doc/python-${VERSION}/html" + tar --no-same-owner -xvf "../python-${VERSION}-docs-html.tar.bz2" + cp -R --no-preserve=mode "python-${VERSION}-docs-html/"* \ + "${ROOTDIR}/usr/share/doc/python-${VERSION}/html" + + cd .. && rm -r "${_NAME}-${VERSION}" +} diff --git a/src/readline/pkg.sh b/src/readline/pkg.sh index 4a0cb82..ea8c2c0 100644 --- a/src/readline/pkg.sh +++ b/src/readline/pkg.sh @@ -17,7 +17,7 @@ HASHES=( DEPENDS=("glibc" "ncurses") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/release/.gitignore b/src/release/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/release/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/release/changes.md b/src/release/changes.md new file mode 100644 index 0000000..dec81d4 --- /dev/null +++ b/src/release/changes.md @@ -0,0 +1,2 @@ +# 24.05 +First version diff --git a/src/release/pkg.sh b/src/release/pkg.sh new file mode 100644 index 0000000..61f7fa6 --- /dev/null +++ b/src/release/pkg.sh @@ -0,0 +1,25 @@ +# general info +NAME="release" +DESC="MatterLinux release files" +VERSION="24.05" + +# required files +FILES=() +HASHES=() + +# install and build depends +DEPENDS=() +BUILD=() + +PACKAGE(){ + install -dm755 "${ROOTDIR}/etc" + cat > "${ROOTDIR}/etc/os-release" << EOF +ID=matter +BUILD_ID=${VERSION} +NAME="MatterLinux GNU/Linux" +PRETTY_NAME="MatterLinux" +HOME_URL="https://matterlinux.xyz/" +DOCUMENTATION_URL="https://matterlinux.xyz/wiki" +EOF + chmod 644 "${ROOTDIR}/etc/os-release" +} diff --git a/src/sed/.gitignore b/src/sed/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/sed/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/sed/changes.md b/src/sed/changes.md new file mode 100644 index 0000000..b5fa17a --- /dev/null +++ b/src/sed/changes.md @@ -0,0 +1,2 @@ +# 4.9 +First version diff --git a/src/sed/pkg.sh b/src/sed/pkg.sh new file mode 100644 index 0000000..4dee527 --- /dev/null +++ b/src/sed/pkg.sh @@ -0,0 +1,27 @@ +# general info +NAME="sed" +DESC="GNU stream editor" +VERSION="4.9" + +# required files +FILES=("https://ftp.gnu.org/gnu/sed/sed-${VERSION}.tar.xz") +HASHES=("6aac9b2dbafcd5b7a67a8a9bcb8036c3") + +# install and build depends +DEPENDS=("acl" "glibc") +BUILD=("gettext") + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make + make html + make DESTDIR="${ROOTDIR}" install + + install -d -m755 "${ROOTDIR}/usr/share/doc/sed-${VERSION}" + install -m644 doc/sed.html "${ROOTDIR}/usr/share/doc/sed-${VERSION}" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/shadow/.gitignore b/src/shadow/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/shadow/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/shadow/changes.md b/src/shadow/changes.md new file mode 100644 index 0000000..62ba7b2 --- /dev/null +++ b/src/shadow/changes.md @@ -0,0 +1,2 @@ +# 4.15.3 +First version diff --git a/src/shadow/chpasswd b/src/shadow/chpasswd new file mode 100644 index 0000000..8f49f5c --- /dev/null +++ b/src/shadow/chpasswd @@ -0,0 +1,4 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +account required pam_permit.so +password include system-auth diff --git a/src/shadow/login b/src/shadow/login new file mode 100644 index 0000000..dae07bd --- /dev/null +++ b/src/shadow/login @@ -0,0 +1,6 @@ +#%PAM-1.0 +auth requisite pam_nologin.so +auth include system-login +account include system-login +session include system-login +password include system-login diff --git a/src/shadow/pkg.sh b/src/shadow/pkg.sh new file mode 100644 index 0000000..ef1d800 --- /dev/null +++ b/src/shadow/pkg.sh @@ -0,0 +1,62 @@ +# general info +NAME="shadow" +DESC="Necessary programs for converting UNIX password files to the shadow password format" +VERSION="4.15.3" + +# required files +FILES=( + "https://github.com/shadow-maint/shadow/releases/download/${VERSION}/shadow-${VERSION}.tar.gz" + "chpasswd" + "login" +) +HASHES=( + "d02439810e1743255187a7e6d790ade232daef26ca24bdb859057ec27056ee57" + "a955ecbd82a801102fad756bb98dca778c1eba14a3367c601d6237b75642c36b" + "7dc12d8126161031ec7446edfe354971077cb10f0c1e2fdbaaf1c945738ff39b" +) + +# install and build depends +DEPENDS=( + "acl" "attr" "audit" + "glibc" "libxcrypt" "linux-pam" +) +BUILD=("libxslt") + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + autoreconf -fiv + + sed -i 's/groups$(EXEEXT) //' src/Makefile.in + find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; + find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \; + find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \; + + sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \ + -e 's:/var/spool/mail:/var/mail:' \ + -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \ + -i etc/login.defs + + install -dm755 "${ROOTDIR}/usr/bin" + touch "${ROOTDIR}/usr/bin/passwd" + + ./configure --sysconfdir=/etc \ + --disable-static \ + --with-{b,yes}crypt \ + --with-libpam \ + --without-libbsd \ + --enable-man \ + --with-libpam \ + --disable-account-tools-setuid \ + --with-group-name-max-length=32 + + make + make DESTDIR="${ROOTDIR}" exec_prefix=/usr install + make DESTDIR="${ROOTDIR}" -C man install + + install -m644 "${ROOTDIR}/login" "${ROOTDIR}/etc/pam.d/login" + install -m644 "${ROOTDIR}/chpasswd" "${ROOTDIR}/etc/pam.d/chpasswd" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/sqlite/.gitignore b/src/sqlite/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/sqlite/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/sqlite/changes.md b/src/sqlite/changes.md new file mode 100644 index 0000000..0b20366 --- /dev/null +++ b/src/sqlite/changes.md @@ -0,0 +1,2 @@ +# 3460000 +First version diff --git a/src/sqlite/pkg.sh b/src/sqlite/pkg.sh new file mode 100644 index 0000000..7ac1c2f --- /dev/null +++ b/src/sqlite/pkg.sh @@ -0,0 +1,40 @@ +# general info +NAME="sqlite" +DESC="C-language library that implements a SQL database engine" +VERSION="3460000" + +# required files +FILES=( + "https://sqlite.org/2024/sqlite-autoconf-${VERSION}.tar.gz" + "https://sqlite.org/2024/sqlite-doc-${VERSION}.zip" +) +HASHES=( + "6f8e6a7b335273748816f9b3b62bbdc372a889de8782d7f048c653a447417a7d" + "5ec9651bbfab7d3bf0a295f4d9be7d861e9968ea993438f05b579d8a75fe1e6f" +) + +# install and build depends +DEPENDS=("glibc" "readline" "zlib") +BUILD=() + +PACKAGE(){ + tar xf "${NAME}-autoconf-${VERSION}.tar.gz" + cd "${NAME}-autoconf-${VERSION}" + + unzip -q ../sqlite-doc-${VERSION}.zip + ./configure --prefix=/usr \ + --disable-static \ + --enable-fts{4,5} \ + CPPFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1 \ + -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \ + -DSQLITE_ENABLE_DBSTAT_VTAB=1 \ + -DSQLITE_SECURE_DELETE=1 \ + -DSQLITE_ENABLE_FTS3_TOKENIZER=1" + make + make DESTDIR="${ROOTDIR}" install + + install -v -m755 -d "${ROOTDIR}/usr/share/doc/sqlite-${VERSION}" + cp -v -R sqlite-doc-${VERSION}/* "${ROOTDIR}/usr/share/doc/sqlite-${VERSION}" + + cd .. && rm -r "${NAME}-autoconf-${VERSION}" +} diff --git a/src/systemd/.gitignore b/src/systemd/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/systemd/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/systemd/changes.md b/src/systemd/changes.md new file mode 100644 index 0000000..30fd291 --- /dev/null +++ b/src/systemd/changes.md @@ -0,0 +1,2 @@ +# 255 +First version diff --git a/src/systemd/pkg.sh b/src/systemd/pkg.sh new file mode 100644 index 0000000..be38cba --- /dev/null +++ b/src/systemd/pkg.sh @@ -0,0 +1,81 @@ +# general info +NAME="systemd" +DESC="System and service manager" +VERSION="255" + +# required files +FILES=( + "https://github.com/systemd/systemd/archive/v${VERSION}/systemd-${VERSION}.tar.gz" + "https://anduin.linuxfromscratch.org/LFS/systemd-man-pages-${VERSION}.tar.xz" + "systemd-${VERSION}-upstream_fixes-1.patch" +) +HASHES=( + "521cda27409a9edf0370c128fae3e690" + "1ebe54d7a80f9abf8f2d14ddfeb2432d" + "8d9c1014445c463cf7c24c162b1e0686" +) + +# install and build depends +DEPENDS=( + "acl" "audit" "bash" + "dbus" "kbd" "kmod" + "libcap" "libelf" "libgcrypt" + "libidn2" "openssl" "libxcrypt" + "libseccomp" "xz" "util-linux" + "pcre2" "linux-pam" +) +BUILD=("shadow" "curl") + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + sed -i -e 's/GROUP="render"/GROUP="video"/' \ + -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in + patch -Np1 -i "../systemd-${VERSION}-upstream_fixes-1.patch" + + mkdir -p build + cd build + + meson setup \ + --prefix=/usr \ + --buildtype=release \ + -Ddefault-dnssec=no \ + -Dfirstboot=false \ + -Dinstall-tests=false \ + -Dldconfig=false \ + -Dsysusers=false \ + -Drpmmacrosdir=no \ + -Dhomed=disabled \ + -Duserdb=false \ + -Dman=disabled \ + -Dmode=release \ + -Dpamconfdir=no \ + -Ddev-kvm-mode=0660 \ + -Dnobody-group=nogroup \ + -Dsysupdate=disabled \ + -Dukify=disabled \ + -Ddns-servers="94.140.14.14#94.140.15.15" \ + -Ddocdir=/usr/share/doc/systemd-255 \ + .. + + ninja + + install -dm755 "${ROOTDIR}/usr/share/man" + install -dm755 "${ROOTDIR}/etc" + + DESTDIR="${ROOTDIR}" ninja install + tar -xf "../../systemd-man-pages-${VERSION}.tar.xz" \ + --no-same-owner --strip-components=1 \ + -C "${ROOTDIR}/usr/share/man" + + cd ../.. && rm -r "${NAME}-${VERSION}" +} + +INSTALL(){ + useradd systemd-timesync + useradd systemd-resolve + useradd systemd-network + systemd-machine-id-setup + exit 0 +} diff --git a/src/systemd/systemd-255-upstream_fixes-1.patch b/src/systemd/systemd-255-upstream_fixes-1.patch new file mode 100644 index 0000000..f6ce28e --- /dev/null +++ b/src/systemd/systemd-255-upstream_fixes-1.patch @@ -0,0 +1,204 @@ +Submitted By: Xi Ruoyao +Date: 2024-02-10 +Initial Package Version: 255 +Origin: Upstream (PR 30549 and 30363) +Upstream Status: Applied +Description: Fixes CVE-2023-7008, a security vulnerability in + DNSSEC verification allowing a MITM attack. And + Fix a bug breaking "systemd-analyze verify" an + instantiated unit. + +From f56136eb9f7e1bb0f34cd1bace60c4c02a0ed6ea Mon Sep 17 00:00:00 2001 +From: Michal Sekletar +Date: Wed, 20 Dec 2023 16:44:14 +0100 +Subject: [PATCH] resolved: actually check authenticated flag of SOA + transaction + +Fixes #25676 +--- + src/resolve/resolved-dns-transaction.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c +index 696fce532a41f..fe88e502e7c11 100644 +--- a/src/resolve/resolved-dns-transaction.c ++++ b/src/resolve/resolved-dns-transaction.c +@@ -2808,7 +2808,7 @@ static int dns_transaction_requires_rrsig(DnsTransaction *t, DnsResourceRecord * + if (r == 0) + continue; + +- return FLAGS_SET(t->answer_query_flags, SD_RESOLVED_AUTHENTICATED); ++ return FLAGS_SET(dt->answer_query_flags, SD_RESOLVED_AUTHENTICATED); + } + + return true; +@@ -2835,7 +2835,7 @@ static int dns_transaction_requires_rrsig(DnsTransaction *t, DnsResourceRecord * + /* We found the transaction that was supposed to find the SOA RR for us. It was + * successful, but found no RR for us. This means we are not at a zone cut. In this + * case, we require authentication if the SOA lookup was authenticated too. */ +- return FLAGS_SET(t->answer_query_flags, SD_RESOLVED_AUTHENTICATED); ++ return FLAGS_SET(dt->answer_query_flags, SD_RESOLVED_AUTHENTICATED); + } + + return true; + +From 6d9d55657946385916fa4db7149a9b389645ee73 Mon Sep 17 00:00:00 2001 +From: Yu Watanabe +Date: Thu, 7 Dec 2023 19:29:29 +0900 +Subject: [PATCH 1/2] analyze: also find template unit when a template instance + is specified + +Fixes a regression caused by 2f6181ad4d6c126e3ebf6880ba30b3b0059c6fc8. + +Fixes #30357. + +Co-authored-by: Jeff King +--- + src/analyze/analyze-verify-util.c | 64 +++++++++++++++++++++++++------ + 1 file changed, 53 insertions(+), 11 deletions(-) + +diff --git a/src/analyze/analyze-verify-util.c b/src/analyze/analyze-verify-util.c +index 26d1130477123..6fbd6fa54c37d 100644 +--- a/src/analyze/analyze-verify-util.c ++++ b/src/analyze/analyze-verify-util.c +@@ -72,6 +72,54 @@ int verify_prepare_filename(const char *filename, char **ret) { + return 0; + } + ++static int find_unit_directory(const char *p, char **ret) { ++ _cleanup_free_ char *a = NULL, *u = NULL, *t = NULL, *d = NULL; ++ int r; ++ ++ assert(p); ++ assert(ret); ++ ++ r = path_make_absolute_cwd(p, &a); ++ if (r < 0) ++ return r; ++ ++ if (access(a, F_OK) >= 0) { ++ r = path_extract_directory(a, &d); ++ if (r < 0) ++ return r; ++ ++ *ret = TAKE_PTR(d); ++ return 0; ++ } ++ ++ r = path_extract_filename(a, &u); ++ if (r < 0) ++ return r; ++ ++ if (!unit_name_is_valid(u, UNIT_NAME_INSTANCE)) ++ return -ENOENT; ++ ++ /* If the specified unit is an instance of a template unit, then let's try to find the template unit. */ ++ r = unit_name_template(u, &t); ++ if (r < 0) ++ return r; ++ ++ r = path_extract_directory(a, &d); ++ if (r < 0) ++ return r; ++ ++ free(a); ++ a = path_join(d, t); ++ if (!a) ++ return -ENOMEM; ++ ++ if (access(a, F_OK) < 0) ++ return -errno; ++ ++ *ret = TAKE_PTR(d); ++ return 0; ++} ++ + int verify_set_unit_path(char **filenames) { + _cleanup_strv_free_ char **ans = NULL; + _cleanup_free_ char *joined = NULL; +@@ -79,21 +127,15 @@ int verify_set_unit_path(char **filenames) { + int r; + + STRV_FOREACH(filename, filenames) { +- _cleanup_free_ char *a = NULL; +- char *t; ++ _cleanup_free_ char *t = NULL; + +- r = path_make_absolute_cwd(*filename, &a); +- if (r < 0) ++ r = find_unit_directory(*filename, &t); ++ if (r == -ENOMEM) + return r; +- +- if (access(a, F_OK) < 0) +- continue; +- +- r = path_extract_directory(a, &t); + if (r < 0) +- return r; ++ continue; + +- r = strv_consume(&ans, t); ++ r = strv_consume(&ans, TAKE_PTR(t)); + if (r < 0) + return r; + } + +From 9d51ab78300364c71a0e1f138e1d2cbc65771b93 Mon Sep 17 00:00:00 2001 +From: Yu Watanabe +Date: Fri, 8 Dec 2023 10:41:49 +0900 +Subject: [PATCH 2/2] test: add test cases for issue #30357 + +--- + test/units/testsuite-65.sh | 38 ++++++++++++++++++++++++++++++++++++++ + 1 file changed, 38 insertions(+) + +diff --git a/test/units/testsuite-65.sh b/test/units/testsuite-65.sh +index 265a07f01d810..6c819dfe4a4ee 100755 +--- a/test/units/testsuite-65.sh ++++ b/test/units/testsuite-65.sh +@@ -296,6 +296,44 @@ EOF + # Verifies that the --offline= option works with --root= + systemd-analyze security --threshold=90 --offline=true --root=/tmp/img/ testfile.service + ++cat </tmp/foo@.service ++[Service] ++ExecStart=ls ++EOF ++ ++cat </tmp/hoge@test.service ++[Service] ++ExecStart=ls ++EOF ++ ++# issue #30357 ++pushd /tmp ++systemd-analyze verify foo@bar.service ++systemd-analyze verify foo@.service ++systemd-analyze verify hoge@test.service ++(! systemd-analyze verify hoge@nonexist.service) ++(! systemd-analyze verify hoge@.service) ++popd ++pushd / ++systemd-analyze verify tmp/foo@bar.service ++systemd-analyze verify tmp/foo@.service ++systemd-analyze verify tmp/hoge@test.service ++(! systemd-analyze verify tmp/hoge@nonexist.service) ++(! systemd-analyze verify tmp/hoge@.service) ++popd ++pushd /usr ++systemd-analyze verify ../tmp/foo@bar.service ++systemd-analyze verify ../tmp/foo@.service ++systemd-analyze verify ../tmp/hoge@test.service ++(! systemd-analyze verify ../tmp/hoge@nonexist.service) ++(! systemd-analyze verify ../tmp/hoge@.service) ++popd ++systemd-analyze verify /tmp/foo@bar.service ++systemd-analyze verify /tmp/foo@.service ++systemd-analyze verify /tmp/hoge@test.service ++(! systemd-analyze verify /tmp/hoge@nonexist.service) ++(! systemd-analyze verify /tmp/hoge@.service) ++ + # Added an additional "INVALID_ID" id to the .json to verify that nothing breaks when input is malformed + # The PrivateNetwork id description and weight was changed to verify that 'security' is actually reading in + # values from the .json file when required. The default weight for "PrivateNetwork" is 2500, and the new weight diff --git a/src/tar/.gitignore b/src/tar/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/tar/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/tar/changes.md b/src/tar/changes.md new file mode 100644 index 0000000..b9c5d64 --- /dev/null +++ b/src/tar/changes.md @@ -0,0 +1,2 @@ +# 1.35 +First version diff --git a/src/tar/pkg.sh b/src/tar/pkg.sh new file mode 100644 index 0000000..4223ec5 --- /dev/null +++ b/src/tar/pkg.sh @@ -0,0 +1,24 @@ +# general info +NAME="tar" +DESC="Create tar archives as well as perform various other kinds of archive manipulation" +VERSION="1.35" + +# required files +FILES=("https://ftp.gnu.org/gnu/tar/tar-${VERSION}.tar.xz") +HASHES=("a2d8042658cfd8ea939e6d911eaf4152") + +# install and build depends +DEPENDS=("acl" "glibc") +BUILD=("attr") + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + make -C doc DESTDIR="${ROOTDIR}" install-html docdir="/usr/share/doc/tar-${VERSION}" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/tcl/.gitignore b/src/tcl/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/tcl/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/tcl/changes.md b/src/tcl/changes.md new file mode 100644 index 0000000..d31a685 --- /dev/null +++ b/src/tcl/changes.md @@ -0,0 +1,2 @@ +# 8.6.14 +First version diff --git a/src/tcl/pkg.sh b/src/tcl/pkg.sh new file mode 100644 index 0000000..93f93bf --- /dev/null +++ b/src/tcl/pkg.sh @@ -0,0 +1,60 @@ +# general info +NAME="tcl" +DESC="Tool Command Language" +VERSION="8.6.14" + +# required files +FILES=( + "https://downloads.sourceforge.net/tcl/tcl${VERSION}-src.tar.gz" + "https://downloads.sourceforge.net/tcl/tcl${VERSION}-html.tar.gz" +) +HASHES=( + "5880225babf7954c58d4fb0f5cf6279104ce1cd6aa9b71e9a6322540e1c4de66" + "bfd319033beeeead986f46be0a3a3ef6ee35424770f7836dca45bbc0ba27ee5f" +) + +# install and build depends +DEPENDS=("zlib") +BUILD=() + +PACKAGE(){ + tar xf "${NAME}${VERSION}-src.tar.gz" + cd "${NAME}${VERSION}" + + SRCDIR=$(pwd) + cd unix + ./configure --prefix=/usr \ + --mandir=/usr/share/man + + 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 + + make DESTDIR="${ROOTDIR}" install + chmod -v u+w "${ROOTDIR}/usr/lib/libtcl${VERSION%.*}.so" + make DESTDIR="${ROOTDIR}" install-private-headers + ln -sfv "tclsh${VERSION%.*}" "${ROOTDIR}/usr/bin/tclsh" + mv "${ROOTDIR}/usr/share/man/man3/"{Thread,Tcl_Thread}.3 + + cd .. + tar -xf "../tcl${VERSION}-html.tar.gz" --strip-components=1 + install -v -dm755 "${ROOTDIR}/usr/share/doc/tcl-${VERSION}" + cp -v -r ./html/* "${ROOTDIR}/usr/share/doc/tcl-${VERSION}" + + cd .. && rm -r "${NAME}${VERSION}" +} diff --git a/src/texinfo/.gitignore b/src/texinfo/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/texinfo/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/texinfo/changes.md b/src/texinfo/changes.md new file mode 100644 index 0000000..472a2ac --- /dev/null +++ b/src/texinfo/changes.md @@ -0,0 +1,2 @@ +# 7.1 +First version diff --git a/src/texinfo/pkg.sh b/src/texinfo/pkg.sh new file mode 100644 index 0000000..d8a4896 --- /dev/null +++ b/src/texinfo/pkg.sh @@ -0,0 +1,24 @@ +# general info +NAME="texinfo" +DESC="Programs for reading, writing, and converting info pages" +VERSION="7.1" + +# required files +FILES=("https://ftp.gnu.org/gnu/texinfo/texinfo-${VERSION}.tar.xz") +HASHES=("edd9928b4a3f82674bcc3551616eef3b") + +# install and build depends +DEPENDS=("gzip" "ncurses" "perl" "bash") +BUILD=() + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + make DESTDIR="${ROOTDIR}" TEXMF=/usr/share/texmf install-tex + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/tzdata/pkg.sh b/src/tzdata/pkg.sh index 75c1497..7c9088b 100644 --- a/src/tzdata/pkg.sh +++ b/src/tzdata/pkg.sh @@ -11,7 +11,7 @@ HASHES=("2349edd8335245525cc082f2755d5bf4") DEPENDS=() BUILD=() -build(){ +PACKAGE(){ mkdir -p tzdata && cd tzdata mv "../tzdata${VERSION}.tar.gz" . diff --git a/src/unixodbc/pkg.sh b/src/unixodbc/pkg.sh index fb8c6b0..f98b980 100644 --- a/src/unixodbc/pkg.sh +++ b/src/unixodbc/pkg.sh @@ -11,7 +11,7 @@ HASHES=("b72ffed23f6e86c08a5c5d5db3f57b579a680b893dec38c9ae89230de49412df") DEPENDS=("glibc" "readline" "libtool") BUILD=() -build(){ +PACKAGE(){ tar xf "${VERSION}.tar.gz" cd "unixODBC-${VERSION}" diff --git a/src/util-linux/.gitignore b/src/util-linux/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/util-linux/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/util-linux/changes.md b/src/util-linux/changes.md new file mode 100644 index 0000000..5746a37 --- /dev/null +++ b/src/util-linux/changes.md @@ -0,0 +1,2 @@ +# 2.40.2 +First version diff --git a/src/util-linux/pkg.sh b/src/util-linux/pkg.sh new file mode 100644 index 0000000..260baf2 --- /dev/null +++ b/src/util-linux/pkg.sh @@ -0,0 +1,42 @@ +# general info +NAME="util-linux" +DESC="Random collection of Linux utilities" +VERSION="2.40.2" + +# required files +FILES=("https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${VERSION%.*}/util-linux-${VERSION}.tar.gz") +HASHES=("7bec316b713a14c6be1a5721aa0e56a3b6170277329e6e1f1a56013cc91eece0") + +# install and build depends +DEPENDS=( + "coreutils" "file" "glibc" + "libcap" "libxcrypt" "ncurses" + "systemd" "linux-pam" "zlib" +) +BUILD=("meson" "sqlite" "python3") + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am + ./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-static \ + --without-python \ + ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --docdir="/usr/share/doc/util-linux-${VERSION}" + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/vim/.gitignore b/src/vim/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/vim/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/vim/changes.md b/src/vim/changes.md new file mode 100644 index 0000000..2fc671d --- /dev/null +++ b/src/vim/changes.md @@ -0,0 +1,2 @@ +# 9.1.0611 +First version diff --git a/src/vim/pkg.sh b/src/vim/pkg.sh new file mode 100644 index 0000000..9d6fcd7 --- /dev/null +++ b/src/vim/pkg.sh @@ -0,0 +1,35 @@ +# general info +NAME="vim" +DESC="Highly configurable text editor built to make creating and changing any kind of text very efficient" +VERSION="9.1.0611" + +# required files +FILES=("https://github.com/vim/vim/archive/v${VERSION}/vim-${VERSION}.tar.gz") +HASHES=("ac644a3206cfdfb3dddfae19e8b56fe6fd31ec2c7a6ea63905349ae5a448756f") + +# install and build depends +DEPENDS=( + "acl" "glibc" "libgcrypt" + "zlib" "perl" "tcl" +) +BUILD=("gawk" "python3") + +PACKAGE(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + + ln -sv vim "${ROOTDIR}/usr/bin/vi" + for L in "${ROOTDIR}/usr/share/man/"{,*/}man1/vim.1; do + ln -sv vim.1 $(dirname $L)/vi.1 + done + + install -dm755 "${ROOTDIR}/usr/share/doc" + ln -sv ../vim/vim91/doc "${ROOTDIR}/usr/share/doc/vim-${VERSION}" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/which/pkg.sh b/src/which/pkg.sh index a811edf..85cc01f 100644 --- a/src/which/pkg.sh +++ b/src/which/pkg.sh @@ -11,7 +11,7 @@ HASHES=("097ff1a324ae02e0a3b0369f07a7544a") DEPENDS=("glibc" "bash") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" @@ -21,6 +21,6 @@ build(){ cd .. && rm -r "${NAME}-${VERSION}" } -install(){ +INSTALL(){ echo "Testing the install script" } diff --git a/src/xml-parser/.gitignore b/src/xml-parser/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/xml-parser/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/xml-parser/changes.md b/src/xml-parser/changes.md new file mode 100644 index 0000000..f80b475 --- /dev/null +++ b/src/xml-parser/changes.md @@ -0,0 +1,2 @@ +# 2.47 +First version diff --git a/src/xml-parser/pkg.sh b/src/xml-parser/pkg.sh new file mode 100644 index 0000000..c6924a9 --- /dev/null +++ b/src/xml-parser/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="xml-parser" +DESC=" Perl module for parsing XML documents" +VERSION="2.47" + +# required files +FILES=("https://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${VERSION}.tar.gz") +HASHES=("3f9de53341bc85b87c88ad31e04b13f1f95516eec0d7e5fd1c1a3b3e66a91ca3d4de7c649978599219a4d4372f6218764ab5e1805b7155b5ca200006e1b0908f") + +# install and build depends +DEPENDS=("perl" "expat") +BUILD=() + +PACKAGE(){ + tar xf "XML-Parser-${VERSION}.tar.gz" + cd "XML-Parser-${VERSION}" + + perl Makefile.PL + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "XML-Parser-${VERSION}" +} diff --git a/src/xz/pkg.sh b/src/xz/pkg.sh index 59fc04d..0d3786f 100644 --- a/src/xz/pkg.sh +++ b/src/xz/pkg.sh @@ -11,7 +11,7 @@ HASHES=("92a439948bba24c2bc25bb67a087a19194905209c56b5e600bc94fd2a472e687") DEPENDS=() BUILD=() -build(){ +PACKAGE(){ tar xf "v${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/zlib/pkg.sh b/src/zlib/pkg.sh index 757c8f9..9ffff61 100644 --- a/src/zlib/pkg.sh +++ b/src/zlib/pkg.sh @@ -11,7 +11,7 @@ HASHES=("9855b6d802d7fe5b7bd5b196a2271655") DEPENDS=("glibc") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}" diff --git a/src/zstd/pkg.sh b/src/zstd/pkg.sh index b443722..393ea4e 100644 --- a/src/zstd/pkg.sh +++ b/src/zstd/pkg.sh @@ -11,7 +11,7 @@ HASHES=("8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1") DEPENDS=("gcc-libs" "glibc" "xz" "zlib") BUILD=() -build(){ +PACKAGE(){ tar xf "${NAME}-${VERSION}.tar.gz" cd "${NAME}-${VERSION}"