summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dns/pdns-recursor/ChangeLog6
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-3.1.5.ebuild49
-rw-r--r--net-dns/pdns/ChangeLog5
-rw-r--r--net-dns/pdns/pdns-2.9.21.ebuild111
4 files changed, 9 insertions, 162 deletions
diff --git a/net-dns/pdns-recursor/ChangeLog b/net-dns/pdns-recursor/ChangeLog
index 8561e32a4753..4947105e879a 100644
--- a/net-dns/pdns-recursor/ChangeLog
+++ b/net-dns/pdns-recursor/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/pdns-recursor
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.23 2008/08/04 19:03:18 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.24 2008/09/04 10:52:51 swegener Exp $
+
+ 04 Sep 2008; Sven Wegener <swegener@gentoo.org>
+ -pdns-recursor-3.1.5.ebuild:
+ Cleanup.
04 Aug 2008; Markus Meier <maekke@gentoo.org> pdns-recursor-3.1.6.ebuild:
amd64 stable, bug #231335
diff --git a/net-dns/pdns-recursor/pdns-recursor-3.1.5.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.1.5.ebuild
deleted file mode 100644
index 0f04bc78cded..000000000000
--- a/net-dns/pdns-recursor/pdns-recursor-3.1.5.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.5.ebuild,v 1.3 2008/04/06 23:34:25 swegener Exp $
-
-inherit toolchain-funcs flag-o-matic
-
-DESCRIPTION="The PowerDNS Recursor"
-HOMEPAGE="http://www.powerdns.com/"
-SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=">=dev-libs/boost-1.33.1"
-RDEPEND="${DEPEND}
- !<net-dns/pdns-2.9.20-r1"
-
-src_unpack() {
- unpack ${A}
-
- sed -i -e s:/var/run/:/var/lib/powerdns: "${S}"/config.h || die
-}
-
-src_compile() {
- filter-flags -ftree-vectorize
-
- emake \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- CFLAGS="${CFLAGS}" \
- CXXFLAGS="${CXXFLAGS}" \
- || die "emake failed"
-}
-
-src_install() {
- dosbin pdns_recursor rec_control || die "dosbin failed"
- doman pdns_recursor.1 rec_control.1 || die "doman failed"
-
- insinto /etc/powerdns
- doins "${FILESDIR}"/recursor.conf || die "doins failed"
-
- doinitd "${FILESDIR}"/precursor || die "doinitd failed"
-
- # Pretty ugly, uh?
- dodir /var/lib/powerdns/var/lib
- dosym ../.. /var/lib/powerdns/var/lib/powerdns
-}
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index ce3a92437c57..6df754d0d9df 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/pdns
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.54 2008/09/04 10:28:11 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.55 2008/09/04 10:51:37 swegener Exp $
+
+ 04 Sep 2008; Sven Wegener <swegener@gentoo.org> -pdns-2.9.21.ebuild:
+ Cleanup.
04 Sep 2008; Sven Wegener <swegener@gentoo.org> Manifest:
Redigest 2.9.21.1, upstream updated the tarball, bug #236604.
diff --git a/net-dns/pdns/pdns-2.9.21.ebuild b/net-dns/pdns/pdns-2.9.21.ebuild
deleted file mode 100644
index a8fe02ec1e25..000000000000
--- a/net-dns/pdns/pdns-2.9.21.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.21.ebuild,v 1.7 2008/05/07 19:27:47 swegener Exp $
-
-inherit multilib eutils autotools
-
-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="amd64 x86"
-IUSE="debug doc ldap mysql postgres sqlite sqlite3 static tdb opendbx"
-
-DEPEND="mysql? ( virtual/mysql )
- postgres? ( >=dev-cpp/libpqpp-4.0-r1 )
- ldap? ( >=net-nds/openldap-2.0.27-r4 )
- sqlite? ( =dev-db/sqlite-2.8* )
- sqlite3? ( =dev-db/sqlite-3* )
- opendbx? ( dev-db/opendbx )
- tdb? ( dev-libs/tdb )
- >=dev-libs/boost-1.31"
-
-RDEPEND="${DEPEND}"
-
-DEPEND="${DEPEND}
- doc? ( app-doc/doxygen )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/2.9.18-default-mysql-options.patch
- epatch "${FILESDIR}"/2.9.20-ldap-deprecated.patch
- epatch "${FILESDIR}"/2.9.21-gcc-4.3.patch
-
- eautoreconf
-}
-
-src_compile() {
- local modules="pipe geo" myconf=""
-
- use mysql && modules="${modules} gmysql"
- use postgres && modules="${modules} gpgsql"
- use sqlite && modules="${modules} gsqlite"
- use sqlite3 && modules="${modules} gsqlite3"
- use opendbx && modules="${modules} opendbx"
- use ldap && modules="${modules} ldap"
- use tdb && modules="${modules} xdb"
- use debug && myconf="${myconf} --enable-verbose-logging"
-
- econf \
- --sysconfdir=/etc/powerdns \
- --libdir=/usr/$(get_libdir)/powerdns \
- --disable-recursor \
- --with-modules= \
- --with-dynmodules="${modules}" \
- --with-pgsql-includes=/usr/include \
- --with-pgsql-lib=/usr/$(get_libdir) \
- --with-mysql-lib=/usr/$(get_libdir) \
- --with-sqlite-lib=/usr/$(get_libdir) \
- --with-sqlite3-lib=/usr/$(get_libdir) \
- $(use_enable static static-binaries) \
- ${myconf} \
- || die "econf failed"
- emake -j1 || die "emake failed"
-
- if use doc
- then
- emake -C codedocs codedocs || die "emake codedocs failed"
- fi
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
-
- mv "${D}"/etc/powerdns/pdns.conf{-dist,}
-
- # set defaults: setuid=pdns, setgid=pdns
- sed -i \
- -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
- "${D}"/etc/powerdns/pdns.conf
-
- doinitd "${FILESDIR}"/pdns
-
- keepdir /var/empty
-
- dodoc ChangeLog README TODO
- use doc && dohtml -r codedocs/html/.
-
- # Install development headers
- insinto /usr/include/pdns
- doins pdns/*.hh
- insinto /usr/include/pdns/backends/gsql
- doins pdns/backends/gsql/*.hh
-}
-
-pkg_preinst() {
- enewgroup pdns
- enewuser pdns -1 -1 /var/empty pdns
-}
-
-pkg_postinst() {
- elog
- elog "PowerDNS provides multiple instances support. You can create more instances"
- elog "by symlinking the pdns init script to another name."
- elog
- elog "The name must be in the format pdns.<suffix> and PowerDNS will use the"
- elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
- elog
-}