diff options
author | sem <sem@FreeBSD.org> | 2012-05-24 23:02:38 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2012-05-24 23:02:38 +0800 |
commit | 26ba00f0a6bc7f76ca62d50e704d43a88bbd4dd7 (patch) | |
tree | 90836777736820149e3df325fa385e5dc7b6eee2 /dns/unbound | |
parent | bc6386861e0ebdf147d51b2b01bc74095daae2f4 (diff) | |
download | freebsd-ports-gnome-26ba00f0a6bc7f76ca62d50e704d43a88bbd4dd7.tar.gz freebsd-ports-gnome-26ba00f0a6bc7f76ca62d50e704d43a88bbd4dd7.tar.zst freebsd-ports-gnome-26ba00f0a6bc7f76ca62d50e704d43a88bbd4dd7.zip |
- 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
Diffstat (limited to 'dns/unbound')
-rw-r--r-- | dns/unbound/Makefile | 15 | ||||
-rw-r--r-- | dns/unbound/distinfo | 4 | ||||
-rw-r--r-- | dns/unbound/files/patch-configure | 9 |
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 |