aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2011-11-07 04:00:56 +0800
committerohauer <ohauer@FreeBSD.org>2011-11-07 04:00:56 +0800
commitcfc975a88668277b156df5cbad6fbbfe07cc7b6b (patch)
tree93a57e3e0c855fbeeaeb69f9d4acf8649dbb0611 /dns
parent7d7b73da0b37820b225d3500555d3054a9a0ecc5 (diff)
downloadfreebsd-ports-graphics-cfc975a88668277b156df5cbad6fbbfe07cc7b6b.tar.gz
freebsd-ports-graphics-cfc975a88668277b156df5cbad6fbbfe07cc7b6b.tar.zst
freebsd-ports-graphics-cfc975a88668277b156df5cbad6fbbfe07cc7b6b.zip
- add fix from upstream vendor to preserve slowdowns during (re)start
PowerDNS with BIND backend PR: ports/160308 Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer)
Diffstat (limited to 'dns')
-rw-r--r--dns/powerdns/Makefile2
-rw-r--r--dns/powerdns/files/patch-pdns_pdns_backends_bind_bindbackend2_cc16
2 files changed, 17 insertions, 1 deletions
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index a9c0d7dec3b..c6493b5f533 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -7,7 +7,7 @@
PORTNAME= powerdns
PORTVERSION= 3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/ \
http://mirrors.evolva.ro/powerdns.com/releases/
diff --git a/dns/powerdns/files/patch-pdns_pdns_backends_bind_bindbackend2_cc b/dns/powerdns/files/patch-pdns_pdns_backends_bind_bindbackend2_cc
new file mode 100644
index 00000000000..edd59f2c1aa
--- /dev/null
+++ b/dns/powerdns/files/patch-pdns_pdns_backends_bind_bindbackend2_cc
@@ -0,0 +1,16 @@
+--- pdns/backends/bind/bindbackend2.cc.orig 2011-07-22 13:23:22.000000000 +0200
++++ pdns/backends/bind/bindbackend2.cc 2011-08-30 10:38:47.000000000 +0200
+@@ -620,5 +620,5 @@
+
+ sort(domains.begin(), domains.end()); // put stuff in inode order
+-
++ DNSSECKeeper dk;
+ for(vector<BindDomainInfo>::const_iterator i=domains.begin();
+ i!=domains.end();
+@@ -660,5 +660,5 @@
+ if(filenameChanged || !bbd->d_loaded || !bbd->current()) {
+ L<<Logger::Info<<d_logprefix<<" parsing '"<<i->name<<"' from file '"<<i->filename<<"'"<<endl;
+- DNSSECKeeper dk;
++
+ NSEC3PARAMRecordContent ns3pr;
+ bool nsec3zone=dk.getNSEC3PARAM(i->name, &ns3pr); \ No newline at end of file