aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind99
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-05-18 05:30:24 +0800
committermat <mat@FreeBSD.org>2014-05-18 05:30:24 +0800
commit5b1447d1fb086e1490d880f231545729f774fb8a (patch)
tree01de60d3f79d9dcff23458449fd688d94dd791b0 /dns/bind99
parent5853ed7be0fbb4412287cb16d9438a58e0c59494 (diff)
downloadfreebsd-ports-gnome-5b1447d1fb086e1490d880f231545729f774fb8a.tar.gz
freebsd-ports-gnome-5b1447d1fb086e1490d880f231545729f774fb8a.tar.zst
freebsd-ports-gnome-5b1447d1fb086e1490d880f231545729f774fb8a.zip
Fix build with GOST (on 10, base OpenSSL doesn't have it)
Make sure OpenSSL from ports is used < 10. Sponsored by: Absolight
Diffstat (limited to 'dns/bind99')
-rw-r--r--dns/bind99/Makefile10
-rw-r--r--dns/bind99/pkg-help9
2 files changed, 17 insertions, 2 deletions
diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile
index dc8a019ce44f..c8ac92d7f27c 100644
--- a/dns/bind99/Makefile
+++ b/dns/bind99/Makefile
@@ -2,7 +2,7 @@
PORTNAME= bind
PORTVERSION= 9.9.5
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= dns net ipv6
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= bind9/${ISCVERSION}
@@ -47,7 +47,7 @@ LARGE_FILE_DESC= 64-bit file support
FIXED_RRSET_DESC= Enable fixed rrset ordering
SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation
FILTER_AAAA_DESC= Enable filtering of AAAA records
-GOST_DESC= Enable GOST ciphers (DSO incompatible with chroot)
+GOST_DESC= Enable GOST ciphers, needs SSL (see help)
LINKS_DESC= Create conf file symlinks in ${PREFIX}
NEWSTATS_DESC= Enable alternate xml statistics channel format
@@ -168,8 +168,14 @@ SUB_LIST+= BIND_DESTETC="${BIND_DESTETC}"
PLIST_SUB+= NOBASE="" BASE="@comment "
USE_RC_SUBR+= named
SUB_FILES+= named.conf
+.if ${PORT_OPTIONS:MGOST}
+WITH_OPENSSL_PORT=yes
+.endif
.else
PLIST_SUB+= NOBASE="@comment " BASE=""
+.if ${PORT_OPTIONS:MSSL}
+WITH_OPENSSL_PORT= yes
+.endif
.endif
.if !defined(BIND_TOOLS_SLAVE)
diff --git a/dns/bind99/pkg-help b/dns/bind99/pkg-help
new file mode 100644
index 000000000000..224b241884da
--- /dev/null
+++ b/dns/bind99/pkg-help
@@ -0,0 +1,9 @@
+
+ GOST
+If using a chrooted instance of BIND, the OpenSSL engines
+need to be accessible from within the chroot. If BIND
+is chrooted in /var/named, this can be achieved by either
+copying content of /usr/local/lib/engines into
+/var/named/usr/local/lib/engines, or by creating that
+directory and adding this line to /etc/fstab:
+/usr/local/lib/engines /var/named/usr/local/lib/engines nullfs ro 0 0