aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2013-09-23 18:20:56 +0800
committererwin <erwin@FreeBSD.org>2013-09-23 18:20:56 +0800
commit0d6d89bb59130c870bd31f26d3ef14f4f49afbb6 (patch)
tree75961d8b9b3ea044b8955719531a52893c6f69a1
parent265e3f5200eb6be58dfba5066839a3019ac5ec69 (diff)
downloadfreebsd-ports-graphics-0d6d89bb59130c870bd31f26d3ef14f4f49afbb6.tar.gz
freebsd-ports-graphics-0d6d89bb59130c870bd31f26d3ef14f4f49afbb6.tar.zst
freebsd-ports-graphics-0d6d89bb59130c870bd31f26d3ef14f4f49afbb6.zip
Add an option for filter-aaaa
Submitted by: Matej Gregr <matej.gregr@gmail.com>
-rw-r--r--dns/bind98/Makefile7
-rw-r--r--dns/bind99/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/dns/bind98/Makefile b/dns/bind98/Makefile
index 9a09ecf66a5..7f0742d0095 100644
--- a/dns/bind98/Makefile
+++ b/dns/bind98/Makefile
@@ -27,7 +27,7 @@ CONFLICTS= bind9*-9.[45679].* bind9*-sdb-9.[45679].* bind-tools-9.*
OPTIONS_DEFAULT= IPV6 SSL LINKS XML THREADS
OPTIONS_DEFINE= SSL LINKS XML IDN REPLACE_BASE LARGE_FILE \
FIXED_RRSET RPZ_NSIP RPZ_NSDNAME RPZRRL_PATCH \
- SIGCHASE IPV6 THREADS GSSAPI
+ SIGCHASE IPV6 THREADS GSSAPI FILTER_AAAA
OPTIONS_GROUP= DLZ
OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
@@ -42,6 +42,7 @@ FIXED_RRSET_DESC= Enable fixed rrset ordering
RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules
RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records
RPZRRL_PATCH_DESC= RPZ improvements + RRL patch (experimental)
+FILTER_AAAA_DESC= Enable filtering of AAAA records
DLZ_DESC= Dynamically Loadable Zones
DLZ_POSTGRESQL_DESC= DLZ Postgres driver
DLZ_MYSQL_DESC= DLZ MySQL driver (no threading)
@@ -98,6 +99,10 @@ CONFIGURE_ARGS+= STD_CDEFINES="-DDIG_SIGCHASE=1"
CONFIGURE_ARGS+= --enable-ipv6
.endif
+.if ${PORT_OPTIONS:MFILTER_AAAA}
+CONFIGURE_ARGS+= --enable-filter-aaaa
+.endif
+
.if ${PORT_OPTIONS:MFIXED_RRSET}
CONFIGURE_ARGS+= --enable-fixed-rrset
.endif
diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile
index 2fcc0f9fc93..4ee7bbe35c1 100644
--- a/dns/bind99/Makefile
+++ b/dns/bind99/Makefile
@@ -28,7 +28,7 @@ CONFLICTS= bind9*-9.[45678].* bind9*-sdb-9.[45678].* bind-tools-9.*
OPTIONS_DEFAULT= IPV6 SSL LINKS XML THREADS
OPTIONS_DEFINE= SSL IDN REPLACE_BASE LARGE_FILE \
- FIXED_RRSET SIGCHASE IPV6 THREADS GSSAPI
+ FIXED_RRSET SIGCHASE IPV6 THREADS GSSAPI FILTER_AAAA
.if !defined(BIND_TOOLS_SLAVE)
OPTIONS_DEFINE+= LINKS XML RPZ_NSIP RPZ_NSDNAME RRL
OPTIONS_GROUP= DLZ
@@ -41,6 +41,7 @@ REPLACE_BASE_DESC= Replace base BIND with this version
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
.if !defined(BIND_TOOLS_SLAVE)
LINKS_DESC= Create conf file symlinks in ${PREFIX}
@@ -107,6 +108,10 @@ CONFIGURE_ARGS+= STD_CDEFINES="-DDIG_SIGCHASE=1"
CONFIGURE_ARGS+= --enable-ipv6
.endif
+.if ${PORT_OPTIONS:MFILTER_AAAA}
+CONFIGURE_ARGS+= --enable-filter-aaaa
+.endif
+
.if ${PORT_OPTIONS:MDLZ_POSTGRESQL}
CONFIGURE_ARGS+= --with-dlz-postgres=yes
USE_PGSQL= yes