updated gnu repo

This commit is contained in:
2025-08-26 04:41:14 +03:00
parent 12583471f1
commit 6ca31f47ab
87 changed files with 993 additions and 193 deletions

View File

@ -1,179 +0,0 @@
cd /mnt/sexlinux/source/gmp-6.3.0 && ./configure --enable-cxx --prefix=/pkg/gnu/gmp && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #GMP###################
cd /mnt/sexlinux/source/mpfr-4.2.2 && ./configure --with-gmp=/mnt/sexlinux/pkg/gnu/gmp --prefix=/pkg/gnu/mpfr && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #MPFR##################
cd /mnt/sexlinux/source/mpc-1.3.1 && ./configure --with-gmp=/mnt/sexlinux/pkg/gnu/gmp --with-mpfr=/mnt/sexlinux/pkg/gnu/mpfr --prefix=/pkg/gnu/mpc && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #MPC###################
cd /mnt/sexlinux/source/zlib-1.3.1 && ./configure --prefix=/pkg/gnu/zlib && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #ZLIB##################
cd /mnt/sexlinux/source/zstd-1.5.7 && make -j$(nproc) && make DESTDIR=/mnt/sexlinux prefix=/pkg/gnu/zstd install #ZSTD##################
cd /mnt/sexlinux/source/isl-0.27 && ./configure --prefix=/pkg/gnu/isl && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #ISL###################
cd /mnt/sexlinux/source/gcc-15.1.0 && rg -l "/lib64/ld-linux-x86-64.so.2" ./ | xargs sed -i 's|/lib64/ld-linux-x86-64.so.2|/pkg/gnu/lib/ld-linux-x86-64.so.2|g'; mkdir build; cd build && ../configure --prefix=/pkg/gnu/gcc --disable-multilib --enable-languages=c,c++ --disable-werror --with-sysroot=/mnt/sexlinux && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #GCC###################
cd /mnt/sexlinux/source/libtool-2.5.4 && ./configure --prefix=/pkg/gnu/libtool && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #LIBTOOL###############
cd /mnt/sexlinux/source/dash-0.5.12 && ./configure --disable-static --enable-shared --prefix=/pkg/gnu/dash && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install && ln /mnt/sexlinux/pkg/gnu/dash/bin/dash /mnt/sexlinux/pkg/gnu/dash/bin/sh
cd /mnt/sexlinux/source/sed-4.9 && ./configure --prefix=/pkg/gnu/sed && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #SED###################
cd /mnt/sexlinux/source/glib-2.85.0 && mkdir build; cd build && meson setup --prefix=/pkg/gnu/glib .. && ninja -C . && DESTDIR=/mnt/sexlinux ninja install #GLIB##################
cd /mnt/sexlinux/source/pkg-config-0.29.2 && ./configure --prefix=/pkg/gnu/pkg-config --with-pc-path=/pkg/gnu/lib/pkgconfig && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install && echo "/pkg/gnu/pkg-config/share/aclocal" >> /pkg/gnu/automake/share/aclocal/dirlist
cd /mnt/sexlinux/source/coreutils-9.6 && FORCE_UNSAFE_CONFIGURE=1 ./configure --enable-install-program=hostname --prefix=/pkg/gnu/coreutils && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #COREUTILS#############
cd /mnt/sexlinux/source/make-4.4.1 && ./configure --prefix=/pkg/gnu/make CFLAGS="-O2 -g" && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #MAKE##################
cd /mnt/sexlinux/source/automake-1.17 && ./configure --prefix=/pkg/gnu/automake && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #AUTOMAKE##############
cd /mnt/sexlinux/source/m4-1.4.20 && ./configure --prefix=/pkg/gnu/m4 && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #M4####################
cd /mnt/sexlinux/source/autoconf-2.72 && ./configure --prefix=/pkg/gnu/autoconf && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install && find /mnt/sexlinux/pkg/gnu/autoconf/bin -type f -executable -exec file {} \; | grep -i "text" | cut -d: -f1 | xargs sed -i 's|/usr/sbin/|/pkg/gnu/bin/|g' #AUTOCONF##############
cd /mnt/sexlinux/source/pcre2-10.45 && ./configure --prefix=/pkg/gnu/pcre2 && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #PCRE2#################
cd /mnt/sexlinux/source/grep-3.11 && ./configure --prefix=/pkg/gnu/grep && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #GREP##################
cd /mnt/sexlinux/source/gawk-5.3.2 && ./configure --prefix=/pkg/gnu/gawk && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #GAWK##################
cd /source/sqlite-autoconf-3500000 && ./configure --prefix=/pkg/gnu/sqlite3 && make -j$(nproc) && make install #SQLITE3###############
cd /mnt/sexlinux/source/findutils-4.10.0 && ./configure --prefix=/pkg/gnu/findutils && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #FINDUTILS#############
cd /mnt/sexlinux/source/flex-2.6.4 && ./autogen.sh && ./configure --prefix=/pkg/gnu/flex && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install
cd /source/ncurses-6.5 && ./configure --prefix=/pkg/gnu/ncurses --without-debug --enable-pc-files --with-shared && make -j$(nproc) && make install && make distclean && ./configure --prefix=/pkg/gnu/ncurses --without-debug --enable-pc-files --with-shared --disable-widec && make -j$(nproc) && make install #NCURSES###############
cd /source/bash-5.2.37 && grep -q '#include <unistd.h>' lib/termcap/tparam.c || sed -i '/# include <stdlib.h>/a #include <unistd.h>' lib/termcap/tparam.c && ./configure --prefix=/pkg/gnu/bash && make -j$(nproc) && make install && ln /pkg/gnu/bash/bin/bash /pkg/gnu/bash/bin/sh #BASH##################
cd /source/util-linux-2.41 && ./configure --prefix=/pkg/gnu/util-linux --with-systemd && make -j$(nproc) LDFLAGS="-Wl,-rpath-link,/pkg/gnu/lib" && make install #UTIL-LINUX############
cd /source/file-5.46 && ./configure --prefix=/pkg/gnu/file && make -j$(nproc) && make install #FILE##################
cd /source/diffutils-3.12 && ./configure --prefix=/pkg/gnu/diffutils && make -j$(nproc) && make install #DIFFUTILS#############
cd /source/libunwind-1.8.2 && ./configure --prefix=/pkg/gnu/libunwind && make -j$(nproc) && make install #LIBUNWIND#############
cd /source/strace-6.15 && ./configure --prefix=/pkg/gnu/strace --enable-mpers=no && make -j$(nproc) && make install #STRACE################
cd /source/perl5-5.40.2 && mkdir -p /pkg/gnu/perl5 && ./Configure -desA -Dprefix=/pkg/gnu/perl5 && make -j$(nproc) && make install #PERL5#################
cd /source/openssl-3.5.0 && find . -type f -executable -exec file {} \; | grep -i "text" | cut -d: -f1 | xargs sed -i '1s|^\([^/]*\)\(/usr/bin\>\)|\1/pkg/gnu/bin|; 1s|^\([^/]*\)\(/bin\>\)|\1/pkg/gnu/bin|' && ./Configure --prefix=/pkg/gnu/openssl --libdir=lib linux-x86_64 shared zlib-dynamic && make -j$(nproc) && make install #OPENSSL###############
cd /source/libunistring-1.3 && ./configure --prefix=/pkg/gnu/libunistring && make -j$(nproc) && make install #LIBUNISTRING##########
cd /source/libxcrypt-4.4.38 && ./configure --prefix=/pkg/gnu/libxcrypt && make -j$(nproc) && make install #LIBXCRYPT#############
cd /source/texinfo-7.2 && ./configure --prefix=/pkg/gnu/texinfo && make -j$(nproc) && make install #TEXINFO###############
cd /source/libpsl-0.21.5 && ./configure --prefix=/pkg/gnu/libpsl && make -j$(nproc) && make install
cd /source/curl-8.14.1 && ./configure --prefix=/pkg/gnu/curl --disable-docs --with-openssl --with-ca-path=/pkg/gnu/openssl/ssl/certs/ && make -j$(nproc) && make install
cd /source/wget-1.25.0 && find . -type f -executable -exec file {} \; | grep -i "text" | cut -d: -f1 | xargs sed -i '1s|^\([^/]*\)\(/usr/bin\>\)|\1/pkg/gnu/bin|; 1s|^\([^/]*\)\(/bin\>\)|\1/pkg/gnu/bin|' && ./configure --prefix=/pkg/gnu/wget --with-ssl=openssl && make -j$(nproc) && make install && wget https://curl.se/ca/cacert.pem -O /pkg/gnu/openssl/ssl/cacert.pem --no-check-certificate && csplit -f "/pkg/gnu/openssl/ssl/certs/cert-" -b "%03d.pem" "/pkg/gnu/openssl/ssl/cacert.pem" '/-----BEGIN CERTIFICATE-----/' '{*}' &>/dev/null && for cert in "/pkg/gnu/openssl/ssl/certs/"cert-*.pem; do hash=$(openssl x509 -hash -noout -in "$cert"); mv "$cert" "/pkg/gnu/openssl/ssl/certs/$hash.$(find "/pkg/gnu/openssl/ssl/certs/" -maxdepth 1 -type f -name "$hash.*" | wc -l)"; done #WGET##################
cd /source/tar-1.35 && FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/pkg/gnu/tar && make -j$(nproc) && make install
cd /source/xz-5.6.4 && ./configure --prefix=/pkg/gnu/xz && make -j$(nproc) && make install
cd /source/gzip-1.13 && ./configure --prefix=/pkg/gnu/gzip && make -j$(nproc) && make install
cd /source/lzip-1.25 && ./configure --prefix=/pkg/gnu/lzip && make -j$(nproc) && make install
cd /source/dhcp-4.4.3-P1 && ./configure --prefix=/pkg/gnu/dhcp && make -j$(nproc) && make install
cd /source/inetutils-2.6 && ./configure --prefix=/pkg/gnu/inetutils --enable-ipv4 --enable-ipv6 --with-libcap && make -j$(nproc) && make install
cd /source/gettext-0.25 && ./configure --prefix=/pkg/gnu/gettext && make -j$(nproc) && make install
cd /source/git-2.49.0 && make configure && ./configure --prefix=/pkg/gnu/git --without-tcltk && make -j$(nproc) && make install && mkdir /pkg/gnu/git/etc && git config --system http.sslCAInfo /pkg/gnu/openssl/ssl/cacert.pem
cd /source/libcap-2.76 && make prefix=/pkg/gnu/libcap libdir=/pkg/gnu/libcap/lib -j$(nproc) && make install prefix=/pkg/gnu/libcap libdir=/pkg/gnu/libcap/lib
cd /source/zsh-zsh-5.9.0.2-test && autoreconf --install && ./configure --prefix=/pkg/gnu/zsh --enable-etcdir=/pkg/gnu/zsh/etc --enable-multibyte --enable-pcre --enable-cap && make -j$(nproc) && make install.bin install.modules install.fns && mkdir /pkg/gnu/zsh/etc && echo "PROMPT='[%n@%m %~]$ '\nalias ls='ls --color=auto'\nsetopt no_hup\nsetopt no_checkjobs\nsetopt RM_STAR_SILENT" > /pkg/gnu/zsh/etc/zshrc # libcap
cd /source/Python-3.13.4 && CFLAGS="-I/pkg/gnu/include/ncurses" ./configure --prefix=/pkg/gnu/python3 --enable-optimizations && make -j$(nproc) && make install
cd /source/meson-1.8.1 && pip3 install setuptools && pkg hardcopy /pkg/gnu/python3/lib /pkg/gnu/lib && ./configure --prefix=/pkg/gnu/meson && make -j$(nproc) && make install
cd /source/bison-3.8.2 && ./configure --prefix=/pkg/gnu/bison && make -j$(nproc) && make install
cd /source/cmake-4.0.2 && ./configure --prefix=/pkg/gnu/cmake && make -j$(nproc) && make install
cd /source/re2c-4.2 && ./configure --prefix=/pkg/gnu/re2c && make -j$(nproc) && make install
cd /source/ninja-1.12.1 && ./configure.py --bootstrap && mkdir -p /pkg/gnu/ninja/bin && cp ninja /pkg/gnu/ninja/bin
# GCC
wget https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz
tar -xf gmp-6.3.0.tar.xz
wget https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.2.tar.xz
tar -xf mpfr-4.2.2.tar.xz
wget https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
tar -xf mpc-1.3.1.tar.gz
wget https://zlib.net/zlib-1.3.1.tar.gz
tar -xf zlib-1.3.1.tar.gz
wget https://github.com/facebook/zstd/releases/download/v1.5.7/zstd-1.5.7.tar.gz
tar -xf zstd-1.5.7.tar.gz
wget https://libisl.sourceforge.io/isl-0.27.tar.xz
tar -xf isl-0.27.tar.xz
wget https://ftp.gnu.org/gnu/gcc/gcc-15.1.0/gcc-15.1.0.tar.xz
tar -xf gcc-15.1.0.tar.xz
# Build tools
wget https://mirror.ihost.md/gnu/libtool/libtool-2.5.4.tar.xz
tar -xf libtool-2.5.4.tar.xz
wget http://deb.debian.org/debian/pool/main/d/dash/dash_0.5.12.orig.tar.gz
tar -xf dash_0.5.12.orig.tar.gz
wget https://mirror.ihost.md/gnu/sed/sed-4.9.tar.xz
tar -xf sed-4.9.tar.xz
wget https://download.gnome.org/sources/glib/2.85/glib-2.85.0.tar.xz
tar -xf glib-2.85.0.tar.xz
wget https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
tar -xf pkg-config-0.29.2.tar.gz
wget https://ftp.gnu.org/gnu/coreutils/coreutils-9.6.tar.xz
tar -xf coreutils-9.6.tar.xz
wget https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz
tar -xf make-4.4.1.tar.gz
wget https://ftp.gnu.org/gnu/automake/automake-1.17.tar.xz
tar -xf automake-1.17.tar.xz
wget https://ftp.gnu.org/gnu/m4/m4-1.4.20.tar.xz
tar -xf m4-1.4.20.tar.xz
wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.xz
tar -xf autoconf-2.72.tar.xz
wget https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.45/pcre2-10.45.tar.gz
tar -xf pcre2-10.45.tar.gz
wget https://mirror.truenetwork.ru/gnu/grep/grep-3.11.tar.xz
tar -xf grep-3.11.tar.xz
wget https://ftp.gnu.org/gnu/gawk/gawk-5.3.2.tar.xz
tar -xf gawk-5.3.2.tar.xz
wget https://www.sqlite.org/2025/sqlite-autoconf-3500000.tar.gz
tar -xf sqlite-autoconf-3500000.tar.gz
wget https://ftp.gnu.org/gnu/findutils/findutils-4.10.0.tar.xz
tar -xf findutils-4.10.0.tar.xz
wget https://github.com/westes/flex/archive/refs/tags/v2.6.4.tar.gz
tar -xf v2.6.4.tar.gz
wget https://ftp.gnu.org/gnu/ncurses/ncurses-6.5.tar.gz
tar -xf ncurses-6.5.tar.gz
wget https://ftp.gnu.org/gnu/bash/bash-5.2.37.tar.gz
tar -xf bash-5.2.37.tar.gz
wget https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.41/util-linux-2.41.tar.xz
tar -xf util-linux-2.41.tar.xz
wget http://ftp.astron.com/pub/file/file-5.46.tar.gz
tar -xf file-5.46.tar.gz
wget https://ftp.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz
tar -xf diffutils-3.12.tar.xz
wget https://github.com/libunwind/libunwind/releases/download/v1.8.2/libunwind-1.8.2.tar.gz
tar -xf libunwind-1.8.2.tar.gz
wget https://github.com/strace/strace/releases/download/v6.15/strace-6.15.tar.xz
tar -xf strace-6.15.tar.xz
wget https://github.com/Perl/perl5/archive/refs/tags/v5.40.2.tar.gz
tar -xf v5.40.2.tar.gz
wget https://github.com/openssl/openssl/releases/download/openssl-3.5.0/openssl-3.5.0.tar.gz
tar -xf openssl-3.5.0.tar.gz
wget https://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.xz
tar -xf libunistring-1.3.tar.xz
wget https://github.com/besser82/libxcrypt/releases/download/v4.4.38/libxcrypt-4.4.38.tar.xz
tar -xf libxcrypt-4.4.38.tar.xz
wget https://ftp.gnu.org/gnu/texinfo/texinfo-7.2.tar.xz
tar -xf texinfo-7.2.tar.xz
wget https://github.com/rockdaboot/libpsl/releases/download/0.21.5/libpsl-0.21.5.tar.gz
tar -xf libpsl-0.21.5.tar.gz
wget https://github.com/curl/curl/releases/download/curl-8_14_1/curl-8.14.1.tar.gz
tar -xf curl-8.14.1.tar.gz
wget https://ftp.gnu.org/gnu/wget/wget-1.25.0.tar.gz
tar -xf wget-1.25.0.tar.gz
wget https://ftp.gnu.org/gnu/tar/tar-1.35.tar.xz
tar -xf tar-1.35.tar.xz
wget https://ftp.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1.tar.gz
tar -xf dhcp-4.4.3-P1.tar.gz
wget https://ftp.gnu.org/gnu/inetutils/inetutils-2.6.tar.xz
tar -xf inetutils-2.6.tar.xz
wget https://github.com/tukaani-project/xz/releases/download/v5.6.4/xz-5.6.4.tar.xz
tar -xf xz-5.6.4.tar.xz
wget https://mirror.truenetwork.ru/gnu/gzip/gzip-1.13.tar.xz
tar -xf gzip-1.13.tar.xz
wget https://download.savannah.gnu.org/releases/lzip/lzip-1.25.tar.gz
tar -xf lzip-1.25.tar.gz
wget https://ftp.gnu.org/gnu/gettext/gettext-0.25.tar.xz
tar -xf gettext-0.25.tar.xz
wget https://github.com/git/git/archive/refs/tags/v2.49.0.tar.gz
tar -xf v2.49.0.tar.gz
wget https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.76.tar.gz
tar -xf libcap-2.76.tar.gz
wget https://github.com/zsh-users/zsh/archive/refs/tags/zsh-5.9.0.2-test.tar.gz
tar -xf zsh-5.9.0.2-test.tar.gz
wget https://github.com/python/cpython/archive/refs/tags/v3.13.4.tar.gz
tar -xf v3.13.4.tar.gz
wget https://github.com/mesonbuild/meson/releases/download/1.8.1/meson-1.8.1.tar.gz
tar -xf meson-1.8.1.tar.gz
wget https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.xz
tar -xf bison-3.8.2.tar.xz
wget https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2.tar.gz
tar -xf cmake-4.0.2.tar.gz
wget https://github.com/skvadrik/re2c/releases/download/4.2/re2c-4.2.tar.xz
tar -xf re2c-4.2.tar.xz
wget https://github.com/ninja-build/ninja/archive/refs/tags/v1.12.1.tar.gz
tar -xf v1.12.1.tar.gz

View File

@ -0,0 +1,13 @@
autoconf 2.72
=
wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/autoconf &&
make -j$(nproc) && make install &&
```
``` cfg *** run deps ***
m4
```

View File

@ -0,0 +1,13 @@
automake 1.17
=
https://ftp.gnu.org/gnu/automake/automake-1.17.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/automake &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
make
```

14
assets/var/gnu/bash.md Normal file
View File

@ -0,0 +1,14 @@
bash 5.2.37
=
https://ftp.gnu.org/gnu/bash/bash-5.2.37.tar.gz
``` sh *** build ***
grep -q '#include <unistd.h>' lib/termcap/tparam.c || sed -i '/# include <stdlib.h>/a #include <unistd.h>' lib/termcap/tparam.c &&
./configure --prefix=/pkg/gnu/bash &&
make -j$(nproc) && make install &&
ln /pkg/gnu/bash/bin/bash /pkg/gnu/bash/bin/sh
```
``` cfg *** build deps ***
ncurses
```

11
assets/var/gnu/bc.md Normal file
View File

@ -0,0 +1,11 @@
bc 1.0.8.2
=
https://ftp.gnu.org/gnu/bc/bc-1.08.2.tar.lz
``` sh *** build ***
./configure --prefix=/pkg/gnu/bc && make -j$(nproc) && make install
```
``` cfg *** build deps ***
readline
```

View File

@ -1,4 +1,15 @@
wget https://ftp.gnu.org/gnu/binutils/binutils-2.44.tar.xz
tar -xf binutils-2.44.tar.xz
cd /mnt/sexlinux/source/binutils-2.44 && ./configure --disable-nls --prefix=/pkg/gnu/binutils && make -j$(nproc) && make DESTDIR=/mnt/sexlinux install #BINUTILS##############
binutils 2.44
=
https://ftp.gnu.org/gnu/binutils/binutils-2.44.tar.xz
``` sh *** build ***
./configure \
--disable-nls \
--prefix=/pkg/gnu/binutils &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
linux
```

11
assets/var/gnu/bison.md Normal file
View File

@ -0,0 +1,11 @@
bison 3.8.2
=
https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/bison && make -j$(nproc) && make install
```
``` cfg *** run deps ***
m4
```

7
assets/var/gnu/bzip2.md Normal file
View File

@ -0,0 +1,7 @@
bzip2 master
=
https://gitlab.com/federicomenaquintero/bzip2/-/archive/master/bzip2-master.tar.gz
``` sh *** build ***
meson setup .. --prefix=/pkg/gnu/bzip2 && ninja && ninja install
```

12
assets/var/gnu/cmake.md Normal file
View File

@ -0,0 +1,12 @@
cmake 4.0.2
=
https://github.com/Kitware/CMake/releases/download/v4.0.2/cmake-4.0.2.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/cmake && make -j$(nproc) && make install
```
``` cfg *** build deps ***
ncurses
zlib
```

View File

@ -0,0 +1,11 @@
coreutils 9.6
=
https://ftp.gnu.org/gnu/coreutils/coreutils-9.6.tar.xz
``` sh *** build ***
FORCE_UNSAFE_CONFIGURE=1 \
./configure \
--enable-install-program=hostname \
--prefix=/pkg/gnu/coreutils &&
make -j$(nproc) && make install
```

16
assets/var/gnu/curl.md Normal file
View File

@ -0,0 +1,16 @@
curl 8.14.1
=
https://github.com/curl/curl/releases/download/curl-8_14_1/curl-8.14.1.tar.gz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/curl \
--disable-docs \
--with-openssl \
--with-ca-path=/pkg/gnu/openssl/ssl/certs/ &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
zlib
```

12
assets/var/gnu/dash.md Normal file
View File

@ -0,0 +1,12 @@
dash 0.5.12
=
http://deb.debian.org/debian/pool/main/d/dash/dash_0.5.12.orig.tar.gz
``` sh *** build ***
./configure \
--disable-static \
--enable-shared \
--prefix=/pkg/gnu/dash &&
make -j$(nproc) && make install &&
ln /pkg/gnu/dash/bin/dash /pkg/gnu/dash/bin/sh
```

12
assets/var/gnu/dbus.md Normal file
View File

@ -0,0 +1,12 @@
dbus 1.16.2
=
https://gitlab.freedesktop.org/dbus/dbus/-/archive/dbus-1.16.2/dbus-dbus-1.16.2.tar.gz
``` sh *** build ***
mkdir build; cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/pkg/gnu/dbus .. && make -j$(nproc) && make install
```
``` cfg *** build deps ***
expat
```

7
assets/var/gnu/dhcp.md Normal file
View File

@ -0,0 +1,7 @@
dhcp 4.4.3
=
https://ftp.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/dhcp && make -j$(nproc) && make install
```

View File

@ -0,0 +1,7 @@
diffutils 3.12
=
https://ftp.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/diffutils && make -j$(nproc) && make install
```

7
assets/var/gnu/ed.md Normal file
View File

@ -0,0 +1,7 @@
ed 1.21.1
=
https://ftp.gnu.org/gnu/ed/ed-1.21.1.tar.lz
``` sh *** build ***
./configure --prefix=/pkg/gnu/ed && make -j$(nproc) && make install
```

View File

@ -0,0 +1,7 @@
elfutils 0.193
=
https://sourceware.org/elfutils/ftp/0.193/elfutils-0.193.tar.bz2
``` sh *** build ***
./configure --prefix=/pkg/gnu/elfutils --enable-libdebuginfod --enable-debuginfod && make -j$(nproc) && make install
```

View File

@ -0,0 +1,11 @@
execline 2.9.7
=
https://skarnet.org/software/execline/execline-2.9.7.0.tar.gz
``` sh *** bulid ***
./configure --prefix=/pkg/gnu/execline --with-sysdeps=/pkg/gnu/skalibs/lib/skalibs/sysdeps && make -j$(nproc) && make install
```
``` cfg *** build deps ***
skalibs
```

7
assets/var/gnu/expat.md Normal file
View File

@ -0,0 +1,7 @@
expat 2.7.1
=
https://github.com/libexpat/libexpat/releases/download/R_2_7_1/expat-2.7.1.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/expat && make -j$(nproc) && make install
```

7
assets/var/gnu/file.md Normal file
View File

@ -0,0 +1,7 @@
file 5.46
=
http://ftp.astron.com/pub/file/file-5.46.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/file && make -j$(nproc) && make install
```

View File

@ -0,0 +1,9 @@
findutils 4.10.0
=
https://ftp.gnu.org/gnu/findutils/findutils-4.10.0.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/findutils &&
make -j$(nproc) && make install
```

14
assets/var/gnu/flex.md Normal file
View File

@ -0,0 +1,14 @@
flex 2.6.4
=
https://github.com/westes/flex/archive/refs/tags/v2.6.4.tar.gz
``` sh *** build ***
./autogen.sh &&
./configure \
--prefix=/pkg/gnu/flex &&
make -j$(nproc) && make install
```
``` cfg *** run deps ***
m4
```

9
assets/var/gnu/gawk.md Normal file
View File

@ -0,0 +1,9 @@
gawk 5.3.2
=
https://ftp.gnu.org/gnu/gawk/gawk-5.3.2.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/gawk &&
make -j$(nproc) && make install
```

34
assets/var/gnu/gcc.md Normal file
View File

@ -0,0 +1,34 @@
gcc 15.1.0
=
https://ftp.gnu.org/gnu/gcc/gcc-15.1.0/gcc-15.1.0.tar.xz
``` sh *** patch ***
rg -l "/lib64/ld-linux-x86-64.so.2" ./ | xargs sed -i 's|/lib64/ld-linux-x86-64.so.2|/pkg/gnu/lib/ld-linux-x86-64.so.2|g'
```
``` sh *** build ***
mkdir build; cd build &&
../configure \
--prefix=/pkg/gnu/gcc \
--disable-multilib \
--enable-languages=c,c++ \
--disable-werror &&
make -j$(nproc) && make install &&
ln /pkg/gnu/gcc/bin/gcc /pkg/gnu/gcc/bin/cc
```
``` cfg *** build deps ***
gmp
mpfr
mpc
isl
zstd
zlib
```
``` cfg *** run deps ***
binutils
ripgrep
sed
```

34
assets/var/gnu/gcc14.md Normal file
View File

@ -0,0 +1,34 @@
gcc14 14.3.0
=
https://ftp.gnu.org/gnu/gcc/gcc-14.3.0/gcc-14.3.0.tar.xz
``` sh *** patch ***
rg -l "/lib64/ld-linux-x86-64.so.2" ./ | xargs sed -i 's|/lib64/ld-linux-x86-64.so.2|/pkg/gnu/lib/ld-linux-x86-64.so.2|g'
```
``` sh *** build ***
mkdir build; cd build &&
../configure \
--prefix=/pkg/gnu/gcc14 \
--disable-multilib \
--enable-languages=c,c++ \
--disable-werror &&
make -j$(nproc) && make install &&
ln /pkg/gnu/gcc14/bin/gcc /pkg/gnu/gcc14/bin/cc
```
``` cfg *** build deps ***
gmp
mpfr
mpc
isl
zstd
zlib
```
``` cfg *** run deps ***
binutils
ripgrep
sed
```

View File

@ -0,0 +1,7 @@
gettext 0.25
=
https://ftp.gnu.org/gnu/gettext/gettext-0.25.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/gettext && make -j$(nproc) && make install
```

27
assets/var/gnu/git.md Normal file
View File

@ -0,0 +1,27 @@
git 2.49
=
https://github.com/git/git/archive/refs/tags/v2.49.0.tar.gz
``` sh *** build ***
make configure &&
./configure \
--prefix=/pkg/gnu/git \
--without-tcltk &&
make -j$(nproc) && make install
```
``` sh *** config ***
mkdir -p /pkg/gnu/git/etc
git config --system http.sslCAInfo /pkg/gnu/openssl/ssl/cacert.pem
```
``` cfg *** build deps ***
curl
pcre2
zlib
libxcrypt
```
``` cfg *** run deps ***
perl
```

14
assets/var/gnu/glib.md Normal file
View File

@ -0,0 +1,14 @@
glib 2.85
=
https://download.gnome.org/sources/glib/2.85/glib-2.85.0.tar.xz
``` sh *** build ***
mkdir build; cd build &&
meson setup --prefix=/pkg/gnu/glib .. &&
ninja -C . && ninja install
```
``` cfg *** build deps ***
pcre2
libffi
```

19
assets/var/gnu/gmp.md Normal file
View File

@ -0,0 +1,19 @@
gmp 6.3.0
=
https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz
``` sh *** build ***
./configure \
--enable-cxx \
--prefix=/pkg/gnu/gmp &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
linux
glibc
```
``` cfg *** run deps ***
binutils
```

14
assets/var/gnu/grep.md Normal file
View File

@ -0,0 +1,14 @@
grep 3.11
=
https://mirror.truenetwork.ru/gnu/grep/grep-3.11.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/grep &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
pcre2
```

7
assets/var/gnu/gzip.md Normal file
View File

@ -0,0 +1,7 @@
gzip 1.13
=
https://mirror.truenetwork.ru/gnu/gzip/gzip-1.13.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/gzip && make -j$(nproc) && make install
```

View File

@ -0,0 +1,7 @@
inetutils 2.6
=
https://ftp.gnu.org/gnu/inetutils/inetutils-2.6.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/inetutils --with-libcap && make -j$(nproc) && make install
```

View File

@ -0,0 +1,20 @@
iproute2 6.14
=
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/snapshot/iproute2-6.14.0.tar.gz
``` sh *** patch ***
sed -i \
-e 's|PREFIX?=/usr|PREFIX?=/pkg/gnu/iproute2/|' \
-e 's|/sbin|/pkg/gnu/iproute2/sbin|' \
-e 's|/etc/netns|/pkg/gnu/iproute2/etc/netns|' \
-e 's|/etc/iproute2|/pkg/gnu/iproute2/etc/|' \
-e 's|\$(DESTDIR)/usr/include|\$(PREFIX)/include|' Makefile
```
``` sh *** build ***
./configure --prefix=/pkg/gnu/iproute2 && make -j$(nproc) && make install && mkdir -p /pkg/gnu/iproute2/etc/netns
```
``` cfg *** run deps ***
sed
```

9
assets/var/gnu/isl.md Normal file
View File

@ -0,0 +1,9 @@
isl 0.27
=
https://libisl.sourceforge.io/isl-0.27.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/isl &&
make -j$(nproc) && make install
```

12
assets/var/gnu/iwd.md Normal file
View File

@ -0,0 +1,12 @@
iwd master
=
https://git.kernel.org/pub/scm/network/wireless/iwd.git
``` sh *** build ***
libtoolize && ./bootstrap && ./configure --prefix=/pkg/gnu/iwd && make -j$(nproc) && make install
```
``` cfg *** build deps ***
dbus
readline
```

10
assets/var/gnu/json-c.md Normal file
View File

@ -0,0 +1,10 @@
json-c 0.18
=
https://github.com/json-c/json-c/archive/refs/tags/json-c-0.18-20240915.tar.gz
``` sh *** build ***
mkdir build; cd build &&
../cmake-configure -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .. &&
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_INSTALL_PREFIX=/pkg/gnu/json-c .. && make -j$(nproc) && make install
```

17
assets/var/gnu/kmod.md Normal file
View File

@ -0,0 +1,17 @@
kmod 34.2
=
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/snapshot/kmod-34.2.tar.gz
``` sh *** patch ***
libtoolize &&
printf '\nnoarch_pkgconfigdir = /pkg/gnu/lib/pkgconfig\npkgconfigdir = /pkg/gnu/lib/pkgconfig\n' >> Makefile.am
```
``` sh *** build ***
./autogen.sh && ./configure --prefix=/pkg/gnu/kmod --disable-manpages && make -j$(nproc) && make install
```
``` cfg *** run deps ***
libtool
coreutils
```

11
assets/var/gnu/libbsd.md Normal file
View File

@ -0,0 +1,11 @@
libbsd 0.12.2
=
https://libbsd.freedesktop.org/releases/libbsd-0.12.2.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/libbsd && make -j$(nproc) && make install
```
``` cfg *** build deps ***
libmd
```

8
assets/var/gnu/libcap.md Normal file
View File

@ -0,0 +1,8 @@
libcap 2.76
=
https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.76.tar.gz
``` sh *** build ***
make -j$(nproc) &&
make install prefix=/pkg/gnu/libcap2 libdir=/pkg/gnu/libcap2/lib
```

7
assets/var/gnu/libffi.md Normal file
View File

@ -0,0 +1,7 @@
libffi 3.5.1
=
https://github.com/libffi/libffi/releases/download/v3.5.1/libffi-3.5.1.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/libffi && make -j$(nproc) && make install
```

7
assets/var/gnu/libmd.md Normal file
View File

@ -0,0 +1,7 @@
libmd 1.1.0
=
https://archive.hadrons.org/software/libmd/libmd-1.1.0.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/libmd && make -j$(nproc) && make install
```

11
assets/var/gnu/libpsl.md Normal file
View File

@ -0,0 +1,11 @@
libpsl 0.21.5
=
https://github.com/rockdaboot/libpsl/releases/download/0.21.5/libpsl-0.21.5.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/libpsl && make -j$(nproc) && make install
```
``` cfg *** build deps ***
libunistring
```

View File

@ -0,0 +1,9 @@
libtool 2.5.4
=
https://mirror.ihost.md/gnu/libtool/libtool-2.5.4.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/libtool &&
make -j$(nproc) && make install
```

View File

@ -0,0 +1,7 @@
libunistring 1.3
=
https://ftp.gnu.org/gnu/libunistring/libunistring-1.3.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/libunistring && make -j$(nproc) && make install
```

View File

@ -0,0 +1,7 @@
libunwind 1.8.2
=
https://github.com/libunwind/libunwind/releases/download/v1.8.2/libunwind-1.8.2.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/libunwind && make -j$(nproc) && make install
```

View File

@ -0,0 +1,7 @@
libxcrypt 4.4.38
=
https://github.com/besser82/libxcrypt/releases/download/v4.4.38/libxcrypt-4.4.38.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/libxcrypt && make -j$(nproc) && make install
```

View File

@ -0,0 +1,22 @@
linux-pam 1.7.0
=
https://github.com/linux-pam/linux-pam/releases/download/v1.7.0/Linux-PAM-1.7.0.tar.xz
``` sh *** build ***
mkdir build; cd build &&
meson setup --prefix=/pkg/gnu/linux-pam .. &&
ninja && ninja install
```
``` sh *** config ***
echo "LANG=en_US.UTF-8\nLC_ALL=en_US.UTF-8" >> /pkg/gnu/linux-pam/etc/environment
```
``` cfg *** build deps ***
libxcrypt
```
``` cfg *** run deps ***
meson
ninja
```

View File

@ -1,4 +1,12 @@
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.14.11.tar.xz
tar -xf linux-6.14.11.tar.xz
cd /mnt/sexlinux/source/linux-6.14.11 && make ARCH=x86 INSTALL_HDR_PATH=/mnt/sexlinux/pkg/gnu/linux headers_install #LINUX#################
linux 6.14.11
=
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.14.11.tar.xz
``` sh *** build ***
make ARCH=x86 INSTALL_HDR_PATH=/pkg/gnu/linux headers_install
```
``` cfg *** build deps ***
glibc
gcc
```

7
assets/var/gnu/lz4.md Normal file
View File

@ -0,0 +1,7 @@
lz4 1.10
=
https://github.com/lz4/lz4/releases/download/v1.10.0/lz4-1.10.0.tar.gz
``` sh *** build ***
cd build/cmake && cmake . -DCMAKE_INSTALL_PREFIX=/pkg/gnu/lz4 && make -j$(nproc) && make install
```

7
assets/var/gnu/lzip.md Normal file
View File

@ -0,0 +1,7 @@
lzip 1.25
=
https://download.savannah.gnu.org/releases/lzip/lzip-1.25.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/lzip && make -j$(nproc) && make install
```

9
assets/var/gnu/m4.md Normal file
View File

@ -0,0 +1,9 @@
m4 1.4.20
=
https://ftp.gnu.org/gnu/m4/m4-1.4.20.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/m4 &&
make -j$(nproc) && make install
```

13
assets/var/gnu/make.md Normal file
View File

@ -0,0 +1,13 @@
make 4.4.1
=
https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/make &&
make -j$(nproc) && make install
```
``` cfg *** run deps ***
coreutils
```

11
assets/var/gnu/meson.md Normal file
View File

@ -0,0 +1,11 @@
meson 1.8.1
=
https://github.com/mesonbuild/meson/releases/download/1.8.1/meson-1.8.1.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/meson && make -j$(nproc) && make install
```
``` cfg *** build deps ***
python3
```

22
assets/var/gnu/mpc.md Normal file
View File

@ -0,0 +1,22 @@
mpc 1.3.1
=
https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
``` sh *** build ***
./configure \
--with-gmp=/pkg/gnu/gmp \
--with-mpfr=/pkg/gnu/mpfr \
--prefix=/pkg/gnu/mpc &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
linux
glibc
gmp
mpfr
```
``` cfg *** run deps ***
binutils
```

20
assets/var/gnu/mpfr.md Normal file
View File

@ -0,0 +1,20 @@
mpfr 4.2.2
=
https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.2.tar.xz
``` sh *** build ***
./configure \
--with-gmp=/pkg/gnu/gmp \
--prefix=/pkg/gnu/mpfr &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
linux
glibc
gmp
```
``` cfg *** run deps ***
binutils
```

View File

@ -0,0 +1,9 @@
ncurses 6.5
=
https://ftp.gnu.org/gnu/ncurses/ncurses-6.5.tar.gz
``` sh *** build ***
CFG_FLAGS="--prefix=/pkg/gnu/ncurses --without-debug --enable-pc-files"
./configure $CFG_FLAGS && make -j$(nproc) && make install && make distclean &&
./configure $CFG_FLAGS --disable-widec && make -j$(nproc) && make install
```

11
assets/var/gnu/nettle.md Normal file
View File

@ -0,0 +1,11 @@
nettle 3.10.2
=
https://ftp.gnu.org/gnu/nettle/nettle-3.10.2.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/nettle --disable-static && make -j$(nproc) && make install
```
``` cfg *** build deps ***
gmp
```

15
assets/var/gnu/ninja.md Normal file
View File

@ -0,0 +1,15 @@
ninja 1.12.1
=
https://github.com/ninja-build/ninja/archive/refs/tags/v1.12.1.tar.gz
``` sh *** build ***
./configure.py --bootstrap &&
mkdir -p /pkg/gnu/ninja/bin
cp ninja /pkg/gnu/ninja/bin
```
``` cfg *** build deps ***
python3
re2c
cmake
```

View File

@ -0,0 +1,7 @@
openssl 3.5.0
=
https://github.com/openssl/openssl/releases/download/openssl-3.5.0/openssl-3.5.0.tar.gz
``` sh *** build ***
./Configure --prefix=/pkg/gnu/openssl --libdir=lib linux-x86_64 shared zlib-dynamic && make -j$(nproc) && make install
```

16
assets/var/gnu/pcre2.md Normal file
View File

@ -0,0 +1,16 @@
pcre2 10.45
=
https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.45/pcre2-10.45.tar.gz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/pcre2 &&
make -j$(nproc) && make install
```
``` cfg *** run deps ***
autoconf
automake
make
libtool
```

6
assets/var/gnu/perl.md Normal file
View File

@ -0,0 +1,6 @@
perl 5.40.2
=
https://github.com/Perl/perl5/archive/refs/tags/v5.40.2.tar.gz
cd /source/perl5-5.40.2 && mkdir -p /pkg/gnu/perl5 && ./Configure -desA -Dprefix=/pkg/gnu/perl5 && make -j$(nproc) && make install #PERL5#################

View File

@ -0,0 +1,19 @@
pkg-config 0.29.2
=
https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/pkg-config \
--with-pc-path=/pkg/gnu/lib/pkgconfig &&
make -j$(nproc) && make install &&
echo "/pkg/gnu/pkg-config/share/aclocal" >> /pkg/gnu/automake/share/aclocal/dirlist
```
``` cfg *** build deps ***
glib
```
``` cfg *** run deps ***
coreutils
```

19
assets/var/gnu/python3.md Normal file
View File

@ -0,0 +1,19 @@
python3 3.13.4
=
https://github.com/python/cpython/archive/refs/tags/v3.13.4.tar.gz
``` sh *** build ***
CFLAGS="-I/pkg/gnu/include/ncurses" ./configure --prefix=/pkg/gnu/python3 --enable-optimizations && make -j$(nproc) && make install
```
``` sh *** config ***
pip3 install setuptools
```
``` cfg *** build deps ***
ncurses
zlib
readline
sqlite
libxcrypt
```

11
assets/var/gnu/rdfind.md Normal file
View File

@ -0,0 +1,11 @@
rdfind 1.7.0
=
https://github.com/pauldreik/rdfind/archive/refs/tags/releases/1.7.0.tar.gz
``` sh *** build ***
./bootstrap.sh && ./configure --prefix=/pkg/gnu/rdfind && make -j$(nproc) && make install
```
``` cfg *** build deps ***
nettle
```

7
assets/var/gnu/re2c.md Normal file
View File

@ -0,0 +1,7 @@
re2c 4.2
=
https://github.com/skvadrik/re2c/releases/download/4.2/re2c-4.2.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/re2c && make -j$(nproc) && make install
```

View File

@ -0,0 +1,7 @@
readline 8.3
=
https://ftp.gnu.org/gnu/readline/readline-8.3.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/readline && make -j$(nproc) && make install
```

View File

@ -0,0 +1,9 @@
ripgrep 14.1.1
=
https://github.com/BurntSushi/ripgrep/archive/refs/tags/14.1.1.tar.gz
``` sh *** build ***
cargo build --release &&
mkdir -p /pkg/gnu/ripgrep/bin &&
cp target/release/rg /pkg/gnu/ripgrep/bin/
```

7
assets/var/gnu/rsync.md Normal file
View File

@ -0,0 +1,7 @@
rsync 3.4.1
=
https://github.com/RsyncProject/rsync/releases/download/v3.4.1/rsync-3.4.1.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/rsync && make -j$(nproc) && make install
```

7
assets/var/gnu/rustup.md Normal file
View File

@ -0,0 +1,7 @@
rust master
=
``` sh *** build ***
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
RUSTUP_HOME=/pkg/gnu/rustup CARGO_HOME=/pkg/gnu/cargo sh -s -- --no-modify-path -y --default-toolchain stable --profile default
```

11
assets/var/gnu/s6.md Normal file
View File

@ -0,0 +1,11 @@
s6 2.13.2
https://skarnet.org/software/s6/s6-2.13.2.0.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/s6 --with-sysdeps=/pkg/gnu/skalibs/lib/skalibs/sysdeps &&
make -j$(nproc) && make install && mkdir -p /pkg/gnu/s6/etc/service
```
``` cfg *** build deps ***
skalibs
```

9
assets/var/gnu/sed.md Normal file
View File

@ -0,0 +1,9 @@
sed 4.9
=
https://mirror.ihost.md/gnu/sed/sed-4.9.tar.xz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/sed &&
make -j$(nproc) && make install
```

12
assets/var/gnu/shadow.md Normal file
View File

@ -0,0 +1,12 @@
shadow 4.17.4
=
https://github.com/shadow-maint/shadow/releases/download/4.17.4/shadow-4.17.4.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/shadow && make -j$(nproc) && make install
```
``` cfg *** build deps ***
linux-pam
libbsd
```

View File

@ -0,0 +1,7 @@
skalibs 2.14.4
=
https://skarnet.org/software/skalibs/skalibs-2.14.4.0.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/skalibs && make -j$(nproc) && make install
```

13
assets/var/gnu/sqlite.md Normal file
View File

@ -0,0 +1,13 @@
sqlite 3.50.4
=
https://www.sqlite.org/2025/sqlite-autoconf-3500400.tar.gz
```
./configure \
--prefix=/pkg/gnu/sqlite &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
zlib
```

11
assets/var/gnu/strace.md Normal file
View File

@ -0,0 +1,11 @@
strace 6.15
=
https://github.com/strace/strace/releases/download/v6.15/strace-6.15.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/strace --enable-mpers=no && make -j$(nproc) && make install
```
``` cfg *** build deps ***
libunwind
```

8
assets/var/gnu/tar.md Normal file
View File

@ -0,0 +1,8 @@
tar 1.35
=
https://ftp.gnu.org/gnu/tar/tar-1.35.tar.xz
``` sh *** build ***
FORCE_UNSAFE_CONFIGURE=1 \
./configure --prefix=/pkg/gnu/tar && make -j$(nproc) && make install
```

12
assets/var/gnu/texinfo.md Normal file
View File

@ -0,0 +1,12 @@
texinfo 7.2
=
https://ftp.gnu.org/gnu/texinfo/texinfo-7.2.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/texinfo && make -j$(nproc) && make install
```
``` cfg *** build deps ***
ncurses
perl
```

9
assets/var/gnu/tzdb.md Normal file
View File

@ -0,0 +1,9 @@
tzdb 2025
=
https://data.iana.org/time-zones/releases/tzdb-2025b.tar.lz
``` sh *** build ***
make CC=gcc -j$(nproc) && make DESTDIR=/pkg/gnu/tzdb install &&
mv /pkg/gnu/tzdb/usr/* /pkg/gnu/tzdb/ &&
rm -r /pkg/gnu/tzdb/usr/
```

View File

@ -0,0 +1,7 @@
util-linux 2.41
=
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.41/util-linux-2.41.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/util-linux && make -j$(nproc) && make install
```

27
assets/var/gnu/wget.md Normal file
View File

@ -0,0 +1,27 @@
wget 1.25
=
https://ftp.gnu.org/gnu/wget/wget-1.25.0.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/wget --with-ssl=openssl &&
make -j$(nproc) && make install
```
``` sh *** config ***
wget https://curl.se/ca/cacert.pem -O /pkg/gnu/openssl/ssl/cacert.pem --no-check-certificate &&
csplit -f "/pkg/gnu/openssl/ssl/certs/cert-" -b "%03d.pem" "/pkg/gnu/openssl/ssl/cacert.pem" '/-----BEGIN CERTIFICATE-----/' '{*}' &>/dev/null &&
for cert in "/pkg/gnu/openssl/ssl/certs/"cert-*.pem; do
hash=$(openssl x509 -hash -noout -in "$cert")
mv "$cert" "/pkg/gnu/openssl/ssl/certs/$hash.$(find "/pkg/gnu/openssl/ssl/certs/" -maxdepth 1 -type f -name "$hash.*" | wc -l)"
done
```
``` cfg *** build deps ***
pcre2
zlib
libxcrypt
```
``` cfg *** run deps ***
coreutils
```

7
assets/var/gnu/which.md Normal file
View File

@ -0,0 +1,7 @@
which 2.23
=
https://ftp.gnu.org/gnu/which/which-2.23.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/which && make -j$(nproc) && make install
```

7
assets/var/gnu/xxhash.md Normal file
View File

@ -0,0 +1,7 @@
xxhash 0.8.3
=
https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.3.tar.gz
``` sh *** build ***
make CC=gcc -j$(nproc) && make PREFIX=/pkg/gnu/xxhash install
```

7
assets/var/gnu/xz.md Normal file
View File

@ -0,0 +1,7 @@
xz 5.6.4
=
https://github.com/tukaani-project/xz/releases/download/v5.6.4/xz-5.6.4.tar.xz
``` sh *** build ***
./configure --prefix=/pkg/gnu/xz && make -j$(nproc) && make install
```

9
assets/var/gnu/zlib.md Normal file
View File

@ -0,0 +1,9 @@
zlib 1.3.1
=
https://zlib.net/zlib-1.3.1.tar.gz
``` sh *** build ***
./configure \
--prefix=/pkg/gnu/zlib &&
make -j$(nproc) && make install
```

20
assets/var/gnu/zsh.md Normal file
View File

@ -0,0 +1,20 @@
zsh 5.9.0.2
=
https://github.com/zsh-users/zsh/archive/refs/tags/zsh-5.9.0.2-test.tar.gz
``` sh *** build ***
autoreconf --install &&
./configure \
--prefix=/pkg/gnu/zsh \
--enable-etcdir=/pkg/gnu/zsh/etc \
--enable-multibyte \
--enable-pcre \
--enable-cap &&
make -j$(nproc) && make install.bin install.modules install.fns
```
``` sh *** config ***
mkdir -p /pkg/gnu/zsh/etc
echo "PROMPT='[%n@%m %~]$ '\nalias ls='ls --color=auto'\nsetopt no_hup\nsetopt no_checkjobs\nsetopt RM_STAR_SILENT" > /pkg/gnu/zsh/etc/zshrc
```

7
assets/var/gnu/zstd.md Normal file
View File

@ -0,0 +1,7 @@
zstd 1.5.7
=
https://github.com/facebook/zstd/releases/download/v1.5.7/zstd-1.5.7.tar.gz
``` sh *** build ***
make -j$(nproc) && make prefix=/pkg/gnu/zstd install
```

View File

@ -97,10 +97,7 @@ fn upload_from_repo(repo: &String, pkgname: &String, pkg_md_path: &Path) -> Resu
fn check_build_dependency(repo: &String, pkg_md_path: &Path) -> Result<(), bool> {
let deps = match parser::get_build_deps(&pkg_md_path) {
Ok(deps) => deps,
Err(e) => {
eprintln!("Failed to parse dependencies {}: {}", &pkg_md_path.to_str().unwrap(), e);
return Err(false);
}
Err(_) => { return Ok(()) }
};
for dependency in deps.lines() {
@ -120,10 +117,7 @@ fn check_build_dependency(repo: &String, pkg_md_path: &Path) -> Result<(), bool>
fn check_run_dependency(pkg_md_path: &Path) -> Result<(), bool> {
let deps = match parser::get_run_deps(pkg_md_path) {
Ok(deps) => deps,
Err(e) => {
eprintln!("Failed to parse dependencies {}: {}", pkg_md_path.display(), e);
return Err(false);
}
Err(_) => { return Ok(()) }
};
let repo_list = match parser::get_repo_list() {