aboutsummaryrefslogtreecommitdiff
path: root/security/gnutls3
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-04-02 01:16:02 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-04-02 01:16:02 +0000
commit05c72c0613be6c0c0d5fb5361c5ff83ff3818164 (patch)
tree262aea96abeaaeb5b13a82f2a7391ac350ce389e /security/gnutls3
parent03622e1696a5f28e57302be36c06b3a6be652ed3 (diff)
downloadports-05c72c0613be6c0c0d5fb5361c5ff83ff3818164.tar.gz
ports-05c72c0613be6c0c0d5fb5361c5ff83ff3818164.zip
Notes
Diffstat (limited to 'security/gnutls3')
-rw-r--r--security/gnutls3/Makefile7
-rw-r--r--security/gnutls3/pkg-plist14
2 files changed, 12 insertions, 9 deletions
diff --git a/security/gnutls3/Makefile b/security/gnutls3/Makefile
index f1b434d58e47..adc23144b37c 100644
--- a/security/gnutls3/Makefile
+++ b/security/gnutls3/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gnutls
PORTVERSION= 3.1.22
+PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/
PKGNAMESUFFIX= ${GNUTLS_SUFFIX}
@@ -15,7 +16,6 @@ LIB_DEPENDS= libgpg-error.so:${PORTSDIR}/security/libgpg-error \
libnettle.so:${PORTSDIR}/security/nettle \
libp11-kit.so:${PORTSDIR}/security/p11-kit \
libidn.so:${PORTSDIR}/dns/libidn \
- libunbound.so:${PORTSDIR}/dns/unbound \
libtspi.so:${PORTSDIR}/security/trousers
GNUTLS_SUFFIX= 3
@@ -42,11 +42,14 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${GNUTLS_SUFFIX}
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${GNUTLS_SUFFIX}
INFO_SUBDIR= gnutls${GNUTLS_SUFFIX}
-OPTIONS_DEFINE= CXX DOCS EXAMPLES LIBTASN1
+OPTIONS_DEFINE= CXX DOCS EXAMPLES LIBTASN1 LIBDANE
OPTIONS_DEFAULT= CXX
OPTIONS_SUB= yes
LIBTASN1_DESC= Use libtasn1 from ports
+LIBDANE_DESC= DNSSEC support for DANE (danetool3 --check)
+LIBDANE_LIB_DEPENDS= libunbound.so:${PORTSDIR}/dns/unbound
+LIBDANE_CONFIGURE_OFF= --disable-libdane
CXX_CONFIGURE_ENABLE= cxx
diff --git a/security/gnutls3/pkg-plist b/security/gnutls3/pkg-plist
index cb610ad1773b..a4b6047bdae8 100644
--- a/security/gnutls3/pkg-plist
+++ b/security/gnutls3/pkg-plist
@@ -12,7 +12,7 @@ bin/tpmtool3
include/gnutls3/gnutls/abstract.h
include/gnutls3/gnutls/compat.h
include/gnutls3/gnutls/crypto.h
-include/gnutls3/gnutls/dane.h
+%%LIBDANE%%include/gnutls3/gnutls/dane.h
include/gnutls3/gnutls/dtls.h
include/gnutls3/gnutls/gnutls.h
%%CXX%%include/gnutls3/gnutls/gnutlsxx.h
@@ -42,10 +42,10 @@ info/gnutls3/gnutls.info-3
info/gnutls3/gnutls.info-4
info/gnutls3/gnutls.info-5
info/gnutls3/pkcs11-vision.png
-lib/gnutls3/libgnutls-dane.a
-lib/gnutls3/libgnutls-dane.la
-lib/gnutls3/libgnutls-dane.so
-lib/gnutls3/libgnutls-dane.so.0
+%%LIBDANE%%lib/gnutls3/libgnutls-dane.a
+%%LIBDANE%%lib/gnutls3/libgnutls-dane.la
+%%LIBDANE%%lib/gnutls3/libgnutls-dane.so
+%%LIBDANE%%lib/gnutls3/libgnutls-dane.so.0
lib/gnutls3/libgnutls-openssl.a
lib/gnutls3/libgnutls-openssl.la
lib/gnutls3/libgnutls-openssl.so
@@ -63,8 +63,8 @@ lib/gnutls3/libgnutls.so.28
%%CXX%%lib/gnutls3/libgnutlsxx.so
%%CXX%%lib/gnutls3/libgnutlsxx.so.28
libdata/pkgconfig/gnutls3.pc
-libdata/pkgconfig/gnutls3-dane.pc
-man/man1/danetool3.1.gz
+%%LIBDANE%%libdata/pkgconfig/gnutls3-dane.pc
+%%LIBDANE%%man/man1/danetool3.1.gz
man/man1/certtool3.1.gz
man/man1/gnutls-cli-debug3.1.gz
man/man1/gnutls-cli3.1.gz