summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-07-30 00:02:40 +0000
committerSven Wegener <swegener@gentoo.org>2005-07-30 00:02:40 +0000
commit6a6c10c1c984bafe48c4c74199516580635ae80f (patch)
tree229a9d20bb9ecddb151f22cfb21b64736de25961 /net-dns
parentremoved die from epatch || die. (diff)
downloadgentoo-2-6a6c10c1c984bafe48c4c74199516580635ae80f.tar.gz
gentoo-2-6a6c10c1c984bafe48c4c74199516580635ae80f.tar.bz2
gentoo-2-6a6c10c1c984bafe48c4c74199516580635ae80f.zip
Added --with-pgsql-includes=/usr/include for older postgresql versions. Removed old ebuild.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns/ChangeLog8
-rw-r--r--net-dns/pdns/files/digest-pdns-2.9.171
-rw-r--r--net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff42
-rw-r--r--net-dns/pdns/pdns-2.9.17.ebuild52
-rw-r--r--net-dns/pdns/pdns-2.9.18.ebuild3
5 files changed, 9 insertions, 97 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index bced9efa6638..bf848ac8ee13 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,12 @@
# 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.20 2005/07/22 15:48:36 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.21 2005/07/30 00:02:40 swegener Exp $
+
+ 30 Jul 2005; Sven Wegener <swegener@gentoo.org>
+ -files/pdns-2.9.17-amd64-fix.diff, -pdns-2.9.17.ebuild,
+ pdns-2.9.18.ebuild:
+ Added --with-pgsql-includes=/usr/include for older postgresql versions.
+ Removed old ebuild.
22 Jul 2005; Danny van Dyk <kugelfang@gentoo.org> pdns-2.9.18.ebuild:
Marked stable on amd64.
diff --git a/net-dns/pdns/files/digest-pdns-2.9.17 b/net-dns/pdns/files/digest-pdns-2.9.17
deleted file mode 100644
index 3d129e600343..000000000000
--- a/net-dns/pdns/files/digest-pdns-2.9.17
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index 18a247eea6e3..000000000000
--- a/net-dns/pdns/files/pdns-2.9.17-amd64-fix.diff
+++ /dev/null
@@ -1,42 +0,0 @@
-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
deleted file mode 100644
index a68f01333382..000000000000
--- a/net-dns/pdns/pdns-2.9.17.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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
-}
diff --git a/net-dns/pdns/pdns-2.9.18.ebuild b/net-dns/pdns/pdns-2.9.18.ebuild
index 3c38f4def7f7..7d711cd82cdb 100644
--- a/net-dns/pdns/pdns-2.9.18.ebuild
+++ b/net-dns/pdns/pdns-2.9.18.ebuild
@@ -1,6 +1,6 @@
# 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.18.ebuild,v 1.6 2005/07/22 15:48:36 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.18.ebuild,v 1.7 2005/07/30 00:02:40 swegener Exp $
inherit eutils
@@ -45,6 +45,7 @@ src_compile() {
econf \
--with-modules= \
--with-dynmodules="${modules}" \
+ --with-pgsql-includes=/usr/include \
$(use_enable static static-binaries) \
$(use_enable recursor) \
${myconf} \