head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.4 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.2 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.4.0.2 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.3.0.26 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.24 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.22 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.20 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.18 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.16 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.14 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.12 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.10 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.8 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.6 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.4 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.2 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.2.0.4 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.2; locks; strict; comment @# @; 1.5 date 2012.01.13.12.12.48; author ghen; state dead; branches; next 1.4; 1.4 date 2011.11.23.23.32.17; author joerg; state Exp; branches 1.4.2.1; next 1.3; 1.3 date 2008.09.18.13.04.30; author joerg; state Exp; branches; next 1.2; 1.2 date 2008.08.11.14.38.33; author ghen; state dead; branches 1.2.2.1; next 1.1; 1.1 date 2008.08.11.13.59.48; author ghen; state Exp; branches; next ; 1.4.2.1 date 2012.01.13.14.03.32; author tron; state dead; branches; next ; 1.2.2.1 date 2008.08.11.14.38.33; author rtr; state dead; branches; next 1.2.2.2; 1.2.2.2 date 2008.08.12.11.46.49; author rtr; state Exp; branches; next ; desc @@ 1.5 log @Upgrade to PowerDNS 2.9.22.5, including a fix for CVE-2012-0206. @ text @$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<name<<"' from file '"<filename<<"': "<d_name<<"' from file '"<d_filename<<"': "<d_status=msg.str(); } - catch(exception &ae) { + catch(std::exception &ae) { ostringstream msg; msg<<" error at "+nowTime()+" parsing '"<d_name<<"' from file '"<d_filename<<"': "<d_status=msg.str(); @ 1.4 log @Fix build with newer GCC @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2008/09/18 13:04:30 joerg Exp $ @ 1.4.2.1 log @Pullup ticket #3650 - requested by ghen net/powerdns: security update net/powerdns-ldap: security update net/powerdns-mysql: security update net/powerdns-pgsql: security update net/powerdns-sqlite: security update Revisions pulled up: - net/powerdns-ldap/Makefile 1.7 - net/powerdns-mysql/Makefile 1.7 - net/powerdns-pgsql/Makefile 1.9 - net/powerdns/Makefile.common 1.6 - net/powerdns/distinfo 1.9 - net/powerdns/patches/patch-aa 1.3 - net/powerdns/patches/patch-ac deleted - net/powerdns/patches/patch-ad deleted - net/powerdns/patches/patch-ae deleted - net/powerdns/patches/patch-af deleted - net/powerdns/patches/patch-ag deleted - net/powerdns/patches/patch-ah deleted - net/powerdns/patches/patch-pdns_misc.hh deleted --- Module Name: pkgsrc Committed By: ghen Date: Fri Jan 13 12:12:49 UTC 2012 Modified Files: pkgsrc/net/powerdns: Makefile.common distinfo pkgsrc/net/powerdns-ldap: Makefile pkgsrc/net/powerdns-mysql: Makefile pkgsrc/net/powerdns-pgsql: Makefile pkgsrc/net/powerdns/patches: patch-aa Removed Files: pkgsrc/net/powerdns/patches: patch-ac patch-ad patch-ae patch-af patch-ag patch-ah patch-pdns_misc.hh Log Message: Upgrade to PowerDNS 2.9.22.5, including a fix for CVE-2012-0206. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2011/11/23 23:32:17 joerg Exp $ @ 1.3 log @Add some required explicit scopes to fix ambiguity errors on NetBSD/current. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- pdns/backends/bind/bindbackend2.cc.orig 2008-09-18 14:20:43.000000000 +0200 @ 1.2 log @Upgrade PowerDNS to 2.9.21.1. This release contains the security patch for CVE-2008-3337 that we already had in patch-ac. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2008/08/11 13:59:48 ghen Exp $ d3 10 a12 7 Fix for CVE-2008-3337 taken from PowerDNS 2.9.21.1: return SERVFAIL to mailformed queries instead of just dropping them (as this facilitates DNS spoofing attacks). --- pdns/packethandler.cc.orig 2007-04-21 15:56:36.000000000 +0200 +++ pdns/packethandler.cc @@@@ -576,9 +576,11 @@@@ DNSPacket *PacketHandler::questionOrRecu d14 9 a22 12 if(!validDNSName(p->qdomain)) { if(arg().mustDo("log-dns-details")) - L<getRemote()<<", '"<qdomain<<"': dropping"<getRemote()<<", '"<qdomain<<"': sending servfail"<replyPacket(); + r->setRcode(RCode::ServFail); + return r; } if(p->d.opcode) { // non-zero opcode (again thanks RA!) if(p->d.opcode==Opcode::Update) { @ 1.2.2.1 log @file patch-ac was added on branch pkgsrc-2008Q2 on 2008-08-12 11:46:49 +0000 @ text @d1 22 @ 1.2.2.2 log @pullup ticket #2476 - requested by ghen powerdns: security fix revisions pulled up: pkgsrc/net/powerdns/Makefile 1.4 pkgsrc/net/powerdns/distinfo 1.3 pkgsrc/net/powerdns/patches/patch-ac 1.1 Module Name: pkgsrc Committed By: ghen Date: Mon Aug 11 13:59:48 UTC 2008 Modified Files: pkgsrc/net/powerdns: Makefile distinfo Added Files: pkgsrc/net/powerdns/patches: patch-ac Log Message: Fix for CVE-2008-3337 taken from PowerDNS 2.9.21.1: return SERVFAIL to mailformed queries instead of just dropping them (as this facilitates DNS spoofing attacks). Bump PKGREVISION. @ text @a0 22 $NetBSD: patch-ac,v 1.1 2008/08/11 13:59:48 ghen Exp $ Fix for CVE-2008-3337 taken from PowerDNS 2.9.21.1: return SERVFAIL to mailformed queries instead of just dropping them (as this facilitates DNS spoofing attacks). --- pdns/packethandler.cc.orig 2007-04-21 15:56:36.000000000 +0200 +++ pdns/packethandler.cc @@@@ -576,9 +576,11 @@@@ DNSPacket *PacketHandler::questionOrRecu if(!validDNSName(p->qdomain)) { if(arg().mustDo("log-dns-details")) - L<getRemote()<<", '"<qdomain<<"': dropping"<getRemote()<<", '"<qdomain<<"': sending servfail"<replyPacket(); + r->setRcode(RCode::ServFail); + return r; } if(p->d.opcode) { // non-zero opcode (again thanks RA!) if(p->d.opcode==Opcode::Update) { @ 1.1 log @Fix for CVE-2008-3337 taken from PowerDNS 2.9.21.1: return SERVFAIL to mailformed queries instead of just dropping them (as this facilitates DNS spoofing attacks). Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @