From 5efd4013802e07c8e3d3f8cb04ef25a965641626 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Mon, 23 Sep 2013 10:20:56 +0000 Subject: [PATCH] Add an option for filter-aaaa Submitted by: Matej Gregr --- dns/bind98/Makefile | 7 ++++++- dns/bind99/Makefile | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dns/bind98/Makefile b/dns/bind98/Makefile index 9a09ecf66a57..7f0742d00956 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 2fcc0f9fc93a..4ee7bbe35c1c 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