aboutsummaryrefslogtreecommitdiff
path: root/dns/bind910
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-06-24 15:15:33 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-06-24 15:15:33 +0000
commit84296bece1bb19f0786610780f9967881b3860a6 (patch)
tree8ffce5e892e71501ae2e8476a66dee4864ae2c00 /dns/bind910
parent2e769be405de24f83bada854527d45183ff074e1 (diff)
downloadports-84296bece1bb19f0786610780f9967881b3860a6.tar.gz
ports-84296bece1bb19f0786610780f9967881b3860a6.zip
Notes
Diffstat (limited to 'dns/bind910')
-rw-r--r--dns/bind910/Makefile14
-rw-r--r--dns/bind910/files/patch-bin__python__Makefile.in13
-rw-r--r--dns/bind910/pkg-plist4
3 files changed, 27 insertions, 4 deletions
diff --git a/dns/bind910/Makefile b/dns/bind910/Makefile
index 484ea6ffbe42..051507451545 100644
--- a/dns/bind910/Makefile
+++ b/dns/bind910/Makefile
@@ -2,7 +2,7 @@
PORTNAME= bind
PORTVERSION= ${ISCVERSION:S/-P/P/}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= dns net ipv6
MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMESUFFIX?= 910
@@ -24,8 +24,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \
--disable-symtable \
--with-randomdev=/dev/random \
- --with-libxml2=${LOCALBASE} \
- --without-python
+ --with-libxml2=${LOCALBASE}
ETCDIR= ${PREFIX}/etc/namedb
CONFLICTS= bind9*-9.[456789].* bind9*-sdb-9.[456789].*
@@ -34,7 +33,7 @@ SUB_FILES= pkg-message
OPTIONS_SUB= yes
OPTIONS_DEFAULT= IPV6 SSL THREADS SIGCHASE IDN GSSAPI_NONE
-OPTIONS_DEFINE= IDN LARGE_FILE GOST \
+OPTIONS_DEFINE= IDN LARGE_FILE GOST PYTHON \
FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA
OPTIONS_RADIO= CRYPTO
OPTIONS_RADIO_CRYPTO= SSL NATIVE_PKCS11
@@ -49,6 +48,8 @@ OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
.endif # BIND_TOOLS_SLAVE
+OPTIONS_SUB= yes
+
SSL_DESC= Build with OpenSSL (Required for DNSSEC)
LARGE_FILE_DESC= 64-bit file support
FIXED_RRSET_DESC= Enable fixed rrset ordering
@@ -58,6 +59,7 @@ CRYPTO_DESC= Choose which crypto engine to use
NATIVE_PKCS11_DESC= Use PKCS\#11 native API (**READ HELP**)
GEOIP_DESC= Allow geographically based ACL.
GOST_DESC= Enable GOST ciphers, needs SSL (see help)
+PYTHON_DESC= Build with Python utilities
LINKS_DESC= Create conf file symlinks in ${PREFIX}
NEWSTATS_DESC= Enable alternate xml statistics channel format
@@ -106,6 +108,10 @@ GEOIP_LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
GOST_CONFIGURE_WITH= gost
+PYTHON_CONFIGURE_WITH= python
+PYTHON_USE= PYTHON=yes
+PYTHON_USES= gmake
+
DLZ_POSTGRESQL_CONFIGURE_ON= --with-dlz-postgres=yes
DLZ_POSTGRESQL_USE= pgsql=yes
diff --git a/dns/bind910/files/patch-bin__python__Makefile.in b/dns/bind910/files/patch-bin__python__Makefile.in
new file mode 100644
index 000000000000..e53306aec09c
--- /dev/null
+++ b/dns/bind910/files/patch-bin__python__Makefile.in
@@ -0,0 +1,13 @@
+--- ./bin/python/Makefile.in.orig 2014-05-27 06:45:53.000000000 +0200
++++ ./bin/python/Makefile.in 2014-06-24 14:32:28.000000000 +0200
+@@ -41,8 +41,8 @@
+ $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
+
+ install:: ${TARGETS} installdirs
+- ${INSTALL_PROGRAM} dnssec-checkds@EXEEXT@ ${DESTDIR}${sbindir}
+- ${INSTALL_PROGRAM} dnssec-coverage@EXEEXT@ ${DESTDIR}${sbindir}
++ ${INSTALL_SCRIPT} dnssec-checkds@EXEEXT@ ${DESTDIR}${sbindir}
++ ${INSTALL_SCRIPT} dnssec-coverage@EXEEXT@ ${DESTDIR}${sbindir}
+ ${INSTALL_DATA} ${srcdir}/dnssec-checkds.8 ${DESTDIR}${mandir}/man8
+ ${INSTALL_DATA} ${srcdir}/dnssec-coverage.8 ${DESTDIR}${mandir}/man8
+
diff --git a/dns/bind910/pkg-plist b/dns/bind910/pkg-plist
index 8214c75d2dfe..0462324c1e77 100644
--- a/dns/bind910/pkg-plist
+++ b/dns/bind910/pkg-plist
@@ -351,6 +351,8 @@ man/man3/lwres_string_parse.3.gz
man/man5/named.conf.5.gz
man/man5/rndc.conf.5.gz
man/man8/ddns-confgen.8.gz
+%%PYTHON%%man/man8/dnssec-checkds.8.gz
+%%PYTHON%%man/man8/dnssec-coverage.8.gz
man/man8/dnssec-dsfromkey.8.gz
man/man8/dnssec-importkey.8.gz
man/man8/dnssec-keyfromlabel.8.gz
@@ -377,6 +379,8 @@ man/man8/rndc-confgen.8.gz
man/man8/rndc.8.gz
sbin/arpaname
sbin/ddns-confgen
+%%PYTHON%%sbin/dnssec-checkds
+%%PYTHON%%sbin/dnssec-coverage
sbin/dnssec-dsfromkey
sbin/dnssec-importkey
sbin/dnssec-keyfromlabel