From cb447620084a20be80d116c81c2e9ec110be7118 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 01:23:51 +0000 Subject: restructured repo system --- repo/core/acl.xibuild | 14 ----- repo/core/asciidoc.xibuild | 15 ------ repo/core/attr.xibuild | 15 ------ repo/core/autoconf.xibuild | 13 ----- repo/core/automake.xibuild | 18 ------- repo/core/bash.xibuild | 17 ------ repo/core/bc.xibuild | 15 ------ repo/core/binutils.xibuild | 38 -------------- repo/core/bison.xibuild | 13 ----- repo/core/brotli.xibuild | 18 ------- repo/core/bzip2.xibuild | 41 --------------- repo/core/cacerts.xibuild | 11 ---- repo/core/cmake.xibuild | 12 ----- repo/core/coreutils.xibuild | 22 -------- repo/core/curl.xibuild | 17 ------ repo/core/dejagnu.xibuild | 23 -------- repo/core/diffutils.xibuild | 12 ----- repo/core/distcc.xibuild | 18 ------- repo/core/e2fsprogs.xibuild | 27 ---------- repo/core/elfutils.xibuild | 13 ----- repo/core/eudev.xibuild | 23 -------- repo/core/expat.xibuild | 16 ------ repo/core/expect.xibuild | 20 ------- repo/core/file.xibuild | 15 ------ repo/core/findutils.xibuild | 16 ------ repo/core/flex.xibuild | 19 ------- repo/core/gawk.xibuild | 12 ----- repo/core/gc.xibuild | 12 ----- repo/core/gcc.xibuild | 78 --------------------------- repo/core/gdbm.xibuild | 14 ----- repo/core/gettext.xibuild | 17 ------ repo/core/git.xibuild | 17 ------ repo/core/glibc.xibuild | 102 ------------------------------------ repo/core/gmp.xibuild | 25 --------- repo/core/gnutls.xibuild | 14 ----- repo/core/gperf.xibuild | 14 ----- repo/core/grep.xibuild | 13 ----- repo/core/groff.xibuild | 12 ----- repo/core/grub.xibuild | 17 ------ repo/core/guile.xibuild | 13 ----- repo/core/gzip.xibuild | 12 ----- repo/core/help2man.xibuild | 14 ----- repo/core/iana-etc.xibuild | 17 ------ repo/core/inetutils.xibuild | 12 ----- repo/core/intltool.xibuild | 14 ----- repo/core/iproute2.xibuild | 14 ----- repo/core/kbd.xibuild | 17 ------ repo/core/keyutils.xibuild | 11 ---- repo/core/kmod.xibuild | 29 ---------- repo/core/krb5.xibuild | 35 ------------- repo/core/less.xibuild | 12 ----- repo/core/libcap-ng.xibuild | 17 ------ repo/core/libcap.xibuild | 21 -------- repo/core/libffi.xibuild | 12 ----- repo/core/libiconv.xibuild | 13 ----- repo/core/libidn.xibuild | 17 ------ repo/core/libldap.xibuild | 12 ----- repo/core/libnghttp.xibuild | 16 ------ repo/core/libp11-kit.xibuild | 28 ---------- repo/core/libpipeline.xibuild | 13 ----- repo/core/libpsl.xibuild | 13 ----- repo/core/libsasl.xibuild | 17 ------ repo/core/libseccomp.xibuild | 15 ------ repo/core/libsigsegv.xibuild | 14 ----- repo/core/libtasn1.xibuild | 14 ----- repo/core/libtool.xibuild | 18 ------- repo/core/libunistring.xibuild | 14 ----- repo/core/libxcrypt.xibuild | 19 ------- repo/core/libxml2.xibuild | 15 ------ repo/core/libxslt.xibuild | 18 ------- repo/core/linux-headers.xibuild | 19 ------- repo/core/lz4.xibuild | 13 ----- repo/core/lzo.xibuild | 16 ------ repo/core/m4.xibuild | 14 ----- repo/core/make-ca.xibuild | 12 ----- repo/core/make.xibuild | 12 ----- repo/core/man-db.xibuild | 22 -------- repo/core/mpc.xibuild | 20 ------- repo/core/mpfr.xibuild | 18 ------- repo/core/ncurses.xibuild | 33 ------------ repo/core/nettle.xibuild | 14 ----- repo/core/nspr.xibuild | 18 ------- repo/core/openssh.xibuild | 30 ----------- repo/core/openssl.xibuild | 19 ------- repo/core/pam.xibuild | 35 ------------- repo/core/patch.xibuild | 12 ----- repo/core/pcre.xibuild | 19 ------- repo/core/perl-xml-parser.xibuild | 13 ----- repo/core/perl.xibuild | 18 ------- repo/core/pkg-config.xibuild | 16 ------ repo/core/procps-ng.xibuild | 16 ------ repo/core/psmisc.xibuild | 13 ----- repo/core/python-requests.xibuild | 11 ---- repo/core/python.xibuild | 17 ------ repo/core/readline.xibuild | 23 -------- repo/core/rsync.xibuild | 14 ----- repo/core/rtmpdump.xibuild | 18 ------- repo/core/sed.xibuild | 19 ------- repo/core/shadow.xibuild | 40 -------------- repo/core/sysklogd.xibuild | 11 ---- repo/core/sysvinit.xibuild | 14 ----- repo/core/tar.xibuild | 13 ----- repo/core/tcl.xibuild | 50 ------------------ repo/core/texinfo.xibuild | 17 ------ repo/core/util-linux.xibuild | 16 ------ repo/core/which.xibuild | 14 ----- repo/core/xmlto.xibuild | 13 ----- repo/core/xxhash.xibuild | 13 ----- repo/core/xz.xibuild | 17 ------ repo/core/zip.xibuild | 11 ---- repo/core/zlib.xibuild | 20 ------- repo/core/zstd.xibuild | 14 ----- repo/devel/asciidoc.xibuild | 15 ++++++ repo/devel/autoconf.xibuild | 13 +++++ repo/devel/automake.xibuild | 18 +++++++ repo/devel/bc.xibuild | 15 ++++++ repo/devel/bison.xibuild | 13 +++++ repo/devel/check.xibuild | 12 +++++ repo/devel/cmake.xibuild | 12 +++++ repo/devel/dejagnu.xibuild | 23 ++++++++ repo/devel/distcc.xibuild | 18 +++++++ repo/devel/expect.xibuild | 20 +++++++ repo/devel/flex.xibuild | 19 +++++++ repo/devel/gcc.xibuild | 78 +++++++++++++++++++++++++++ repo/devel/git.xibuild | 17 ++++++ repo/devel/help2man.xibuild | 14 +++++ repo/devel/m4.xibuild | 14 +++++ repo/devel/make.xibuild | 12 +++++ repo/devel/meson.xibuild | 18 +++++++ repo/devel/mpc.xibuild | 20 +++++++ repo/devel/ninja.xibuild | 18 +++++++ repo/devel/patch.xibuild | 12 +++++ repo/devel/pkg-config.xibuild | 16 ++++++ repo/devel/texinfo.xibuild | 17 ++++++ repo/devel/xmlto.xibuild | 13 +++++ repo/extra/check.xibuild | 12 ----- repo/extra/meson.xibuild | 18 ------- repo/extra/ninja.xibuild | 18 ------- repo/extra/vim.xibuild | 34 ------------ repo/extra/xibuild.xibuild | 17 ------ repo/extra/xipkg.xibuild | 11 ---- repo/linux/linux-headers.xibuild | 19 +++++++ repo/system/acl.xibuild | 14 +++++ repo/system/attr.xibuild | 15 ++++++ repo/system/binutils.xibuild | 38 ++++++++++++++ repo/system/brotli.xibuild | 18 +++++++ repo/system/bzip2.xibuild | 41 +++++++++++++++ repo/system/cacerts.xibuild | 11 ++++ repo/system/coreutils.xibuild | 22 ++++++++ repo/system/eudev.xibuild | 23 ++++++++ repo/system/expat.xibuild | 16 ++++++ repo/system/findutils.xibuild | 16 ++++++ repo/system/gc.xibuild | 12 +++++ repo/system/gdbm.xibuild | 14 +++++ repo/system/gettext.xibuild | 17 ++++++ repo/system/glibc.xibuild | 102 ++++++++++++++++++++++++++++++++++++ repo/system/gmp.xibuild | 25 +++++++++ repo/system/gnutls.xibuild | 14 +++++ repo/system/gperf.xibuild | 14 +++++ repo/system/grub.xibuild | 17 ++++++ repo/system/guile.xibuild | 13 +++++ repo/system/gzip.xibuild | 12 +++++ repo/system/iana-etc.xibuild | 17 ++++++ repo/system/intltool.xibuild | 14 +++++ repo/system/kbd.xibuild | 17 ++++++ repo/system/kmod.xibuild | 29 ++++++++++ repo/system/krb5.xibuild | 35 +++++++++++++ repo/system/libcap-ng.xibuild | 17 ++++++ repo/system/libcap.xibuild | 21 ++++++++ repo/system/libffi.xibuild | 12 +++++ repo/system/libiconv.xibuild | 13 +++++ repo/system/libidn.xibuild | 17 ++++++ repo/system/libldap.xibuild | 12 +++++ repo/system/libnghttp.xibuild | 16 ++++++ repo/system/libp11-kit.xibuild | 28 ++++++++++ repo/system/libpipeline.xibuild | 13 +++++ repo/system/libpsl.xibuild | 13 +++++ repo/system/libsasl.xibuild | 17 ++++++ repo/system/libseccomp.xibuild | 15 ++++++ repo/system/libsigsegv.xibuild | 14 +++++ repo/system/libtasn1.xibuild | 14 +++++ repo/system/libtool.xibuild | 18 +++++++ repo/system/libunistring.xibuild | 14 +++++ repo/system/libxcrypt.xibuild | 19 +++++++ repo/system/libxml2.xibuild | 15 ++++++ repo/system/libxslt.xibuild | 18 +++++++ repo/system/lz4.xibuild | 13 +++++ repo/system/lzo.xibuild | 16 ++++++ repo/system/mpfr.xibuild | 18 +++++++ repo/system/ncurses.xibuild | 33 ++++++++++++ repo/system/nettle.xibuild | 14 +++++ repo/system/nspr.xibuild | 18 +++++++ repo/system/openssl.xibuild | 19 +++++++ repo/system/pam.xibuild | 35 +++++++++++++ repo/system/pcre.xibuild | 19 +++++++ repo/system/perl-xml-parser.xibuild | 13 +++++ repo/system/perl.xibuild | 18 +++++++ repo/system/psmisc.xibuild | 13 +++++ repo/system/python-requests.xibuild | 11 ++++ repo/system/python.xibuild | 17 ++++++ repo/system/readline.xibuild | 23 ++++++++ repo/system/rtmpdump.xibuild | 18 +++++++ repo/system/sed.xibuild | 19 +++++++ repo/system/shadow.xibuild | 40 ++++++++++++++ repo/system/sysklogd.xibuild | 11 ++++ repo/system/sysvinit.xibuild | 14 +++++ repo/system/tar.xibuild | 13 +++++ repo/system/tcl.xibuild | 50 ++++++++++++++++++ repo/system/xxhash.xibuild | 13 +++++ repo/system/xz.xibuild | 17 ++++++ repo/system/zip.xibuild | 11 ++++ repo/system/zlib.xibuild | 20 +++++++ repo/system/zstd.xibuild | 14 +++++ repo/util/bash.xibuild | 17 ++++++ repo/util/curl.xibuild | 17 ++++++ repo/util/diffutils.xibuild | 12 +++++ repo/util/e2fsprogs.xibuild | 27 ++++++++++ repo/util/elfutils.xibuild | 13 +++++ repo/util/file.xibuild | 15 ++++++ repo/util/gawk.xibuild | 12 +++++ repo/util/grep.xibuild | 13 +++++ repo/util/groff.xibuild | 12 +++++ repo/util/inetutils.xibuild | 12 +++++ repo/util/iproute2.xibuild | 14 +++++ repo/util/keyutils.xibuild | 11 ++++ repo/util/less.xibuild | 12 +++++ repo/util/make-ca.xibuild | 12 +++++ repo/util/man-db.xibuild | 22 ++++++++ repo/util/openssh.xibuild | 30 +++++++++++ repo/util/procps-ng.xibuild | 16 ++++++ repo/util/rsync.xibuild | 14 +++++ repo/util/util-linux.xibuild | 16 ++++++ repo/util/vim.xibuild | 34 ++++++++++++ repo/util/which.xibuild | 14 +++++ repo/xi/xibuild.xibuild | 17 ++++++ repo/xi/xipkg.xibuild | 11 ++++ 236 files changed, 2211 insertions(+), 2211 deletions(-) delete mode 100644 repo/core/acl.xibuild delete mode 100644 repo/core/asciidoc.xibuild delete mode 100644 repo/core/attr.xibuild delete mode 100644 repo/core/autoconf.xibuild delete mode 100644 repo/core/automake.xibuild delete mode 100644 repo/core/bash.xibuild delete mode 100644 repo/core/bc.xibuild delete mode 100644 repo/core/binutils.xibuild delete mode 100644 repo/core/bison.xibuild delete mode 100644 repo/core/brotli.xibuild delete mode 100644 repo/core/bzip2.xibuild delete mode 100644 repo/core/cacerts.xibuild delete mode 100644 repo/core/cmake.xibuild delete mode 100644 repo/core/coreutils.xibuild delete mode 100644 repo/core/curl.xibuild delete mode 100644 repo/core/dejagnu.xibuild delete mode 100644 repo/core/diffutils.xibuild delete mode 100644 repo/core/distcc.xibuild delete mode 100644 repo/core/e2fsprogs.xibuild delete mode 100644 repo/core/elfutils.xibuild delete mode 100644 repo/core/eudev.xibuild delete mode 100644 repo/core/expat.xibuild delete mode 100644 repo/core/expect.xibuild delete mode 100644 repo/core/file.xibuild delete mode 100644 repo/core/findutils.xibuild delete mode 100644 repo/core/flex.xibuild delete mode 100644 repo/core/gawk.xibuild delete mode 100644 repo/core/gc.xibuild delete mode 100644 repo/core/gcc.xibuild delete mode 100644 repo/core/gdbm.xibuild delete mode 100644 repo/core/gettext.xibuild delete mode 100644 repo/core/git.xibuild delete mode 100644 repo/core/glibc.xibuild delete mode 100644 repo/core/gmp.xibuild delete mode 100644 repo/core/gnutls.xibuild delete mode 100644 repo/core/gperf.xibuild delete mode 100644 repo/core/grep.xibuild delete mode 100644 repo/core/groff.xibuild delete mode 100644 repo/core/grub.xibuild delete mode 100644 repo/core/guile.xibuild delete mode 100644 repo/core/gzip.xibuild delete mode 100644 repo/core/help2man.xibuild delete mode 100644 repo/core/iana-etc.xibuild delete mode 100644 repo/core/inetutils.xibuild delete mode 100644 repo/core/intltool.xibuild delete mode 100644 repo/core/iproute2.xibuild delete mode 100644 repo/core/kbd.xibuild delete mode 100644 repo/core/keyutils.xibuild delete mode 100644 repo/core/kmod.xibuild delete mode 100644 repo/core/krb5.xibuild delete mode 100644 repo/core/less.xibuild delete mode 100644 repo/core/libcap-ng.xibuild delete mode 100644 repo/core/libcap.xibuild delete mode 100644 repo/core/libffi.xibuild delete mode 100644 repo/core/libiconv.xibuild delete mode 100644 repo/core/libidn.xibuild delete mode 100644 repo/core/libldap.xibuild delete mode 100644 repo/core/libnghttp.xibuild delete mode 100644 repo/core/libp11-kit.xibuild delete mode 100644 repo/core/libpipeline.xibuild delete mode 100644 repo/core/libpsl.xibuild delete mode 100644 repo/core/libsasl.xibuild delete mode 100644 repo/core/libseccomp.xibuild delete mode 100644 repo/core/libsigsegv.xibuild delete mode 100644 repo/core/libtasn1.xibuild delete mode 100644 repo/core/libtool.xibuild delete mode 100644 repo/core/libunistring.xibuild delete mode 100644 repo/core/libxcrypt.xibuild delete mode 100644 repo/core/libxml2.xibuild delete mode 100644 repo/core/libxslt.xibuild delete mode 100644 repo/core/linux-headers.xibuild delete mode 100644 repo/core/lz4.xibuild delete mode 100644 repo/core/lzo.xibuild delete mode 100644 repo/core/m4.xibuild delete mode 100644 repo/core/make-ca.xibuild delete mode 100644 repo/core/make.xibuild delete mode 100644 repo/core/man-db.xibuild delete mode 100644 repo/core/mpc.xibuild delete mode 100644 repo/core/mpfr.xibuild delete mode 100644 repo/core/ncurses.xibuild delete mode 100644 repo/core/nettle.xibuild delete mode 100644 repo/core/nspr.xibuild delete mode 100644 repo/core/openssh.xibuild delete mode 100644 repo/core/openssl.xibuild delete mode 100644 repo/core/pam.xibuild delete mode 100644 repo/core/patch.xibuild delete mode 100644 repo/core/pcre.xibuild delete mode 100644 repo/core/perl-xml-parser.xibuild delete mode 100644 repo/core/perl.xibuild delete mode 100644 repo/core/pkg-config.xibuild delete mode 100644 repo/core/procps-ng.xibuild delete mode 100644 repo/core/psmisc.xibuild delete mode 100644 repo/core/python-requests.xibuild delete mode 100644 repo/core/python.xibuild delete mode 100644 repo/core/readline.xibuild delete mode 100644 repo/core/rsync.xibuild delete mode 100644 repo/core/rtmpdump.xibuild delete mode 100644 repo/core/sed.xibuild delete mode 100644 repo/core/shadow.xibuild delete mode 100644 repo/core/sysklogd.xibuild delete mode 100644 repo/core/sysvinit.xibuild delete mode 100644 repo/core/tar.xibuild delete mode 100644 repo/core/tcl.xibuild delete mode 100644 repo/core/texinfo.xibuild delete mode 100644 repo/core/util-linux.xibuild delete mode 100644 repo/core/which.xibuild delete mode 100644 repo/core/xmlto.xibuild delete mode 100644 repo/core/xxhash.xibuild delete mode 100644 repo/core/xz.xibuild delete mode 100644 repo/core/zip.xibuild delete mode 100644 repo/core/zlib.xibuild delete mode 100644 repo/core/zstd.xibuild create mode 100644 repo/devel/asciidoc.xibuild create mode 100644 repo/devel/autoconf.xibuild create mode 100644 repo/devel/automake.xibuild create mode 100644 repo/devel/bc.xibuild create mode 100644 repo/devel/bison.xibuild create mode 100644 repo/devel/check.xibuild create mode 100644 repo/devel/cmake.xibuild create mode 100644 repo/devel/dejagnu.xibuild create mode 100644 repo/devel/distcc.xibuild create mode 100644 repo/devel/expect.xibuild create mode 100644 repo/devel/flex.xibuild create mode 100644 repo/devel/gcc.xibuild create mode 100644 repo/devel/git.xibuild create mode 100644 repo/devel/help2man.xibuild create mode 100644 repo/devel/m4.xibuild create mode 100644 repo/devel/make.xibuild create mode 100644 repo/devel/meson.xibuild create mode 100644 repo/devel/mpc.xibuild create mode 100644 repo/devel/ninja.xibuild create mode 100644 repo/devel/patch.xibuild create mode 100644 repo/devel/pkg-config.xibuild create mode 100644 repo/devel/texinfo.xibuild create mode 100644 repo/devel/xmlto.xibuild delete mode 100644 repo/extra/check.xibuild delete mode 100644 repo/extra/meson.xibuild delete mode 100644 repo/extra/ninja.xibuild delete mode 100644 repo/extra/vim.xibuild delete mode 100644 repo/extra/xibuild.xibuild delete mode 100644 repo/extra/xipkg.xibuild create mode 100644 repo/linux/linux-headers.xibuild create mode 100644 repo/system/acl.xibuild create mode 100644 repo/system/attr.xibuild create mode 100644 repo/system/binutils.xibuild create mode 100644 repo/system/brotli.xibuild create mode 100644 repo/system/bzip2.xibuild create mode 100644 repo/system/cacerts.xibuild create mode 100644 repo/system/coreutils.xibuild create mode 100644 repo/system/eudev.xibuild create mode 100644 repo/system/expat.xibuild create mode 100644 repo/system/findutils.xibuild create mode 100644 repo/system/gc.xibuild create mode 100644 repo/system/gdbm.xibuild create mode 100644 repo/system/gettext.xibuild create mode 100644 repo/system/glibc.xibuild create mode 100644 repo/system/gmp.xibuild create mode 100644 repo/system/gnutls.xibuild create mode 100644 repo/system/gperf.xibuild create mode 100644 repo/system/grub.xibuild create mode 100644 repo/system/guile.xibuild create mode 100644 repo/system/gzip.xibuild create mode 100644 repo/system/iana-etc.xibuild create mode 100644 repo/system/intltool.xibuild create mode 100644 repo/system/kbd.xibuild create mode 100644 repo/system/kmod.xibuild create mode 100644 repo/system/krb5.xibuild create mode 100644 repo/system/libcap-ng.xibuild create mode 100644 repo/system/libcap.xibuild create mode 100644 repo/system/libffi.xibuild create mode 100644 repo/system/libiconv.xibuild create mode 100644 repo/system/libidn.xibuild create mode 100644 repo/system/libldap.xibuild create mode 100644 repo/system/libnghttp.xibuild create mode 100644 repo/system/libp11-kit.xibuild create mode 100644 repo/system/libpipeline.xibuild create mode 100644 repo/system/libpsl.xibuild create mode 100644 repo/system/libsasl.xibuild create mode 100644 repo/system/libseccomp.xibuild create mode 100644 repo/system/libsigsegv.xibuild create mode 100644 repo/system/libtasn1.xibuild create mode 100644 repo/system/libtool.xibuild create mode 100644 repo/system/libunistring.xibuild create mode 100644 repo/system/libxcrypt.xibuild create mode 100644 repo/system/libxml2.xibuild create mode 100644 repo/system/libxslt.xibuild create mode 100644 repo/system/lz4.xibuild create mode 100644 repo/system/lzo.xibuild create mode 100644 repo/system/mpfr.xibuild create mode 100644 repo/system/ncurses.xibuild create mode 100644 repo/system/nettle.xibuild create mode 100644 repo/system/nspr.xibuild create mode 100644 repo/system/openssl.xibuild create mode 100644 repo/system/pam.xibuild create mode 100644 repo/system/pcre.xibuild create mode 100644 repo/system/perl-xml-parser.xibuild create mode 100644 repo/system/perl.xibuild create mode 100644 repo/system/psmisc.xibuild create mode 100644 repo/system/python-requests.xibuild create mode 100644 repo/system/python.xibuild create mode 100644 repo/system/readline.xibuild create mode 100644 repo/system/rtmpdump.xibuild create mode 100644 repo/system/sed.xibuild create mode 100644 repo/system/shadow.xibuild create mode 100644 repo/system/sysklogd.xibuild create mode 100644 repo/system/sysvinit.xibuild create mode 100644 repo/system/tar.xibuild create mode 100644 repo/system/tcl.xibuild create mode 100644 repo/system/xxhash.xibuild create mode 100644 repo/system/xz.xibuild create mode 100644 repo/system/zip.xibuild create mode 100644 repo/system/zlib.xibuild create mode 100644 repo/system/zstd.xibuild create mode 100644 repo/util/bash.xibuild create mode 100644 repo/util/curl.xibuild create mode 100644 repo/util/diffutils.xibuild create mode 100644 repo/util/e2fsprogs.xibuild create mode 100644 repo/util/elfutils.xibuild create mode 100644 repo/util/file.xibuild create mode 100644 repo/util/gawk.xibuild create mode 100644 repo/util/grep.xibuild create mode 100644 repo/util/groff.xibuild create mode 100644 repo/util/inetutils.xibuild create mode 100644 repo/util/iproute2.xibuild create mode 100644 repo/util/keyutils.xibuild create mode 100644 repo/util/less.xibuild create mode 100644 repo/util/make-ca.xibuild create mode 100644 repo/util/man-db.xibuild create mode 100644 repo/util/openssh.xibuild create mode 100644 repo/util/procps-ng.xibuild create mode 100644 repo/util/rsync.xibuild create mode 100644 repo/util/util-linux.xibuild create mode 100644 repo/util/vim.xibuild create mode 100644 repo/util/which.xibuild create mode 100644 repo/xi/xibuild.xibuild create mode 100644 repo/xi/xipkg.xibuild diff --git a/repo/core/acl.xibuild b/repo/core/acl.xibuild deleted file mode 100644 index 7b86fe6..0000000 --- a/repo/core/acl.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(attr) - -SOURCE=http://download.savannah.nongnu.org/releases/acl/acl-2.3.1.tar.xz -DESC="Access control list utilities, libraries and headers" - -build () { - ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/acl-2.3.1 - make - - make DESTDIR=$PKG_DEST install - -} diff --git a/repo/core/asciidoc.xibuild b/repo/core/asciidoc.xibuild deleted file mode 100644 index 47b51a0..0000000 --- a/repo/core/asciidoc.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(python libxslt docbook-xsl) - -SOURCE=https://github.com/asciidoc-py/asciidoc-py/releases/download/10.1.1/asciidoc-10.1.1.tar.gz -DESC="Text document format for short documents, articles, books and UNIX man pages" - - - -package () { - pip install -t $PKG_DEST/usr/lib/python3.10/site-packages/ asciidoc - mkdir -pv $PKG_DEST/usr/bin - ln -s /usr/lib/python3.10/site-packages/bin/asciidoc $PKG_DEST/usr/bin/asciidoc - ln -s /usr/lib/python3.10/site-packages/bin/a2x $PKG_DEST/usr/bin/a2x -} diff --git a/repo/core/attr.xibuild b/repo/core/attr.xibuild deleted file mode 100644 index 6aa9673..0000000 --- a/repo/core/attr.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) -SOURCE=http://download.savannah.nongnu.org/releases/attr/attr-2.5.1.tar.xz - -DESC="Extended attribute support library for ACL support" - -build () { - - ./configure --prefix=/usr --disable-static --sysconfdir=/etc --docdir=/usr/share/doc/attr-2.5.1 - - make - make check - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/autoconf.xibuild b/repo/core/autoconf.xibuild deleted file mode 100644 index b61179f..0000000 --- a/repo/core/autoconf.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(awk m4 diffutils perl sh) - -SOURCE=https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.xz -DESC="GNU programs for producing shell scripts that can automatically configure source code" - -build () { - ./configure --prefix=/usr --sysconfdir=/etc - make - make check - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/automake.xibuild b/repo/core/automake.xibuild deleted file mode 100644 index f83fc62..0000000 --- a/repo/core/automake.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(perl bash) - -SOURCE=https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.xz -DESC="A GNU tool for automatically creating Makefiles" - -build () { - ./configure --prefix=/usr -docdir=/usr/share/doc/automake-1.16.5 - make - make -j4 check - make DESTDIR=$PKG_DEST install -} - -package () { - # backwards compatibility? - ln -s /usr/bin/aclocal $PKG_DEST/usr/bin/aclocal-1.15 -} diff --git a/repo/core/bash.xibuild b/repo/core/bash.xibuild deleted file mode 100644 index 5b5afd0..0000000 --- a/repo/core/bash.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(readline glibc ncurses) - -SOURCE=https://git.savannah.gnu.org/git/bash.git -DESC="The free Bourne Again Shell" - -build () { - ./configure --without-bash-malloc --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - -package () { - ln $PKG_DEST/usr/bin/bash $PKG_DEST/usr/bin/sh -} - diff --git a/repo/core/bc.xibuild b/repo/core/bc.xibuild deleted file mode 100644 index 160b6f5..0000000 --- a/repo/core/bc.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(readline) - -SOURCE=https://github.com/gavinhoward/bc/releases/download/5.2.1/bc-5.2.1.tar.xz -DESC="An arbitrary precision numeric processing language" - -build () { - CC=gcc ./configure --prefix=/usr -G -O3 - make - make test - make DESTDIR=$PKG_DEST install -} - - diff --git a/repo/core/binutils.xibuild b/repo/core/binutils.xibuild deleted file mode 100644 index 874257c..0000000 --- a/repo/core/binutils.xibuild +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -DEPS=(glib zlib elfutils) - -SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.xz -DESC="tools for handling object files" - -build () { - curl https://www.linuxfromscratch.org/patches/lfs/development/binutils-2.37-upstream_fix-1.patch > binutils-2.37-upstream_fix-1.patch - patch -Np1 -i binutils-2.37-upstream_fix-1.patch - - # An error in the building system causes the shipped man pages to be empty. Workaround the issue and remove the shipped man pages, so the man pages will be regenerated correctly: - - sed -i '63d' etc/texi2pod.pl - find -name \*.1 -delete - - mkdir -v build - cd build - ../configure --prefix=/usr \ - --enable-gold \ - --enable-ld=default \ - --enable-install-libiberty \ - --enable-plugins \ - --enable-shared \ - --disable-werror \ - --enable-64-bit-bfd \ - --with-system-zlib - - make tooldir=/usr - make -k check || true -} - -package() { - make -j1 DESTDIR=$PKG_DEST -j1 install - cp ../include/libiberty.h $PKG_DEST/usr/include - rm -fv $PKG_DEST/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a - -} diff --git a/repo/core/bison.xibuild b/repo/core/bison.xibuild deleted file mode 100644 index 556bf16..0000000 --- a/repo/core/bison.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(glibc m4 sh) - -SOURCE=https://ftp.gnu.org/gnu/bison/bison-3.8.1.tar.xz -DESC="The GNU general-purpose parser generator" - -build () { - ./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.1 - make - make check - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/brotli.xibuild b/repo/core/brotli.xibuild deleted file mode 100644 index 5a4f2e0..0000000 --- a/repo/core/brotli.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/google/brotli -DESC="A generic-purpose lossless compression algorithm" - -build () { - mkdir out && cd out - ../configure-cmake - make - make test - make DESTDIR=$PKG_DEST install -} - -package () { - mv $PKG_DEST/usr/local/* $PKG_DEST/usr/ -} diff --git a/repo/core/bzip2.xibuild b/repo/core/bzip2.xibuild deleted file mode 100644 index f60aece..0000000 --- a/repo/core/bzip2.xibuild +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh) - -SOURCE=git://sourceware.org/git/bzip2.git -BRANCH=bzip2-1.0.8 -DESC="a selection of programs for compressing and decompressing bzip2 files" - - -build () { - #curl https://www.linuxfromscratch.org/patches/lfs/development/bzip2-1.0.8-install_docs-1.patch > bzip2-1.0.8-install_docs-1.patch - - #patch -Np1 -i bzip2-1.0.8-install_docs-1.patch - - - # ensure symbolic links are relative - sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile - - #sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile - - make -f Makefile-libbz2_so - make clean - - make - make PREFIX=$PKG_DEST/usr install - -} - -package () { - cp -av libbz2.so* $PKG_DEST/usr/lib - cp -av libbz2.so.1.0.8 $PKG_DEST/usr/lib/libbz2.so - - cp -v bzip2-shared $PKG_DEST/usr/bin/bzip2 - for i in $PKG_DEST/usr/bin/{bzcat,bunzip2}; do - ln -sfv bzip2 $i - done - - # remove a useless static library - rm -fv $PKG_DEST/usr/lib/libbz2.a -} - diff --git a/repo/core/cacerts.xibuild b/repo/core/cacerts.xibuild deleted file mode 100644 index 9ebe9bd..0000000 --- a/repo/core/cacerts.xibuild +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -DEPS=(make-ca) - -SOURCE=https://github.com/djlucas/make-ca/releases/download/v1.7/make-ca-1.7.tar.xz -DESC="Root certificates needed by ssl built using make-ca" - -package () { - bash make-ca -g --force -D $PKG_DEST - chmod -R 777 $PKG_DEST || echo "couldnt change permissions for $PKG_DEST" -} diff --git a/repo/core/cmake.xibuild b/repo/core/cmake.xibuild deleted file mode 100644 index 1b9959e..0000000 --- a/repo/core/cmake.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(curl libarchive jsoncpp libuv rhash) - -SOURCE=https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1.tar.gz -DESC="A cross-platform open-source make system" - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/coreutils.xibuild b/repo/core/coreutils.xibuild deleted file mode 100644 index 3e0e023..0000000 --- a/repo/core/coreutils.xibuild +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -DEPS=(glibc acl attr gmp libcap openssl) - -SOURCE=https://ftp.gnu.org/gnu/coreutils/coreutils-9.0.tar.xz -DESC="The GNU coreutilities" - -build () { - autoreconf -fiv - - FORCE_UNSAFE_CONFIGURE=1 ./configure \ - --prefix=/usr \ - --enable-no-install-program=kill,uptime - make -} - -package () { - make DESTDIR=$PKG_DEST install - mkdir -pv $PKG_DEST/usr/share/man/man8/chroot.8 - mkdir -pv $PKG_DEST/usr/sbin - mv -v $PKG_DEST/usr/bin/chroot $PKG_DEST/usr/sbin -} diff --git a/repo/core/curl.xibuild b/repo/core/curl.xibuild deleted file mode 100644 index b5da8e4..0000000 --- a/repo/core/curl.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(cacerts openssl zlib zstd libnghttp libpsl) - -SOURCE=https://curl.se/download/curl-7.80.0.tar.xz -DESC="A utility for transfering files with URL syntax" - -build () { - ./configure --prefix=/usr \ - --disable-static \ - --with-openssl \ - --enable-threaded-resolver \ - --with-ca-path=/etc/ssl/certs && - make - - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/dejagnu.xibuild b/repo/core/dejagnu.xibuild deleted file mode 100644 index 21a35a4..0000000 --- a/repo/core/dejagnu.xibuild +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -DEPS=(sh expect) - -SOURCE=https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.3.tar.gz -DESC="a framework for running test suites on GNU tools" - -build () { - 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=$PKG_DEST install - - install -v -dm755 $PKG_DEST/usr/share/doc/dejagnu-1.6.3 - install -v -m644 doc/dejagnu.{html,txt} $PKG_DEST/usr/share/doc/dejagnu-1.6.3 -} - - diff --git a/repo/core/diffutils.xibuild b/repo/core/diffutils.xibuild deleted file mode 100644 index 2a14984..0000000 --- a/repo/core/diffutils.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(glibc bash) - -SOURCE=https://ftp.gnu.org/gnu/diffutils/diffutils-3.8.tar.xz -DESC="Utility programs for creating patch files" - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/distcc.xibuild b/repo/core/distcc.xibuild deleted file mode 100644 index 8d4039b..0000000 --- a/repo/core/distcc.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(gcc python) - -SOURCE=https://github.com/distcc/distcc/releases/download/v3.4/distcc-3.4.tar.gz - -DESC="Distributed compiler for C, C++ and Objective-C" - - -build () { - ./configure --prefix=/usr - make -} - - -package () { - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/e2fsprogs.xibuild b/repo/core/e2fsprogs.xibuild deleted file mode 100644 index c2de603..0000000 --- a/repo/core/e2fsprogs.xibuild +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -DEPS=(sh util-linux) - -SOURCE=https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.4/e2fsprogs-1.46.4.tar.xz -DESC="Ext2/3/4 filesystem utils" - -build () { - mkdir -v build - cd build - ../configure --prefix=/usr \ - --sysconfdir=/etc \ - --enable-elf-shlibs \ - --disable-libblkid \ - --disable-libuuid \ - --disable-uuidd \ - --disable-fsck - make - make DESTDIR=$PKG_DEST install -} - - -package () { - rm -fv $PKG_DEST/usr/lib/{libcom_err,libe2p,libext2fs,libss}.a - gunzip -v $PKG_DEST/usr/share/info/libext2fs.info.gz - install-info --dir-file=$PKG_DEST/usr/share/info/dir $PKG_DEST/usr/share/info/libext2fs.info -} diff --git a/repo/core/elfutils.xibuild b/repo/core/elfutils.xibuild deleted file mode 100644 index 4fef630..0000000 --- a/repo/core/elfutils.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://sourceware.org/elfutils/ftp/elfutils-latest.tar.bz2 -DESC="Handle ELF object files and DWARF debugging information" - -build () { - ./configure --prefix=/usr --disable-debuginfod --enable-libdebuginfod=dummy - make - make check - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/eudev.xibuild b/repo/core/eudev.xibuild deleted file mode 100644 index 848191c..0000000 --- a/repo/core/eudev.xibuild +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -DEPS=() - -SOURCE=https://dev.gentoo.org/~blueness/eudev/eudev-3.2.10.tar.gz -DESC="Programs for dynamic creation of device nodes" - -build () { - ./configure --prefix=/usr \ - --bindir=/usr/sbin \ - --sysconfdir=/etc \ - --enable-manpages \ - --disable-static - make -} - -package () { - mkdir -pv $PKG_DEST/usr/lib/udev/rules.d - mkdir -pv $PKG_DEST/etc/udev/rules.d - - make DESTDIR=$PKG_DEST install - -} diff --git a/repo/core/expat.xibuild b/repo/core/expat.xibuild deleted file mode 100644 index bf9c49f..0000000 --- a/repo/core/expat.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz -DESC="An XML parser library" - -build () { - ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/expat-2.4.1 - make - make check - - make DESTDIR=$PKG_DEST install - - install -v -m644 doc/*{.html,png,css} $PKG_DEST/usr/share/doc/expat-2.4.1 -} diff --git a/repo/core/expect.xibuild b/repo/core/expect.xibuild deleted file mode 100644 index cb5b6f6..0000000 --- a/repo/core/expect.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(tcl) - -SOURCE=https://sourceforge.net/projects/expect/files/Expect/5.45.4/expect5.45.4.tar.gz/download -DESC="tools for automating interactive applications" - -build () { - # note: --with-tcl, we might want to make a way to use the tcl that we've compiled in another package - ./configure --prefix=/usr --with-tcl=/usr/lib --enable-shared --mandir=/usr/share/man --with-tclinclude=/usr/include - make - make test - make DESTDIR=$PKG_DEST install -} - -package () { - cp libexpect*.so $PKG_DEST/usr/lib -} - - diff --git a/repo/core/file.xibuild b/repo/core/file.xibuild deleted file mode 100644 index 150810b..0000000 --- a/repo/core/file.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(glibc zlib xz bzip2) - -SOURCE=http://ftp.astron.com/pub/file/file-5.40.tar.gz -DESC="A utility for determining the type of a given file or files" - -build () { - ./configure --prefix=/usr - make - make check - make DESTDIR=$PKG_DEST install -} - - diff --git a/repo/core/findutils.xibuild b/repo/core/findutils.xibuild deleted file mode 100644 index d8fd39c..0000000 --- a/repo/core/findutils.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh) - -SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-4.8.0.tar.xz -DESC="GNU utilities to locate files" - -build () { - case $(uname -m) in - i?86) TIME_T_32_BIT_OK=yes ./configure --prefix=/usr --localstatedir=/var/lib/locate ;; - x86_64) ./configure --prefix=/usr --localstatedir=/var/lib/locate ;; - esac - - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/flex.xibuild b/repo/core/flex.xibuild deleted file mode 100644 index f5291cc..0000000 --- a/repo/core/flex.xibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc m4 sh) - -SOURCE=https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz -DESC="a utility for generating programs that recognize patterns in text" - -build () { - ./configure --prefix=/usr --docdir=/usr/share/doc/flex --disable-static - make - make check - make DESTDIR=$PKG_DEST install -} - -package () { - ln -v /usr/bin/flex $PKG_DEST/usr/bin/lex -} - - diff --git a/repo/core/gawk.xibuild b/repo/core/gawk.xibuild deleted file mode 100644 index e06c4e3..0000000 --- a/repo/core/gawk.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(sh glibc mpfr) - -SOURCE=https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.xz -DESC="GNU's awk" - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/gc.xibuild b/repo/core/gc.xibuild deleted file mode 100644 index d06a08d..0000000 --- a/repo/core/gc.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(gcc-libs) - -SOURCE=https://github.com/ivmai/bdwgc/releases/download/v8.0.6/gc-8.0.6.tar.gz -DESC="A garbage collector for C and C++" - -build () { - ./configure --prefix=/usr --disable-static - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/gcc.xibuild b/repo/core/gcc.xibuild deleted file mode 100644 index ab9830d..0000000 --- a/repo/core/gcc.xibuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.xz - -DESC="The GNU Compiler Collection - C and C++ frontends" - - -build () { - #fix an issue breaking libasan.a - - sed -e '/static.*SIGSTKSZ/d' \ - -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \ - -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp - - case $(uname -m) in - x86_64) - sed -e '/m64=/s/lib64/lib/' \ - -i.orig gcc/config/i386/t-linux64 - ;; - esac - - - mkdir -v build - cd build - - ../configure --prefix=/usr \ - LD=ld \ - --enable-languages=c,c++ \ - --disable-multilib \ - --disable-bootstrap \ - --with-system-zlib - - make - - ulimit -s 32768 - - if id -u tester; then - chown -Rv tester . - su tester -c "PATH=$PATH make $MAKEFLAGS -k check" - ../contrib/test_summary | grep -A7 Summ - fi - -} - - -package () { - make DESTDIR=$PKG_DEST install - - rm -rf $PKG_DEST/usr/lib/gcc/$(gcc -dumpmachine)/11.2.0/include-fixed/bits/ - - chown -v -R root:root \ - $PKG_DEST/usr/lib/gcc/*linux-gnu/11.2.0/include{,-fixed} - ln -sv cpp $PKG_DEST/usr/lib/cpp - - ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/11.2.0/liblto_plugin.so \ - $PKG_DEST/usr/lib/bfd-plugins/ - - - # sanity checks - echo 'int main(){}' > dummy.c - cc dummy.c -v -Wl,--verbose &> dummy.log - readelf -l a.out | grep ': /lib' - - grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log - grep -B4 '^ /usr/include' dummy.log - grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' - grep "/lib.*/libc.so.6 " dummy.log - grep found dummy.log - - # move a misplaced file - mkdir -pv $PKG_DEST/usr/share/gdb/auto-load/usr/lib - mv -v $PKG_DEST/usr/lib/*gdb.py $PKG_DEST/usr/share/gdb/auto-load/usr/lib - - # set gcc as the default c compiler - ln -s gcc $PKG_DEST/usr/bin/cc -} diff --git a/repo/core/gdbm.xibuild b/repo/core/gdbm.xibuild deleted file mode 100644 index ddeecca..0000000 --- a/repo/core/gdbm.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh readline) - -SOURCE=https://ftp.gnu.org/gnu/gdbm/gdbm-1.21.tar.gz -DESC="GNU database library" - -build () { - ./configure --prefix=/usr --disable-static --enable-libgdm-compat - make - make -k check - - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/gettext.xibuild b/repo/core/gettext.xibuild deleted file mode 100644 index e0f6d37..0000000 --- a/repo/core/gettext.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(acl sh glib2) - -SOURCE=https://ftp.gnu.org/pub/gnu/gettext/gettext-0.21.tar.gz -DESC="GNU internationalization library" - -build () { - ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/gettext-0.21 - make - make check -} - -package () { - make DESTDIR=$PKG_DEST install - chmod -v 0755 $PKG_DEST/usr/lib/preloadable_libintl.so -} diff --git a/repo/core/git.xibuild b/repo/core/git.xibuild deleted file mode 100644 index 7f8d277..0000000 --- a/repo/core/git.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(curl perl openssl pcre2 grep shadow zlib) - -SOURCE=https://www.kernel.org/pub/software/scm/git/git-2.34.1.tar.xz -DESC="The free and open source, distributed version control system" - -build () { - ./configure --prefix=/usr \ - --with-gitconfig=/etc/gitconfig \ - --with-python=python3 && - make - #make man - make perllibdir=/usr/lib/perl5/5.34/site_perl DESTDIR=$PKG_DEST install - #make DESTDIR=$PKG_DEST install-man - -} diff --git a/repo/core/glibc.xibuild b/repo/core/glibc.xibuild deleted file mode 100644 index 61e5a0a..0000000 --- a/repo/core/glibc.xibuild +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.xz -DESC="The main gnu C library providing basic routines and procedures" - -build () { - # patches as recommended by lfs - sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' -i sysdeps/unix/sysv/linux/mq_notify.c - - curl https://www.linuxfromscratch.org/patches/lfs/development/glibc-2.34-fhs-1.patch > glibc-2.34-fhs-1.patch - - patch -Np1 -i glibc-2.34-fhs-1.patch - - mkdir -v build - cd build - - # ensure that the ldconfig and sln utilities are installed into /usr/sbin - echo "rootsbindir=/usr/sbin" > configparms - - ../configure --prefix=/usr \ - --disable-werror \ - --enable-kernel=3.2 \ - --enable-stack-protector=strong \ - --with-headers=/usr/include \ - libc_cv_slibdir=/usr/lib - - make - - # some check failures are 'expected' - #make check || true - -} - -package () { - mkdir -pv $PKG_DEST/etc - touch $PKG_DEST/etc/ld.so.conf - - sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile - make DESTDIR=$PKG_DEST install - - # fix hardcoded path to the excutable in ldd script - sed '/RTLDLIST=/s@/usr@@g' -i $PKG_DEST/usr/bin/ldd - - cp -v ../nscd/nscd.conf $PKG_DEST/etc/nscd.conf - mkdir -pv $PKG_DEST/var/cache/nscd - - # create locales for the system - # note, this should be moved to a better place - make DESTDIR=$PKG_DEST localedata/install-locales - - cat > $PKG_DEST/etc/nsswitch.conf << "EOF" -# Begin /etc/nsswitch.conf - -passwd: files -group: files -shadow: files - -hosts: files dns -networks: files - -protocols: files -services: files -ethers: files -rpc: files - -# End /etc/nsswitch.conf -EOF - - curl https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/glibc/trunk/locale-gen > locale-gen - - install -m755 locale-gen "$PKG_DEST/usr/bin" - - #curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz > tzdata2021e.tar.gz - #tar -xf tzdata2021e.tar.gz -# - #ZONEINFO=$PKG_DEST/usr/share/zoneinfo - #mkdir -pv $ZONEINFO/{posix,right} -## - #for tz in etcetera southamerica northamerica europe africa antarctica \ - #asia australasia backward; do - #zic -L /dev/null -d $ZONEINFO ${tz} - #zic -L /dev/null -d $ZONEINFO/posix ${tz} - #zic -L leapseconds -d $ZONEINFO/right ${tz} - #done -# - #cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO - #zic -d $ZONEINFO -p America/New_York - #unset ZONEINFO - - - # configure dynamic loader - cat > $PKG_DEST/etc/ld.so.conf << "EOF" -# Begin /etc/ld.so.conf -/usr/local/lib -/opt/lib -include /etc/ld.so.conf.d/*.conf -EOF - mkdir -pv $PKG_DEST/etc/ld.so.conf.d -} - diff --git a/repo/core/gmp.xibuild b/repo/core/gmp.xibuild deleted file mode 100644 index 6c426bc..0000000 --- a/repo/core/gmp.xibuild +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -DEPS=(gcc-libs sh) - -SOURCE=https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz -DESC="a collection of mathematical libraries" - -build () { - cp -v configfsf.guess config.guess - cp -v configfsf.sub config.sub - - ./configure --prefix=/usr --enable-cxx --disable-static --docdir=/usr/share/doc/gmp - - make - make html - - make check 2>&1 | tee gmp-check-log - awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log - -} - -package() { - make DESTDIR=$PKG_DEST install - make DESTDIR=$PKG_DEST install-html -} diff --git a/repo/core/gnutls.xibuild b/repo/core/gnutls.xibuild deleted file mode 100644 index b2e0fa3..0000000 --- a/repo/core/gnutls.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(libtasn readline zlib nettle p11-kit libidn2 libunistring) - -SOURCE=https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.16.tar.xz -DESC="Library which provides a secure layer over a transport layer" - -build () { - - ./configure \ - --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/gperf.xibuild b/repo/core/gperf.xibuild deleted file mode 100644 index 0f08d60..0000000 --- a/repo/core/gperf.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz -DESC="Perfect hash function generator" - -build () { - ./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1 - make - make -j1 check - - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/grep.xibuild b/repo/core/grep.xibuild deleted file mode 100644 index aab9964..0000000 --- a/repo/core/grep.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(glibc pcre) - -SOURCE=https://ftp.gnu.org/gnu/grep/grep-3.7.tar.xz -DESC="A string search utility" - -build () { - ./configure --prefix=/usr --bindir=/bin - make - make check - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/groff.xibuild b/repo/core/groff.xibuild deleted file mode 100644 index 83d970a..0000000 --- a/repo/core/groff.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(perl) - -SOURCE=https://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz -DESC="GNU troff text-formatting system" - -build () { - PAGE=A4 ./configure --prefix=/usr - make -j1 - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/grub.xibuild b/repo/core/grub.xibuild deleted file mode 100644 index 37b4da9..0000000 --- a/repo/core/grub.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(sh xz gettext device-mapper) - -SOURCE=https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz -DESC="GNU GRand Unified Bootloader v2" - -build () { - ./configure --prefix=/usr --sysconfdir=/etc --disable-werror - make - make DESTDIR=$PKG_DEST install -} - -package () { - mkdir -pv $PKG_DEST/usr/share/bash-completion/completions - mv -v $PKG_DEST/etc/bash_completion.d/grub $PKG_DEST/usr/share/bash-completion/completions -} diff --git a/repo/core/guile.xibuild b/repo/core/guile.xibuild deleted file mode 100644 index fd65daa..0000000 --- a/repo/core/guile.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(gmp libltdl ncurses texinfo libunistring gc libffi) - -SOURCE=https://ftp.gnu.org/gnu/guile/guile-2.2.7.tar.gz -DESC="Portable, embeddable Scheme implementation written in C" - -build () { - ./autogen.sh - ./configure --prefix=/usr --disable-static - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/gzip.xibuild b/repo/core/gzip.xibuild deleted file mode 100644 index 15376a1..0000000 --- a/repo/core/gzip.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(glibc bash less) - -SOURCE=https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz -DESC="GNU compression utilities" - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/help2man.xibuild b/repo/core/help2man.xibuild deleted file mode 100644 index a8d4e47..0000000 --- a/repo/core/help2man.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(sh) - -SOURCE=http://mirror.koddos.net/gnu/help2man/help2man-1.48.5.tar.xz -DESC="A tool for automatically generating simple manual pages from program output" - - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - diff --git a/repo/core/iana-etc.xibuild b/repo/core/iana-etc.xibuild deleted file mode 100644 index be9b261..0000000 --- a/repo/core/iana-etc.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=() - -SOURCE=https://github.com/Mic92/iana-etc -DESC="A set of data from the internet assigned numbers authority providing data for network services and protocols" - -build () { - python update.py out -} - -package () { - mkdir -vp $PKG_DEST/etc - cp -v out/dist/protocols $PKG_DEST/etc/ - cp -v out/dist/services $PKG_DEST/etc/ -} - diff --git a/repo/core/inetutils.xibuild b/repo/core/inetutils.xibuild deleted file mode 100644 index 89bf87c..0000000 --- a/repo/core/inetutils.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(pam libcap readline ncurses libxcrypt) - -SOURCE=https://ftp.gnu.org/gnu/inetutils/inetutils-2.2.tar.xz -DESC="A collection of common programs for basic networking" - -build () { - ./configure --prefix=/usr --bindir=/usr/bin --localstatedir=/var --disable-logger --disable-whois --disable-rcp --disable-rexec --disable-rlogin --disable-rsh - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/intltool.xibuild b/repo/core/intltool.xibuild deleted file mode 100644 index ec0a774..0000000 --- a/repo/core/intltool.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(perl-xml-parser) - -SOURCE=https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz -DESC="The internationalization tool collection" - -build () { - ./configure --prefix=/usr - make - make check - make DESTDIR=$PKG_DEST install - install -v -Dm644 doc/I18N-HOWTO $PKG_DEST/usr/share/doc/intltool-0.51.0/I18N-HOWTO -} diff --git a/repo/core/iproute2.xibuild b/repo/core/iproute2.xibuild deleted file mode 100644 index 94baef1..0000000 --- a/repo/core/iproute2.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc iptables libelf) - -SOURCE=https://git.kernel.org/pub/scm/network/iproute2/iproute2.git -DESC="IP Routing Utilities" - -build () { - sed -i /ARPD/d Makefile - rm -fv man/man8/arpd.8 - - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/kbd.xibuild b/repo/core/kbd.xibuild deleted file mode 100644 index 8612f4a..0000000 --- a/repo/core/kbd.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(glibc pam) - -SOURCE=https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-2.4.0.tar.xz -DESC="Keytable files and keyboard utilities" - -build () { - - # remove redundant resizecons program - sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure - sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in - - ./configure --prefix=/usr --disable-vlock - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/keyutils.xibuild b/repo/core/keyutils.xibuild deleted file mode 100644 index a2341dc..0000000 --- a/repo/core/keyutils.xibuild +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh) - -SOURCE=https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-1.6.3.tar.gz -DESC="Linux Key Management Utils" - -build () { - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/kmod.xibuild b/repo/core/kmod.xibuild deleted file mode 100644 index b6f873e..0000000 --- a/repo/core/kmod.xibuild +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -DEPS=(glibc zlib openssl xz zstd) - -SOURCE=https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-29.tar.xz -DESC="Libraries and utilities for managing kernel modules" - -build () { - ./autogen.sh - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-xz \ - --with-zstd \ - --with-zlib - - make - make DESTDIR=$PKG_DEST install -} - -package () { - mkdir -p /usr/sbin - mkdir -p /usr/bin - - for target in depmod insmod modinfo modprobe rmmod; do - ln -sfv ../bin/kmod $PKG_DERT/usr/sbin/$target - done - - ln -sfv kmod $PKG_DEST/usr/bin/lsmod -} diff --git a/repo/core/krb5.xibuild b/repo/core/krb5.xibuild deleted file mode 100644 index 8769e1f..0000000 --- a/repo/core/krb5.xibuild +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -DEPS=(glibc e2fsprogs libldap keyutils) - -SOURCE=https://kerberos.org/dist/krb5/1.19/krb5-1.19.2.tar.gz -DESC="The Kerberos network authentication system" - -build () { - # fix denial of service vulnerability - sed -i '210a if (sprinc == NULL) {\ - status = "NULL_SERVER";\ - errcode = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN;\ - goto cleanup;\ - }' src/kdc/do_tgs_req.c - - cd src && - - sed -i -e 's@\^u}@^u cols 300}@' tests/dejagnu/config/default.exp && - sed -i -e '/eq 0/{N;s/12 //}' plugins/kdb/db2/libdb2/test/run.test && - sed -i '/t_iprop.py/d' tests/Makefile.in && - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --runstatedir=/run \ - --with-system-et \ - --with-system-ss \ - --with-system-verto=no \ - --enable-dns-for-realm && - make - make DESTDIR=$PKG_DEST install - - install -v -dm755 $PKG_DEST/usr/share/doc/krb5-1.19.2 && - cp -vfr ../doc/* $PKG_DEST/usr/share/doc/krb5-1.19.2 -} diff --git a/repo/core/less.xibuild b/repo/core/less.xibuild deleted file mode 100644 index a2bb435..0000000 --- a/repo/core/less.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(glibc ncurses pcre2) - -SOURCE=https://www.greenwoodsoftware.com/less/less-590.tar.gz -DESC="A terminal based program for viewing text files" - -build () { - ./configure --prefix=/usr --sysconfdir=/etc - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libcap-ng.xibuild b/repo/core/libcap-ng.xibuild deleted file mode 100644 index eaad150..0000000 --- a/repo/core/libcap-ng.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v0.8.2.tar.gz - -DESC="A library for linux that makes posix capabilities easy" - -build () { - ./autogen.sh - ./configure --prefix=/usr - make prefix=/usr lib=lib -} - -package() { - make prefix=/usr lib=lib DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libcap.xibuild b/repo/core/libcap.xibuild deleted file mode 100644 index 01bc414..0000000 --- a/repo/core/libcap.xibuild +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -DEPS=(glibc pam) - -SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.62.tar.gz - -DESC="POSIX 1003.1e capabilities" - -build () { - sed -i '/install -m.*STA/d' libcap/Makefile - - make prefix=/usr lib=lib - - make test - make prefix=/usr lib=lib DESTDIR=$PKG_DEST install - -} - -package() { - chmod -v 755 $PKG_DEST/usr/lib/lib{cap,psx}.so.* -} diff --git a/repo/core/libffi.xibuild b/repo/core/libffi.xibuild deleted file mode 100644 index 872cb83..0000000 --- a/repo/core/libffi.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz -DESC="Portable foreign function interface library" - -build () { - ./configure --prefix=/usr --disable-static --with-gcc-arch=native --disable-exec-static-tramp - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libiconv.xibuild b/repo/core/libiconv.xibuild deleted file mode 100644 index 52b45ef..0000000 --- a/repo/core/libiconv.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.16.tar.gz - -DESC="GNU charset conversion library" - -build () { - ./configure --prefix=/usr --disable-static && - make - make prefix=/usr lib=lib DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libidn.xibuild b/repo/core/libidn.xibuild deleted file mode 100644 index ddb9d08..0000000 --- a/repo/core/libidn.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://ftp.gnu.org/gnu/libidn/libidn2-2.3.2.tar.gz -DESC="Free software implementation of IDNA2008, Punycode and TR46" - -build () { - ./configure --prefix=/usr --disable-static - make - make DESTDIR=$PKG_DEST install - - find doc -name "Makefile*" -delete && - rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} && - mkdir -pv $PKG_DEST/usr/share/doc/libidn-2.3.2 && - cp -r -v doc/* $PKG_DEST/usr/share/doc/libidn-2.3.2 -} diff --git a/repo/core/libldap.xibuild b/repo/core/libldap.xibuild deleted file mode 100644 index f6caccb..0000000 --- a/repo/core/libldap.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(libidn libsasl) - -SOURCE=http://repository.linagora.org/OpenLDAP/openldap-release/openldap-2.6.0.tgz -DESC="An open source implementation of the Lightweight Directory Access Protocol" - -build () { - ./configure prefix="/usr" - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libnghttp.xibuild b/repo/core/libnghttp.xibuild deleted file mode 100644 index b90f3ed..0000000 --- a/repo/core/libnghttp.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/nghttp2/nghttp2/releases/download/v1.46.0/nghttp2-1.46.0.tar.xz -DESC="Framing layer of HTTP implemented as a C library" - - -build () { - ./configure --prefix=/usr \ - --disable-static \ - --enable-lib-only \ - --docdir=/usr/share/doc/nghttp2-1.46.0 && - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libp11-kit.xibuild b/repo/core/libp11-kit.xibuild deleted file mode 100644 index e9e5e4a..0000000 --- a/repo/core/libp11-kit.xibuild +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -DEPS=(glibc libtasn1 libffi) - -SOURCE=https://github.com/p11-glue/p11-kit -DESC="Loads and enumerates PKCS#11 modules" - -build () { - - sed '20,$ d' -i trust/trust-extract-compat && - cat >> trust/trust-extract-compat << "EOF" -# Copy existing anchor modifications to /etc/ssl/local -/usr/libexec/make-ca/copy-trust-modifications - -# Generate a new trust store -/usr/sbin/make-ca -f -g -EOF - - ./autogen.sh - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-trust-paths=/etc/pki/anchors - make - make DESTDIR=$PKG_DEST install - ln -sfv $PKG_DEST/usr/libexec/p11-kit/trust-extract-compat \ - $PKG_DEST/usr/bin/update-ca-certificates -} - diff --git a/repo/core/libpipeline.xibuild b/repo/core/libpipeline.xibuild deleted file mode 100644 index be5ec09..0000000 --- a/repo/core/libpipeline.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://gitlab.com/cjwatson/libpipeline -DESC="A library for manipulating pipelines of subprocesses in a flexible and convenient way" - -build () { - ./bootstrap - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libpsl.xibuild b/repo/core/libpsl.xibuild deleted file mode 100644 index 9b40f2a..0000000 --- a/repo/core/libpsl.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(libidn) - -SOURCE=https://github.com/rockdaboot/libpsl/releases/download/0.21.1/libpsl-0.21.1.tar.gz -DESC="C library to handle the Public Suffix List" - -build () { - sed -i 's/env python/&3/' src/psl-make-dafsa && - ./configure --prefix=/usr --disable-static && - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libsasl.xibuild b/repo/core/libsasl.xibuild deleted file mode 100644 index 8cb4491..0000000 --- a/repo/core/libsasl.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(gmp) - -SOURCE=https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-2.1.27/cyrus-sasl-2.1.27.tar.gz -DESC="A library for Simple Authentication and Security Layer" - -build () { - ./configure \ - --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - -#package () { - #mv $PKG_DEST/usr/local/* $PKG_DEST/usr/ -#} diff --git a/repo/core/libseccomp.xibuild b/repo/core/libseccomp.xibuild deleted file mode 100644 index 1d5fe3a..0000000 --- a/repo/core/libseccomp.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/seccomp/libseccomp/releases/download/v2.5.3/libseccomp-2.5.3.tar.gz - -DESC="Enhanced seccomp library" - -build () { - ./configure --prefix=/usr --disable-static && - make - make check - make prefix=/usr lib=lib DESTDIR=$PKG_DEST install - -} diff --git a/repo/core/libsigsegv.xibuild b/repo/core/libsigsegv.xibuild deleted file mode 100644 index 559e1eb..0000000 --- a/repo/core/libsigsegv.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(libtasn readline zlib nettle p11-kit libidn2 libunistring) - -SOURCE=https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.13.tar.gz -DESC="A library for handling page faults in user mode" - -build () { - - ./configure \ - --prefix=/usr --enable-shared --disable-static - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libtasn1.xibuild b/repo/core/libtasn1.xibuild deleted file mode 100644 index 2f6fccd..0000000 --- a/repo/core/libtasn1.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.18.0.tar.gz -DESC="The ASN.1 library used in GNUTLS" - -build () { - - ./configure \ - --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libtool.xibuild b/repo/core/libtool.xibuild deleted file mode 100644 index 3e41c00..0000000 --- a/repo/core/libtool.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(sh tar glibc) - -SOURCE=https://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz -DESC="A generic library support script" - -build () { - ./configure --prefix=/usr - make - make check - - make DESTDIR=$PKG_DEST install -} - -package () { - rm -fv $PKG_DEST/usr/lib/libltdl.a -} diff --git a/repo/core/libunistring.xibuild b/repo/core/libunistring.xibuild deleted file mode 100644 index 3a5b3d4..0000000 --- a/repo/core/libunistring.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.gz -DESC="Library for manipulating Unicode strings and C strings" - -build () { - - ./configure \ - --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libxcrypt.xibuild b/repo/core/libxcrypt.xibuild deleted file mode 100644 index a4b5a3e..0000000 --- a/repo/core/libxcrypt.xibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/besser82/libxcrypt/releases/download/v4.4.26/libxcrypt-4.4.26.tar.xz -DESC="A modern library for one-way hashing of passwords" - -build () { - CC=gcc ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - -package () { - # this is probably wrong - ln $PKG_DEST/usr/lib/libcrypt.so $PKG_DEST/usr/lib/libcrypt.so.2 -} - - diff --git a/repo/core/libxml2.xibuild b/repo/core/libxml2.xibuild deleted file mode 100644 index e5c149e..0000000 --- a/repo/core/libxml2.xibuild +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -DEPS=(zlib readline ncurses xz icu) - -SOURCE=http://xmlsoft.org/sources/libxml2-2.9.12.tar.gz -DESC="XML parsing library" - -build () { - ./configure --prefix=/usr \ - --disable-static \ - --with-history \ - --with-python=/usr/bin/python3 && - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/libxslt.xibuild b/repo/core/libxslt.xibuild deleted file mode 100644 index b079be1..0000000 --- a/repo/core/libxslt.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(libxml2 libgcrypt) - -SOURCE=http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz -DESC="XML stylesheet transformation library" - - -build () { - sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} && - sed -i -r '/max(Parser)?Depth/d' ./tests/fuzz/fuzz.c && - ./configure --prefix=/usr --disable-static --without-python && - make - sed -e 's@http://cdn.docbook.org/release/xsl@https://cdn.docbook.org/release/xsl-nons@' \ - -e 's@\$Date\$@31 October 2019@' -i doc/xsltproc.xml && - xsltproc/xsltproc --nonet doc/xsltproc.xml -o doc/xsltproc.1 - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/linux-headers.xibuild b/repo/core/linux-headers.xibuild deleted file mode 100644 index 536fdd3..0000000 --- a/repo/core/linux-headers.xibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=() - -SOURCE=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.14.tar.xz -DESC="Linux kernel headers" - - -build () { - make mrproper - make headers - find usr/include -name '.*' -delete - rm usr/include/Makefile -} - -package () { - mkdir -pv $PKG_DEST/usr/include - cp -rv usr/include/* $PKG_DEST/usr/include/ -} diff --git a/repo/core/lz4.xibuild b/repo/core/lz4.xibuild deleted file mode 100644 index 9e1dbad..0000000 --- a/repo/core/lz4.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(sh) - -SOURCE=https://github.com/lz4/lz4/archive/refs/tags/v1.9.3.tar.gz -DESC="A lossless compression algorithm, providing high compression speeds" - - -build () { - make - make DESTDIR=$PKG_DEST install -} - diff --git a/repo/core/lzo.xibuild b/repo/core/lzo.xibuild deleted file mode 100644 index 17c404b..0000000 --- a/repo/core/lzo.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz - -DESC="Portable lossless data compression library" - -build () { - ./configure --prefix=/usr --disable-static --enable-shared --docdir=/usr/share/doc/lzo-2.10 - make -} - -package() { - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/m4.xibuild b/repo/core/m4.xibuild deleted file mode 100644 index 409c9a3..0000000 --- a/repo/core/m4.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc bash) - -SOURCE=https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz -DESC="The gnu m4 macro processor" - - -build () { - ./configure --prefix=/usr - make - make check - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/make-ca.xibuild b/repo/core/make-ca.xibuild deleted file mode 100644 index ff1ed76..0000000 --- a/repo/core/make-ca.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(p11-kit nss) - -SOURCE=https://github.com/djlucas/make-ca/releases/download/v1.7/make-ca-1.7.tar.xz -DESC="A utility to deliver and manage a complete PKI configuration" - -build () { - - make DESTDIR=$PKG_DEST install && - install -vdm755 $PKG_DEST/etc/ssl/local -} diff --git a/repo/core/make.xibuild b/repo/core/make.xibuild deleted file mode 100644 index bb057ee..0000000 --- a/repo/core/make.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://ftp.gnu.org/gnu/make/make-4.3.tar.gz -DESC="GNU make utility" - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/man-db.xibuild b/repo/core/man-db.xibuild deleted file mode 100644 index 92ce361..0000000 --- a/repo/core/man-db.xibuild +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -DEPS=(bash gdbm zlib groff libpipeline less) - -SOURCE=http://download.savannah.nongnu.org/releases/man-db/man-db-2.9.4.tar.xz -DESC="A utility for reading man pages" - -build () { - ./configure --prefix=/usr - ./configure --prefix=/usr \ - --docdir=/usr/share/doc/man-db-2.9.4 \ - --sysconfdir=/etc \ - --disable-setuid \ - --enable-cache-owner=bin \ - --with-browser=/usr/bin/lynx \ - --with-vgrind=/usr/bin/vgrind \ - --with-grap=/usr/bin/grap \ - --with-systemdtmpfilesdir= \ - --with-systemdsystemunitdir= - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/mpc.xibuild b/repo/core/mpc.xibuild deleted file mode 100644 index 5fd5898..0000000 --- a/repo/core/mpc.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(mpfr) - -SOURCE=http://www.multiprecision.org/downloads/mpc-1.2.0.tar.gz -DESC="Library for the arithmetic of complex numbers with arbitrarily high precision" - -build () { - ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/mpc-1.2.0 - - make - make html - - make check -} - -package () { - make DESTDIR=$PKG_DEST install - make DESTDIR=$PKG_DEST install-html -} diff --git a/repo/core/mpfr.xibuild b/repo/core/mpfr.xibuild deleted file mode 100644 index 4895dc9..0000000 --- a/repo/core/mpfr.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(glibc gmp) -SOURCE=https://www.mpfr.org/mpfr-current/mpfr-4.1.0.tar.xz - -DESC="Multiple-precision floating-point library" - -build () { - ./configure --prefix=/usr --disable-static --enable-thread-safe --docdir=/usr/share/doc/mpfr-4.1.0 - make - make html - - make check - - make DESTDIR=$PKG_DEST install - make DESTDIR=$PKG_DEST install-html -} - diff --git a/repo/core/ncurses.xibuild b/repo/core/ncurses.xibuild deleted file mode 100644 index c42d402..0000000 --- a/repo/core/ncurses.xibuild +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://invisible-mirror.net/archives/ncurses/ncurses-6.3.tar.gz - -DESC="curses emulation library" - -build () { - ./configure --prefix=/usr --mandir=/usr/share/man --with-shared --without-debug --without-normal --enable-pc-files --enable-widec - - make - - make DESTDIR=$PKG_DEST install -} - - -package () { - - for lib in ncurses form panel menu ; do - rm -vf $PKG_DEST/usr/lib/lib${lib}.so - echo "INPUT(-l${lib}w)" > $PKG_DEST/usr/lib/lib${lib}.so - ln -sfv ${lib}w.pc $PKG_DEST/usr/lib/pkgconfig/${lib}.pc - done - - rm -vf $PKG_DEST/usr/lib/libcursesw.so - echo "INPUT(-lncursesw)" > $PKG_DEST/usr/lib/libcursesw.so - ln -sfv libncurses.so $PKG_DEST/usr/lib/libcurses.so - - # install docs - mkdir -pv $PKG_DEST/usr/share/doc/ncurses-6.3 - cp -v -R doc/* $PKG_DEST/usr/share/doc/ncurses-6.3 -} diff --git a/repo/core/nettle.xibuild b/repo/core/nettle.xibuild deleted file mode 100644 index 398a722..0000000 --- a/repo/core/nettle.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(gmp) - -SOURCE=https://ftp.gnu.org/gnu/nettle/nettle-3.7.tar.gz -DESC="A low-level cryptographic library" - -build () { - - ./configure \ - --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/nspr.xibuild b/repo/core/nspr.xibuild deleted file mode 100644 index 733c333..0000000 --- a/repo/core/nspr.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(glibc bash) - -SOURCE=https://archive.mozilla.org/pub/nspr/releases/v4.33/src/nspr-4.33.tar.gz -DESC="Netscape Portable Runtime" - -build () { - sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in - sed -i 's#$(LIBRARY) ##' config/rules.mk - - - cd nspr - ./configure \ - --prefix=/usr --with-mozilla --with-pthreads --enable-64bit - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/openssh.xibuild b/repo/core/openssh.xibuild deleted file mode 100644 index 3ed91ef..0000000 --- a/repo/core/openssh.xibuild +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -DEPS=(glibc krb5 openssl libedit ldns libxcrypt zlib pam) - -SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.8p1.tar.gz -DESC="Premier connectivity tool for remote login with the SSH protocol" - -build () { - ./configure --prefix=/usr \ - --sysconfdir=/etc/ssh \ - --with-md5-passwords \ - --with-privsep-path=/var/lib/sshd \ - --with-default-path=/usr/bin \ - --with-superuser-path=/usr/sbin:/usr/bin \ - --with-pid-dir=/run - make - make DESTDIR=$PKG_DEST install -} - - -package () { - install -v -m755 contrib/ssh-copy-id $PKG_DEST/usr/bin - - install -v -m644 contrib/ssh-copy-id.1 \ - $PKG_DEST/usr/share/man/man1 - install -v -m755 -d $PKG_DEST/usr/share/doc/openssh-8.8p1 - install -v -m644 INSTALL LICENCE OVERVIEW README* \ - $PKG_DEST/usr/share/doc/openssh-8.8p1 - -} diff --git a/repo/core/openssl.xibuild b/repo/core/openssl.xibuild deleted file mode 100644 index 5b52fd5..0000000 --- a/repo/core/openssl.xibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/openssl/openssl/archive/refs/tags/openssl-3.0.1.tar.gz -DESC="The open source management tools and libraries for cryptography" -BRANCH="OpenSSL_1_1_1-stable" - -build () { - ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib shared zlib-dynamic - make - sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile - make MANSUFFIX=ssl DESTDIR=$PKG_DEST install -} - -package () { - mkdir -pv $PKG_DEST/usr/share/doc/openssl - cp -vfr doc/* $PKG_DEST/usr/share/doc/openssl -} diff --git a/repo/core/pam.xibuild b/repo/core/pam.xibuild deleted file mode 100644 index 732909a..0000000 --- a/repo/core/pam.xibuild +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -DEPS=(glibc libtirpc pambase audit libxcrypt) - -SOURCE=https://github.com/linux-pam/linux-pam/releases/download/v1.5.2/Linux-PAM-1.5.2.tar.xz -DESC="PAM (Pluggable Authentication Modules) library" - -build () { - # prevent install of an uneeded systemd file - sed -e /service_DATA/d \ - -i modules/pam_namespace/Makefile.am && - autoreconf - - ./configure --prefix=/usr \ - --sbindir=/usr/sbin \ - --sysconfdir=/etc \ - --libdir=/usr/lib \ - --enable-securedir=/usr/lib/security \ - --docdir=/usr/share/doc/Linux-PAM-1.5.2 && - make - - make DESTDIR=$PKG_DEST install -} - -package () { - install -v -m755 -d $PKG_DEST/etc/pam.d && - - cat > $PKG_DEST/etc/pam.d/other << "EOF" - auth required pam_deny.so - account required pam_deny.so - password required pam_deny.so - session required pam_deny.so -EOF - -} diff --git a/repo/core/patch.xibuild b/repo/core/patch.xibuild deleted file mode 100644 index 728fc1d..0000000 --- a/repo/core/patch.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(glibc attr) - -SOURCE=https://ftp.gnu.org/gnu/patch/patch-2.7.tar.xz -DESC="A utility to apply patch files to a file" - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/pcre.xibuild b/repo/core/pcre.xibuild deleted file mode 100644 index facf5fe..0000000 --- a/repo/core/pcre.xibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.bz2 -DESC="A library that implements regular expressions in a perl style" - -build () { - CC=gcc ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - -package () { - # this probably is not right but it works for now - ln $PKG_DEST/usr/lib/libpcre2-8.so $PKG_DEST/usr/lib/libpcre.so.1 -} - - diff --git a/repo/core/perl-xml-parser.xibuild b/repo/core/perl-xml-parser.xibuild deleted file mode 100644 index d4b9682..0000000 --- a/repo/core/perl-xml-parser.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(perl expat) - -SOURCE=https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz -DESC="A perl interface for the expat XML parser" - -build () { - perl Makefile.PL - make - make test - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/perl.xibuild b/repo/core/perl.xibuild deleted file mode 100644 index cd3c884..0000000 --- a/repo/core/perl.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(gdbm glibc libxcrypt) - -SOURCE=https://www.cpan.org/src/5.0/perl-5.34.0.tar.gz -DESC="The Practical Extraction and Report Language" - -build () { - #export BUILD_ZLIB=False - #export BUILD_BZIP2=0 - - sh Configure -des -Dprefix=/usr -Dlibs=-lm -Uloclibpth -Ulocincpth - - make - make test - make DESTDIR=$PKG_DEST install - unset BUILD_ZLIB BUILD_BZIP2 -} diff --git a/repo/core/pkg-config.xibuild b/repo/core/pkg-config.xibuild deleted file mode 100644 index 9f1e3f4..0000000 --- a/repo/core/pkg-config.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh) - -SOURCE=https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz -DESC="Package compiler and linker metadata toolkit" - -build () { - ./configure --prefix=/usr \ - --with-internal-glib \ - --disable-host-tool \ - --docdir=/usr/share/doc/pkg-config-0.29.2 - make - make check - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/procps-ng.xibuild b/repo/core/procps-ng.xibuild deleted file mode 100644 index a5748ec..0000000 --- a/repo/core/procps-ng.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(glibc ncurses) - -SOURCE=https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.17.tar.xz -DESC="Utilities for monitoring your system and its processes" - -build () { - ./configure --prefix=/usr \ - --docdir=/usr/share/doc/procps-ng-3.3.17 \ - --disable-static \ - --disable-kill - make - make check - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/psmisc.xibuild b/repo/core/psmisc.xibuild deleted file mode 100644 index 560cf20..0000000 --- a/repo/core/psmisc.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(ncurses) - -SOURCE=https://gitlab.com/psmisc/psmisc/-/archive/v23.4/psmisc-v23.4.tar.gz -DESC="Miscellaneous procfs tools" - -build () { - ./autogen.sh - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/python-requests.xibuild b/repo/core/python-requests.xibuild deleted file mode 100644 index 7752729..0000000 --- a/repo/core/python-requests.xibuild +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -DEPS=(python) - -SOURCE=git://github.com/psf/requests.git -DESC="the requests module for python" - -build () { - mkdir -p $PKG_DEST/usr/lib/python3.10/site-packages/ - pip install -t $PKG_DEST/usr/lib/python3.10/site-packages/ . -} diff --git a/repo/core/python.xibuild b/repo/core/python.xibuild deleted file mode 100644 index 7e71733..0000000 --- a/repo/core/python.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib) - -SOURCE=https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz -DESC="The Python development environment" - -build () { - ./configure --prefix=/usr --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=yes --enable-optimizations --with-ssl --with-requests - make - make DESTDIR=$PKG_DEST install -} - -package () { - ln -s /usr/bin/python3 $PKG_DEST/usr/bin/python - ln -s /usr/bin/pip3 $PKG_DEST/usr/bin/pip -} diff --git a/repo/core/readline.xibuild b/repo/core/readline.xibuild deleted file mode 100644 index 8b47463..0000000 --- a/repo/core/readline.xibuild +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -DEPS=(glibc ncurses) - -SOURCE=https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz -DESC="a set of libraries that offer command line editing and history capabilities" - - -build () { - sed -i '/MV.*old/d' Makefile.in - sed -i '/{OLDSUFF}/c:' support/shlib-install - - ./configure --prefix=/usr \ - --disable-static \ - --with-curses \ - --docdir=/usr/share/doc/readline-8.1 - - make SHLIB_LIBS="-lncursesw" - make SHLIB_LIBS="-lncursesw" DESTDIR=$PKG_DEST install - - install -v -m644 doc/*.{ps,pdf,html,dvi} $PKG_DEST/usr/share/doc/readline-8.1 -} - diff --git a/repo/core/rsync.xibuild b/repo/core/rsync.xibuild deleted file mode 100644 index f2547fd..0000000 --- a/repo/core/rsync.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(sh) - -SOURCE=https://www.samba.org/ftp/rsync/src/rsync-3.2.3.tar.gz -DESC="A utility that provides fast incremental file transfer" - - -build () { - ./configure --prefix=/usr --disable-md2man --disable-lz4 --disable-xxhash --without-included-zlib && - make - make DESTDIR=$PKG_DEST install -} - diff --git a/repo/core/rtmpdump.xibuild b/repo/core/rtmpdump.xibuild deleted file mode 100644 index 35197b1..0000000 --- a/repo/core/rtmpdump.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(glibc gnutls zlib) - -SOURCE=git://git.ffmpeg.org/rtmpdump -BRANCH="fa8646d" -DESC="Tool to download rtmp streams" - -build () { - sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile - - make SYS=posix - make \ - prefix='/usr' \ - sbindir='/usr/bin' \ - mandir='/usr/share/man' \ - DESTDIR=$PKG_DEST install -} diff --git a/repo/core/sed.xibuild b/repo/core/sed.xibuild deleted file mode 100644 index 0384f6c..0000000 --- a/repo/core/sed.xibuild +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -DEPS=(glibc acl attr) - -SOURCE=https://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz -DESC="GNU stream editor" - -build () { - ./configure --prefix=/usr - make - make html -} - -package () { - make DESTDIR=$PKG_DEST install - - install -d -m755 $PKG_DEST/usr/share/doc/sed-4.8 - install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-4.8 -} diff --git a/repo/core/shadow.xibuild b/repo/core/shadow.xibuild deleted file mode 100644 index 6af5cbb..0000000 --- a/repo/core/shadow.xibuild +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -DEPS=(pam acl audit libcap libxcrypt) - -SOURCE=https://github.com/shadow-maint/shadow/releases/download/v4.10/shadow-4.10.tar.xz -DESC="Password and account management tool suite with support for shadow files and PAM" - -build () { - - curl https://www.linuxfromscratch.org/patches/lfs/development/shadow-4.10-useradd_segfault-1.patch > shadow-4.10-useradd_segfault-1.patch - patch -Np1 -i shadow-4.10-useradd_segfault-1.patch - - - 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 SHA512:' \ - -e 's:/var/spool/mail:/var/mail:' \ - -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \ - -i etc/login.defs - - sed -e "224s/rounds/min_rounds/" -i libmisc/salt.c - - mkdir -p $PKG_DEST/usr/bin - touch $PKG_DEST/usr/bin/passwd - ./configure --sysconfdir=/etc --with-group-name-max-length=32 - - make - - make exec_prefix=/usr DESTDIR=$PKG_DEST install - - make DESTDIR=$PKG_DEST -C man install-man - -} - -package () { - mkdir -p $PKG_DEST/etc/default -} diff --git a/repo/core/sysklogd.xibuild b/repo/core/sysklogd.xibuild deleted file mode 100644 index 44e59ce..0000000 --- a/repo/core/sysklogd.xibuild +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/troglobit/sysklogd/releases/download/v2.3.0/sysklogd-2.3.0.tar.gz -DESC="Programs for logging system messages" - -build () { - ./configure && make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/sysvinit.xibuild b/repo/core/sysvinit.xibuild deleted file mode 100644 index a6d4d97..0000000 --- a/repo/core/sysvinit.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(sh glibc) - -SOURCE=http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-3.00.tar.xz -DESC="The sysvinit system for controlling startup, running and shutdown of the system" - -build () { - curl https://www.linuxfromscratch.org/patches/lfs/development/sysvinit-3.01-consolidated-1.patch > sysvinit-3.0.1-consolidated-1.patch - patch -Np1 -i ysvinit-3.01-consolidated-1.patch - - make - make ROOT=$PKG_DEST install -} diff --git a/repo/core/tar.xibuild b/repo/core/tar.xibuild deleted file mode 100644 index 5e8074f..0000000 --- a/repo/core/tar.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://ftp.gnu.org/gnu/tar/tar-1.34.tar.xz -DESC="Utility used to store, backup and transport files" - -build () { - FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - diff --git a/repo/core/tcl.xibuild b/repo/core/tcl.xibuild deleted file mode 100644 index f9bebaa..0000000 --- a/repo/core/tcl.xibuild +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash - -DEPS=(zlib) - -SOURCE=https://github.com/tcltk/tcl/archive/refs/tags/core-8-6-11.tar.gz -DESC="the Tool Command language, a robust general purpose scripting language" - - -build () { - SRCDIR=$(pwd) - cd unix - ./configure --prefix=/usr --mandir=/usr/share/man $([ "$(uname -m)" = x86_64 ] && echo --enable-64bit) - - make - - sed -e "s|$SRCDIR/unix|/usr/lib|" \ - -e "s|$SRCDIR|/usr/include|" \ - -i tclConfig.sh - - sed -e "s|$SRCDIR/unix/pkgs/tdbc1.1.2|/usr/lib/tdbc1.1.2|" \ - -e "s|$SRCDIR/pkgs/tdbc1.1.2/generic|/usr/include|" \ - -e "s|$SRCDIR/pkgs/tdbc1.1.2/library|/usr/lib/tcl8.6|" \ - -e "s|$SRCDIR/pkgs/tdbc1.1.2|/usr/include|" \ - -i pkgs/tdbc1.1.2/tdbcConfig.sh - - sed -e "s|$SRCDIR/unix/pkgs/itcl4.2.1|/usr/lib/itcl4.2.1|" \ - -e "s|$SRCDIR/pkgs/itcl4.2.1/generic|/usr/include|" \ - -e "s|$SRCDIR/pkgs/itcl4.2.1|/usr/include|" \ - -i pkgs/itcl4.2.1/itclConfig.sh - - unset SRCDIR - - make test - -} - -package () { - make DESTDIR=$PKG_DEST install - - chmod -v u+w $PKG_DEST/usr/lib/libtcl8.6.so - - make DESTDIR=$PKG_DEST install-private-headers - - ln $PKG_DEST/usr/bin/tclsh* $PKG_DEST/usr/bin/tclsh - cp -f tclsh9 $PKG_DEST/usr/bin/tclsh - mv $PKG_DEST/usr/share/man/man3/{Thread,Tcl_Thread}.3 - -} - - diff --git a/repo/core/texinfo.xibuild b/repo/core/texinfo.xibuild deleted file mode 100644 index 0bcbb29..0000000 --- a/repo/core/texinfo.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(ncurses gzip perl sh) - -SOURCE=https://ftp.gnu.org/gnu/texinfo/texinfo-6.8.tar.xz -DESC="GNU documentation system for reading, writing and converting info pages" - -build () { - # fix an issue when building with glibc-2.34 or later - sed -e 's/__attribute_nonnull__/__nonnull/' \ - -i gnulib/lib/malloc/dynarray-skeleton.c - - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install - make TEXMF=$PKG_DEST/usr/share/texmf install-tex -} diff --git a/repo/core/util-linux.xibuild b/repo/core/util-linux.xibuild deleted file mode 100644 index aeb7edf..0000000 --- a/repo/core/util-linux.xibuild +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -DEPS=(shadow coreutils libcap libxcrypt readline) - -SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v2.37/util-linux-2.37.2.tar.xz -DESC="System Utilities for Linux" - -build () { - ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ - --libdir=/usr/lib \ - --docdir=/usr/share/doc/util-linux-2.20 \ - --disable-static \ - runstatedir=/run - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/which.xibuild b/repo/core/which.xibuild deleted file mode 100644 index 5f682dc..0000000 --- a/repo/core/which.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc bash) - -SOURCE=http://ftp.gnu.org/gnu/which/which-2.21.tar.gz -DESC="A utility to show the full path of commands" - -build () { - CC=gcc ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} - - diff --git a/repo/core/xmlto.xibuild b/repo/core/xmlto.xibuild deleted file mode 100644 index a162415..0000000 --- a/repo/core/xmlto.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(libxslt) - -SOURCE=https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2 -DESC="Convert xml to many other formats" - - -build () { - ./configure --prefix=/usr - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/core/xxhash.xibuild b/repo/core/xxhash.xibuild deleted file mode 100644 index 1b8fe5a..0000000 --- a/repo/core/xxhash.xibuild +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DEPS=(sh) - -SOURCE=https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.1.tar.gz -DESC="xxHash is an Extremely fast Hash algorithm" - - -build () { - make - make DESTDIR=$PKG_DEST install -} - diff --git a/repo/core/xz.xibuild b/repo/core/xz.xibuild deleted file mode 100644 index 5748c65..0000000 --- a/repo/core/xz.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(sh) - -SOURCE=https://git.tukaani.org/xz.git -BRANCH=v5.2.5 -DESC="a selection of programs for compressing and decompressing files with the lzma and xz compression formats" - - -build () { - ./autogen.sh - ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/xz-5.2.5 - make - make check - make DESTDIR=$PKG_DEST install -} - diff --git a/repo/core/zip.xibuild b/repo/core/zip.xibuild deleted file mode 100644 index 87bb35e..0000000 --- a/repo/core/zip.xibuild +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -DEPS=(glibc bzip2) - -SOURCE=https://downloads.sourceforge.net/infozip/zip30.tar.gz -DESC="Compressor/archiver for creating and modifying zipfiles" - -build () { - make -f unix/Makefile generic_gcc - make -f unix/Makefile prefix=$PKG_DEST/usr install -} diff --git a/repo/core/zlib.xibuild b/repo/core/zlib.xibuild deleted file mode 100644 index 9402a1d..0000000 --- a/repo/core/zlib.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=https://github.com/madler/zlib/archive/refs/tags/v1.2.11.tar.gz -DESC="compression and decompression routines used by some programs" - - -build () { - ./configure --prefix=/usr - make - make check - make DESTDIR=$PKG_DEST install -} - -package () { - # Remove a useless static library (lfs recommended) - rm -fv $PKG_DEST/usr/lib/libz.a -} - diff --git a/repo/core/zstd.xibuild b/repo/core/zstd.xibuild deleted file mode 100644 index 40a7a5a..0000000 --- a/repo/core/zstd.xibuild +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -DEPS=(glibc gcc-libs zlib xz lz4) - -SOURCE=https://github.com/facebook/zstd/releases/download/v1.5.1/zstd-1.5.1.tar.gz -DESC="the Zstandard real-time compression algorithm" - -build () { - make - - # fix these tests to work - #make check - make prefix=$PKG_DEST/usr install -} diff --git a/repo/devel/asciidoc.xibuild b/repo/devel/asciidoc.xibuild new file mode 100644 index 0000000..47b51a0 --- /dev/null +++ b/repo/devel/asciidoc.xibuild @@ -0,0 +1,15 @@ +#!/bin/bash + +DEPS=(python libxslt docbook-xsl) + +SOURCE=https://github.com/asciidoc-py/asciidoc-py/releases/download/10.1.1/asciidoc-10.1.1.tar.gz +DESC="Text document format for short documents, articles, books and UNIX man pages" + + + +package () { + pip install -t $PKG_DEST/usr/lib/python3.10/site-packages/ asciidoc + mkdir -pv $PKG_DEST/usr/bin + ln -s /usr/lib/python3.10/site-packages/bin/asciidoc $PKG_DEST/usr/bin/asciidoc + ln -s /usr/lib/python3.10/site-packages/bin/a2x $PKG_DEST/usr/bin/a2x +} diff --git a/repo/devel/autoconf.xibuild b/repo/devel/autoconf.xibuild new file mode 100644 index 0000000..b61179f --- /dev/null +++ b/repo/devel/autoconf.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(awk m4 diffutils perl sh) + +SOURCE=https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.xz +DESC="GNU programs for producing shell scripts that can automatically configure source code" + +build () { + ./configure --prefix=/usr --sysconfdir=/etc + make + make check + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/automake.xibuild b/repo/devel/automake.xibuild new file mode 100644 index 0000000..f83fc62 --- /dev/null +++ b/repo/devel/automake.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(perl bash) + +SOURCE=https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.xz +DESC="A GNU tool for automatically creating Makefiles" + +build () { + ./configure --prefix=/usr -docdir=/usr/share/doc/automake-1.16.5 + make + make -j4 check + make DESTDIR=$PKG_DEST install +} + +package () { + # backwards compatibility? + ln -s /usr/bin/aclocal $PKG_DEST/usr/bin/aclocal-1.15 +} diff --git a/repo/devel/bc.xibuild b/repo/devel/bc.xibuild new file mode 100644 index 0000000..160b6f5 --- /dev/null +++ b/repo/devel/bc.xibuild @@ -0,0 +1,15 @@ +#!/bin/bash + +DEPS=(readline) + +SOURCE=https://github.com/gavinhoward/bc/releases/download/5.2.1/bc-5.2.1.tar.xz +DESC="An arbitrary precision numeric processing language" + +build () { + CC=gcc ./configure --prefix=/usr -G -O3 + make + make test + make DESTDIR=$PKG_DEST install +} + + diff --git a/repo/devel/bison.xibuild b/repo/devel/bison.xibuild new file mode 100644 index 0000000..556bf16 --- /dev/null +++ b/repo/devel/bison.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(glibc m4 sh) + +SOURCE=https://ftp.gnu.org/gnu/bison/bison-3.8.1.tar.xz +DESC="The GNU general-purpose parser generator" + +build () { + ./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.1 + make + make check + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/check.xibuild b/repo/devel/check.xibuild new file mode 100644 index 0000000..a472872 --- /dev/null +++ b/repo/devel/check.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(awk) + +SOURCE=https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz +DESC="A unit testing framework for C" + +build () { + ./configure --prefix=/usr --disable-static + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/cmake.xibuild b/repo/devel/cmake.xibuild new file mode 100644 index 0000000..1b9959e --- /dev/null +++ b/repo/devel/cmake.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(curl libarchive jsoncpp libuv rhash) + +SOURCE=https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1.tar.gz +DESC="A cross-platform open-source make system" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/dejagnu.xibuild b/repo/devel/dejagnu.xibuild new file mode 100644 index 0000000..21a35a4 --- /dev/null +++ b/repo/devel/dejagnu.xibuild @@ -0,0 +1,23 @@ +#!/bin/bash + +DEPS=(sh expect) + +SOURCE=https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.3.tar.gz +DESC="a framework for running test suites on GNU tools" + +build () { + 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=$PKG_DEST install + + install -v -dm755 $PKG_DEST/usr/share/doc/dejagnu-1.6.3 + install -v -m644 doc/dejagnu.{html,txt} $PKG_DEST/usr/share/doc/dejagnu-1.6.3 +} + + diff --git a/repo/devel/distcc.xibuild b/repo/devel/distcc.xibuild new file mode 100644 index 0000000..8d4039b --- /dev/null +++ b/repo/devel/distcc.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(gcc python) + +SOURCE=https://github.com/distcc/distcc/releases/download/v3.4/distcc-3.4.tar.gz + +DESC="Distributed compiler for C, C++ and Objective-C" + + +build () { + ./configure --prefix=/usr + make +} + + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/expect.xibuild b/repo/devel/expect.xibuild new file mode 100644 index 0000000..cb5b6f6 --- /dev/null +++ b/repo/devel/expect.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +DEPS=(tcl) + +SOURCE=https://sourceforge.net/projects/expect/files/Expect/5.45.4/expect5.45.4.tar.gz/download +DESC="tools for automating interactive applications" + +build () { + # note: --with-tcl, we might want to make a way to use the tcl that we've compiled in another package + ./configure --prefix=/usr --with-tcl=/usr/lib --enable-shared --mandir=/usr/share/man --with-tclinclude=/usr/include + make + make test + make DESTDIR=$PKG_DEST install +} + +package () { + cp libexpect*.so $PKG_DEST/usr/lib +} + + diff --git a/repo/devel/flex.xibuild b/repo/devel/flex.xibuild new file mode 100644 index 0000000..f5291cc --- /dev/null +++ b/repo/devel/flex.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=(glibc m4 sh) + +SOURCE=https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz +DESC="a utility for generating programs that recognize patterns in text" + +build () { + ./configure --prefix=/usr --docdir=/usr/share/doc/flex --disable-static + make + make check + make DESTDIR=$PKG_DEST install +} + +package () { + ln -v /usr/bin/flex $PKG_DEST/usr/bin/lex +} + + diff --git a/repo/devel/gcc.xibuild b/repo/devel/gcc.xibuild new file mode 100644 index 0000000..ab9830d --- /dev/null +++ b/repo/devel/gcc.xibuild @@ -0,0 +1,78 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.xz + +DESC="The GNU Compiler Collection - C and C++ frontends" + + +build () { + #fix an issue breaking libasan.a + + sed -e '/static.*SIGSTKSZ/d' \ + -e 's/return kAltStackSize/return SIGSTKSZ * 4/' \ + -i libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cpp + + case $(uname -m) in + x86_64) + sed -e '/m64=/s/lib64/lib/' \ + -i.orig gcc/config/i386/t-linux64 + ;; + esac + + + mkdir -v build + cd build + + ../configure --prefix=/usr \ + LD=ld \ + --enable-languages=c,c++ \ + --disable-multilib \ + --disable-bootstrap \ + --with-system-zlib + + make + + ulimit -s 32768 + + if id -u tester; then + chown -Rv tester . + su tester -c "PATH=$PATH make $MAKEFLAGS -k check" + ../contrib/test_summary | grep -A7 Summ + fi + +} + + +package () { + make DESTDIR=$PKG_DEST install + + rm -rf $PKG_DEST/usr/lib/gcc/$(gcc -dumpmachine)/11.2.0/include-fixed/bits/ + + chown -v -R root:root \ + $PKG_DEST/usr/lib/gcc/*linux-gnu/11.2.0/include{,-fixed} + ln -sv cpp $PKG_DEST/usr/lib/cpp + + ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/11.2.0/liblto_plugin.so \ + $PKG_DEST/usr/lib/bfd-plugins/ + + + # sanity checks + echo 'int main(){}' > dummy.c + cc dummy.c -v -Wl,--verbose &> dummy.log + readelf -l a.out | grep ': /lib' + + grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log + grep -B4 '^ /usr/include' dummy.log + grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' + grep "/lib.*/libc.so.6 " dummy.log + grep found dummy.log + + # move a misplaced file + mkdir -pv $PKG_DEST/usr/share/gdb/auto-load/usr/lib + mv -v $PKG_DEST/usr/lib/*gdb.py $PKG_DEST/usr/share/gdb/auto-load/usr/lib + + # set gcc as the default c compiler + ln -s gcc $PKG_DEST/usr/bin/cc +} diff --git a/repo/devel/git.xibuild b/repo/devel/git.xibuild new file mode 100644 index 0000000..7f8d277 --- /dev/null +++ b/repo/devel/git.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(curl perl openssl pcre2 grep shadow zlib) + +SOURCE=https://www.kernel.org/pub/software/scm/git/git-2.34.1.tar.xz +DESC="The free and open source, distributed version control system" + +build () { + ./configure --prefix=/usr \ + --with-gitconfig=/etc/gitconfig \ + --with-python=python3 && + make + #make man + make perllibdir=/usr/lib/perl5/5.34/site_perl DESTDIR=$PKG_DEST install + #make DESTDIR=$PKG_DEST install-man + +} diff --git a/repo/devel/help2man.xibuild b/repo/devel/help2man.xibuild new file mode 100644 index 0000000..a8d4e47 --- /dev/null +++ b/repo/devel/help2man.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(sh) + +SOURCE=http://mirror.koddos.net/gnu/help2man/help2man-1.48.5.tar.xz +DESC="A tool for automatically generating simple manual pages from program output" + + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + diff --git a/repo/devel/m4.xibuild b/repo/devel/m4.xibuild new file mode 100644 index 0000000..409c9a3 --- /dev/null +++ b/repo/devel/m4.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc bash) + +SOURCE=https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz +DESC="The gnu m4 macro processor" + + +build () { + ./configure --prefix=/usr + make + make check + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/make.xibuild b/repo/devel/make.xibuild new file mode 100644 index 0000000..bb057ee --- /dev/null +++ b/repo/devel/make.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://ftp.gnu.org/gnu/make/make-4.3.tar.gz +DESC="GNU make utility" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/meson.xibuild b/repo/devel/meson.xibuild new file mode 100644 index 0000000..c8f7dde --- /dev/null +++ b/repo/devel/meson.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(python ninja) + +SOURCE=https://github.com/mesonbuild/meson +BRANCH=0.59 + +DESC="High productivity build system" + +build () { + python setup.py build + python setup.py install --root=$PKG_DEST +} + +package () { + install -vDm644 data/shell-completions/bash/meson $PKG_DEST/usr/share/bash-completion/completions/meson + install -vDm644 data/shell-completions/zsh/_meson $PKG_DEST/usr/share/zsh/site-functions/_meson +} diff --git a/repo/devel/mpc.xibuild b/repo/devel/mpc.xibuild new file mode 100644 index 0000000..5fd5898 --- /dev/null +++ b/repo/devel/mpc.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +DEPS=(mpfr) + +SOURCE=http://www.multiprecision.org/downloads/mpc-1.2.0.tar.gz +DESC="Library for the arithmetic of complex numbers with arbitrarily high precision" + +build () { + ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/mpc-1.2.0 + + make + make html + + make check +} + +package () { + make DESTDIR=$PKG_DEST install + make DESTDIR=$PKG_DEST install-html +} diff --git a/repo/devel/ninja.xibuild b/repo/devel/ninja.xibuild new file mode 100644 index 0000000..cfd705f --- /dev/null +++ b/repo/devel/ninja.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=git://github.com/ninja-build/ninja.git +BRANCH=release +DESC="Small build system with a focus on speed" + +build () { + python configure.py --bootstrap + ./ninja ninja_test +} + +package () { + install -vm755 ninja $PKG_DEST/usr/bin/ + install -vDm644 misc/bash-completion $PKG_DEST/usr/share/bash-completion/completions/ninja + install -vDm644 misc/zsh-completion $PKG_DEST/usr/share/zsh/site-functions/_ninja +} diff --git a/repo/devel/patch.xibuild b/repo/devel/patch.xibuild new file mode 100644 index 0000000..728fc1d --- /dev/null +++ b/repo/devel/patch.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc attr) + +SOURCE=https://ftp.gnu.org/gnu/patch/patch-2.7.tar.xz +DESC="A utility to apply patch files to a file" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/pkg-config.xibuild b/repo/devel/pkg-config.xibuild new file mode 100644 index 0000000..9f1e3f4 --- /dev/null +++ b/repo/devel/pkg-config.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(glibc sh) + +SOURCE=https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz +DESC="Package compiler and linker metadata toolkit" + +build () { + ./configure --prefix=/usr \ + --with-internal-glib \ + --disable-host-tool \ + --docdir=/usr/share/doc/pkg-config-0.29.2 + make + make check + make DESTDIR=$PKG_DEST install +} diff --git a/repo/devel/texinfo.xibuild b/repo/devel/texinfo.xibuild new file mode 100644 index 0000000..0bcbb29 --- /dev/null +++ b/repo/devel/texinfo.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(ncurses gzip perl sh) + +SOURCE=https://ftp.gnu.org/gnu/texinfo/texinfo-6.8.tar.xz +DESC="GNU documentation system for reading, writing and converting info pages" + +build () { + # fix an issue when building with glibc-2.34 or later + sed -e 's/__attribute_nonnull__/__nonnull/' \ + -i gnulib/lib/malloc/dynarray-skeleton.c + + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install + make TEXMF=$PKG_DEST/usr/share/texmf install-tex +} diff --git a/repo/devel/xmlto.xibuild b/repo/devel/xmlto.xibuild new file mode 100644 index 0000000..a162415 --- /dev/null +++ b/repo/devel/xmlto.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(libxslt) + +SOURCE=https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2 +DESC="Convert xml to many other formats" + + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/extra/check.xibuild b/repo/extra/check.xibuild deleted file mode 100644 index a472872..0000000 --- a/repo/extra/check.xibuild +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DEPS=(awk) - -SOURCE=https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz -DESC="A unit testing framework for C" - -build () { - ./configure --prefix=/usr --disable-static - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/extra/meson.xibuild b/repo/extra/meson.xibuild deleted file mode 100644 index c8f7dde..0000000 --- a/repo/extra/meson.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(python ninja) - -SOURCE=https://github.com/mesonbuild/meson -BRANCH=0.59 - -DESC="High productivity build system" - -build () { - python setup.py build - python setup.py install --root=$PKG_DEST -} - -package () { - install -vDm644 data/shell-completions/bash/meson $PKG_DEST/usr/share/bash-completion/completions/meson - install -vDm644 data/shell-completions/zsh/_meson $PKG_DEST/usr/share/zsh/site-functions/_meson -} diff --git a/repo/extra/ninja.xibuild b/repo/extra/ninja.xibuild deleted file mode 100644 index cfd705f..0000000 --- a/repo/extra/ninja.xibuild +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -DEPS=(glibc) - -SOURCE=git://github.com/ninja-build/ninja.git -BRANCH=release -DESC="Small build system with a focus on speed" - -build () { - python configure.py --bootstrap - ./ninja ninja_test -} - -package () { - install -vm755 ninja $PKG_DEST/usr/bin/ - install -vDm644 misc/bash-completion $PKG_DEST/usr/share/bash-completion/completions/ninja - install -vDm644 misc/zsh-completion $PKG_DEST/usr/share/zsh/site-functions/_ninja -} diff --git a/repo/extra/vim.xibuild b/repo/extra/vim.xibuild deleted file mode 100644 index 27e04ad..0000000 --- a/repo/extra/vim.xibuild +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -DEPS=(gpm acl glibc libgcrypt pcre zlib) - -SOURCE=https://github.com/vim/vim.git -DESC="Vi Improved" - -build () { - echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h - ./configure --prefix=/usr --disable-gtk-check --disable-motif-check --disable-athena-check --disable-gui --disable-xsmp --without-x -disable-canberra --disable-libsodium --disable-gpm --disable-libsodium - make - make DESTDIR=$PKG_DEST install -} - - -package () { - cat > vimrc << "EOF" -" Begin /etc/vimrc -" Ensure defaults are set before customizing settings, not after -source $VIMRUNTIME/defaults.vim -let skip_defaults_vim=1 -set nocompatible -set backspace=2 -set mouse= -syntax on -if (&term == "xterm") || (&term == "putty") - set background=dark -endif -" End /etc/vimrc -EOF - curl -sL https://davidovski.xyz/r/vim/vimrc >> vimrc - mkdir -pv $PKG_DEST/etc - cp -v vimrc $PKG_DEST/etc/vimrc -} diff --git a/repo/extra/xibuild.xibuild b/repo/extra/xibuild.xibuild deleted file mode 100644 index 71649fd..0000000 --- a/repo/extra/xibuild.xibuild +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -DEPS=(bash tar git hg curl openssl ) - -SOURCE=https://git.davidovski.xyz/xilinux/xibuild.git -DESC="The build system for xilinux used to build packages and maintain repositories" - -package () { - mkdir -pv $PKG_DEST/usr/bin - cp -v xibuild $PKG_DEST/usr/bin/ - cp xibuild $PKG_DEST/usr/bin/ - - mkdir -pv $PKG_DEST/home/xibuild - cp -r * $PKG_DEST/home/xibuild -} - - diff --git a/repo/extra/xipkg.xibuild b/repo/extra/xipkg.xibuild deleted file mode 100644 index f18745f..0000000 --- a/repo/extra/xipkg.xibuild +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -DEPS=(tar python python-requests) - -SOURCE=https://git.davidovski.xyz/xilinux/xipkg.git -DESC="The xilinux package manager" - -build () { - make - make DESTDIR=$PKG_DEST install -} diff --git a/repo/linux/linux-headers.xibuild b/repo/linux/linux-headers.xibuild new file mode 100644 index 0000000..536fdd3 --- /dev/null +++ b/repo/linux/linux-headers.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=() + +SOURCE=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.14.tar.xz +DESC="Linux kernel headers" + + +build () { + make mrproper + make headers + find usr/include -name '.*' -delete + rm usr/include/Makefile +} + +package () { + mkdir -pv $PKG_DEST/usr/include + cp -rv usr/include/* $PKG_DEST/usr/include/ +} diff --git a/repo/system/acl.xibuild b/repo/system/acl.xibuild new file mode 100644 index 0000000..7b86fe6 --- /dev/null +++ b/repo/system/acl.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(attr) + +SOURCE=http://download.savannah.nongnu.org/releases/acl/acl-2.3.1.tar.xz +DESC="Access control list utilities, libraries and headers" + +build () { + ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/acl-2.3.1 + make + + make DESTDIR=$PKG_DEST install + +} diff --git a/repo/system/attr.xibuild b/repo/system/attr.xibuild new file mode 100644 index 0000000..6aa9673 --- /dev/null +++ b/repo/system/attr.xibuild @@ -0,0 +1,15 @@ +#!/bin/bash + +DEPS=(glibc) +SOURCE=http://download.savannah.nongnu.org/releases/attr/attr-2.5.1.tar.xz + +DESC="Extended attribute support library for ACL support" + +build () { + + ./configure --prefix=/usr --disable-static --sysconfdir=/etc --docdir=/usr/share/doc/attr-2.5.1 + + make + make check + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild new file mode 100644 index 0000000..874257c --- /dev/null +++ b/repo/system/binutils.xibuild @@ -0,0 +1,38 @@ +#!/bin/bash + +DEPS=(glib zlib elfutils) + +SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.xz +DESC="tools for handling object files" + +build () { + curl https://www.linuxfromscratch.org/patches/lfs/development/binutils-2.37-upstream_fix-1.patch > binutils-2.37-upstream_fix-1.patch + patch -Np1 -i binutils-2.37-upstream_fix-1.patch + + # An error in the building system causes the shipped man pages to be empty. Workaround the issue and remove the shipped man pages, so the man pages will be regenerated correctly: + + sed -i '63d' etc/texi2pod.pl + find -name \*.1 -delete + + mkdir -v build + cd build + ../configure --prefix=/usr \ + --enable-gold \ + --enable-ld=default \ + --enable-install-libiberty \ + --enable-plugins \ + --enable-shared \ + --disable-werror \ + --enable-64-bit-bfd \ + --with-system-zlib + + make tooldir=/usr + make -k check || true +} + +package() { + make -j1 DESTDIR=$PKG_DEST -j1 install + cp ../include/libiberty.h $PKG_DEST/usr/include + rm -fv $PKG_DEST/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a + +} diff --git a/repo/system/brotli.xibuild b/repo/system/brotli.xibuild new file mode 100644 index 0000000..5a4f2e0 --- /dev/null +++ b/repo/system/brotli.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/google/brotli +DESC="A generic-purpose lossless compression algorithm" + +build () { + mkdir out && cd out + ../configure-cmake + make + make test + make DESTDIR=$PKG_DEST install +} + +package () { + mv $PKG_DEST/usr/local/* $PKG_DEST/usr/ +} diff --git a/repo/system/bzip2.xibuild b/repo/system/bzip2.xibuild new file mode 100644 index 0000000..f60aece --- /dev/null +++ b/repo/system/bzip2.xibuild @@ -0,0 +1,41 @@ +#!/bin/bash + +DEPS=(glibc sh) + +SOURCE=git://sourceware.org/git/bzip2.git +BRANCH=bzip2-1.0.8 +DESC="a selection of programs for compressing and decompressing bzip2 files" + + +build () { + #curl https://www.linuxfromscratch.org/patches/lfs/development/bzip2-1.0.8-install_docs-1.patch > bzip2-1.0.8-install_docs-1.patch + + #patch -Np1 -i bzip2-1.0.8-install_docs-1.patch + + + # ensure symbolic links are relative + sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile + + #sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile + + make -f Makefile-libbz2_so + make clean + + make + make PREFIX=$PKG_DEST/usr install + +} + +package () { + cp -av libbz2.so* $PKG_DEST/usr/lib + cp -av libbz2.so.1.0.8 $PKG_DEST/usr/lib/libbz2.so + + cp -v bzip2-shared $PKG_DEST/usr/bin/bzip2 + for i in $PKG_DEST/usr/bin/{bzcat,bunzip2}; do + ln -sfv bzip2 $i + done + + # remove a useless static library + rm -fv $PKG_DEST/usr/lib/libbz2.a +} + diff --git a/repo/system/cacerts.xibuild b/repo/system/cacerts.xibuild new file mode 100644 index 0000000..9ebe9bd --- /dev/null +++ b/repo/system/cacerts.xibuild @@ -0,0 +1,11 @@ +#!/bin/bash + +DEPS=(make-ca) + +SOURCE=https://github.com/djlucas/make-ca/releases/download/v1.7/make-ca-1.7.tar.xz +DESC="Root certificates needed by ssl built using make-ca" + +package () { + bash make-ca -g --force -D $PKG_DEST + chmod -R 777 $PKG_DEST || echo "couldnt change permissions for $PKG_DEST" +} diff --git a/repo/system/coreutils.xibuild b/repo/system/coreutils.xibuild new file mode 100644 index 0000000..3e0e023 --- /dev/null +++ b/repo/system/coreutils.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +DEPS=(glibc acl attr gmp libcap openssl) + +SOURCE=https://ftp.gnu.org/gnu/coreutils/coreutils-9.0.tar.xz +DESC="The GNU coreutilities" + +build () { + autoreconf -fiv + + FORCE_UNSAFE_CONFIGURE=1 ./configure \ + --prefix=/usr \ + --enable-no-install-program=kill,uptime + make +} + +package () { + make DESTDIR=$PKG_DEST install + mkdir -pv $PKG_DEST/usr/share/man/man8/chroot.8 + mkdir -pv $PKG_DEST/usr/sbin + mv -v $PKG_DEST/usr/bin/chroot $PKG_DEST/usr/sbin +} diff --git a/repo/system/eudev.xibuild b/repo/system/eudev.xibuild new file mode 100644 index 0000000..848191c --- /dev/null +++ b/repo/system/eudev.xibuild @@ -0,0 +1,23 @@ +#!/bin/bash + +DEPS=() + +SOURCE=https://dev.gentoo.org/~blueness/eudev/eudev-3.2.10.tar.gz +DESC="Programs for dynamic creation of device nodes" + +build () { + ./configure --prefix=/usr \ + --bindir=/usr/sbin \ + --sysconfdir=/etc \ + --enable-manpages \ + --disable-static + make +} + +package () { + mkdir -pv $PKG_DEST/usr/lib/udev/rules.d + mkdir -pv $PKG_DEST/etc/udev/rules.d + + make DESTDIR=$PKG_DEST install + +} diff --git a/repo/system/expat.xibuild b/repo/system/expat.xibuild new file mode 100644 index 0000000..bf9c49f --- /dev/null +++ b/repo/system/expat.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz +DESC="An XML parser library" + +build () { + ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/expat-2.4.1 + make + make check + + make DESTDIR=$PKG_DEST install + + install -v -m644 doc/*{.html,png,css} $PKG_DEST/usr/share/doc/expat-2.4.1 +} diff --git a/repo/system/findutils.xibuild b/repo/system/findutils.xibuild new file mode 100644 index 0000000..d8fd39c --- /dev/null +++ b/repo/system/findutils.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(glibc sh) + +SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-4.8.0.tar.xz +DESC="GNU utilities to locate files" + +build () { + case $(uname -m) in + i?86) TIME_T_32_BIT_OK=yes ./configure --prefix=/usr --localstatedir=/var/lib/locate ;; + x86_64) ./configure --prefix=/usr --localstatedir=/var/lib/locate ;; + esac + + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/gc.xibuild b/repo/system/gc.xibuild new file mode 100644 index 0000000..d06a08d --- /dev/null +++ b/repo/system/gc.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(gcc-libs) + +SOURCE=https://github.com/ivmai/bdwgc/releases/download/v8.0.6/gc-8.0.6.tar.gz +DESC="A garbage collector for C and C++" + +build () { + ./configure --prefix=/usr --disable-static + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/gdbm.xibuild b/repo/system/gdbm.xibuild new file mode 100644 index 0000000..ddeecca --- /dev/null +++ b/repo/system/gdbm.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc sh readline) + +SOURCE=https://ftp.gnu.org/gnu/gdbm/gdbm-1.21.tar.gz +DESC="GNU database library" + +build () { + ./configure --prefix=/usr --disable-static --enable-libgdm-compat + make + make -k check + + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/gettext.xibuild b/repo/system/gettext.xibuild new file mode 100644 index 0000000..e0f6d37 --- /dev/null +++ b/repo/system/gettext.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(acl sh glib2) + +SOURCE=https://ftp.gnu.org/pub/gnu/gettext/gettext-0.21.tar.gz +DESC="GNU internationalization library" + +build () { + ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/gettext-0.21 + make + make check +} + +package () { + make DESTDIR=$PKG_DEST install + chmod -v 0755 $PKG_DEST/usr/lib/preloadable_libintl.so +} diff --git a/repo/system/glibc.xibuild b/repo/system/glibc.xibuild new file mode 100644 index 0000000..61e5a0a --- /dev/null +++ b/repo/system/glibc.xibuild @@ -0,0 +1,102 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.xz +DESC="The main gnu C library providing basic routines and procedures" + +build () { + # patches as recommended by lfs + sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' -i sysdeps/unix/sysv/linux/mq_notify.c + + curl https://www.linuxfromscratch.org/patches/lfs/development/glibc-2.34-fhs-1.patch > glibc-2.34-fhs-1.patch + + patch -Np1 -i glibc-2.34-fhs-1.patch + + mkdir -v build + cd build + + # ensure that the ldconfig and sln utilities are installed into /usr/sbin + echo "rootsbindir=/usr/sbin" > configparms + + ../configure --prefix=/usr \ + --disable-werror \ + --enable-kernel=3.2 \ + --enable-stack-protector=strong \ + --with-headers=/usr/include \ + libc_cv_slibdir=/usr/lib + + make + + # some check failures are 'expected' + #make check || true + +} + +package () { + mkdir -pv $PKG_DEST/etc + touch $PKG_DEST/etc/ld.so.conf + + sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile + make DESTDIR=$PKG_DEST install + + # fix hardcoded path to the excutable in ldd script + sed '/RTLDLIST=/s@/usr@@g' -i $PKG_DEST/usr/bin/ldd + + cp -v ../nscd/nscd.conf $PKG_DEST/etc/nscd.conf + mkdir -pv $PKG_DEST/var/cache/nscd + + # create locales for the system + # note, this should be moved to a better place + make DESTDIR=$PKG_DEST localedata/install-locales + + cat > $PKG_DEST/etc/nsswitch.conf << "EOF" +# Begin /etc/nsswitch.conf + +passwd: files +group: files +shadow: files + +hosts: files dns +networks: files + +protocols: files +services: files +ethers: files +rpc: files + +# End /etc/nsswitch.conf +EOF + + curl https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/glibc/trunk/locale-gen > locale-gen + + install -m755 locale-gen "$PKG_DEST/usr/bin" + + #curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz > tzdata2021e.tar.gz + #tar -xf tzdata2021e.tar.gz +# + #ZONEINFO=$PKG_DEST/usr/share/zoneinfo + #mkdir -pv $ZONEINFO/{posix,right} +## + #for tz in etcetera southamerica northamerica europe africa antarctica \ + #asia australasia backward; do + #zic -L /dev/null -d $ZONEINFO ${tz} + #zic -L /dev/null -d $ZONEINFO/posix ${tz} + #zic -L leapseconds -d $ZONEINFO/right ${tz} + #done +# + #cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO + #zic -d $ZONEINFO -p America/New_York + #unset ZONEINFO + + + # configure dynamic loader + cat > $PKG_DEST/etc/ld.so.conf << "EOF" +# Begin /etc/ld.so.conf +/usr/local/lib +/opt/lib +include /etc/ld.so.conf.d/*.conf +EOF + mkdir -pv $PKG_DEST/etc/ld.so.conf.d +} + diff --git a/repo/system/gmp.xibuild b/repo/system/gmp.xibuild new file mode 100644 index 0000000..6c426bc --- /dev/null +++ b/repo/system/gmp.xibuild @@ -0,0 +1,25 @@ +#!/bin/bash + +DEPS=(gcc-libs sh) + +SOURCE=https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz +DESC="a collection of mathematical libraries" + +build () { + cp -v configfsf.guess config.guess + cp -v configfsf.sub config.sub + + ./configure --prefix=/usr --enable-cxx --disable-static --docdir=/usr/share/doc/gmp + + make + make html + + make check 2>&1 | tee gmp-check-log + awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log + +} + +package() { + make DESTDIR=$PKG_DEST install + make DESTDIR=$PKG_DEST install-html +} diff --git a/repo/system/gnutls.xibuild b/repo/system/gnutls.xibuild new file mode 100644 index 0000000..b2e0fa3 --- /dev/null +++ b/repo/system/gnutls.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(libtasn readline zlib nettle p11-kit libidn2 libunistring) + +SOURCE=https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.16.tar.xz +DESC="Library which provides a secure layer over a transport layer" + +build () { + + ./configure \ + --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/gperf.xibuild b/repo/system/gperf.xibuild new file mode 100644 index 0000000..0f08d60 --- /dev/null +++ b/repo/system/gperf.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz +DESC="Perfect hash function generator" + +build () { + ./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1 + make + make -j1 check + + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/grub.xibuild b/repo/system/grub.xibuild new file mode 100644 index 0000000..37b4da9 --- /dev/null +++ b/repo/system/grub.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(sh xz gettext device-mapper) + +SOURCE=https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz +DESC="GNU GRand Unified Bootloader v2" + +build () { + ./configure --prefix=/usr --sysconfdir=/etc --disable-werror + make + make DESTDIR=$PKG_DEST install +} + +package () { + mkdir -pv $PKG_DEST/usr/share/bash-completion/completions + mv -v $PKG_DEST/etc/bash_completion.d/grub $PKG_DEST/usr/share/bash-completion/completions +} diff --git a/repo/system/guile.xibuild b/repo/system/guile.xibuild new file mode 100644 index 0000000..fd65daa --- /dev/null +++ b/repo/system/guile.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(gmp libltdl ncurses texinfo libunistring gc libffi) + +SOURCE=https://ftp.gnu.org/gnu/guile/guile-2.2.7.tar.gz +DESC="Portable, embeddable Scheme implementation written in C" + +build () { + ./autogen.sh + ./configure --prefix=/usr --disable-static + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/gzip.xibuild b/repo/system/gzip.xibuild new file mode 100644 index 0000000..15376a1 --- /dev/null +++ b/repo/system/gzip.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc bash less) + +SOURCE=https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz +DESC="GNU compression utilities" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/iana-etc.xibuild b/repo/system/iana-etc.xibuild new file mode 100644 index 0000000..be9b261 --- /dev/null +++ b/repo/system/iana-etc.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=() + +SOURCE=https://github.com/Mic92/iana-etc +DESC="A set of data from the internet assigned numbers authority providing data for network services and protocols" + +build () { + python update.py out +} + +package () { + mkdir -vp $PKG_DEST/etc + cp -v out/dist/protocols $PKG_DEST/etc/ + cp -v out/dist/services $PKG_DEST/etc/ +} + diff --git a/repo/system/intltool.xibuild b/repo/system/intltool.xibuild new file mode 100644 index 0000000..ec0a774 --- /dev/null +++ b/repo/system/intltool.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(perl-xml-parser) + +SOURCE=https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz +DESC="The internationalization tool collection" + +build () { + ./configure --prefix=/usr + make + make check + make DESTDIR=$PKG_DEST install + install -v -Dm644 doc/I18N-HOWTO $PKG_DEST/usr/share/doc/intltool-0.51.0/I18N-HOWTO +} diff --git a/repo/system/kbd.xibuild b/repo/system/kbd.xibuild new file mode 100644 index 0000000..8612f4a --- /dev/null +++ b/repo/system/kbd.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(glibc pam) + +SOURCE=https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-2.4.0.tar.xz +DESC="Keytable files and keyboard utilities" + +build () { + + # remove redundant resizecons program + sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure + sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in + + ./configure --prefix=/usr --disable-vlock + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/kmod.xibuild b/repo/system/kmod.xibuild new file mode 100644 index 0000000..b6f873e --- /dev/null +++ b/repo/system/kmod.xibuild @@ -0,0 +1,29 @@ +#!/bin/bash + +DEPS=(glibc zlib openssl xz zstd) + +SOURCE=https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-29.tar.xz +DESC="Libraries and utilities for managing kernel modules" + +build () { + ./autogen.sh + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-xz \ + --with-zstd \ + --with-zlib + + make + make DESTDIR=$PKG_DEST install +} + +package () { + mkdir -p /usr/sbin + mkdir -p /usr/bin + + for target in depmod insmod modinfo modprobe rmmod; do + ln -sfv ../bin/kmod $PKG_DERT/usr/sbin/$target + done + + ln -sfv kmod $PKG_DEST/usr/bin/lsmod +} diff --git a/repo/system/krb5.xibuild b/repo/system/krb5.xibuild new file mode 100644 index 0000000..8769e1f --- /dev/null +++ b/repo/system/krb5.xibuild @@ -0,0 +1,35 @@ +#!/bin/bash + +DEPS=(glibc e2fsprogs libldap keyutils) + +SOURCE=https://kerberos.org/dist/krb5/1.19/krb5-1.19.2.tar.gz +DESC="The Kerberos network authentication system" + +build () { + # fix denial of service vulnerability + sed -i '210a if (sprinc == NULL) {\ + status = "NULL_SERVER";\ + errcode = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN;\ + goto cleanup;\ + }' src/kdc/do_tgs_req.c + + cd src && + + sed -i -e 's@\^u}@^u cols 300}@' tests/dejagnu/config/default.exp && + sed -i -e '/eq 0/{N;s/12 //}' plugins/kdb/db2/libdb2/test/run.test && + sed -i '/t_iprop.py/d' tests/Makefile.in && + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --runstatedir=/run \ + --with-system-et \ + --with-system-ss \ + --with-system-verto=no \ + --enable-dns-for-realm && + make + make DESTDIR=$PKG_DEST install + + install -v -dm755 $PKG_DEST/usr/share/doc/krb5-1.19.2 && + cp -vfr ../doc/* $PKG_DEST/usr/share/doc/krb5-1.19.2 +} diff --git a/repo/system/libcap-ng.xibuild b/repo/system/libcap-ng.xibuild new file mode 100644 index 0000000..eaad150 --- /dev/null +++ b/repo/system/libcap-ng.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v0.8.2.tar.gz + +DESC="A library for linux that makes posix capabilities easy" + +build () { + ./autogen.sh + ./configure --prefix=/usr + make prefix=/usr lib=lib +} + +package() { + make prefix=/usr lib=lib DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libcap.xibuild b/repo/system/libcap.xibuild new file mode 100644 index 0000000..01bc414 --- /dev/null +++ b/repo/system/libcap.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +DEPS=(glibc pam) + +SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.62.tar.gz + +DESC="POSIX 1003.1e capabilities" + +build () { + sed -i '/install -m.*STA/d' libcap/Makefile + + make prefix=/usr lib=lib + + make test + make prefix=/usr lib=lib DESTDIR=$PKG_DEST install + +} + +package() { + chmod -v 755 $PKG_DEST/usr/lib/lib{cap,psx}.so.* +} diff --git a/repo/system/libffi.xibuild b/repo/system/libffi.xibuild new file mode 100644 index 0000000..872cb83 --- /dev/null +++ b/repo/system/libffi.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz +DESC="Portable foreign function interface library" + +build () { + ./configure --prefix=/usr --disable-static --with-gcc-arch=native --disable-exec-static-tramp + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libiconv.xibuild b/repo/system/libiconv.xibuild new file mode 100644 index 0000000..52b45ef --- /dev/null +++ b/repo/system/libiconv.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.16.tar.gz + +DESC="GNU charset conversion library" + +build () { + ./configure --prefix=/usr --disable-static && + make + make prefix=/usr lib=lib DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libidn.xibuild b/repo/system/libidn.xibuild new file mode 100644 index 0000000..ddb9d08 --- /dev/null +++ b/repo/system/libidn.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://ftp.gnu.org/gnu/libidn/libidn2-2.3.2.tar.gz +DESC="Free software implementation of IDNA2008, Punycode and TR46" + +build () { + ./configure --prefix=/usr --disable-static + make + make DESTDIR=$PKG_DEST install + + find doc -name "Makefile*" -delete && + rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} && + mkdir -pv $PKG_DEST/usr/share/doc/libidn-2.3.2 && + cp -r -v doc/* $PKG_DEST/usr/share/doc/libidn-2.3.2 +} diff --git a/repo/system/libldap.xibuild b/repo/system/libldap.xibuild new file mode 100644 index 0000000..f6caccb --- /dev/null +++ b/repo/system/libldap.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(libidn libsasl) + +SOURCE=http://repository.linagora.org/OpenLDAP/openldap-release/openldap-2.6.0.tgz +DESC="An open source implementation of the Lightweight Directory Access Protocol" + +build () { + ./configure prefix="/usr" + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libnghttp.xibuild b/repo/system/libnghttp.xibuild new file mode 100644 index 0000000..b90f3ed --- /dev/null +++ b/repo/system/libnghttp.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/nghttp2/nghttp2/releases/download/v1.46.0/nghttp2-1.46.0.tar.xz +DESC="Framing layer of HTTP implemented as a C library" + + +build () { + ./configure --prefix=/usr \ + --disable-static \ + --enable-lib-only \ + --docdir=/usr/share/doc/nghttp2-1.46.0 && + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libp11-kit.xibuild b/repo/system/libp11-kit.xibuild new file mode 100644 index 0000000..e9e5e4a --- /dev/null +++ b/repo/system/libp11-kit.xibuild @@ -0,0 +1,28 @@ +#!/bin/bash + +DEPS=(glibc libtasn1 libffi) + +SOURCE=https://github.com/p11-glue/p11-kit +DESC="Loads and enumerates PKCS#11 modules" + +build () { + + sed '20,$ d' -i trust/trust-extract-compat && + cat >> trust/trust-extract-compat << "EOF" +# Copy existing anchor modifications to /etc/ssl/local +/usr/libexec/make-ca/copy-trust-modifications + +# Generate a new trust store +/usr/sbin/make-ca -f -g +EOF + + ./autogen.sh + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-trust-paths=/etc/pki/anchors + make + make DESTDIR=$PKG_DEST install + ln -sfv $PKG_DEST/usr/libexec/p11-kit/trust-extract-compat \ + $PKG_DEST/usr/bin/update-ca-certificates +} + diff --git a/repo/system/libpipeline.xibuild b/repo/system/libpipeline.xibuild new file mode 100644 index 0000000..be5ec09 --- /dev/null +++ b/repo/system/libpipeline.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://gitlab.com/cjwatson/libpipeline +DESC="A library for manipulating pipelines of subprocesses in a flexible and convenient way" + +build () { + ./bootstrap + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libpsl.xibuild b/repo/system/libpsl.xibuild new file mode 100644 index 0000000..9b40f2a --- /dev/null +++ b/repo/system/libpsl.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(libidn) + +SOURCE=https://github.com/rockdaboot/libpsl/releases/download/0.21.1/libpsl-0.21.1.tar.gz +DESC="C library to handle the Public Suffix List" + +build () { + sed -i 's/env python/&3/' src/psl-make-dafsa && + ./configure --prefix=/usr --disable-static && + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libsasl.xibuild b/repo/system/libsasl.xibuild new file mode 100644 index 0000000..8cb4491 --- /dev/null +++ b/repo/system/libsasl.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(gmp) + +SOURCE=https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-2.1.27/cyrus-sasl-2.1.27.tar.gz +DESC="A library for Simple Authentication and Security Layer" + +build () { + ./configure \ + --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + +#package () { + #mv $PKG_DEST/usr/local/* $PKG_DEST/usr/ +#} diff --git a/repo/system/libseccomp.xibuild b/repo/system/libseccomp.xibuild new file mode 100644 index 0000000..1d5fe3a --- /dev/null +++ b/repo/system/libseccomp.xibuild @@ -0,0 +1,15 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/seccomp/libseccomp/releases/download/v2.5.3/libseccomp-2.5.3.tar.gz + +DESC="Enhanced seccomp library" + +build () { + ./configure --prefix=/usr --disable-static && + make + make check + make prefix=/usr lib=lib DESTDIR=$PKG_DEST install + +} diff --git a/repo/system/libsigsegv.xibuild b/repo/system/libsigsegv.xibuild new file mode 100644 index 0000000..559e1eb --- /dev/null +++ b/repo/system/libsigsegv.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(libtasn readline zlib nettle p11-kit libidn2 libunistring) + +SOURCE=https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.13.tar.gz +DESC="A library for handling page faults in user mode" + +build () { + + ./configure \ + --prefix=/usr --enable-shared --disable-static + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libtasn1.xibuild b/repo/system/libtasn1.xibuild new file mode 100644 index 0000000..2f6fccd --- /dev/null +++ b/repo/system/libtasn1.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.18.0.tar.gz +DESC="The ASN.1 library used in GNUTLS" + +build () { + + ./configure \ + --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libtool.xibuild b/repo/system/libtool.xibuild new file mode 100644 index 0000000..3e41c00 --- /dev/null +++ b/repo/system/libtool.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(sh tar glibc) + +SOURCE=https://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz +DESC="A generic library support script" + +build () { + ./configure --prefix=/usr + make + make check + + make DESTDIR=$PKG_DEST install +} + +package () { + rm -fv $PKG_DEST/usr/lib/libltdl.a +} diff --git a/repo/system/libunistring.xibuild b/repo/system/libunistring.xibuild new file mode 100644 index 0000000..3a5b3d4 --- /dev/null +++ b/repo/system/libunistring.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.gz +DESC="Library for manipulating Unicode strings and C strings" + +build () { + + ./configure \ + --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libxcrypt.xibuild b/repo/system/libxcrypt.xibuild new file mode 100644 index 0000000..a4b5a3e --- /dev/null +++ b/repo/system/libxcrypt.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/besser82/libxcrypt/releases/download/v4.4.26/libxcrypt-4.4.26.tar.xz +DESC="A modern library for one-way hashing of passwords" + +build () { + CC=gcc ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + +package () { + # this is probably wrong + ln $PKG_DEST/usr/lib/libcrypt.so $PKG_DEST/usr/lib/libcrypt.so.2 +} + + diff --git a/repo/system/libxml2.xibuild b/repo/system/libxml2.xibuild new file mode 100644 index 0000000..e5c149e --- /dev/null +++ b/repo/system/libxml2.xibuild @@ -0,0 +1,15 @@ +#!/bin/bash + +DEPS=(zlib readline ncurses xz icu) + +SOURCE=http://xmlsoft.org/sources/libxml2-2.9.12.tar.gz +DESC="XML parsing library" + +build () { + ./configure --prefix=/usr \ + --disable-static \ + --with-history \ + --with-python=/usr/bin/python3 && + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/libxslt.xibuild b/repo/system/libxslt.xibuild new file mode 100644 index 0000000..b079be1 --- /dev/null +++ b/repo/system/libxslt.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(libxml2 libgcrypt) + +SOURCE=http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz +DESC="XML stylesheet transformation library" + + +build () { + sed -i s/3000/5000/ libxslt/transform.c doc/xsltproc.{1,xml} && + sed -i -r '/max(Parser)?Depth/d' ./tests/fuzz/fuzz.c && + ./configure --prefix=/usr --disable-static --without-python && + make + sed -e 's@http://cdn.docbook.org/release/xsl@https://cdn.docbook.org/release/xsl-nons@' \ + -e 's@\$Date\$@31 October 2019@' -i doc/xsltproc.xml && + xsltproc/xsltproc --nonet doc/xsltproc.xml -o doc/xsltproc.1 + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/lz4.xibuild b/repo/system/lz4.xibuild new file mode 100644 index 0000000..9e1dbad --- /dev/null +++ b/repo/system/lz4.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(sh) + +SOURCE=https://github.com/lz4/lz4/archive/refs/tags/v1.9.3.tar.gz +DESC="A lossless compression algorithm, providing high compression speeds" + + +build () { + make + make DESTDIR=$PKG_DEST install +} + diff --git a/repo/system/lzo.xibuild b/repo/system/lzo.xibuild new file mode 100644 index 0000000..17c404b --- /dev/null +++ b/repo/system/lzo.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz + +DESC="Portable lossless data compression library" + +build () { + ./configure --prefix=/usr --disable-static --enable-shared --docdir=/usr/share/doc/lzo-2.10 + make +} + +package() { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/mpfr.xibuild b/repo/system/mpfr.xibuild new file mode 100644 index 0000000..4895dc9 --- /dev/null +++ b/repo/system/mpfr.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(glibc gmp) +SOURCE=https://www.mpfr.org/mpfr-current/mpfr-4.1.0.tar.xz + +DESC="Multiple-precision floating-point library" + +build () { + ./configure --prefix=/usr --disable-static --enable-thread-safe --docdir=/usr/share/doc/mpfr-4.1.0 + make + make html + + make check + + make DESTDIR=$PKG_DEST install + make DESTDIR=$PKG_DEST install-html +} + diff --git a/repo/system/ncurses.xibuild b/repo/system/ncurses.xibuild new file mode 100644 index 0000000..c42d402 --- /dev/null +++ b/repo/system/ncurses.xibuild @@ -0,0 +1,33 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://invisible-mirror.net/archives/ncurses/ncurses-6.3.tar.gz + +DESC="curses emulation library" + +build () { + ./configure --prefix=/usr --mandir=/usr/share/man --with-shared --without-debug --without-normal --enable-pc-files --enable-widec + + make + + make DESTDIR=$PKG_DEST install +} + + +package () { + + for lib in ncurses form panel menu ; do + rm -vf $PKG_DEST/usr/lib/lib${lib}.so + echo "INPUT(-l${lib}w)" > $PKG_DEST/usr/lib/lib${lib}.so + ln -sfv ${lib}w.pc $PKG_DEST/usr/lib/pkgconfig/${lib}.pc + done + + rm -vf $PKG_DEST/usr/lib/libcursesw.so + echo "INPUT(-lncursesw)" > $PKG_DEST/usr/lib/libcursesw.so + ln -sfv libncurses.so $PKG_DEST/usr/lib/libcurses.so + + # install docs + mkdir -pv $PKG_DEST/usr/share/doc/ncurses-6.3 + cp -v -R doc/* $PKG_DEST/usr/share/doc/ncurses-6.3 +} diff --git a/repo/system/nettle.xibuild b/repo/system/nettle.xibuild new file mode 100644 index 0000000..398a722 --- /dev/null +++ b/repo/system/nettle.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(gmp) + +SOURCE=https://ftp.gnu.org/gnu/nettle/nettle-3.7.tar.gz +DESC="A low-level cryptographic library" + +build () { + + ./configure \ + --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/nspr.xibuild b/repo/system/nspr.xibuild new file mode 100644 index 0000000..733c333 --- /dev/null +++ b/repo/system/nspr.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(glibc bash) + +SOURCE=https://archive.mozilla.org/pub/nspr/releases/v4.33/src/nspr-4.33.tar.gz +DESC="Netscape Portable Runtime" + +build () { + sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in + sed -i 's#$(LIBRARY) ##' config/rules.mk + + + cd nspr + ./configure \ + --prefix=/usr --with-mozilla --with-pthreads --enable-64bit + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/openssl.xibuild b/repo/system/openssl.xibuild new file mode 100644 index 0000000..5b52fd5 --- /dev/null +++ b/repo/system/openssl.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/openssl/openssl/archive/refs/tags/openssl-3.0.1.tar.gz +DESC="The open source management tools and libraries for cryptography" +BRANCH="OpenSSL_1_1_1-stable" + +build () { + ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib shared zlib-dynamic + make + sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile + make MANSUFFIX=ssl DESTDIR=$PKG_DEST install +} + +package () { + mkdir -pv $PKG_DEST/usr/share/doc/openssl + cp -vfr doc/* $PKG_DEST/usr/share/doc/openssl +} diff --git a/repo/system/pam.xibuild b/repo/system/pam.xibuild new file mode 100644 index 0000000..732909a --- /dev/null +++ b/repo/system/pam.xibuild @@ -0,0 +1,35 @@ +#!/bin/bash + +DEPS=(glibc libtirpc pambase audit libxcrypt) + +SOURCE=https://github.com/linux-pam/linux-pam/releases/download/v1.5.2/Linux-PAM-1.5.2.tar.xz +DESC="PAM (Pluggable Authentication Modules) library" + +build () { + # prevent install of an uneeded systemd file + sed -e /service_DATA/d \ + -i modules/pam_namespace/Makefile.am && + autoreconf + + ./configure --prefix=/usr \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --libdir=/usr/lib \ + --enable-securedir=/usr/lib/security \ + --docdir=/usr/share/doc/Linux-PAM-1.5.2 && + make + + make DESTDIR=$PKG_DEST install +} + +package () { + install -v -m755 -d $PKG_DEST/etc/pam.d && + + cat > $PKG_DEST/etc/pam.d/other << "EOF" + auth required pam_deny.so + account required pam_deny.so + password required pam_deny.so + session required pam_deny.so +EOF + +} diff --git a/repo/system/pcre.xibuild b/repo/system/pcre.xibuild new file mode 100644 index 0000000..facf5fe --- /dev/null +++ b/repo/system/pcre.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.bz2 +DESC="A library that implements regular expressions in a perl style" + +build () { + CC=gcc ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + +package () { + # this probably is not right but it works for now + ln $PKG_DEST/usr/lib/libpcre2-8.so $PKG_DEST/usr/lib/libpcre.so.1 +} + + diff --git a/repo/system/perl-xml-parser.xibuild b/repo/system/perl-xml-parser.xibuild new file mode 100644 index 0000000..d4b9682 --- /dev/null +++ b/repo/system/perl-xml-parser.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(perl expat) + +SOURCE=https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz +DESC="A perl interface for the expat XML parser" + +build () { + perl Makefile.PL + make + make test + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/perl.xibuild b/repo/system/perl.xibuild new file mode 100644 index 0000000..cd3c884 --- /dev/null +++ b/repo/system/perl.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(gdbm glibc libxcrypt) + +SOURCE=https://www.cpan.org/src/5.0/perl-5.34.0.tar.gz +DESC="The Practical Extraction and Report Language" + +build () { + #export BUILD_ZLIB=False + #export BUILD_BZIP2=0 + + sh Configure -des -Dprefix=/usr -Dlibs=-lm -Uloclibpth -Ulocincpth + + make + make test + make DESTDIR=$PKG_DEST install + unset BUILD_ZLIB BUILD_BZIP2 +} diff --git a/repo/system/psmisc.xibuild b/repo/system/psmisc.xibuild new file mode 100644 index 0000000..560cf20 --- /dev/null +++ b/repo/system/psmisc.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(ncurses) + +SOURCE=https://gitlab.com/psmisc/psmisc/-/archive/v23.4/psmisc-v23.4.tar.gz +DESC="Miscellaneous procfs tools" + +build () { + ./autogen.sh + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/python-requests.xibuild b/repo/system/python-requests.xibuild new file mode 100644 index 0000000..7752729 --- /dev/null +++ b/repo/system/python-requests.xibuild @@ -0,0 +1,11 @@ +#!/bin/bash + +DEPS=(python) + +SOURCE=git://github.com/psf/requests.git +DESC="the requests module for python" + +build () { + mkdir -p $PKG_DEST/usr/lib/python3.10/site-packages/ + pip install -t $PKG_DEST/usr/lib/python3.10/site-packages/ . +} diff --git a/repo/system/python.xibuild b/repo/system/python.xibuild new file mode 100644 index 0000000..7e71733 --- /dev/null +++ b/repo/system/python.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib) + +SOURCE=https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz +DESC="The Python development environment" + +build () { + ./configure --prefix=/usr --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=yes --enable-optimizations --with-ssl --with-requests + make + make DESTDIR=$PKG_DEST install +} + +package () { + ln -s /usr/bin/python3 $PKG_DEST/usr/bin/python + ln -s /usr/bin/pip3 $PKG_DEST/usr/bin/pip +} diff --git a/repo/system/readline.xibuild b/repo/system/readline.xibuild new file mode 100644 index 0000000..8b47463 --- /dev/null +++ b/repo/system/readline.xibuild @@ -0,0 +1,23 @@ +#!/bin/bash + +DEPS=(glibc ncurses) + +SOURCE=https://ftp.gnu.org/gnu/readline/readline-8.1.tar.gz +DESC="a set of libraries that offer command line editing and history capabilities" + + +build () { + sed -i '/MV.*old/d' Makefile.in + sed -i '/{OLDSUFF}/c:' support/shlib-install + + ./configure --prefix=/usr \ + --disable-static \ + --with-curses \ + --docdir=/usr/share/doc/readline-8.1 + + make SHLIB_LIBS="-lncursesw" + make SHLIB_LIBS="-lncursesw" DESTDIR=$PKG_DEST install + + install -v -m644 doc/*.{ps,pdf,html,dvi} $PKG_DEST/usr/share/doc/readline-8.1 +} + diff --git a/repo/system/rtmpdump.xibuild b/repo/system/rtmpdump.xibuild new file mode 100644 index 0000000..35197b1 --- /dev/null +++ b/repo/system/rtmpdump.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=(glibc gnutls zlib) + +SOURCE=git://git.ffmpeg.org/rtmpdump +BRANCH="fa8646d" +DESC="Tool to download rtmp streams" + +build () { + sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile + + make SYS=posix + make \ + prefix='/usr' \ + sbindir='/usr/bin' \ + mandir='/usr/share/man' \ + DESTDIR=$PKG_DEST install +} diff --git a/repo/system/sed.xibuild b/repo/system/sed.xibuild new file mode 100644 index 0000000..0384f6c --- /dev/null +++ b/repo/system/sed.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=(glibc acl attr) + +SOURCE=https://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz +DESC="GNU stream editor" + +build () { + ./configure --prefix=/usr + make + make html +} + +package () { + make DESTDIR=$PKG_DEST install + + install -d -m755 $PKG_DEST/usr/share/doc/sed-4.8 + install -m644 doc/sed.html $PKG_DEST/usr/share/doc/sed-4.8 +} diff --git a/repo/system/shadow.xibuild b/repo/system/shadow.xibuild new file mode 100644 index 0000000..6af5cbb --- /dev/null +++ b/repo/system/shadow.xibuild @@ -0,0 +1,40 @@ +#!/bin/bash + +DEPS=(pam acl audit libcap libxcrypt) + +SOURCE=https://github.com/shadow-maint/shadow/releases/download/v4.10/shadow-4.10.tar.xz +DESC="Password and account management tool suite with support for shadow files and PAM" + +build () { + + curl https://www.linuxfromscratch.org/patches/lfs/development/shadow-4.10-useradd_segfault-1.patch > shadow-4.10-useradd_segfault-1.patch + patch -Np1 -i shadow-4.10-useradd_segfault-1.patch + + + 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 SHA512:' \ + -e 's:/var/spool/mail:/var/mail:' \ + -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \ + -i etc/login.defs + + sed -e "224s/rounds/min_rounds/" -i libmisc/salt.c + + mkdir -p $PKG_DEST/usr/bin + touch $PKG_DEST/usr/bin/passwd + ./configure --sysconfdir=/etc --with-group-name-max-length=32 + + make + + make exec_prefix=/usr DESTDIR=$PKG_DEST install + + make DESTDIR=$PKG_DEST -C man install-man + +} + +package () { + mkdir -p $PKG_DEST/etc/default +} diff --git a/repo/system/sysklogd.xibuild b/repo/system/sysklogd.xibuild new file mode 100644 index 0000000..44e59ce --- /dev/null +++ b/repo/system/sysklogd.xibuild @@ -0,0 +1,11 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/troglobit/sysklogd/releases/download/v2.3.0/sysklogd-2.3.0.tar.gz +DESC="Programs for logging system messages" + +build () { + ./configure && make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/sysvinit.xibuild b/repo/system/sysvinit.xibuild new file mode 100644 index 0000000..a6d4d97 --- /dev/null +++ b/repo/system/sysvinit.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(sh glibc) + +SOURCE=http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-3.00.tar.xz +DESC="The sysvinit system for controlling startup, running and shutdown of the system" + +build () { + curl https://www.linuxfromscratch.org/patches/lfs/development/sysvinit-3.01-consolidated-1.patch > sysvinit-3.0.1-consolidated-1.patch + patch -Np1 -i ysvinit-3.01-consolidated-1.patch + + make + make ROOT=$PKG_DEST install +} diff --git a/repo/system/tar.xibuild b/repo/system/tar.xibuild new file mode 100644 index 0000000..5e8074f --- /dev/null +++ b/repo/system/tar.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://ftp.gnu.org/gnu/tar/tar-1.34.tar.xz +DESC="Utility used to store, backup and transport files" + +build () { + FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + diff --git a/repo/system/tcl.xibuild b/repo/system/tcl.xibuild new file mode 100644 index 0000000..f9bebaa --- /dev/null +++ b/repo/system/tcl.xibuild @@ -0,0 +1,50 @@ +#!/bin/bash + +DEPS=(zlib) + +SOURCE=https://github.com/tcltk/tcl/archive/refs/tags/core-8-6-11.tar.gz +DESC="the Tool Command language, a robust general purpose scripting language" + + +build () { + SRCDIR=$(pwd) + cd unix + ./configure --prefix=/usr --mandir=/usr/share/man $([ "$(uname -m)" = x86_64 ] && echo --enable-64bit) + + make + + sed -e "s|$SRCDIR/unix|/usr/lib|" \ + -e "s|$SRCDIR|/usr/include|" \ + -i tclConfig.sh + + sed -e "s|$SRCDIR/unix/pkgs/tdbc1.1.2|/usr/lib/tdbc1.1.2|" \ + -e "s|$SRCDIR/pkgs/tdbc1.1.2/generic|/usr/include|" \ + -e "s|$SRCDIR/pkgs/tdbc1.1.2/library|/usr/lib/tcl8.6|" \ + -e "s|$SRCDIR/pkgs/tdbc1.1.2|/usr/include|" \ + -i pkgs/tdbc1.1.2/tdbcConfig.sh + + sed -e "s|$SRCDIR/unix/pkgs/itcl4.2.1|/usr/lib/itcl4.2.1|" \ + -e "s|$SRCDIR/pkgs/itcl4.2.1/generic|/usr/include|" \ + -e "s|$SRCDIR/pkgs/itcl4.2.1|/usr/include|" \ + -i pkgs/itcl4.2.1/itclConfig.sh + + unset SRCDIR + + make test + +} + +package () { + make DESTDIR=$PKG_DEST install + + chmod -v u+w $PKG_DEST/usr/lib/libtcl8.6.so + + make DESTDIR=$PKG_DEST install-private-headers + + ln $PKG_DEST/usr/bin/tclsh* $PKG_DEST/usr/bin/tclsh + cp -f tclsh9 $PKG_DEST/usr/bin/tclsh + mv $PKG_DEST/usr/share/man/man3/{Thread,Tcl_Thread}.3 + +} + + diff --git a/repo/system/xxhash.xibuild b/repo/system/xxhash.xibuild new file mode 100644 index 0000000..1b8fe5a --- /dev/null +++ b/repo/system/xxhash.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(sh) + +SOURCE=https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.1.tar.gz +DESC="xxHash is an Extremely fast Hash algorithm" + + +build () { + make + make DESTDIR=$PKG_DEST install +} + diff --git a/repo/system/xz.xibuild b/repo/system/xz.xibuild new file mode 100644 index 0000000..5748c65 --- /dev/null +++ b/repo/system/xz.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(sh) + +SOURCE=https://git.tukaani.org/xz.git +BRANCH=v5.2.5 +DESC="a selection of programs for compressing and decompressing files with the lzma and xz compression formats" + + +build () { + ./autogen.sh + ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/xz-5.2.5 + make + make check + make DESTDIR=$PKG_DEST install +} + diff --git a/repo/system/zip.xibuild b/repo/system/zip.xibuild new file mode 100644 index 0000000..87bb35e --- /dev/null +++ b/repo/system/zip.xibuild @@ -0,0 +1,11 @@ +#!/bin/bash + +DEPS=(glibc bzip2) + +SOURCE=https://downloads.sourceforge.net/infozip/zip30.tar.gz +DESC="Compressor/archiver for creating and modifying zipfiles" + +build () { + make -f unix/Makefile generic_gcc + make -f unix/Makefile prefix=$PKG_DEST/usr install +} diff --git a/repo/system/zlib.xibuild b/repo/system/zlib.xibuild new file mode 100644 index 0000000..9402a1d --- /dev/null +++ b/repo/system/zlib.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/madler/zlib/archive/refs/tags/v1.2.11.tar.gz +DESC="compression and decompression routines used by some programs" + + +build () { + ./configure --prefix=/usr + make + make check + make DESTDIR=$PKG_DEST install +} + +package () { + # Remove a useless static library (lfs recommended) + rm -fv $PKG_DEST/usr/lib/libz.a +} + diff --git a/repo/system/zstd.xibuild b/repo/system/zstd.xibuild new file mode 100644 index 0000000..40a7a5a --- /dev/null +++ b/repo/system/zstd.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc gcc-libs zlib xz lz4) + +SOURCE=https://github.com/facebook/zstd/releases/download/v1.5.1/zstd-1.5.1.tar.gz +DESC="the Zstandard real-time compression algorithm" + +build () { + make + + # fix these tests to work + #make check + make prefix=$PKG_DEST/usr install +} diff --git a/repo/util/bash.xibuild b/repo/util/bash.xibuild new file mode 100644 index 0000000..5b5afd0 --- /dev/null +++ b/repo/util/bash.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(readline glibc ncurses) + +SOURCE=https://git.savannah.gnu.org/git/bash.git +DESC="The free Bourne Again Shell" + +build () { + ./configure --without-bash-malloc --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + +package () { + ln $PKG_DEST/usr/bin/bash $PKG_DEST/usr/bin/sh +} + diff --git a/repo/util/curl.xibuild b/repo/util/curl.xibuild new file mode 100644 index 0000000..b5da8e4 --- /dev/null +++ b/repo/util/curl.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(cacerts openssl zlib zstd libnghttp libpsl) + +SOURCE=https://curl.se/download/curl-7.80.0.tar.xz +DESC="A utility for transfering files with URL syntax" + +build () { + ./configure --prefix=/usr \ + --disable-static \ + --with-openssl \ + --enable-threaded-resolver \ + --with-ca-path=/etc/ssl/certs && + make + + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/diffutils.xibuild b/repo/util/diffutils.xibuild new file mode 100644 index 0000000..2a14984 --- /dev/null +++ b/repo/util/diffutils.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc bash) + +SOURCE=https://ftp.gnu.org/gnu/diffutils/diffutils-3.8.tar.xz +DESC="Utility programs for creating patch files" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/e2fsprogs.xibuild b/repo/util/e2fsprogs.xibuild new file mode 100644 index 0000000..c2de603 --- /dev/null +++ b/repo/util/e2fsprogs.xibuild @@ -0,0 +1,27 @@ +#!/bin/bash + +DEPS=(sh util-linux) + +SOURCE=https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.4/e2fsprogs-1.46.4.tar.xz +DESC="Ext2/3/4 filesystem utils" + +build () { + mkdir -v build + cd build + ../configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd \ + --disable-fsck + make + make DESTDIR=$PKG_DEST install +} + + +package () { + rm -fv $PKG_DEST/usr/lib/{libcom_err,libe2p,libext2fs,libss}.a + gunzip -v $PKG_DEST/usr/share/info/libext2fs.info.gz + install-info --dir-file=$PKG_DEST/usr/share/info/dir $PKG_DEST/usr/share/info/libext2fs.info +} diff --git a/repo/util/elfutils.xibuild b/repo/util/elfutils.xibuild new file mode 100644 index 0000000..4fef630 --- /dev/null +++ b/repo/util/elfutils.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://sourceware.org/elfutils/ftp/elfutils-latest.tar.bz2 +DESC="Handle ELF object files and DWARF debugging information" + +build () { + ./configure --prefix=/usr --disable-debuginfod --enable-libdebuginfod=dummy + make + make check + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/file.xibuild b/repo/util/file.xibuild new file mode 100644 index 0000000..150810b --- /dev/null +++ b/repo/util/file.xibuild @@ -0,0 +1,15 @@ +#!/bin/bash + +DEPS=(glibc zlib xz bzip2) + +SOURCE=http://ftp.astron.com/pub/file/file-5.40.tar.gz +DESC="A utility for determining the type of a given file or files" + +build () { + ./configure --prefix=/usr + make + make check + make DESTDIR=$PKG_DEST install +} + + diff --git a/repo/util/gawk.xibuild b/repo/util/gawk.xibuild new file mode 100644 index 0000000..e06c4e3 --- /dev/null +++ b/repo/util/gawk.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(sh glibc mpfr) + +SOURCE=https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.xz +DESC="GNU's awk" + +build () { + ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/grep.xibuild b/repo/util/grep.xibuild new file mode 100644 index 0000000..aab9964 --- /dev/null +++ b/repo/util/grep.xibuild @@ -0,0 +1,13 @@ +#!/bin/bash + +DEPS=(glibc pcre) + +SOURCE=https://ftp.gnu.org/gnu/grep/grep-3.7.tar.xz +DESC="A string search utility" + +build () { + ./configure --prefix=/usr --bindir=/bin + make + make check + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/groff.xibuild b/repo/util/groff.xibuild new file mode 100644 index 0000000..83d970a --- /dev/null +++ b/repo/util/groff.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(perl) + +SOURCE=https://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz +DESC="GNU troff text-formatting system" + +build () { + PAGE=A4 ./configure --prefix=/usr + make -j1 + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/inetutils.xibuild b/repo/util/inetutils.xibuild new file mode 100644 index 0000000..89bf87c --- /dev/null +++ b/repo/util/inetutils.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(pam libcap readline ncurses libxcrypt) + +SOURCE=https://ftp.gnu.org/gnu/inetutils/inetutils-2.2.tar.xz +DESC="A collection of common programs for basic networking" + +build () { + ./configure --prefix=/usr --bindir=/usr/bin --localstatedir=/var --disable-logger --disable-whois --disable-rcp --disable-rexec --disable-rlogin --disable-rsh + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/iproute2.xibuild b/repo/util/iproute2.xibuild new file mode 100644 index 0000000..94baef1 --- /dev/null +++ b/repo/util/iproute2.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc iptables libelf) + +SOURCE=https://git.kernel.org/pub/scm/network/iproute2/iproute2.git +DESC="IP Routing Utilities" + +build () { + sed -i /ARPD/d Makefile + rm -fv man/man8/arpd.8 + + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/keyutils.xibuild b/repo/util/keyutils.xibuild new file mode 100644 index 0000000..a2341dc --- /dev/null +++ b/repo/util/keyutils.xibuild @@ -0,0 +1,11 @@ +#!/bin/bash + +DEPS=(glibc sh) + +SOURCE=https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-1.6.3.tar.gz +DESC="Linux Key Management Utils" + +build () { + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/less.xibuild b/repo/util/less.xibuild new file mode 100644 index 0000000..a2bb435 --- /dev/null +++ b/repo/util/less.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(glibc ncurses pcre2) + +SOURCE=https://www.greenwoodsoftware.com/less/less-590.tar.gz +DESC="A terminal based program for viewing text files" + +build () { + ./configure --prefix=/usr --sysconfdir=/etc + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/make-ca.xibuild b/repo/util/make-ca.xibuild new file mode 100644 index 0000000..ff1ed76 --- /dev/null +++ b/repo/util/make-ca.xibuild @@ -0,0 +1,12 @@ +#!/bin/bash + +DEPS=(p11-kit nss) + +SOURCE=https://github.com/djlucas/make-ca/releases/download/v1.7/make-ca-1.7.tar.xz +DESC="A utility to deliver and manage a complete PKI configuration" + +build () { + + make DESTDIR=$PKG_DEST install && + install -vdm755 $PKG_DEST/etc/ssl/local +} diff --git a/repo/util/man-db.xibuild b/repo/util/man-db.xibuild new file mode 100644 index 0000000..92ce361 --- /dev/null +++ b/repo/util/man-db.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +DEPS=(bash gdbm zlib groff libpipeline less) + +SOURCE=http://download.savannah.nongnu.org/releases/man-db/man-db-2.9.4.tar.xz +DESC="A utility for reading man pages" + +build () { + ./configure --prefix=/usr + ./configure --prefix=/usr \ + --docdir=/usr/share/doc/man-db-2.9.4 \ + --sysconfdir=/etc \ + --disable-setuid \ + --enable-cache-owner=bin \ + --with-browser=/usr/bin/lynx \ + --with-vgrind=/usr/bin/vgrind \ + --with-grap=/usr/bin/grap \ + --with-systemdtmpfilesdir= \ + --with-systemdsystemunitdir= + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/openssh.xibuild b/repo/util/openssh.xibuild new file mode 100644 index 0000000..3ed91ef --- /dev/null +++ b/repo/util/openssh.xibuild @@ -0,0 +1,30 @@ +#!/bin/bash + +DEPS=(glibc krb5 openssl libedit ldns libxcrypt zlib pam) + +SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.8p1.tar.gz +DESC="Premier connectivity tool for remote login with the SSH protocol" + +build () { + ./configure --prefix=/usr \ + --sysconfdir=/etc/ssh \ + --with-md5-passwords \ + --with-privsep-path=/var/lib/sshd \ + --with-default-path=/usr/bin \ + --with-superuser-path=/usr/sbin:/usr/bin \ + --with-pid-dir=/run + make + make DESTDIR=$PKG_DEST install +} + + +package () { + install -v -m755 contrib/ssh-copy-id $PKG_DEST/usr/bin + + install -v -m644 contrib/ssh-copy-id.1 \ + $PKG_DEST/usr/share/man/man1 + install -v -m755 -d $PKG_DEST/usr/share/doc/openssh-8.8p1 + install -v -m644 INSTALL LICENCE OVERVIEW README* \ + $PKG_DEST/usr/share/doc/openssh-8.8p1 + +} diff --git a/repo/util/procps-ng.xibuild b/repo/util/procps-ng.xibuild new file mode 100644 index 0000000..a5748ec --- /dev/null +++ b/repo/util/procps-ng.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(glibc ncurses) + +SOURCE=https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.17.tar.xz +DESC="Utilities for monitoring your system and its processes" + +build () { + ./configure --prefix=/usr \ + --docdir=/usr/share/doc/procps-ng-3.3.17 \ + --disable-static \ + --disable-kill + make + make check + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/rsync.xibuild b/repo/util/rsync.xibuild new file mode 100644 index 0000000..f2547fd --- /dev/null +++ b/repo/util/rsync.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(sh) + +SOURCE=https://www.samba.org/ftp/rsync/src/rsync-3.2.3.tar.gz +DESC="A utility that provides fast incremental file transfer" + + +build () { + ./configure --prefix=/usr --disable-md2man --disable-lz4 --disable-xxhash --without-included-zlib && + make + make DESTDIR=$PKG_DEST install +} + diff --git a/repo/util/util-linux.xibuild b/repo/util/util-linux.xibuild new file mode 100644 index 0000000..aeb7edf --- /dev/null +++ b/repo/util/util-linux.xibuild @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS=(shadow coreutils libcap libxcrypt readline) + +SOURCE=https://cdn.kernel.org/pub/linux/utils/util-linux/v2.37/util-linux-2.37.2.tar.xz +DESC="System Utilities for Linux" + +build () { + ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --libdir=/usr/lib \ + --docdir=/usr/share/doc/util-linux-2.20 \ + --disable-static \ + runstatedir=/run + make + make DESTDIR=$PKG_DEST install +} diff --git a/repo/util/vim.xibuild b/repo/util/vim.xibuild new file mode 100644 index 0000000..27e04ad --- /dev/null +++ b/repo/util/vim.xibuild @@ -0,0 +1,34 @@ +#!/bin/bash + +DEPS=(gpm acl glibc libgcrypt pcre zlib) + +SOURCE=https://github.com/vim/vim.git +DESC="Vi Improved" + +build () { + echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h + ./configure --prefix=/usr --disable-gtk-check --disable-motif-check --disable-athena-check --disable-gui --disable-xsmp --without-x -disable-canberra --disable-libsodium --disable-gpm --disable-libsodium + make + make DESTDIR=$PKG_DEST install +} + + +package () { + cat > vimrc << "EOF" +" Begin /etc/vimrc +" Ensure defaults are set before customizing settings, not after +source $VIMRUNTIME/defaults.vim +let skip_defaults_vim=1 +set nocompatible +set backspace=2 +set mouse= +syntax on +if (&term == "xterm") || (&term == "putty") + set background=dark +endif +" End /etc/vimrc +EOF + curl -sL https://davidovski.xyz/r/vim/vimrc >> vimrc + mkdir -pv $PKG_DEST/etc + cp -v vimrc $PKG_DEST/etc/vimrc +} diff --git a/repo/util/which.xibuild b/repo/util/which.xibuild new file mode 100644 index 0000000..5f682dc --- /dev/null +++ b/repo/util/which.xibuild @@ -0,0 +1,14 @@ +#!/bin/bash + +DEPS=(glibc bash) + +SOURCE=http://ftp.gnu.org/gnu/which/which-2.21.tar.gz +DESC="A utility to show the full path of commands" + +build () { + CC=gcc ./configure --prefix=/usr + make + make DESTDIR=$PKG_DEST install +} + + diff --git a/repo/xi/xibuild.xibuild b/repo/xi/xibuild.xibuild new file mode 100644 index 0000000..71649fd --- /dev/null +++ b/repo/xi/xibuild.xibuild @@ -0,0 +1,17 @@ +#!/bin/bash + +DEPS=(bash tar git hg curl openssl ) + +SOURCE=https://git.davidovski.xyz/xilinux/xibuild.git +DESC="The build system for xilinux used to build packages and maintain repositories" + +package () { + mkdir -pv $PKG_DEST/usr/bin + cp -v xibuild $PKG_DEST/usr/bin/ + cp xibuild $PKG_DEST/usr/bin/ + + mkdir -pv $PKG_DEST/home/xibuild + cp -r * $PKG_DEST/home/xibuild +} + + diff --git a/repo/xi/xipkg.xibuild b/repo/xi/xipkg.xibuild new file mode 100644 index 0000000..f18745f --- /dev/null +++ b/repo/xi/xipkg.xibuild @@ -0,0 +1,11 @@ +#!/bin/bash + +DEPS=(tar python python-requests) + +SOURCE=https://git.davidovski.xyz/xilinux/xipkg.git +DESC="The xilinux package manager" + +build () { + make + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1