mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- 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
This commit is contained in:
parent
939fb5b9e1
commit
01c06198be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297339
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= unbound
|
PORTNAME= unbound
|
||||||
PORTVERSION= 1.4.16
|
PORTVERSION= 1.4.17
|
||||||
CATEGORIES= dns
|
CATEGORIES= dns
|
||||||
MASTER_SITES= http://unbound.net/downloads/
|
MASTER_SITES= http://unbound.net/downloads/
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ COMMENT= A validating, recursive, and caching DNS resolver
|
|||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_OPENSSL= yes
|
USE_OPENSSL= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} --with-ldns-builtin
|
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
USERS= ${PORTNAME}
|
USERS= ${PORTNAME}
|
||||||
@ -37,7 +37,8 @@ PLIST_SUB+= PYTHON=${PYTHON}
|
|||||||
OPTIONS= LIBEVENT "is useful when using many (10000) outgoing ports" off \
|
OPTIONS= LIBEVENT "is useful when using many (10000) outgoing ports" off \
|
||||||
THREADS "build with threads support" on \
|
THREADS "build with threads support" on \
|
||||||
PYTHON "build python bindings" off \
|
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>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
@ -55,10 +56,18 @@ PYTHON= "@comment "
|
|||||||
|
|
||||||
.if defined(WITH_GOST)
|
.if defined(WITH_GOST)
|
||||||
WITH_OPENSSL_PORT= yes
|
WITH_OPENSSL_PORT= yes
|
||||||
|
DEPENDS_ARGS+= WITH_GOST=yes
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-gost
|
CONFIGURE_ARGS+= --disable-gost
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_GOST)
|
||||||
|
WITH_OPENSSL_PORT= yes
|
||||||
|
DEPENDS_ARGS+= WITH_ECDSA=yes
|
||||||
|
.else
|
||||||
|
CONFIGURE_ARGS+= --disable-ecdsa
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_LIBEVENT)
|
.if defined(WITH_LIBEVENT)
|
||||||
LIB_DEPENDS+= event-1.4:${PORTSDIR}/devel/libevent
|
LIB_DEPENDS+= event-1.4:${PORTSDIR}/devel/libevent
|
||||||
CONFIGURE_ARGS+= --with-libevent=${LOCALBASE}
|
CONFIGURE_ARGS+= --with-libevent=${LOCALBASE}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (unbound-1.4.16.tar.gz) = fb71665851eb11d3b1ad5dd5f9d7b167e0902628c06db3d6fc14afd95cc970fa
|
SHA256 (unbound-1.4.17.tar.gz) = 2637d6bda4065d7abf1cd11ee25bfc8e916241153c2d331de99ab6c63df5e3d3
|
||||||
SIZE (unbound-1.4.16.tar.gz) = 3562989
|
SIZE (unbound-1.4.17.tar.gz) = 3585122
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
--- configure.orig 2011-07-15 14:58:53.000000000 +0400
|
--- configure.orig 2012-05-24 12:37:55.000000000 +0400
|
||||||
+++ configure 2011-07-15 14:59:02.000000000 +0400
|
+++ configure 2012-05-24 16:48:58.593092754 +0400
|
||||||
@@ -16825,8 +16825,7 @@
|
@@ -17949,9 +17949,7 @@
|
||||||
-a $ac_cv_func_ldns_key_buf2rsa_raw = yes \
|
-a $ac_cv_func_ldns_key_buf2rsa_raw = yes \
|
||||||
-a $ac_cv_func_ldns_get_random = yes \
|
-a $ac_cv_func_ldns_get_random = yes \
|
||||||
-a $ac_cv_header_ldns_ldns_h = yes \
|
-a $ac_cv_header_ldns_ldns_h = yes \
|
||||||
- -a $ac_cv_func_ldns_b32_ntop_extended_hex = 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
|
+ -a $ac_cv_func_ldns_b32_ntop_extended_hex = yes; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user