tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] www/curl certbundle and missing dep
Am Sun, 15 Nov 2020 20:52:16 +0100
schrieb "Dr. Thomas Orgis" <thomas.orgis%uni-hamburg.de@localhost>:
> Well, then, my current patch just disables ist.
And here it actually is.
> Any reaction to the certbundle part?
Alrighty then,
Thomas
--
Dr. Thomas Orgis
HPC @ Universität Hamburg
--- pkgsrc-2020Q3/www/curl/Makefile 2020-08-31 20:12:32.000000000 +0200
+++ pkgsrc/www/curl/Makefile 2020-11-15 20:44:13.880917249 +0100
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.233 2020/08/31 18:12:32 wiz Exp $
DISTNAME= curl-7.72.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= https://curl.haxx.se/download/
EXTRACT_SUFX= .tar.xz
@@ -20,8 +20,8 @@
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
-CONFIGURE_ARGS+= --with-ca-path=${SSLCERTS}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
+CONFIGURE_ARGS+= --without-libpsl
PKGCONFIG_OVERRIDE= libcurl.pc.in
TEST_TARGET= check
@@ -51,3 +51,11 @@
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+
+# Openssl builtin detection sets SSLCERTBUNDLE if a bundle is found
+# in /etc/. This is essential to have working curl!
+.if !empty(SSLCERTBUNDLE)
+CONFIGURE_ARGS+= --with-ca-bundle=${SSLCERTBUNDLE}
+.else
+CONFIGURE_ARGS+= --with-ca-path=${SSLCERTS}
+.endif
Home |
Main Index |
Thread Index |
Old Index