summaryrefslogtreecommitdiff
path: root/net/powerdns/patches
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2012-01-13 12:12:48 +0000
committerghen <ghen@pkgsrc.org>2012-01-13 12:12:48 +0000
commit8e2fed10ba0baebbef775c81c51bf8b44c018356 (patch)
tree9d2882345559ec3ef377eef46c9df3851fbf0db6 /net/powerdns/patches
parent8b679b9d664a078b537421246ceb7443e3367386 (diff)
downloadpkgsrc-8e2fed10ba0baebbef775c81c51bf8b44c018356.tar.gz
Upgrade to PowerDNS 2.9.22.5, including a fix for CVE-2012-0206.
Diffstat (limited to 'net/powerdns/patches')
-rw-r--r--net/powerdns/patches/patch-aa27
-rw-r--r--net/powerdns/patches/patch-ac22
-rw-r--r--net/powerdns/patches/patch-ad13
-rw-r--r--net/powerdns/patches/patch-ae22
-rw-r--r--net/powerdns/patches/patch-af13
-rw-r--r--net/powerdns/patches/patch-ag15
-rw-r--r--net/powerdns/patches/patch-ah13
-rw-r--r--net/powerdns/patches/patch-pdns_misc.hh12
8 files changed, 15 insertions, 122 deletions
diff --git a/net/powerdns/patches/patch-aa b/net/powerdns/patches/patch-aa
index b7db74a12d8..e6e9b41a7eb 100644
--- a/net/powerdns/patches/patch-aa
+++ b/net/powerdns/patches/patch-aa
@@ -1,20 +1,23 @@
-$NetBSD: patch-aa,v 1.2 2011/11/23 23:32:17 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2012/01/13 12:12:48 ghen Exp $
---- pdns/Makefile.in.orig 2008-08-07 07:04:53.000000000 +0000
+--- pdns/Makefile.in.orig 2012-01-05 14:27:41.000000000 +0000
+++ pdns/Makefile.in
-@@ -796,12 +796,12 @@ distclean-libtool:
- uninstall-info-am:
+@@ -1012,15 +1012,15 @@ clean-libtool:
+ -rm -rf .libs _libs
install-sysconfDATA: $(sysconf_DATA)
@$(NORMAL_INSTALL)
-- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
-+ test -z "$(EGDIR)" || $(mkdir_p) "$(DESTDIR)$(EGDIR)"
- @list='$(sysconf_DATA)'; for p in $$list; do \
+- test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
++ test -z "$(EGDIR)" || $(MKDIR_P) "$(DESTDIR)$(EGDIR)"
+ @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
+ for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
-- echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
-- $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
-+ echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(EGDIR)/$$f'"; \
-+ $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(EGDIR)/$$f"; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
+- $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
++ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(EGDIR)'"; \
++ $(INSTALL_DATA) $$files "$(DESTDIR)$(EGDIR)" || exit $$?; \
done
uninstall-sysconfDATA:
diff --git a/net/powerdns/patches/patch-ac b/net/powerdns/patches/patch-ac
deleted file mode 100644
index 267429f48b6..00000000000
--- a/net/powerdns/patches/patch-ac
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2011/11/23 23:32:17 joerg Exp $
-
---- pdns/backends/bind/bindbackend2.cc.orig 2007-04-21 13:56:36.000000000 +0000
-+++ pdns/backends/bind/bindbackend2.cc
-@@ -600,7 +600,7 @@ void Bind2Backend::loadConfig(string* st
- L<<Logger::Warning<<d_logprefix<<msg.str()<<endl;
- rejected++;
- }
-- catch(exception &ae) {
-+ catch(std::exception &ae) {
- ostringstream msg;
- msg<<" error at "+nowTime()+" parsing '"<<i->name<<"' from file '"<<i->filename<<"': "<<ae.what();
-
-@@ -715,7 +715,7 @@ void Bind2Backend::queueReload(BB2Domain
- msg<<" error at "+nowTime()+" parsing '"<<bbd->d_name<<"' from file '"<<bbd->d_filename<<"': "<<ae.reason;
- bbd->d_status=msg.str();
- }
-- catch(exception &ae) {
-+ catch(std::exception &ae) {
- ostringstream msg;
- msg<<" error at "+nowTime()+" parsing '"<<bbd->d_name<<"' from file '"<<bbd->d_filename<<"': "<<ae.what();
- bbd->d_status=msg.str();
diff --git a/net/powerdns/patches/patch-ad b/net/powerdns/patches/patch-ad
deleted file mode 100644
index 99740907113..00000000000
--- a/net/powerdns/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2011/11/23 23:32:17 joerg Exp $
-
---- pdns/backends/bind/zone2sql.cc.orig 2007-04-21 13:56:36.000000000 +0000
-+++ pdns/backends/bind/zone2sql.cc
-@@ -302,7 +302,7 @@ int main(int argc, char **argv)
- cerr<<"\nFatal error: "<<ae.reason<<endl;
- return 0;
- }
-- catch(exception &e) {
-+ catch(std::exception &e) {
- cerr<<"died because of STL error: "<<e.what()<<endl;
- exit(0);
- }
diff --git a/net/powerdns/patches/patch-ae b/net/powerdns/patches/patch-ae
deleted file mode 100644
index 5fbde477204..00000000000
--- a/net/powerdns/patches/patch-ae
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2011/11/23 23:32:17 joerg Exp $
-
---- pdns/dnspacket.cc.orig 2007-04-21 13:56:36.000000000 +0000
-+++ pdns/dnspacket.cc
-@@ -320,7 +320,7 @@ void DNSPacket::wrapup(void)
- }
- pw.commit();
- }
-- catch(exception& e) {
-+ catch(std::exception& e) {
- L<<Logger::Error<<"Exception: "<<e.what()<<endl;
- throw;
- }
-@@ -424,7 +424,7 @@ try
- qclass=mdp.d_qclass;
- return 0;
- }
--catch(exception& e) {
-+catch(std::exception& e) {
- return -1;
- }
-
diff --git a/net/powerdns/patches/patch-af b/net/powerdns/patches/patch-af
deleted file mode 100644
index 1d05bfb01ee..00000000000
--- a/net/powerdns/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.2 2011/11/23 23:32:17 joerg Exp $
-
---- pdns/tcpreceiver.cc.orig 2007-04-21 13:56:36.000000000 +0000
-+++ pdns/tcpreceiver.cc
-@@ -322,7 +322,7 @@ void *TCPNameserver::doConnection(void *
- s_P = 0; // on next call, backend will be recycled
- L<<Logger::Error<<"TCP nameserver had error, cycling backend: "<<ae.reason<<endl;
- }
-- catch(exception &e) {
-+ catch(std::exception &e) {
- L<<Logger::Error<<"TCP Connection Thread died because of STL error: "<<e.what()<<endl;
- }
- catch( ... )
diff --git a/net/powerdns/patches/patch-ag b/net/powerdns/patches/patch-ag
deleted file mode 100644
index 81ebdc827d3..00000000000
--- a/net/powerdns/patches/patch-ag
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2011/11/23 23:32:17 joerg Exp $
-
---- pdns/receiver.cc.orig 2008-08-07 07:02:53.000000000 +0000
-+++ pdns/receiver.cc
-@@ -566,8 +566,8 @@ int main(int argc, char **argv)
- if(!arg().mustDo("daemon"))
- cerr<<"Exiting because: "<<AE.reason<<endl;
- L<<Logger::Error<<"Exiting because: "<<AE.reason<<endl;
-- }
-- catch(exception &e) {
-+ }
-+ catch(std::exception &e) {
- if(!arg().mustDo("daemon"))
- cerr<<"Exiting because of STL error: "<<e.what()<<endl;
- L<<Logger::Error<<"Exiting because of STL error: "<<e.what()<<endl;
diff --git a/net/powerdns/patches/patch-ah b/net/powerdns/patches/patch-ah
deleted file mode 100644
index dfbd122a456..00000000000
--- a/net/powerdns/patches/patch-ah
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2011/11/23 23:32:17 joerg Exp $
-
---- pdns/communicator.cc.orig 2007-04-21 13:56:36.000000000 +0000
-+++ pdns/communicator.cc
-@@ -461,7 +461,7 @@ void CommunicatorClass::mainloop(void)
- Utility::sleep(1);
- exit(0);
- }
-- catch(exception &e) {
-+ catch(std::exception &e) {
- L<<Logger::Error<<"Communicator thread died because of STL error: "<<e.what()<<endl;
- exit(0);
- }
diff --git a/net/powerdns/patches/patch-pdns_misc.hh b/net/powerdns/patches/patch-pdns_misc.hh
deleted file mode 100644
index aadd138b795..00000000000
--- a/net/powerdns/patches/patch-pdns_misc.hh
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-pdns_misc.hh,v 1.1 2011/11/23 23:32:17 joerg Exp $
-
---- pdns/misc.hh.orig 2011-11-23 15:48:44.000000000 +0000
-+++ pdns/misc.hh
-@@ -19,6 +19,7 @@
- #ifndef MISC_HH
- #define MISC_HH
- #include <stdint.h>
-+#include <string.h>
-
- #if 0
- #define RDTSC(qp) \