base-system: iputils construye — ping/arping/tracepath (meson)
iputils 20250605 estático (b3:669520e9). Migré de la shell abuild al patrón meson estándar (samurai=ninja + meson canónicos), docs off (BUILD_MANS=false) para no arrastrar docbook-xsl, LTO off. libcap:yes.
Delta semántico
Ninguna definición cambió: el cambio es de texto, documentación o datos.
1 archivos · +7 −37
diff --git a/recipes/incoming-clib/iputils.toml b/recipes/incoming-clib/iputils.toml
index e48ae620..95989c18 100644
--- a/recipes/incoming-clib/iputils.toml
+++ b/recipes/incoming-clib/iputils.toml
@@ -18,42 +18,12 @@ link = "static"
flags = []
[build.phases]
-# de build() de Alpine (traducido; el lab provee $CBUILD/$CHOST — Etapa G Fase 3; revisá --shared para estático):
-compile = '''
-_abuild_phase() {
-abuild-meson \
- -Db_lto=true \
- -DNO_SETCAP_OR_SUID=true \
- -DBUILD_MANS=true \
- -DUSE_IDN=false \
- -DUSE_GETTEXT=false \
- . output
- meson compile -C output
-}
-_abuild_phase
-'''
-# de package() de Alpine (traducido $pkgdir→/out):
-install = '''
-_abuild_phase() {
-depends="
- iputils-arping=20250605-r$pkgrel
- iputils-clockdiff=20250605-r$pkgrel
- iputils-ping=20250605-r$pkgrel
- iputils-tracepath=20250605-r$pkgrel
- "
-
- install -Dm4755 output/ping/ping "/out"/bin/ping
-
- for name in arping clockdiff tracepath; do
- install -Dm755 output/$name "/out"/usr/sbin/$name
- done
-
- ln -s tracepath "/out"/usr/sbin/tracepath6
- ln -s ping "/out"/bin/ping6
- install -D -m 644 -t "/out"/usr/share/man/man8 doc/*.8
-}
-_abuild_phase
-'''
+# Proyecto meson (patrón pixman/libdrm). Docs DESACTIVADAS (BUILD_MANS/BUILD_HTML_MANS=false)
+# para no arrastrar docbook-xsl/libxslt (fuera del catálogo). LTO quitado. IDN/gettext off
+# (deps externas fuera de catálogo); libcap sí está en el catálogo (USE_CAP por defecto).
+configure = "meson setup output --prefix=/usr --buildtype=release -DBUILD_MANS=false -DBUILD_HTML_MANS=false -DNO_SETCAP_OR_SUID=true -DUSE_IDN=false -DUSE_GETTEXT=false -DSKIP_TESTS=true"
+compile = "ninja -C output"
+install = "DESTDIR=/out ninja -C output install"
[deps]
-build = ["docbook-xsl", "libcap"]
+build = ["libcap", "linux-headers", "meson", "samurai", "python3", "pkgconf"]