diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2013-09-05 14:37:34 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2013-09-05 14:37:34 +0000 |
commit | b069c27f7465516efff3de2914fd582240e1c065 (patch) | |
tree | 58f78fcce6beee24314dd6980964b7fb4ed416b8 /dns | |
parent | 79d5800a93cdac1ef02282f1e65bda78b7f282a8 (diff) |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/ldns/Makefile | 4 | ||||
-rw-r--r-- | dns/unbound/Makefile | 19 |
2 files changed, 11 insertions, 12 deletions
diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile index 3d6a587ee101..a8ffaea2619f 100644 --- a/dns/ldns/Makefile +++ b/dns/ldns/Makefile @@ -3,7 +3,7 @@ PORTNAME= ldns PORTVERSION= 1.6.16 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/ \ CRITICAL @@ -268,7 +268,9 @@ PLIST_SUB+= EXAMPLES="@comment " .endif # BUILD_PYLDNS .if ${PORT_OPTIONS:MGOST} +. if ${OSVERSION} < 1000015 BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl +. endif .else NO_GOST= --disable-gost CONFIGURE_ARGS+=${NO_GOST} diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile index cc3b612be854..fad5abb19e50 100644 --- a/dns/unbound/Makefile +++ b/dns/unbound/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: unbound -# Date created: 25 Apr 2008 -# Whom: Sergey Matveychuk <sem@FreeBSD.org> -# +# Created by: Sergey Matveychuk <sem@FreeBSD.org> # $FreeBSD$ -# PORTNAME= unbound PORTVERSION= 1.4.20 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://unbound.net/downloads/ @@ -49,13 +45,13 @@ OPTIONS_DEFINE= THREADS PYTHON GOST ECDSA MUNIN OPTIONS_DEFAULT=THREADS ECDSA OPTIONS_RADIO= LIBEVENT -OPTIONS_RADIO_LIBEVENT= LIBEVENT14 LIBEVENT20 +OPTIONS_RADIO_LIBEVENT= LIBEVENT14 LIBEVENT20 LIBEVENT_DESC= Enable whenever using many (10000) outgoing ports LIBEVENT14_DESC=Build against libevent-1.4 (devel/libevent) LIBEVENT20_DESC=Build against libevent-2.0 (devel/libevent2) -GOST_DESC= Enable GOST support (requires OpenSSL from ports) -ECDSA_DESC= Enable ECDSA (elliptic curve) support +GOST_DESC= Enable GOST support (requires OpenSSL >= 1.0) +ECDSA_DESC= Enable ECDSA (elliptic curve) support (OpenSSL >= 1.0) MUNIN_DESC= Install Munin plugin .include <bsd.port.options.mk> @@ -73,14 +69,15 @@ PYTHON= "@comment " .endif .if ${PORT_OPTIONS:MGOST} +. if ${OSVERSION} < 1000015 WITH_OPENSSL_PORT= yes +. endif DEPENDS_ARGS+= WITH_GOST=yes .else CONFIGURE_ARGS+=--disable-gost .endif .if ${PORT_OPTIONS:MECDSA} -WITH_OPENSSL_PORT=yes DEPENDS_ARGS+= WITH_ECDSA=yes .else CONFIGURE_ARGS+=--disable-ecdsa @@ -133,7 +130,7 @@ post-install: @${CAT} ${WRKDIR}/pkg-message @${ECHO_MSG} "=============================================================" .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}; \ for f in ${PORTDOCS}; do \ cd ${WRKSRC}/doc && ${INSTALL_DATA} $${f} ${DOCSDIR}/; \ |