aboutsummaryrefslogtreecommitdiff
path: root/dns/ldns/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/ldns/Makefile')
-rw-r--r--dns/ldns/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile
index a25c7b8a19e2..b1f0029b3a20 100644
--- a/dns/ldns/Makefile
+++ b/dns/ldns/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: drill
+# New ports collection makefile for: ldns
# Date created: 29 December 2005
# Whom: Konstantin Saurbier <saurbier@math.uni-bielefeld.de>
#
@@ -6,20 +6,23 @@
#
PORTNAME= ldns
-PORTVERSION= 1.6.5
+PORTVERSION= 1.6.6
CATEGORIES= dns
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/
MAINTAINER= konstantin@saurbier.net
COMMENT= A library for programs conforming to DNS RFCs and drafts
+LICENSE= BSD
+
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
USE_OPENSSL= yes
USE_LDCONFIG= yes
OPTIONS= DOCS "With documentation" Off \
- EXAMPLES "With example programs" Off
+ EXAMPLES "With example programs" Off \
+ GOST "With GOST signing enabled (requires openssl 1.0.0)" Off
.include <bsd.port.pre.mk>
@@ -218,6 +221,11 @@ MAN3= ldns_bget_token.3 ldns_bgetc.3 ldns_bskipcs.3 ldns_buffer.3 \
ldns_zone_set_soa.3 ldns_zone_soa.3 ldns_zone_sort.3
.endif
+.if defined(WITH_GOST)
+BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl
+CONFIGURE_ARGS+= --enable-gost
+.endif
+
.if defined(WITH_EXAMPLES)
PLIST_SUB+= EXAMPLES=""
NOMANCOMPRESS= true