tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1572Shell 203Rust 109Markdown 993728 Definiciones

Etapa G: libs C base expat + curl al corpus (232→234)

expat 2.8.1 (libexpat.a) + curl 8.20.0 (libcurl.a, TLS openssl + zlib del corpus).
El patrón configure-split + deps openssl/zlib materializadas funcionó limpio.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

9c8d106fd005a04c48f97975c1c4c462b9f23219 · por sergio · (hace 4 meses) · padre c00492174 · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

2 archivos · +51 −0

diff --git a/recipes/curl.toml b/recipes/curl.toml
new file mode 100644
index 00000000..f062bd05
--- /dev/null
+++ b/recipes/curl.toml
@@ -0,0 +1,32 @@
+# curl 8.20.0 → libcurl (C). Lib FUNDACIONAL: dep del crate `curl`/curl-sys (hurl y muchos tools),
+# y de cola C de red. De-Alpinizada (Etapa G):
+# - compiler=gcc, configure-split explícito, --disable-shared --enable-static.
+# - TLS vía openssl del corpus (--with-openssl); compresión vía zlib del corpus.
+# - drop de deps ausentes: --disable-ares, --without-{libidn2,nghttp2,libpsl,libssh2}. HTTP/HTTPS ok.
+name    = "curl"
+version = "8.20.0"
+
+[source]
+tarball = "https://curl.se/download/curl-8.20.0.tar.xz"
+sha256  = "63fe2dc148ba0ceae89922ef838f7e5c946272c2e78b7c59fab4b79d3ce2b896"
+
+[build]
+compiler = "gcc"
+target   = "x86_64-linux-musl"
+link     = "static"
+flags    = []
+
+[build.phases]
+configure = '''
+./configure --build=$CBUILD --host=$CHOST --prefix=/usr \
+	--disable-shared --enable-static \
+	--with-openssl --with-zlib \
+	--disable-ares --without-libidn2 --without-nghttp2 --without-libpsl --without-libssh2 \
+	--disable-ldap --enable-ipv6 --enable-unix-sockets \
+	--with-ca-path=/etc/ssl/certs
+'''
+compile = 'make'
+install = 'make DESTDIR=/out install'
+
+[deps]
+build = ["openssl", "zlib"]
diff --git a/recipes/expat.toml b/recipes/expat.toml
new file mode 100644
index 00000000..ef069f56
--- /dev/null
+++ b/recipes/expat.toml
@@ -0,0 +1,19 @@
+# expat 2.8.1 — parser XML stream (C). Lib base: dep de cola C (fontconfig, dbus, etc.) y crates -sys.
+# De-Alpinizada (Etapa G): compiler=gcc, configure-split explícito, estático. Sin deps externas.
+name    = "expat"
+version = "2.8.1"
+
+[source]
+tarball = "https://github.com/libexpat/libexpat/releases/download/R_2_8_1/expat-2.8.1.tar.xz"
+sha256  = "10b195ee78160a908388180a8fe3603d4e9a12f4755fbf5f3816b23a9d750da0"
+
+[build]
+compiler = "gcc"
+target   = "x86_64-linux-musl"
+link     = "static"
+flags    = []
+
+[build.phases]
+configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --without-docbook'
+compile   = 'make'
+install   = 'make DESTDIR=/out install'