pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/gnutls



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Tue Jan  7 20:12:53 UTC 2025

Modified Files:
        pkgsrc/security/gnutls: Makefile

Log Message:
Revert "security/gnutls: Use system TLS trust anchors."

This requires review of how SmartOS and macOS, at least, are supposed
to handle TLS trust anchors for pkgsrc, which I didn't do -- it's
practically guaranteed that referring to
share/mozilla-rootcerts/cacert.pem is wrong on those platforms like
it is on NetBSD, but I don't know offhand what the right alternative
is and this can hold off until we determine that.


To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 pkgsrc/security/gnutls/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gnutls/Makefile
diff -u pkgsrc/security/gnutls/Makefile:1.263 pkgsrc/security/gnutls/Makefile:1.264
--- pkgsrc/security/gnutls/Makefile:1.263       Tue Jan  7 19:19:33 2025
+++ pkgsrc/security/gnutls/Makefile     Tue Jan  7 20:12:53 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.263 2025/01/07 19:19:33 riastradh Exp $
+# $NetBSD: Makefile,v 1.264 2025/01/07 20:12:53 riastradh Exp $
 
 DISTNAME=      gnutls-3.8.8
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    security devel
 MASTER_SITES=  https://www.gnupg.org/ftp/gcrypt/gnutls/v${PKGVERSION_NOREV:R}/
 EXTRACT_SUFX=  .tar.xz
@@ -11,7 +11,7 @@ HOMEPAGE=     https://www.gnutls.org/
 COMMENT=       Transport Layer Security library
 LICENSE=       gnu-gpl-v3 AND gnu-lgpl-v2.1
 
-.include "../../mk/ssl.mk"
+DEPENDS+=      mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
 
 PLIST_SRC=     PLIST
 
@@ -28,7 +28,7 @@ CONFIGURE_ARGS+=      --disable-openssl-compa
 CONFIGURE_ARGS+=       --without-idn
 CONFIGURE_ARGS+=       --without-tpm
 CONFIGURE_ARGS+=       --disable-valgrind-tests
-CONFIGURE_ARGS+=       ${empty(SSLCERTBUNDLE):?:--with-default-trust-store-file=${SSLCERTBUNDLE:Q}}
+CONFIGURE_ARGS+=       --with-default-trust-store-file=${PREFIX}/share/mozilla-rootcerts/cacert.pem
 CONFIGURE_ARGS+=       --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
 
 # Assembler support is broken for SunOS in 3.2.9.



Home | Main Index | Thread Index | Old Index