summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2010-11-09 14:09:52 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2010-11-09 14:09:52 +0000
commita16e8de40fdf209e93f928c6b694656fb0f868aa (patch)
tree408813a0bab34c398a41daf805488b546d3a18b4 /dns
parent- Install configuration files as *.sample to avoid overriding existing ones (diff)
- Update to 1.4.7
* It uses GOST by default and depends on port's openssl 1.0.0 (may be turned off by an option).
Notes
Notes: svn path=/head/; revision=264304
Diffstat (limited to 'dns')
-rw-r--r--dns/unbound/Makefile17
-rw-r--r--dns/unbound/distinfo5
-rw-r--r--dns/unbound/pkg-plist1
3 files changed, 16 insertions, 7 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index c8ca3e0cff63..222517fdd380 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= unbound
-PORTVERSION= 1.4.6
+PORTVERSION= 1.4.7
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}
+CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} --with-ldns-builtin
USE_LDCONFIG= yes
USE_RC_SUBR= unbound
@@ -24,7 +24,7 @@ USE_RC_SUBR= unbound
MAN1= unbound-host.1
MAN3= libunbound.3
MAN5= unbound.conf.5
-MAN8= unbound.8 unbound-control.8 unbound-checkconf.8
+MAN8= unbound.8 unbound-anchor.8 unbound-control.8 unbound-checkconf.8
PORTDOCS= CREDITS Changelog FEATURES LICENSE README README.svn \
README.tests TODO control_proto_spec.txt ietf67-design-02.odp \
@@ -36,10 +36,13 @@ 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
+ PYTHON "build python bindings" off \
+ GOST "build GOST support (requires OpenSSL from ports)" on
.include <bsd.port.options.mk>
+LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2
+
.if defined(WITH_PYTHON)
USE_PYTHON= yes
CONFIGURE_ARGS+= --with-pyunbound=yes --with-pythonmodule=yes
@@ -49,6 +52,12 @@ PYTHON=
PYTHON= "@comment "
.endif
+.if defined(WITH_GOST)
+WITH_OPENSSL_PORT= yes
+.else
+CONFIGURE_ARGS+= --disable-gost
+.endif
+
.include <bsd.port.pre.mk>
# OpenSSL on 6.x has no sha256 functions
diff --git a/dns/unbound/distinfo b/dns/unbound/distinfo
index 13ec7e210d74..d8474f5d97b6 100644
--- a/dns/unbound/distinfo
+++ b/dns/unbound/distinfo
@@ -1,3 +1,2 @@
-MD5 (unbound-1.4.6.tar.gz) = 2cdcfe0ca45373c6b22e274560ae9943
-SHA256 (unbound-1.4.6.tar.gz) = 9c2ce107b551dbd65d007549caea13ecba7dd30d690821f2bafa9da2d047b9de
-SIZE (unbound-1.4.6.tar.gz) = 4384085
+SHA256 (unbound-1.4.7.tar.gz) = fe17ef4639f965cbf0864d0e49ec00d567d7c4ab9f199f2a6f00842b6e48016c
+SIZE (unbound-1.4.7.tar.gz) = 4455592
diff --git a/dns/unbound/pkg-plist b/dns/unbound/pkg-plist
index a800f6df0554..582e9f667f41 100644
--- a/dns/unbound/pkg-plist
+++ b/dns/unbound/pkg-plist
@@ -5,6 +5,7 @@ lib/libunbound.so
lib/libunbound.la
lib/libunbound.a
sbin/unbound
+sbin/unbound-anchor
sbin/unbound-checkconf
sbin/unbound-control
sbin/unbound-control-setup