aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind99
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2013-01-04 18:39:41 +0800
committererwin <erwin@FreeBSD.org>2013-01-04 18:39:41 +0800
commitaf4f498c6c91e74bd7079e569d3272039c9216be (patch)
tree6055436cd0bb5beccc71ef8ec79e146b5d8c4349 /dns/bind99
parenta36d62020ded06b8408e3a81c77f273e37874866 (diff)
downloadfreebsd-ports-gnome-af4f498c6c91e74bd7079e569d3272039c9216be.tar.gz
freebsd-ports-gnome-af4f498c6c91e74bd7079e569d3272039c9216be.tar.zst
freebsd-ports-gnome-af4f498c6c91e74bd7079e569d3272039c9216be.zip
Add experimental option for Response Rate Limiting patch.
Diffstat (limited to 'dns/bind99')
-rw-r--r--dns/bind99/Makefile8
-rw-r--r--dns/bind99/distinfo2
2 files changed, 9 insertions, 1 deletions
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