curl: enable libpsl and libidn2

This commit is contained in:
Đoàn Trần Công Danh 2023-12-06 20:20:08 +07:00 committed by Đoàn Trần Công Danh
parent 736df7da50
commit 29914b655f

View file

@ -1,13 +1,14 @@
# Template file for 'curl'
pkgname=curl
version=8.5.0
revision=1
revision=2
build_style=gnu-configure
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
--enable-websockets --with-random=/dev/urandom
$(vopt_with rtmp librtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
$(vopt_enable ldap ldaps) $(vopt_with ssh libssh2) $(vopt_with ssl) $(vopt_with zstd)
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --without-libidn2
$(vopt_with psl libpsl) $(vopt_with idn libidn2)
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
ac_cv_path_NROFF=/usr/bin/mandoc"
# 1477 verifies if headers and manpages are in sync which belongs in upstream processes
make_check_args="TFLAGS=!1477"
@ -17,6 +18,7 @@ hostmakedepends="perl pkg-config mdocml"
makedepends="nghttp2-devel zlib-devel $(vopt_if gnutls 'gnutls-devel')
$(vopt_if gssapi 'mit-krb5-devel') $(vopt_if ldap 'libldap-devel')
$(vopt_if rtmp 'librtmp-devel') $(vopt_if ssh 'libssh2-devel')
$(vopt_if psl 'libpsl-devel') $(vopt_if idn 'libidn2-devel')
$(vopt_if ssl 'openssl-devel') $(vopt_if zstd 'libzstd-devel')"
depends="ca-certificates"
# openssh isn't in checkdepends, because test 581 locks up
@ -28,8 +30,8 @@ homepage="https://curl.se"
changelog="https://curl.se/changes.html"
distfiles="https://curl.se/download/curl-${version}.tar.gz"
checksum=05fc17ff25b793a437a0906e0484b82172a9f4de02be5ed447e0cab8c3475add
build_options="gnutls gssapi ldap rtmp ssh ssl zstd"
build_options_default="ssh ssl zstd"
build_options="gnutls gssapi idn ldap psl rtmp ssh ssl zstd"
build_options_default="idn psl ssh ssl zstd"
vopt_conflict ssl gnutls
if [ "$CROSS_BUILD" ]; then