summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2012-05-24 15:02:38 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2012-05-24 15:02:38 +0000
commit01c06198be6020bc151d641be2ae4c7052163076 (patch)
treed73cf1a080c37cecb2ac526a5e2e07e3daacb6fb /dns
parentUpdate to 3.8.12 (diff)
- Update to 1.4.17
* Use ECDSA by default * Add a hack to build ldns with ECDSA support if it's not installed Feature safe: Yes
Notes
Notes: svn path=/head/; revision=297339
Diffstat (limited to 'dns')
-rw-r--r--dns/unbound/Makefile15
-rw-r--r--dns/unbound/distinfo4
-rw-r--r--dns/unbound/files/patch-configure9
3 files changed, 19 insertions, 9 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 87ccf553ecc5..8d0191aa3aaf 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= unbound
-PORTVERSION= 1.4.16
+PORTVERSION= 1.4.17
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/
@@ -16,7 +16,7 @@ COMMENT= A validating, recursive, and caching DNS resolver
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} --with-ldns-builtin
+CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
USE_LDCONFIG= yes
USERS= ${PORTNAME}
@@ -37,7 +37,8 @@ PLIST_SUB+= PYTHON=${PYTHON}
OPTIONS= LIBEVENT "is useful when using many (10000) outgoing ports" off \
THREADS "build with threads support" on \
PYTHON "build python bindings" off \
- GOST "build GOST support (requires OpenSSL from ports)" off
+ GOST "build GOST support (requires OpenSSL from ports)" off \
+ ECDSA "build ECDSA (ecliptic curve) support" on
.include <bsd.port.options.mk>
@@ -55,10 +56,18 @@ PYTHON= "@comment "
.if defined(WITH_GOST)
WITH_OPENSSL_PORT= yes
+DEPENDS_ARGS+= WITH_GOST=yes
.else
CONFIGURE_ARGS+= --disable-gost
.endif
+.if defined(WITH_GOST)
+WITH_OPENSSL_PORT= yes
+DEPENDS_ARGS+= WITH_ECDSA=yes
+.else
+CONFIGURE_ARGS+= --disable-ecdsa
+.endif
+
.if defined(WITH_LIBEVENT)
LIB_DEPENDS+= event-1.4:${PORTSDIR}/devel/libevent
CONFIGURE_ARGS+= --with-libevent=${LOCALBASE}
diff --git a/dns/unbound/distinfo b/dns/unbound/distinfo
index b700f78cd948..c49baaf8071b 100644
--- a/dns/unbound/distinfo
+++ b/dns/unbound/distinfo
@@ -1,2 +1,2 @@
-SHA256 (unbound-1.4.16.tar.gz) = fb71665851eb11d3b1ad5dd5f9d7b167e0902628c06db3d6fc14afd95cc970fa
-SIZE (unbound-1.4.16.tar.gz) = 3562989
+SHA256 (unbound-1.4.17.tar.gz) = 2637d6bda4065d7abf1cd11ee25bfc8e916241153c2d331de99ab6c63df5e3d3
+SIZE (unbound-1.4.17.tar.gz) = 3585122
diff --git a/dns/unbound/files/patch-configure b/dns/unbound/files/patch-configure
index e3904d0b1609..3350acd979ee 100644
--- a/dns/unbound/files/patch-configure
+++ b/dns/unbound/files/patch-configure
@@ -1,11 +1,12 @@
---- configure.orig 2011-07-15 14:58:53.000000000 +0400
-+++ configure 2011-07-15 14:59:02.000000000 +0400
-@@ -16825,8 +16825,7 @@
+--- configure.orig 2012-05-24 12:37:55.000000000 +0400
++++ configure 2012-05-24 16:48:58.593092754 +0400
+@@ -17949,9 +17949,7 @@
-a $ac_cv_func_ldns_key_buf2rsa_raw = yes \
-a $ac_cv_func_ldns_get_random = yes \
-a $ac_cv_header_ldns_ldns_h = yes \
- -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes \
-- -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes; then
+- -a $ac_cv_func_ldns_key_EVP_load_gost_id = yes \
+- -a $ac_cv_have_decl_LDNS_ECDSAP384SHA384 = yes; then
+ -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes; then
:
else