Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage2/curl
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-23 21:08:05 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-23 21:08:05 +0100
commit22a9db79089c54823ae36ee2e20615ac70ab7f40 (patch)
tree471cd831b98310f17d1b745ed8296fc75e0dc05a /i486-stage2/curl
parent02a07b1846dd61be1df300f345143e5462caa7ae (diff)
building up to linux
Diffstat (limited to 'i486-stage2/curl')
-rw-r--r--i486-stage2/curl/DESCR24
1 files changed, 24 insertions, 0 deletions
diff --git a/i486-stage2/curl/DESCR b/i486-stage2/curl/DESCR
new file mode 100644
index 0000000..6ae57d9
--- /dev/null
+++ b/i486-stage2/curl/DESCR
@@ -0,0 +1,24 @@
+# build with minimal features, we don't need support for those protocols
+# in stage1, basic http(s), ftp is enough (other protocols draw in quite
+# some dependencies otherwise)
+sed -i "/depends=/s/'krb5'//" PKGBUILD
+sed -i "/depends=/s/'libssh2'//" PKGBUILD
+sed -i '/--prefix=\/usr/ a \ --without-libssh2 \\' PKGBUILD
+sed -i "/depends=/s/'libpsl'//" PKGBUILD
+sed -i '/--prefix=\/usr/ a \ --without-libpsl \\' PKGBUILD
+sed -i "/depends=/s/'libnghttp2'//" PKGBUILD
+sed -i '/--prefix=\/usr/ a \ --without-nghttp2 \\' PKGBUILD
+sed -i '/--prefix=\/usr/ a \ --without-gssapi \\' PKGBUILD
+sed -i 's/--with-gssapi/--without-gssapi/g' PKGBUILD
+
+# no ca-certificates, needs tons of tools to build (like p11-kit), so we
+# create a fake one with certificates from the host (the ca crts from
+# ca-certificates-utils should be enough actually)
+# TODO: is this LE/BE-safe?
+sed -i "/depends=/s/'ca-certificates'//" PKGBUILD
+
+# zsh, perl is used to create a completion file for curl and zsh
+sed -i '/--prefix=\/usr/ a \ --without-zsh-functions-dir \\' PKGBUILD
+
+# don't build the manual
+sed -i 's/--enable-manual/--disable-manual/g' PKGBUILD