before index-conflict changes

This commit is contained in:
2025-11-18 19:46:36 +03:00
parent 28ba2135ec
commit 30540602bd
66 changed files with 1403 additions and 879 deletions

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

@ -0,0 +1,23 @@
7z 25.01
=
https://github.com/ip7z/7zip/archive/refs/tags/25.01.tar.gz
``` sh *** build ***
cd CPP/7zip/Bundles/Alone2
make -f makefile.gcc
mkdir -p /pkg/gnu/7z/bin
cp _o/7zz /pkg/gnu/7z/bin/
ln /pkg/gnu/7z/bin/7zz /pkg/gnu/7z/bin/7z
```
``` sh *** config ***
cat > /pkg/gnu/7z/bin/unzip <<'EOF'
#!/bin/bash
if [ "$1" = "-n" ]; then
shift
fi
7z x -y "$@" >/dev/null 2>&1
[ $? -le 1 ] && exit 0 || exit 1
EOF
chmod +x /pkg/gnu/7z/bin/unzip
```

10
assets/var/gnu/ell.md Normal file
View File

@ -0,0 +1,10 @@
ell
=
git://git.kernel.org/pub/scm/libs/ell/ell.git
``` sh *** build ***
libtoolize && ./bootstrap &&
./configure --prefix=/pkg/gnu/ell &&
make -j$(nproc) && make install
```

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

@ -0,0 +1,7 @@
fzf 0.65.2
=
https://github.com/junegunn/fzf/archive/refs/tags/v0.65.2.tar.gz
``` sh *** build ***
make install PREFIX=/pkg/gnu/fzf FZF_VERSION=0.65.2 FZF_REVISION=tarball
```

View File

@ -9,14 +9,14 @@ mkdir build; cd build &&
--disable-multilib \
--enable-install-ldconfig \
--prefix=/pkg/gnu/glibc &&
make -j$(nproc) && make install
make -j$(nproc) && make install &&
mkdir -p /pkg/gnu/glibc/{share/i18n/charmaps,lib/locale,etc/ld.so.conf.d} &&
cp localedata/charmaps/* /pkg/gnu/glibc/share/i18n/charmaps/ &&
```
``` sh *** config ***
mkdir -p /pkg/gnu/glibc/{share/i18n/charmaps,lib/locale,etc/ld.so.conf.d} &&
echo "include /pkg/gnu/glibc/etc/ld.so.conf.d/*.conf" > /pkg/gnu/glibc/etc/ld.so.conf &&
echo "/pkg/gnu/lib" > /pkg/gnu/glibc/etc/ld.so.conf.d/lib.conf &&
cp localedata/charmaps/* /pkg/gnu/glibc/share/i18n/charmaps/ &&
/pkg/gnu/glibc/bin/localedef -i en_US -f UTF-8 en_US.UTF-8 &&
sed -i 's|/pkg/gnu/glibc/lib64/ld-linux-x86-64.so.2|/pkg/gnu/glibc/lib/ld-linux-x86-64.so.2|g' /pkg/gnu/glibc/bin/ldd
```

15
assets/var/gnu/go-1.4.md Normal file
View File

@ -0,0 +1,15 @@
go 1.4.3
=
https://go.dev/dl/go1.4.3.src.tar.gz
``` sh *** build ***
cd src
export CC="gcc -std=gnu99"
export CGO_ENABLED=0
export GOROOT_FINAL=/pkg/gnu/go-1.4
./make.bash
mkdir -p /pkg/gnu/go-1.4/
cp -r ../bin /pkg/gnu/go-1.4
cp -r ../lib /pkg/gnu/go-1.4
cp -r ../include /pkg/gnu/go-1.4
```

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

@ -0,0 +1,16 @@
go 1.25.1
=
https://go.dev/dl/go1.25.1.linux-amd64.tar.gz
``` sh *** build ***
export GOROOT_BOOTSTRAP=/pkg/src/go/.go-bootstrap
export PKG_HOME=/pkg/gnu/go
export GOROOT_FINAL=/pkg/gnu/go
mkdir -p $GOROOT_BOOTSTRAP
cp -rPl ./* $GOROOT_BOOTSTRAP
cd src
./make.bash
cd ..
mkdir -p $PKG_HOME
cp -rPl ./* $PKG_HOME
```

View File

@ -1,12 +1,19 @@
iwd
=
https://git.kernel.org/pub/scm/network/wireless/iwd.git
git://git.kernel.org/pub/scm/network/wireless/iwd.git
``` sh *** build ***
libtoolize && ./bootstrap && ./configure --prefix=/pkg/gnu/iwd && make -j$(nproc) && make install
libtoolize && ./bootstrap &&
./configure \
--disable-systemd-service \
--disable-manual-pages \
--prefix=/pkg/gnu/iwd &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
dbus
readline
ncurses
ell
```

View File

@ -0,0 +1,13 @@
libeconf 0.8.0
=
https://github.com/openSUSE/libeconf/archive/refs/tags/v0.8.0.tar.gz
``` sh *** build ***
mkdir build
cd build
meson setup \
--prefix=/pkg/gnu/libeconf \
--libdir=lib \
--buildtype=release \
..
```

10
assets/var/gnu/libuv.md Normal file
View File

@ -0,0 +1,10 @@
libuv 1.51
=
https://github.com/libuv/libuv/archive/refs/tags/v1.51.0.tar.gz
``` sh *** build ***
./autogen.sh &&
./configure --prefix=/pkg/gnu/libuv -disable-static &&
make -j$(nproc) &&
make install
```

View File

@ -1,6 +1,6 @@
linux 6.14.11
linux 6.17.8
=
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.14.11.tar.xz
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.17.8.tar.xz
``` sh *** build ***
make ARCH=x86 INSTALL_HDR_PATH=/pkg/gnu/linux headers_install

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

@ -0,0 +1,12 @@
lpeg 1.1.0
=
https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz
``` sh *** build ***
make \
LUADIR=/pkg/gnu/lpeg/include \
LUA_LIBDIR=/pkg/gnu/lpeg/lib \
LUA_INC=-I/pkg/gnu/lpeg/include \
CC=gcc \
CFLAGS="-O2 -Wall -shared -fPIC"
```

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

@ -0,0 +1,8 @@
lua 5.4.8
=
https://www.lua.org/ftp/lua-5.4.8.tar.gz
``` sh *** build ***
make linux INSTALL_TOP=/pkg/gnu/lua
make install INSTALL_TOP=/pkg/gnu/lua
```

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

@ -0,0 +1,7 @@
luajit 2.1
=
https://luajit.org/git/luajit.git
``` sh *** build ***
make install PREFIX=/pkg/gnu/luajit
```

View File

@ -0,0 +1,13 @@
luarocks 3.12.2
=
https://github.com/luarocks/luarocks/archive/refs/tags/v3.12.2.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/luarocks
make -j$(nproc)
make install
```
``` cfg *** run deps ***
7z
```

18
assets/var/gnu/luv.md Normal file
View File

@ -0,0 +1,18 @@
luv 1.51
=
https://github.com/luvit/luv/releases/download/1.51.0-1/luv-1.51.0-1.tar.gz
``` sh *** build ***
mkdir -p build; cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/pkg/gnu/luv \
-DLUA_BUILD_TYPE=System \
-DBUILD_SHARED_LIBS=ON
make -j$(nproc)
make install
```
``` cfg *** build deps ***
libuv
```

View File

@ -3,7 +3,30 @@ 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 --with-pkg-config-libdir=/pkg/gnu/ncurses/lib/pkgconfig"
./configure $CFG_FLAGS && make -j$(nproc) && make install && make distclean &&
./configure $CFG_FLAGS --disable-widec && make -j$(nproc) && make install
./configure \
--prefix=/pkg/gnu/ncurses \
--without-cxx-binding \
--without-debug \
--with-termlib \
--with-shared \
--enable-pc-files \
--with-pkg-config-libdir=/pkg/gnu/ncurses/lib/pkgconfig &&
make -j$(nproc) && make install && make clean &&
./configure \
--prefix=/pkg/gnu/ncurses \
--without-cxx-binding \
--without-debug \
--without-normal \
--with-termlib \
--with-shared \
--enable-pc-files \
--with-pkg-config-libdir=/pkg/gnu/ncurses/lib/pkgconfig \
--disable-widec &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
pkg-config
```
--enable-getcap \

25
assets/var/gnu/neovim.md Normal file
View File

@ -0,0 +1,25 @@
neovim nightly
=
https://github.com/neovim/neovim/archive/refs/tags/nightly.tar.gz
``` sh *** build ***
luarocks install lpeg
pkg link gnu luarocks
mkdir -p build; cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/pkg/gnu/neovim
make -j&(nproc)
make install
```
``` cfg *** build deps ***
luv
tree-sitter
unibilium
utf8proc
```
``` cfg *** run deps ***
luajit
```

View File

@ -5,3 +5,16 @@ https://github.com/openssl/openssl/releases/download/openssl-3.5.0/openssl-3.5.0
``` sh *** build ***
./Configure --prefix=/pkg/gnu/openssl --libdir=lib linux-x86_64 shared zlib-dynamic && 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 *** run deps ***
wget
```

View File

@ -3,5 +3,28 @@ 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
export LIBS="-ltinfo"
./configure \
--prefix=/pkg/gnu/readline \
--with-curses \
--with-shared-termcap-library=tinfo &&
make -j$(nproc) && make install
sed -i 's/Requires\.private: termcap/Requires.private: tinfo/' /pkg/gnu/readline/lib/pkgconfig/readline.pc
```
``` cfg *** build deps ***
ncurses
```
Современные программы
Почти все современные программы (включая bash, gdb, iwd, python и т.д.) используют readline → ncurses → terminfo.
Лишь очень старые или экзотические системы (например, embedded без ncurses) всё ещё полагаются на termcap.
Если добавлять
export CPPFLAGS="-I/pkg/gnu/ncurses/include"
export LDFLAGS="-L/pkg/gnu/ncurses/lib -ltinfo"
export LIBS="-ltinfo"
То .pc файл конфигурацию наебнёт но из-за чего именно хуй его знает
если не добавлять то он не хавает в зависимость это
мб чёто определённое надо выдрочить хз

View File

@ -0,0 +1,13 @@
s6-linux-utils 2.6.3
=
https://skarnet.org/software/s6-linux-utils/s6-linux-utils-2.6.3.0.tar.gz
``` sh *** build ***
./configure --prefix=/pkg/gnu/s6-linux-utils --with-sysdeps=/pkg/gnu/skalibs/lib/skalibs/sysdeps &&
make -j$(nproc) && make install
```
``` cfg *** build deps ***
skalibs
```

View File

@ -1,4 +1,5 @@
s6 2.13.2
=
https://skarnet.org/software/s6/s6-2.13.2.0.tar.gz
``` sh *** build ***
@ -6,6 +7,11 @@ https://skarnet.org/software/s6/s6-2.13.2.0.tar.gz
make -j$(nproc) && make install && mkdir -p /pkg/gnu/s6/etc/service
```
``` sh *** config ***
echo '#!/pkg/gnu/bin/execlineb -P\n\n/pkg/gnu/bin/export PATH /bin:/pkg/musl/bin:/pkg/musl/sbin:/pkg/gnu/bin:/pkg/gnu/sbin\n/pkg/gnu/bin/exec s6-svscan /pkg/gnu/s6/etc/service/current' > /pkg/gnu/s6/bin/s6-init
```
``` cfg *** build deps ***
skalibs
aero-utils
```

View File

@ -6,6 +6,11 @@ https://github.com/shadow-maint/shadow/releases/download/4.17.4/shadow-4.17.4.ta
./configure --prefix=/pkg/gnu/shadow && make -j$(nproc) && make install
```
``` sh *** config ***
chmod u+s /pkg/gnu/bin/su
echo '/bin/bash\n/bin/zsh' > /etc/shells
```
``` cfg *** build deps ***
linux-pam
libbsd

View File

@ -0,0 +1,8 @@
tree-sitter 0.25.10
=
https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.25.10.tar.gz
``` sh *** build ***
make -j$(nproc)
make install PREFIX=/pkg/gnu/tree-sitter
```

View File

@ -0,0 +1,8 @@
unibilium 2.0.0
=
https://github.com/mauke/unibilium/archive/refs/tags/v2.0.0.tar.gz
``` sh *** build ***
make -j$(nproc)
make install PREFIX=/pkg/gnu/unibilium
```

View File

@ -0,0 +1,12 @@
utf8proc 2.11.0
=
https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v2.11.0.tar.gz
``` sh *** patch ***
sed -i "s|prefix=/usr/local|prefix=/pkg/gnu/utf8proc|" Makefile
```
``` sh *** build ***
make -j$(nproc)
make install
```

View File

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

View File

@ -7,19 +7,11 @@ https://ftp.gnu.org/gnu/wget/wget-1.25.0.tar.gz
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
openssl
```
``` cfg *** run deps ***