diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2005-02-12 11:35:41 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2005-02-12 11:35:41 +0000 |
commit | e1fb6b1c50fe43c3c7490d366cca14848235d7a4 (patch) | |
tree | 5998c1aa203f2a9dd10b70b02b2916a193c6dfb6 /net-dns | |
parent | Added 2.12.1pre ebuild. (diff) | |
download | historical-e1fb6b1c50fe43c3c7490d366cca14848235d7a4.tar.gz historical-e1fb6b1c50fe43c3c7490d366cca14848235d7a4.tar.bz2 historical-e1fb6b1c50fe43c3c7490d366cca14848235d7a4.zip |
Bumped pdns to 2.9.17 and marked stable due to DOS vulnerability reported in bug #80713
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdns/ChangeLog | 6 | ||||
-rw-r--r-- | net-dns/pdns/Manifest | 17 | ||||
-rw-r--r-- | net-dns/pdns/files/digest-pdns-2.9.17 | 1 | ||||
-rw-r--r-- | net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff | 42 | ||||
-rw-r--r-- | net-dns/pdns/pdns-2.9.17.ebuild | 52 |
5 files changed, 110 insertions, 8 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog index cdf4d7515a2d..85be6e7115f4 100644 --- a/net-dns/pdns/ChangeLog +++ b/net-dns/pdns/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dns/pdns # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.13 2005/01/22 12:04:50 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.14 2005/02/12 11:35:41 jhhudso Exp $ + + 12 Feb 2005; Jared Hudson <jhhudso@gentoo.org> + +files/pdns-2.9.17-amd64-fix.diff: + Bumped pdns to 2.9.17 and marked stable due to DOS vulnerability reported in bug #80713 22 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> pdns-2.9.16.ebuild: added ~amd64 to KEYWORDS. fixes #78838 diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest index da07928493e1..8d2d79a7c928 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -1,13 +1,16 @@ -MD5 08f1dda025dd665367e2d6d39e73a704 pdns-2.9.16.ebuild 1212 +MD5 47031694be95a97a17ed32bdeda829db ChangeLog 1990 +MD5 f71c33d3646cab7f4e79b40dafba3737 metadata.xml 251 MD5 c139f425cef2da041e0ed63e9b63d155 pdns-2.9.12-r1.ebuild 1207 -MD5 66d580c4750810286a8a2f8ed497efe2 pdns-2.9.8.ebuild 964 -MD5 9e62c78e89002f33ed5bc2892db92eee pdns-2.9.15.ebuild 1204 MD5 999a746aab73298f75d26bc762bab948 pdns-2.9.12.ebuild 965 -MD5 2ddc17b2e53d2b95fa2c6354ef07745f ChangeLog 1815 -MD5 f71c33d3646cab7f4e79b40dafba3737 metadata.xml 251 -MD5 410f79d6f2de7a7e1ce8eeb5d87356df files/pdns 514 +MD5 9e62c78e89002f33ed5bc2892db92eee pdns-2.9.15.ebuild 1204 +MD5 08f1dda025dd665367e2d6d39e73a704 pdns-2.9.16.ebuild 1212 +MD5 66d580c4750810286a8a2f8ed497efe2 pdns-2.9.8.ebuild 964 +MD5 172c916f2af3e12be9af6f65bc4ab881 pdns-2.9.17.ebuild 1313 MD5 0dfd77947e929c57e09b695e6c9aa4a5 files/digest-pdns-2.9.12 63 +MD5 0dfd77947e929c57e09b695e6c9aa4a5 files/digest-pdns-2.9.12-r1 63 MD5 2737254767420d95c7794d890b5c4841 files/digest-pdns-2.9.15 63 MD5 27d16e8d7953f93a15ab42096762a61d files/digest-pdns-2.9.16 63 MD5 edc11ac6841533c59818f2c1fb9f2a01 files/digest-pdns-2.9.8 62 -MD5 0dfd77947e929c57e09b695e6c9aa4a5 files/digest-pdns-2.9.12-r1 63 +MD5 410f79d6f2de7a7e1ce8eeb5d87356df files/pdns 514 +MD5 62a8267bd54fd7edf57908299088c96a files/digest-pdns-2.9.17 63 +MD5 2d29230247ff445cea2a20fbdd25a219 files/pdns-2.9.17-amd64-fix.diff 1155 diff --git a/net-dns/pdns/files/digest-pdns-2.9.17 b/net-dns/pdns/files/digest-pdns-2.9.17 new file mode 100644 index 000000000000..3d129e600343 --- /dev/null +++ b/net-dns/pdns/files/digest-pdns-2.9.17 @@ -0,0 +1 @@ +MD5 92489391182dc40012f1de7b2005ea93 pdns-2.9.17.tar.gz 782592 diff --git a/net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff b/net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff new file mode 100644 index 000000000000..18a247eea6e3 --- /dev/null +++ b/net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff @@ -0,0 +1,42 @@ +diff -ur pdns-2.9.17.orig/pdns/logger.cc pdns-2.9.17/pdns/logger.cc +--- pdns-2.9.17.orig/pdns/logger.cc 2004-09-13 13:55:07.000000000 -0500 ++++ pdns-2.9.17/pdns/logger.cc 2005-02-12 04:01:13.828334456 -0600 +@@ -131,6 +131,25 @@ + return *this; + } + ++Logger& Logger::operator<<(unsigned long i) ++{ ++ ostringstream tmp; ++ tmp<<i; ++ ++ *this<<tmp.str(); ++ ++ return *this; ++} ++ ++Logger& Logger::operator<<(long i) ++{ ++ ostringstream tmp; ++ tmp<<i; ++ ++ *this<<tmp.str(); ++ ++ return *this; ++} + + Logger& Logger::operator<<(ostream & (&)(ostream &)) + { +diff -ur pdns-2.9.17.orig/pdns/logger.hh pdns-2.9.17/pdns/logger.hh +--- pdns-2.9.17.orig/pdns/logger.hh 2004-09-13 13:54:44.000000000 -0500 ++++ pdns-2.9.17/pdns/logger.hh 2005-02-12 04:02:32.779332080 -0600 +@@ -110,7 +110,9 @@ + */ + Logger& operator<<(const string &s); //!< log a string + Logger& operator<<(int); //!< log an int ++ Logger& operator<<(long); //!< log an long + Logger& operator<<(unsigned int); //!< log an unsigned int ++ Logger& operator<<(unsigned long); //!< log an unsigned long + Logger& operator<<(Urgency); //!< set the urgency, << style + + #ifndef WIN32 diff --git a/net-dns/pdns/pdns-2.9.17.ebuild b/net-dns/pdns/pdns-2.9.17.ebuild new file mode 100644 index 000000000000..a68f01333382 --- /dev/null +++ b/net-dns/pdns/pdns-2.9.17.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.17.ebuild,v 1.1 2005/02/12 11:35:41 jhhudso Exp $ + +inherit eutils + +DESCRIPTION="The PowerDNS Daemon." +SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.gz" +HOMEPAGE="http://www.powerdns.com/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="mysql postgres static ldap" + +DEPEND="virtual/libc + mysql? ( >=dev-db/mysql-3.23.54a ) + postgres? ( >=dev-cpp/libpqpp-4.0-r1 ) + ldap? ( >=net-nds/openldap-2.0.27-r4 )" + +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} && cd ${S} + epatch ${FILESDIR}/pdns-2.9.17-amd64-fix.diff +} + +src_compile() { + local myconf="" + local modules="" + + use static && myconf="$myconf --enable-static-binaries" + use postgres && myconf="$myconf --with-pgsql-includes=/usr/include" + + use mysql && modules="gmysql $modules" + use postgres && modules="gpgsql $modules" + use ldap && modules="ldap $modules" + + econf --with-modules="$modules" \ + $myconf || die "Configuration failed" + + emake || die "Make failed" +} + +src_install () { + make DESTDIR=${D} install || die + dodoc ChangeLog HACKING INSTALL README TODO WARNING pdns/COPYING + + exeinto /etc/init.d + doexe ${FILESDIR}/pdns + + mv ${D}/etc/pdns.conf-dist ${D}/etc/pdns.conf +} |