diff --git a/src/less/.gitignore b/src/less/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/less/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/less/changes.md b/src/less/changes.md new file mode 100644 index 0000000..f564d7a --- /dev/null +++ b/src/less/changes.md @@ -0,0 +1,2 @@ +# 661 +First version diff --git a/src/less/pkg.sh b/src/less/pkg.sh new file mode 100644 index 0000000..ebb73f2 --- /dev/null +++ b/src/less/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="less" +DESC="Free, open-source file pager" +VERSION="661" + +# required files +FILES=("https://www.greenwoodsoftware.com/less/less-${VERSION}.tar.gz") +HASHES=("2b5f0167216e3ef0ffcb0c31c374e287eb035e4e223d5dae315c2783b6e738ed") + +# install and build depends +DEPENDS=("glibc" "pcre2" "ncurses") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr --sysconfdir=/etc + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/libarchive/.gitignore b/src/libarchive/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libarchive/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libarchive/changes.md b/src/libarchive/changes.md new file mode 100644 index 0000000..38ce56a --- /dev/null +++ b/src/libarchive/changes.md @@ -0,0 +1,2 @@ +# 3.7.4 +First version diff --git a/src/libarchive/pkg.sh b/src/libarchive/pkg.sh new file mode 100644 index 0000000..bccc62c --- /dev/null +++ b/src/libarchive/pkg.sh @@ -0,0 +1,29 @@ +# general info +NAME="libarchive" +DESC="Multi-format archive and compression library" +VERSION="3.7.4" + +# required files +FILES=("https://github.com/libarchive/libarchive/releases/download/v${VERSION}/libarchive-${VERSION}.tar.xz") +HASHES=("f887755c434a736a609cbd28d87ddbfbe9d6a3bb5b703c22c02f6af80a802735") + +# install and build depends +DEPENDS=( + "acl" "bzip2" "zstd" + "libxml2" "gzip" "zlib" + "xz" "openssl" +) +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --without-nettle \ + --disable-static + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/libassuan/.gitignore b/src/libassuan/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libassuan/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libassuan/changes.md b/src/libassuan/changes.md new file mode 100644 index 0000000..8ac29ea --- /dev/null +++ b/src/libassuan/changes.md @@ -0,0 +1,2 @@ +# 3.0.1 +First version diff --git a/src/libassuan/pkg.sh b/src/libassuan/pkg.sh new file mode 100644 index 0000000..f224e4f --- /dev/null +++ b/src/libassuan/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="libassuan" +DESC="Small library implementing the Assuan protocol" +VERSION="3.0.1" + +# required files +FILES=("https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${VERSION}.tar.bz2") +HASHES=("6914a02c20053bae0fc4c29c5c40655f1cec711983d57fa85e46df34e90b10e33d31256dd50ae7c7faa8d8d750a529bf9072da0cda3bdd77ebfedbc0e26e5e16") + +# install and build depends +DEPENDS=("glibc" "libgpg-error" "bash") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.bz2" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/libcap/.gitignore b/src/libcap/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libcap/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libcap/changes.md b/src/libcap/changes.md new file mode 100644 index 0000000..ffc918f --- /dev/null +++ b/src/libcap/changes.md @@ -0,0 +1,2 @@ +# 2.70 +First version diff --git a/src/libcap/pkg.sh b/src/libcap/pkg.sh new file mode 100644 index 0000000..8931d8d --- /dev/null +++ b/src/libcap/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="libcap" +DESC="Userspace interface to the POSIX 1003.1e capabilities available in Linux kernels" +VERSION="2.70" + +# required files +FILES=("https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${VERSION}.tar.xz") +HASHES=("4e0bf0efeccb654c409afe9727b2b53c1d4da8190d7a0a9848fc52550ff3e13502add3eacde04a68a5b7bec09e91df487f64c5746ba987f873236a9e53b3d4e8") + +# install and build depends +DEPENDS=("gcc-libs" "glibc" "linux-pam") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" + + sed -i '/install -m.*STA/d' libcap/Makefile + make prefix=/usr lib=lib + make DESTDIR="${ROOTDIR}" prefix=/usr lib=lib install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/libelf/.gitignore b/src/libelf/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libelf/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libelf/changes.md b/src/libelf/changes.md new file mode 100644 index 0000000..f1a5209 --- /dev/null +++ b/src/libelf/changes.md @@ -0,0 +1,2 @@ +# 0.191 +First version diff --git a/src/libelf/pkg.sh b/src/libelf/pkg.sh new file mode 100644 index 0000000..6a97524 --- /dev/null +++ b/src/libelf/pkg.sh @@ -0,0 +1,32 @@ +# general info +NAME="libelf" +DESC="Library for handling ELF (Executable and Linkable Format) files" +VERSION="0.191" + +# required files +FILES=("https://sourceware.org/ftp/elfutils/${VERSION}/elfutils-${VERSION}.tar.bz2") +HASHES=("e22d85f25317a79b36d370347e50284c9120c86f9830f08791b7b6a7b4ad89b9bf4c7c71129133b8d193a0edffb2a2c17987b7e48428b9670aff5ce918777e04") + +# install and build depends +DEPENDS=( + "gcc-libs" "glibc" "bzip2" + "xz" "zlib" "zstd" +) +BUILD=() + +build(){ + tar xf "elfutils-${VERSION}.tar.bz2" + cd "elfutils-${VERSION}" + + ./configure --prefix=/usr \ + --disable-debuginfod \ + --enable-libdebuginfod=dummy + make + make DESTDIR="${ROOTDIR}" -C libelf install + + install -dm755 "${ROOTDIR}/usr/lib/pkgconfig" + install -vm644 config/libelf.pc "${ROOTDIR}/usr/lib/pkgconfig" + rm "${ROOTDIR}/usr/lib/libelf.a" + + cd .. && rm -r "elfutils-${VERSION}" +} diff --git a/src/libffi/.gitignore b/src/libffi/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libffi/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libffi/changes.md b/src/libffi/changes.md new file mode 100644 index 0000000..5ef1f59 --- /dev/null +++ b/src/libffi/changes.md @@ -0,0 +1,2 @@ +# 3.4.6 +First version diff --git a/src/libffi/pkg.sh b/src/libffi/pkg.sh new file mode 100644 index 0000000..be0f988 --- /dev/null +++ b/src/libffi/pkg.sh @@ -0,0 +1,25 @@ +# general info +NAME="libffi" +DESC="Portable foreign function interface library" +VERSION="3.4.6" + +# required files +FILES=("https://github.com/libffi/libffi/releases/download/v${VERSION}/libffi-${VERSION}.tar.gz") +HASHES=("b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e") + +# install and build depends +DEPENDS=("glibc") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr \ + --disable-static \ + --with-gcc-arch=native + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/libgcrypt/.gitignore b/src/libgcrypt/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libgcrypt/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libgcrypt/changes.md b/src/libgcrypt/changes.md new file mode 100644 index 0000000..26fa531 --- /dev/null +++ b/src/libgcrypt/changes.md @@ -0,0 +1,2 @@ +# 1.11.0 +First version diff --git a/src/libgcrypt/pkg.sh b/src/libgcrypt/pkg.sh new file mode 100644 index 0000000..78fe3e8 --- /dev/null +++ b/src/libgcrypt/pkg.sh @@ -0,0 +1,38 @@ +# general info +NAME="libgcrypt" +DESC="General purpose crypto library based on the code used in GnuPG" +VERSION="1.11.0" + +# required files +FILES=("https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${VERSION}.tar.bz2") +HASHES=("09120c9867ce7f2081d6aaa1775386b98c2f2f246135761aae47d81f58685b9c") + +# install and build depends +DEPENDS=("glibc" "libgpg-error") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.bz2" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make + + make -C doc html + makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi + makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi + + make DESTDIR="${ROOTDIR}" install + install -v -dm755 "${ROOTDIR}/usr/share/doc/libgcrypt-${VERSION}" + install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \ + "${ROOTDIR}/usr/share/doc/libgcrypt-${VERSION}" + install -v -dm755 "${ROOTDIR}/usr/share/doc/libgcrypt-${VERSION}/html" + install -v -m644 doc/gcrypt.html/* \ + "${ROOTDIR}/usr/share/doc/libgcrypt-${VERSION}/html" + install -v -m644 doc/gcrypt_nochunks.html \ + "${ROOTDIR}/usr/share/doc/libgcrypt-${VERSION}" + install -v -m644 doc/gcrypt.{txt,texi} \ + "${ROOTDIR}/usr/share/doc/libgcrypt-${VERSION}" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/libgpg-error/.gitignore b/src/libgpg-error/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libgpg-error/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libgpg-error/changes.md b/src/libgpg-error/changes.md new file mode 100644 index 0000000..fdfa81c --- /dev/null +++ b/src/libgpg-error/changes.md @@ -0,0 +1,2 @@ +# 1.50 +First version diff --git a/src/libgpg-error/pkg.sh b/src/libgpg-error/pkg.sh new file mode 100644 index 0000000..1161993 --- /dev/null +++ b/src/libgpg-error/pkg.sh @@ -0,0 +1,24 @@ +# general info +NAME="libgpg-error" +DESC="Common error values for all GnuPG components" +VERSION="1.50" + +# required files +FILES=("https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${VERSION}.tar.bz2") +HASHES=("69405349e0a633e444a28c5b35ce8f14484684518a508dc48a089992fe93e20a") + +# install and build depends +DEPENDS=("glibc" "bash") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.bz2" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + install -v -m644 -D README "${ROOTDIR}/usr/share/doc/libgpg-error-${VERSION}/README" + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/libidn2/.gitignore b/src/libidn2/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libidn2/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libidn2/changes.md b/src/libidn2/changes.md new file mode 100644 index 0000000..e59b275 --- /dev/null +++ b/src/libidn2/changes.md @@ -0,0 +1,2 @@ +# 2.3.7 +First version diff --git a/src/libidn2/pkg.sh b/src/libidn2/pkg.sh new file mode 100644 index 0000000..2d0467d --- /dev/null +++ b/src/libidn2/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="libidn2" +DESC="Implementation of the IDNA2008 + TR46 specifications" +VERSION="2.3.7" + +# required files +FILES=("https://ftp.gnu.org/gnu/libidn/libidn2-${VERSION}.tar.gz") +HASHES=("de2818c7dea718a4f264f463f595596b") + +# install and build depends +DEPENDS=("libunistring") +BUILD=() + +build(){ + 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/libinih/.gitignore b/src/libinih/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libinih/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libinih/changes.md b/src/libinih/changes.md new file mode 100644 index 0000000..b0202e7 --- /dev/null +++ b/src/libinih/changes.md @@ -0,0 +1,2 @@ +# 58 +First version diff --git a/src/libinih/pkg.sh b/src/libinih/pkg.sh new file mode 100644 index 0000000..64d2897 --- /dev/null +++ b/src/libinih/pkg.sh @@ -0,0 +1,30 @@ +# general info +NAME="libinih" +DESC="Simple .INI file parser in C" +VERSION="58" + +# required files +FILES=("https://github.com/benhoyt/inih/archive/refs/tags/r${VERSION}.tar.gz") +HASHES=("e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7") + +# install and build depends +DEPENDS=("gcc-libs" "glibc") +BUILD=("meson" "ninja") + +build(){ + tar xf "r${VERSION}.tar.gz" + cd "inih-r${VERSION}" + + mkdir build + cd build + + meson setup -Ddefault_library=shared \ + -Dmax_line_length=1000 \ + -Ddistro_install=true \ + -Dwith_INIReader=true \ + --prefix=/usr --buildtype=release .. + ninja + DESTDIR="${ROOTDIR}" ninja install + + cd ../.. && rm -r "inih-r${VERSION}" +} diff --git a/src/libksba/.gitignore b/src/libksba/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libksba/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libksba/changes.md b/src/libksba/changes.md new file mode 100644 index 0000000..bbfe429 --- /dev/null +++ b/src/libksba/changes.md @@ -0,0 +1,2 @@ +# 1.6.7 +First version diff --git a/src/libksba/pkg.sh b/src/libksba/pkg.sh new file mode 100644 index 0000000..6b81879 --- /dev/null +++ b/src/libksba/pkg.sh @@ -0,0 +1,23 @@ +# general info +NAME="libksba" +DESC="Library to make the tasks of working with X.509 certificates" +VERSION="1.6.7" + +# required files +FILES=("https://www.gnupg.org/ftp/gcrypt/libksba/libksba-${VERSION}.tar.bz2") +HASHES=("cf72510b8ebb4eb6693eef765749d83677a03c79291a311040a5bfd79baab763") + +# install and build depends +DEPENDS=("bash" "glibc" "libgpg-error") +BUILD=() + +build(){ + tar xf "${NAME}-${VERSION}.tar.bz2" + cd "${NAME}-${VERSION}" + + ./configure --prefix=/usr + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +} diff --git a/src/libndp/.gitignore b/src/libndp/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/libndp/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/libndp/changes.md b/src/libndp/changes.md new file mode 100644 index 0000000..5376952 --- /dev/null +++ b/src/libndp/changes.md @@ -0,0 +1,2 @@ +# 1.8 +First version diff --git a/src/libndp/pkg.sh b/src/libndp/pkg.sh new file mode 100644 index 0000000..9d6adc5 --- /dev/null +++ b/src/libndp/pkg.sh @@ -0,0 +1,27 @@ +# general info +NAME="libndp" +DESC="Library for Neighbor Discovery Protocol" +VERSION="1.9" + +# required files +FILES=("https://github.com/jpirko/libndp/archive/refs/tags/v${VERSION}.tar.gz") +HASHES=("e564f5914a6b1b799c3afa64c258824a801c1b79a29e2fe6525b682249c65261") + +# install and build depends +DEPENDS=("glibc") +BUILD=() + +build(){ + tar xf "v${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" + + ./autogen.sh + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + make + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}-${VERSION}" +}