pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gnutls security/gnutls: Add ability to link a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7959f9a58a3c
branches:  trunk
changeset: 401499:7959f9a58a3c
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Wed Sep 18 15:27:05 2019 +0000

description:
security/gnutls: Add ability to link against libunbound for DANE support.

diffstat:

 security/gnutls/Makefile   |   5 ++++-
 security/gnutls/PLIST      |   7 ++++++-
 security/gnutls/options.mk |  15 +++++++++++++++
 3 files changed, 25 insertions(+), 2 deletions(-)

diffs (73 lines):

diff -r a8524fc4a67f -r 7959f9a58a3c security/gnutls/Makefile
--- a/security/gnutls/Makefile  Wed Sep 18 15:19:51 2019 +0000
+++ b/security/gnutls/Makefile  Wed Sep 18 15:27:05 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.199 2019/09/16 00:28:48 nia Exp $
+# $NetBSD: Makefile,v 1.200 2019/09/18 15:27:05 ng0 Exp $
 
 DISTNAME=      gnutls-3.6.9
+PKGREVISION=   1
 CATEGORIES=    security devel
 MASTER_SITES=  https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/
 EXTRACT_SUFX=  .tar.xz
@@ -31,6 +32,8 @@
 CONFIGURE_ARGS.SunOS+=         --disable-hardware-acceleration
 CONFIGURE_ARGS.FreeBSD+=       ac_cv_type_max_align_t=yes
 
+.include "options.mk"
+
 TEST_TARGET=           check
 
 INFO_FILES=            yes
diff -r a8524fc4a67f -r 7959f9a58a3c security/gnutls/PLIST
--- a/security/gnutls/PLIST     Wed Sep 18 15:19:51 2019 +0000
+++ b/security/gnutls/PLIST     Wed Sep 18 15:27:05 2019 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.65 2019/09/16 00:28:48 nia Exp $
+@comment $NetBSD: PLIST,v 1.66 2019/09/18 15:27:05 ng0 Exp $
 bin/certtool
+${PLIST.unbound}bin/danetool
 bin/gnutls-cli
 bin/gnutls-cli-debug
 bin/gnutls-serv
@@ -10,6 +11,7 @@
 include/gnutls/abstract.h
 include/gnutls/compat.h
 include/gnutls/crypto.h
+${PLIST.dane}include/gnutls/dane.h
 include/gnutls/dtls.h
 include/gnutls/gnutls.h
 include/gnutls/gnutlsxx.h
@@ -36,10 +38,13 @@
 info/gnutls-x509.png
 info/gnutls.info
 info/pkcs11-vision.png
+${PLIST.dane}lib/libgnutls-dane.la
 lib/libgnutls.la
 lib/libgnutlsxx.la
+${PLIST.dane}lib/pkgconfig/gnutls-dane.pc
 lib/pkgconfig/gnutls.pc
 man/man1/certtool.1
+${PLIST.dane}man/man1/danetool.1
 man/man1/gnutls-cli-debug.1
 man/man1/gnutls-cli.1
 man/man1/gnutls-serv.1
diff -r a8524fc4a67f -r 7959f9a58a3c security/gnutls/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnutls/options.mk        Wed Sep 18 15:27:05 2019 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2019/09/18 15:27:05 ng0 Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.gnutls
+PKG_SUPPORTED_OPTIONS= dane
+PLIST_VARS+=           dane
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdane)
+.include "../../net/unbound/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-libdane
+PLIST.dane=            yes
+.else
+CONFIGURE_ARGS+=       --disable-libdane
+.endif



Home | Main Index | Thread Index | Old Index