commit 8028e7aa60e873f7f952a53af4594010f0112c02 parent 88e60ae5d233595d1fb3e9e815000d5c9f59967c Author: torter <koubbamohamedrayan@gmail.com> Date: Sat, 14 Nov 2026 15:29:17 +0000 repo: everything pkgsrc has comes from pkgsrc, 40 hand recipes gone; the kernel is Alpine's linux-lts Diffstat:
48 files changed, 17 insertions(+), 414 deletions(-)
diff --git a/repo/PROVIDES b/repo/PROVIDES @@ -1,31 +1,4 @@ # pkgsrc package -> the one of this repo that stands for it. a "-" means nothing is needed -devel/zlib sys-libs/zlib -devel/gmake dev-build/gmake -devel/pkgconf dev-build/pkgconf -devel/pcre2 dev-libs/pcre2 -security/openssl dev-libs/libressl -security/libressl dev-libs/libressl -www/curl net-misc/curl -lang/perl5 dev-lang/perl -textproc/expat dev-libs/expat -devel/libffi dev-libs/libffi -devel/libevent dev-libs/libevent -archivers/xz app-arch/xz -archivers/zstd app-arch/zstd -archivers/lz4 app-arch/lz4 -archivers/bzip2 app-arch/bzip2 -archivers/libarchive app-arch/libarchive -devel/bison dev-build/bison -devel/m4 dev-build/m4 -devel/flex dev-build/flex -devel/byacc dev-build/byacc -devel/cmake dev-build/cmake -devel/samurai dev-build/samurai -math/bc dev-build/bc -shells/dash app-shells/dash -shells/oksh app-shells/oksh -sysutils/file sys-apps/file -net/dhcpcd net-misc/dhcpcd converters/libiconv - devel/gettext-lib - devel/gettext-tools - diff --git a/repo/app-arch/bzip2 b/repo/app-arch/bzip2 @@ -1,8 +0,0 @@ -desc: block-sorting compression -version: 1.0.8 -url: https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz -sha256: ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 -deps: -steps: - make -j$JOBS libbz2.a bzip2 bzip2recover - make PREFIX=$DESTDIR$PREFIX install diff --git a/repo/app-arch/libarchive b/repo/app-arch/libarchive @@ -1,11 +0,0 @@ -desc: bsdtar, bsdcpio and the library under them; the tar of this system -version: 3.8.11 -url: https://github.com/libarchive/libarchive/releases/download/v${version}/libarchive-${version}.tar.xz -sha256: a3dc0872b1b39da34dc18ef1b944f0f11ffd37425d70ae04be679279f1cf43d2 -deps: sys-libs/zlib app-arch/xz app-arch/zstd app-arch/bzip2 app-arch/lz4 dev-libs/libressl -steps: - ./configure --prefix=$PREFIX --disable-shared --without-xml2 --without-expat --without-iconv --without-nettle - make -j$JOBS - make DESTDIR=$DESTDIR install - ln -s bsdtar $DESTDIR$PREFIX/bin/tar - ln -s bsdcpio $DESTDIR$PREFIX/bin/cpio diff --git a/repo/app-arch/lz4 b/repo/app-arch/lz4 @@ -1,8 +0,0 @@ -desc: extremely fast compression -version: 1.11.1 -url: https://github.com/lz4/lz4/releases/download/v${version}/lz4-${version}.tar.gz -sha256: 683fed08a844ad012196381e40badf80c0bbe4962959761416d41c9e67d77ec7 -deps: -steps: - make -j$JOBS BUILD_SHARED=no prefix=$PREFIX - make BUILD_SHARED=no prefix=$PREFIX DESTDIR=$DESTDIR install diff --git a/repo/app-arch/pigz b/repo/app-arch/pigz @@ -1,11 +0,0 @@ -desc: parallel gzip -version: 2.8 -url: https://zlib.net/pigz/pigz-${version}.tar.gz -sha256: eb872b4f0e1f0ebe59c9f7bd8c506c4204893ba6a8492de31df416f0d5170fd0 -deps: sys-libs/zlib -steps: - make -j$JOBS - install -D pigz $DESTDIR$PREFIX/bin/pigz - ln -s pigz $DESTDIR$PREFIX/bin/unpigz - ln -s pigz $DESTDIR$PREFIX/bin/gzip - ln -s pigz $DESTDIR$PREFIX/bin/gunzip diff --git a/repo/app-arch/xz b/repo/app-arch/xz @@ -1,9 +0,0 @@ -desc: LZMA compression, the xz tools and liblzma -version: 5.8.4 -url: https://github.com/tukaani-project/xz/releases/download/v${version}/xz-${version}.tar.xz -sha256: 4ce24038fd4221e0d13bc1a2de7a4db56e90b92b3bf75321f6c14be73f65de4b -deps: -steps: - ./configure --prefix=$PREFIX --disable-shared --disable-nls --disable-doc - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/app-arch/zstd b/repo/app-arch/zstd @@ -1,8 +0,0 @@ -desc: fast compression from Facebook -version: 1.5.7 -url: https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz -sha256: eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3 -deps: dev-build/gmake -steps: - gmake -j$JOBS prefix=$PREFIX HAVE_THREAD=0 HAVE_ZLIB=0 HAVE_LZMA=0 HAVE_LZ4=0 - gmake prefix=$PREFIX DESTDIR=$DESTDIR install diff --git a/repo/app-editors/mg b/repo/app-editors/mg @@ -1,9 +0,0 @@ -desc: micro Emacs-style editor from OpenBSD -version: 4.7 -url: https://github.com/troglobit/mg/releases/download/v${version}/mg-${version}.tar.gz -sha256: c8a38ad43a260874a3b5471963253e1a4dbdaf251e71ff451bc1fef000d1166c -deps: dev-libs/netbsd-curses -steps: - ./configure --prefix=$PREFIX - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/app-misc/tmux b/repo/app-misc/tmux @@ -1,9 +0,0 @@ -desc: terminal multiplexer -version: 3.8 -url: https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz -sha256: e79c699c7e949dccd0a4a125e17b8d1261e311b16979dbc8eb34542f3966d82e -deps: dev-libs/libevent dev-libs/netbsd-curses dev-build/byacc -steps: - ./configure --prefix=$PREFIX - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/app-shells/dash b/repo/app-shells/dash @@ -1,10 +0,0 @@ -desc: the small POSIX shell, /bin/sh -version: 0.5.13.6 -url: http://gondor.apana.org.au/~herbert/dash/files/dash-${version}.tar.gz -sha256: 26aac476f476cef391c600cb064417d82a5465d8fc7c4fd56158c276e86538c1 -deps: -steps: - ./configure --prefix=$PREFIX --disable-shared - make -j$JOBS - make DESTDIR=$DESTDIR install - ln -s dash $DESTDIR$PREFIX/bin/sh diff --git a/repo/app-shells/oksh b/repo/app-shells/oksh @@ -1,9 +0,0 @@ -desc: the portable OpenBSD ksh, for interactive use -version: 7.9 -url: https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz -sha256: 51b2d92515950c959dbf24f6fc33336db8c0526c2a50fee4ca598a18a6114a49 -deps: -steps: - ./configure --prefix=$PREFIX --no-thanks - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-build/bc b/repo/dev-build/bc @@ -1,9 +0,0 @@ -desc: Gavin Howard's bc and dc -version: 7.0.3 -url: https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz -sha256: 91eb74caed0ee6655b669711a4f350c25579778694df248e28363318e03c7fc4 -deps: -steps: - ./configure.sh -G -O3 --prefix=$PREFIX --disable-nls - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-build/bison b/repo/dev-build/bison @@ -1,9 +0,0 @@ -desc: GNU bison. only a build tool of the kernel, nothing else may depend on it -version: 3.8.2 -url: https://ftp.gnu.org/gnu/bison/bison-${version}.tar.xz -sha256: 9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2 -deps: dev-build/m4 -steps: - ./configure --prefix=$PREFIX --disable-nls - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-build/byacc b/repo/dev-build/byacc @@ -1,10 +0,0 @@ -desc: Berkeley yacc, the parser generator that isn't bison -version: 20260126 -url: https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz -sha256: b618c5fb44c2f5f048843db90f7d1b24f78f47b07913c8c7ba8c942d3eb24b00 -deps: -steps: - ./configure --prefix=$PREFIX --program-prefix= - make -j$JOBS - make DESTDIR=$DESTDIR install - ln -s yacc $DESTDIR$PREFIX/bin/byacc diff --git a/repo/dev-build/cmake b/repo/dev-build/cmake @@ -1,9 +0,0 @@ -desc: cross platform build system generator -version: 4.5.0 -url: https://github.com/Kitware/CMake/releases/download/v${version}/cmake-${version}.tar.gz -sha256: 424352d6133e8455e020da787008e8dc67abb18820af3532572ab35657e49213 -deps: dev-libs/libressl dev-build/samurai -steps: - ./bootstrap --prefix=$PREFIX --parallel=$JOBS --generator=Ninja --no-system-libs -- -DCMAKE_USE_OPENSSL=ON - samu - DESTDIR=$DESTDIR samu install diff --git a/repo/dev-build/flex b/repo/dev-build/flex @@ -1,9 +0,0 @@ -desc: flex, the lexer generator. only a build tool of the kernel, nothing else may depend on it -version: 2.6.4 -url: https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz -sha256: e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 -deps: dev-build/m4 -steps: - ./configure --prefix=$PREFIX --disable-nls --disable-shared - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-build/gmake b/repo/dev-build/gmake @@ -1,9 +0,0 @@ -desc: GNU make. only here to build the kernel and musl, nothing else may depend on it -version: 4.4.1 -url: https://ftp.gnu.org/gnu/make/make-${version}.tar.gz -sha256: dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3 -deps: -steps: - ./configure --prefix=$PREFIX --program-prefix=g --disable-nls - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-build/m4 b/repo/dev-build/m4 @@ -1,9 +0,0 @@ -desc: GNU m4. only a build tool of the kernel (through bison and flex), nothing else may depend on it -version: 1.4.20 -url: https://ftp.gnu.org/gnu/m4/m4-${version}.tar.xz -sha256: e236ea3a1ccf5f6c270b1c4bb60726f371fa49459a8eaaebc90b216b328daf2b -deps: -steps: - ./configure --prefix=$PREFIX --disable-nls - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-build/pkgconf b/repo/dev-build/pkgconf @@ -1,10 +0,0 @@ -desc: pkg-config without the GNU -version: 3.0.10 -url: https://distfiles.ariadne.space/pkgconf/pkgconf-${version}.tar.xz -sha256: 9371b2f6372da574d4c6dc96fe9b1463037bcf6afcb6671c1555afde7b17e2de -deps: -steps: - ./configure --prefix=$PREFIX --disable-shared - make -j$JOBS - make DESTDIR=$DESTDIR install - ln -s pkgconf $DESTDIR$PREFIX/bin/pkg-config diff --git a/repo/dev-build/samurai b/repo/dev-build/samurai @@ -1,9 +0,0 @@ -desc: ninja in C99, no make needed -version: 1.3 -url: https://github.com/michaelforney/samurai/releases/download/${version}/samurai-${version}.tar.gz -sha256: 1bc020a9e133432df51911ac71cc34322f828934d9a2282ba2916d88c15976af -deps: -steps: - make -j$JOBS - make PREFIX=$PREFIX DESTDIR=$DESTDIR install - ln -s samu $DESTDIR$PREFIX/bin/ninja diff --git a/repo/dev-lang/llvm b/repo/dev-lang/llvm @@ -1,9 +0,0 @@ -desc: llvm, clang, lld: the compiler, linker and tools of the whole system -version: 23.1.5 -url: https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz -sha256: fb50b1eac93ddeb3aa8dab4cfe324dff74f4a9c2bdee6160c9e36188f8d06a6e -deps: dev-build/cmake dev-build/samurai dev-lang/python sys-libs/zlib app-arch/zstd -steps: - cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX -DLLVM_ENABLE_PROJECTS="clang;lld" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_ZSTD=ON -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF -DCLANG_DEFAULT_LINKER=lld -DCLANG_DEFAULT_RTLIB=compiler-rt -DLLVM_ENABLE_LIBXML2=OFF - samu -C build -j$JOBS - DESTDIR=$DESTDIR samu -C build install diff --git a/repo/dev-lang/perl b/repo/dev-lang/perl @@ -1,9 +0,0 @@ -desc: perl. a build tool of the kernel and of a lot of ports -version: 5.44.0 -url: https://www.cpan.org/src/5.0/perl-${version}.tar.xz -sha256: 505cf43912e9480495c344c70260452e32aa2a73c546a026b3f100053b23ce91 -deps: -steps: - sh Configure -des -Dprefix=$PREFIX -Dcc=clang -Uusedl -Dman1dir=none -Dman3dir=none - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-lang/python b/repo/dev-lang/python @@ -1,9 +0,0 @@ -desc: python -version: 3.15.2 -url: https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz -sha256: 8b5536d280142ecf6cdfe15d12a21ba1c65e300bbf7b28a8d0cdb849575797de -deps: sys-libs/zlib app-arch/xz dev-libs/libffi dev-libs/expat dev-libs/libressl dev-build/pkgconf -steps: - ./configure --prefix=$PREFIX --without-ensurepip --with-system-expat --disable-test-modules - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-libs/expat b/repo/dev-libs/expat @@ -1,9 +0,0 @@ -desc: stream-oriented XML parser -version: 2.10.0 -url: https://github.com/libexpat/libexpat/releases/download/R_2_10_0/expat-${version}.tar.xz -sha256: c624ba2998fc65df1163a49641ff3f9ab73138b11641d92c86bee0fb01b1bc7f -deps: -steps: - ./configure --prefix=$PREFIX --disable-shared --without-docbook - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-libs/libevent b/repo/dev-libs/libevent @@ -1,9 +0,0 @@ -desc: event notification library -version: 2.1.13-stable -url: https://github.com/libevent/libevent/releases/download/release-${version}/libevent-${version}.tar.gz -sha256: f7e9383b8c0baa81b687e5b5eecc01beefaf1b19b64151d95ed61647fe7a315c -deps: dev-libs/libressl -steps: - ./configure --prefix=$PREFIX --disable-shared --disable-samples - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-libs/libffi b/repo/dev-libs/libffi @@ -1,9 +0,0 @@ -desc: foreign function interface -version: 3.8.1 -url: https://github.com/libffi/libffi/releases/download/v${version}/libffi-${version}.tar.gz -sha256: 81e879c094cc5ec3186c48510c6385ac6b3e866192e8bc71a35245703757ee40 -deps: -steps: - ./configure --prefix=$PREFIX --disable-shared --disable-docs - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-libs/libressl b/repo/dev-libs/libressl @@ -1,9 +0,0 @@ -desc: the OpenBSD fork of OpenSSL: TLS and crypto -version: 4.4.1 -url: https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${version}.tar.gz -sha256: 290cdf1b53c086255dc302f118b98602a444e9ae6d11e9bfdd8c9b1b60aa3a22 -deps: -steps: - ./configure --prefix=$PREFIX --sysconfdir=/etc --disable-shared - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-libs/pcre2 b/repo/dev-libs/pcre2 @@ -1,9 +0,0 @@ -desc: Perl compatible regular expressions -version: 10.49 -url: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.bz2 -sha256: 53c156e1ba416a20da8e65395daa132da0d80e76910424caca3fcdae7831d384 -deps: -steps: - ./configure --prefix=$PREFIX --disable-shared --enable-jit - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/dev-vcs/git b/repo/dev-vcs/git @@ -1,8 +0,0 @@ -desc: the stupid content tracker -version: 2.47.0 -url: https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz -sha256: 1ce114da88704271b43e027c51e04d9399f8c88e9ef7542dae7aebae7d87bc4e -deps: sys-libs/zlib -steps: - make -j$JOBS prefix=$PREFIX NO_CURL=1 NO_EXPAT=1 NO_GETTEXT=1 NO_OPENSSL=1 NO_PERL=1 NO_PYTHON=1 NO_TCLTK=1 NO_INSTALL_HARDLINKS=1 all - make prefix=$PREFIX NO_CURL=1 NO_EXPAT=1 NO_GETTEXT=1 NO_OPENSSL=1 NO_PERL=1 NO_PYTHON=1 NO_TCLTK=1 NO_INSTALL_HARDLINKS=1 DESTDIR=$DESTDIR install diff --git a/repo/net-misc/curl b/repo/net-misc/curl @@ -1,9 +0,0 @@ -desc: URL transfer tool and libcurl -version: 8.23.0 -url: https://curl.se/download/curl-${version}.tar.xz -sha256: 8dadd7d2536a314f982ad05a651b713f426bf7d02cc2c76cffb9796f2218e6c5 -deps: dev-libs/libressl sys-libs/zlib app-arch/zstd -steps: - ./configure --prefix=$PREFIX --disable-shared --with-openssl --with-ca-bundle=/etc/ssl/cert.pem --without-libpsl --disable-ldap - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/net-misc/dhcpcd b/repo/net-misc/dhcpcd @@ -1,9 +0,0 @@ -desc: DHCP and IPv6 router solicitation client -version: 10.5.2 -url: https://github.com/NetworkConfiguration/dhcpcd/releases/download/v${version}/dhcpcd-${version}.tar.xz -sha256: 3e476657fdb6eeb38b277da3a48d0ac0113ecce5858ebdcddff2b629faed52b4 -deps: -steps: - ./configure --prefix=$PREFIX --sysconfdir=/etc --dbdir=/var/lib/dhcpcd --runstatedir=/run --libexecdir=$PREFIX/lib/dhcpcd - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/net-misc/dropbear b/repo/net-misc/dropbear @@ -1,9 +0,0 @@ -desc: small SSH server and client -version: 2026.94 -url: https://matt.ucc.asn.au/dropbear/releases/dropbear-${version}.tar.bz2 -sha256: e098034a843699200c8c977a991fff73159735bf795d5f72ef672c41a6b1ae81 -deps: sys-libs/zlib -steps: - ./configure --prefix=$PREFIX --disable-pam --disable-lastlog --disable-utmp --disable-wtmp --disable-zlib - make -j$JOBS PROGRAMS="dropbear dbclient dropbearkey scp" - make DESTDIR=$DESTDIR PROGRAMS="dropbear dbclient dropbearkey scp" install diff --git a/repo/net-misc/iproute2 b/repo/net-misc/iproute2 @@ -2,7 +2,7 @@ desc: ip, ss, tc: the network tools of the kernel version: 7.3.0 url: https://cdn.kernel.org/pub/linux/utils/net/iproute2/iproute2-${version}.tar.xz sha256: 5c1789d290bba048a6135ed1ab81b0402dd0fb528d1f1421765c42b1fc3d6289 -deps: dev-build/bison dev-build/flex dev-build/pkgconf +deps: devel/bison devel/flex devel/pkgconf steps: ./configure make -j$JOBS diff --git a/repo/net-wireless/iw b/repo/net-wireless/iw @@ -2,7 +2,7 @@ desc: nl80211 wireless configuration tool version: 6.17 url: https://cdn.kernel.org/pub/software/network/iw/iw-${version}.tar.xz sha256: 7d182e498289ab39b257da6780d562e415377107f50358ee5b55b8cfe40b1e33 -deps: net-libs/libnl dev-build/pkgconf +deps: net-libs/libnl devel/pkgconf steps: make -j$JOBS make PREFIX=$PREFIX DESTDIR=$DESTDIR install diff --git a/repo/net-wireless/wpa_supplicant b/repo/net-wireless/wpa_supplicant @@ -1,14 +0,0 @@ -desc: WPA/WPA2/WPA3 supplicant for wifi -version: 2.12 -url: https://w1.fi/releases/wpa_supplicant-${version}.tar.gz -sha256: 08e23937e16d0155e55cab2b51f51fbe10d80a1aa91c4e15442645059b737ef6 -deps: net-libs/libnl dev-libs/libressl dev-build/pkgconf -steps: - cd wpa_supplicant - cp defconfig .config - echo CONFIG_CTRL_IFACE_DBUS_NEW=n >>.config - echo CONFIG_READLINE=n >>.config - make -j$JOBS - install -D wpa_supplicant $DESTDIR$PREFIX/sbin/wpa_supplicant - install -D wpa_cli $DESTDIR$PREFIX/sbin/wpa_cli - install -D wpa_passphrase $DESTDIR$PREFIX/bin/wpa_passphrase diff --git a/repo/sys-apps/dinit b/repo/sys-apps/dinit @@ -1,9 +0,0 @@ -desc: service manager and init -version: 0.23.0 -url: https://github.com/davmac314/dinit/releases/download/v${version}/dinit-${version}.tar.xz -sha256: b99067eb85f6e69c7e1411b6e0956ea1ae0831598bae5a4361ebef87317c326e -deps: -steps: - ./configure --prefix=$PREFIX --sbindir=$PREFIX/bin --sysconfdir=/etc --disable-shutdown --unit-dir=/etc/dinit.d - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/sys-apps/file b/repo/sys-apps/file @@ -1,9 +0,0 @@ -desc: file type detection -version: 5.48 -url: https://astron.com/pub/file/file-${version}.tar.gz -sha256: ed14656883b23a364b4057c05595d93252da9bc473d30106519519d0da141283 -deps: sys-libs/zlib -steps: - ./configure --prefix=$PREFIX --disable-shared --disable-libseccomp --disable-bzlib --disable-xzlib --disable-zstdlib - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/sys-apps/kmod b/repo/sys-apps/kmod @@ -2,7 +2,7 @@ desc: kernel module tools: modprobe, insmod, lsmod version: 34.3 url: https://cdn.kernel.org/pub/linux/utils/kernel/kmod/kmod-${version}.tar.xz sha256: 985554de49c21a58abd68c6cda2251384e1e5bb08b3b14c7f02b51f4c90c2958 -deps: app-arch/zstd app-arch/xz sys-libs/zlib +deps: archivers/zstd archivers/xz devel/zlib steps: ./configure --prefix=$PREFIX --sysconfdir=/etc --disable-shared --with-zstd --with-xz --with-zlib --disable-manpages make -j$JOBS diff --git a/repo/sys-apps/opendoas b/repo/sys-apps/opendoas @@ -1,9 +0,0 @@ -desc: doas, the small sudo -version: 6.8.2 -url: https://github.com/Duncaen/OpenDoas/releases/download/v${version}/opendoas-${version}.tar.xz -sha256: 4e98828056d6266bd8f2c93e6ecf12a63a71dbfd70a5ea99ccd4ab6d0745adf0 -deps: dev-build/byacc -steps: - ./configure --prefix=$PREFIX --without-pam --with-timestamp - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/sys-apps/pciutils b/repo/sys-apps/pciutils @@ -1,8 +0,0 @@ -desc: lspci and setpci -version: 3.15.0 -url: https://cdn.kernel.org/pub/software/utils/pciutils/pciutils-${version}.tar.xz -sha256: c02940f430841ecf158d5d9a50007afc4d5353c8678a2455003ca0b2c4e9f5ff -deps: sys-libs/zlib -steps: - make -j$JOBS PREFIX=$PREFIX SHARED=no ZLIB=yes DNS=no - make PREFIX=$PREFIX SHARED=no DESTDIR=$DESTDIR install diff --git a/repo/sys-apps/usbutils b/repo/sys-apps/usbutils @@ -2,7 +2,7 @@ desc: lsusb version: 020 url: https://cdn.kernel.org/pub/linux/utils/usb/usbutils/usbutils-${version}.tar.xz sha256: 20287d68fcd9ebb50a05ba0645a4af7583bd8dfc7307215ba121e4bc6d057aa1 -deps: sys-apps/eudev dev-build/samurai +deps: sys-apps/eudev devel/samurai steps: meson setup build --prefix=$PREFIX samu -C build diff --git a/repo/sys-fs/dosfstools b/repo/sys-fs/dosfstools @@ -1,9 +0,0 @@ -desc: mkfs.fat and fsck.fat, for the EFI partition -version: 4.2 -url: https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz -sha256: 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527 -deps: -steps: - ./configure --prefix=$PREFIX --without-udev - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/sys-fs/e2fsprogs b/repo/sys-fs/e2fsprogs @@ -1,9 +0,0 @@ -desc: mkfs.ext4, e2fsck and the ext tools -version: 1.47.4 -url: https://cdn.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${version}/e2fsprogs-${version}.tar.xz -sha256: fd5bf388cbdbe006a3d3b318d983b2948382440acc85a87f1e7d108653e8db0b -deps: sys-apps/util-linux -steps: - ./configure --prefix=$PREFIX --sysconfdir=/etc --disable-nls --disable-fuse2fs --disable-uuidd --disable-libblkid --disable-libuuid - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/sys-kernel/linux b/repo/sys-kernel/linux @@ -1,16 +1,13 @@ -desc: the kernel. built with clang and lld; gmake, flex, bison and bc are build tools for it and for nothing else +desc: the Linux kernel and its modules, the Alpine linux-lts build (6.18 LTS) version: 6.18.63 -url: https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${version}.tar.xz -sha256: 81764a545072d160748beff4d9de2e7d95aa9f16e8261110288f067a2cc61d71 -deps: dev-build/gmake dev-build/bison dev-build/flex dev-build/bc dev-lang/perl dev-lang/llvm sys-apps/kmod +url: https://dl-cdn.alpinelinux.org/alpine/v3.24/main/x86_64/linux-lts-${version}-r0.apk +sha256: 6709cb3a85ce874efb85abd738f3232bfbc859a474f8b122e6ad1e3d5a25f99d +deps: steps: - K="gmake LLVM=1 HOSTCC=clang -j$JOBS" - $K defconfig - scripts/config -d UNWINDER_ORC -e UNWINDER_FRAME_POINTER -d DEBUG_INFO_BTF -d MODULE_SIG -d SYSTEM_TRUSTED_KEYRING -d SYSTEM_REVOCATION_KEYS - scripts/config -e DEVTMPFS -e DEVTMPFS_MOUNT -e EFI_STUB -e FW_LOADER -e FW_LOADER_COMPRESS -e FW_LOADER_COMPRESS_ZSTD -e BLK_DEV_INITRD - $K olddefconfig - $K bzImage modules - install -Dm644 arch/x86/boot/bzImage $DESTDIR/boot/vmlinuz-$VERSION - install -Dm644 System.map $DESTDIR/boot/System.map-$VERSION - install -Dm644 .config $DESTDIR/boot/config-$VERSION - $K INSTALL_MOD_PATH=$DESTDIR modules_install + tar -xzf linux-lts-*.apk 2>/dev/null || true + kv=$(ls lib/modules) + install -Dm644 boot/vmlinuz-lts $DESTDIR/boot/vmlinuz-$kv + install -Dm644 boot/config-$kv $DESTDIR/boot/config-$kv + install -Dm644 boot/System.map-$kv $DESTDIR/boot/System.map-$kv + mkdir -p $DESTDIR/lib/modules + cp -R lib/modules/$kv $DESTDIR/lib/modules/ diff --git a/repo/sys-kernel/linux-firmware b/repo/sys-kernel/linux-firmware @@ -2,7 +2,7 @@ desc: firmware blobs for wifi, graphics, ethernet and the rest, compressed with version: 20261019 url: https://cdn.kernel.org/pub/linux/kernel/firmware/linux-firmware-${version}.tar.xz sha256: a10d1ab5baf2c74ba92e8c7cf313e691696c26bddfa6df00db795e48d70cd4ca -deps: app-arch/zstd +deps: archivers/zstd steps: install -d $DESTDIR/lib/firmware ./copy-firmware.sh --zstd $DESTDIR/lib/firmware diff --git a/repo/sys-libs/musl b/repo/sys-libs/musl @@ -2,7 +2,7 @@ desc: the libc most of the ports build against. its Makefile needs gmake, so gma version: 1.2.5 url: https://musl.libc.org/releases/musl-${version}.tar.gz sha256: a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4 -deps: dev-build/gmake +deps: devel/gmake steps: CC=clang ./configure --prefix=$PREFIX --disable-shared gmake -j$JOBS diff --git a/repo/sys-libs/zlib b/repo/sys-libs/zlib @@ -1,9 +0,0 @@ -desc: the deflate compression library -version: 1.3.1 -url: https://github.com/madler/zlib/releases/download/v${version}/zlib-${version}.tar.gz -sha256: 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23 -deps: -steps: - ./configure --prefix=$PREFIX - make -j$JOBS - make DESTDIR=$DESTDIR install diff --git a/repo/sys-process/htop b/repo/sys-process/htop @@ -1,9 +0,0 @@ -desc: interactive process viewer -version: 3.5.3 -url: https://github.com/htop-dev/htop/releases/download/${version}/htop-${version}.tar.xz -sha256: a8b164386494cb85bb255a415a3f5f80afe7a0c4491da5d113b3a0f951087e65 -deps: dev-libs/netbsd-curses -steps: - ./configure --prefix=$PREFIX --disable-unicode - make -j$JOBS - make DESTDIR=$DESTDIR install