aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/bind98/Makefile8
-rw-r--r--dns/bind98/distinfo2
-rw-r--r--dns/bind99/Makefile8
-rw-r--r--dns/bind99/distinfo2
4 files changed, 18 insertions, 2 deletions
diff --git a/dns/bind98/Makefile b/dns/bind98/Makefile
index 0a94c198e3e7..2478d8183eea 100644
--- a/dns/bind98/Makefile
+++ b/dns/bind98/Makefile
@@ -24,7 +24,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 \
+ FIXED_RRSET RPZ_NSIP RPZ_NSDNAME RRL \
SIGCHASE IPV6 THREADS
OPTIONS_GROUP= DLZ
OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
@@ -39,6 +39,7 @@ SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation
FIXED_RRSET_DESC= Enable fixed rrset ordering
RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules
RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records
+RRL_DESC= Enable Response Rate Limiting (experimental)
DLZ_DESC= Dynamically Loadable Zones
DLZ_POSTGRESQL_DESC= DLZ Postgres driver
DLZ_MYSQL_DESC= DLZ MySQL driver (no threading)
@@ -105,6 +106,11 @@ CONFIGURE_ARGS+= --enable-rpz-nsip
CONFIGURE_ARGS+= --enable-rpz-nsdname
.endif
+.if ${PORT_OPTIONS:MRRL}
+PATCHFILES= rl-9.8.4-P1.patch
+PATCH_SITES= http://ss.vix.com/~vixie/
+.endif
+
.if ${PORT_OPTIONS:MDLZ_POSTGRESQL}
CONFIGURE_ARGS+= --with-dlz-postgres=yes
USE_PGSQL= yes
diff --git a/dns/bind98/distinfo b/dns/bind98/distinfo
index 9122c6b12485..24559b1105c7 100644
--- a/dns/bind98/distinfo
+++ b/dns/bind98/distinfo
@@ -1,2 +1,4 @@
SHA256 (bind-9.8.4-P1.tar.gz) = 60c979575bf6288570cb4e3e9ab9d99bb93a55d2a4946ce277f6e6e642dda21f
SIZE (bind-9.8.4-P1.tar.gz) = 7129321
+SHA256 (rl-9.8.4-P1.patch) = d67a75465ff7196c05e1ab0c426f7f714ff9dc56931fdf48b484aed1e08c6740
+SIZE (rl-9.8.4-P1.patch) = 95560
diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile
index c9b801ab673e..da4a96b78091 100644
--- a/dns/bind99/Makefile
+++ b/dns/bind99/Makefile
@@ -25,7 +25,7 @@ CONFLICTS= bind9*-9.[45678].* bind9*-sdb-9.[45678].* 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 \
+ FIXED_RRSET RPZ_NSIP RPZ_NSDNAME RRL \
SIGCHASE IPV6 THREADS
OPTIONS_GROUP= DLZ
OPTIONS_GROUP_DLZ= DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
@@ -40,6 +40,7 @@ SIGCHASE_DESC= dig/host/nslookup will do DNSSEC validation
FIXED_RRSET_DESC= Enable fixed rrset ordering
RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules
RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records
+RRL_DESC= Enable Response Rate Limiting (experimental)
DLZ_DESC= Dynamically Loadable Zones
DLZ_POSTGRESQL_DESC= DLZ Postgres driver
DLZ_MYSQL_DESC= DLZ MySQL driver (no threading)
@@ -111,6 +112,11 @@ CONFIGURE_ARGS+= --enable-rpz-nsip
CONFIGURE_ARGS+= --enable-rpz-nsdname
.endif
+.if ${PORT_OPTIONS:MRRL}
+PATCHFILES= rl-9.9.2-P1.patch
+PATCH_SITES= http://ss.vix.com/~vixie/
+.endif
+
.if ${PORT_OPTIONS:MDLZ_MYSQL}
CONFIGURE_ARGS+= --with-dlz-mysql=yes
USE_MYSQL= yes
diff --git a/dns/bind99/distinfo b/dns/bind99/distinfo
index 3c88a33b60c9..a3859aed0fd9 100644
--- a/dns/bind99/distinfo
+++ b/dns/bind99/distinfo
@@ -1,2 +1,4 @@
SHA256 (bind-9.9.2-P1.tar.gz) = 4bce7c020402623333b655be5167ae8c52f30a6bfe9750caa3ab70da7d90219c
SIZE (bind-9.9.2-P1.tar.gz) = 7277498
+SHA256 (rl-9.9.2-P1.patch) = 79a6f6298fe8a69bc4b981041122152a0a7aa12781e438cc7ec2b421338d02d0
+SIZE (rl-9.9.2-P1.patch) = 95625