diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 01:23:51 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 01:23:51 +0000 |
commit | cb447620084a20be80d116c81c2e9ec110be7118 (patch) | |
tree | 9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/core | |
parent | 153011e9129c6055ef21c48caf65a23e74a91418 (diff) |
restructured repo system
Diffstat (limited to 'repo/core')
112 files changed, 0 insertions, 2101 deletions
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 -} |