From 806e27cd6fbe66a8db62986f42d4031ba30a1cd9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 21 Sep 2015 20:53:16 +0200 Subject: [PATCH] curl: enable support for gnutls (off) and ssl/libressl (on). --- srcpkgs/curl/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/curl/template b/srcpkgs/curl/template index b5276057d16..f68660d340f 100644 --- a/srcpkgs/curl/template +++ b/srcpkgs/curl/template @@ -1,13 +1,14 @@ # Template build file for 'curl'. pkgname=curl version=7.44.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="ac_cv_sizeof_off_t=8 --disable-ldaps --without-gssapi - --enable-threaded-resolver --enable-ipv6 + --enable-threaded-resolver --enable-ipv6 $(vopt_with ssl) $(vopt_with gnutls) --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" hostmakedepends="pkg-config perl groff" -makedepends="zlib-devel libidn-devel libressl-devel nghttp2-devel" +makedepends="zlib-devel libidn-devel nghttp2-devel + $(vopt_if ssl libressl-devel) $(vopt_if gnutls gnutls-devel)" depends="ca-certificates" short_desc="Client that groks URLs" maintainer="Juan RP " @@ -16,6 +17,10 @@ homepage="http://curl.haxx.se" distfiles="$homepage/download/$pkgname-$version.tar.bz2" checksum=1e2541bae6582bb697c0fbae49e1d3e6fad5d05d5aa80dbd6f072e0a44341814 +build_options="gnutls ssl" +build_options_default="ssl" +vopt_conflict ssl gnutls + libcurl_package() { short_desc="The multiprotocol file transfer library" pkg_install() {