ChangeLog

# 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.50 2008/05/07 19:27:47 swegener Exp $

07 May 2008; Sven Wegener pdns-2.9.21.ebuild:
Use . instead of -, that's what all our of init scripts use.

07 May 2008; Sven Wegener -pdns-2.9.20-r1.ebuild,
-pdns-2.9.20-r2.ebuild:
Cleanup.

02 May 2008; Markus Meier pdns-2.9.21.ebuild:
amd64/x86 stable, bug #219748

29 Apr 2008; Sven Wegener
+files/2.9.21-gcc-4.3.patch, pdns-2.9.21.ebuild:
Add patch to fix compilation with gcc-4.3, bug #219693.

01 Jan 2008; Sven Wegener pdns-2.9.21.ebuild:
Install development headers, bug #203393.

07 May 2007; Sven Wegener files/pdns:
Properly indent init script.

06 May 2007; Marius Mauch pdns-2.9.20-r1.ebuild,
pdns-2.9.20-r2.ebuild, pdns-2.9.21.ebuild:
Replacing einfo with elog

26 Apr 2007; Sven Wegener pdns-2.9.21.ebuild:
Add sqlite3 backend.

*pdns-2.9.21 (22 Apr 2007)

22 Apr 2007; Sven Wegener +pdns-2.9.21.ebuild:
Version bump.

12 Mar 2007; Sven Wegener files/pdns:
Remove bashisms from init script, bug #169636.

23 Nov 2006; Francesco Riosa pdns-2.9.20-r1.ebuild,
pdns-2.9.20-r2.ebuild:
dev-db/mysql => virtual/mysql

06 Nov 2006; Sven Wegener pdns-2.9.20-r2.ebuild:
Add support for the OpenDBX backend.

*pdns-2.9.20-r2 (15 Oct 2006)

15 Oct 2006; Sven Wegener +pdns-2.9.20-r2.ebuild:
Install modules into subdirectory.

27 Sep 2006; Sven Wegener
-files/2.9.18-ldap-fix.patch, -pdns-2.9.18.ebuild:
Cleanup.

27 Sep 2006; Simon Stelling pdns-2.9.20-r1.ebuild:
stable on amd64

15 Aug 2006; Sven Wegener files/pdns:
Convert the init script from myservice to SVCNAME and allow . and - as
separator in multiple instances mode.

11 Jul 2006; Joshua Jackson pdns-2.9.20-r1.ebuild:
Stable x86 ;bug #136288

09 Jul 2006; Sven Wegener
-files/2.9.19-ldap-fix.patch, -files/2.9.19-slash-support.patch,
-pdns-2.9.19-r2.ebuild, -pdns-2.9.20.ebuild:
Cleanup.

*pdns-2.9.20-r1 (18 Jun 2006)

18 Jun 2006; Sven Wegener +pdns-2.9.20-r1.ebuild:
Revision bump, without the included recursor component. Use
net-dns/pdns-recursor from now on.

01 Jun 2006; Sven Wegener
+files/2.9.20-ldap-deprecated.patch, pdns-2.9.20.ebuild:
Include patch to make pdns work with openldap-2.3, thanks to Dean Baender in
bug #130684.

30 Apr 2006; Sven Wegener files/pdns,
files/precursor, files/recursor.conf, pdns-2.9.18.ebuild,
pdns-2.9.19-r2.ebuild, pdns-2.9.20.ebuild:
Add a blocker on the split out recursor.

27 Apr 2006; Alec Warner files/digest-pdns-2.9.18,
Manifest:
Fixing SHA256 digest, pass four

06 Apr 2006; Sven Wegener pdns-2.9.20.ebuild:
Change the configure logic, we can pass the lib and include paths without
bothering about USE flags.

01 Apr 2006; Francesco Riosa pdns-2.9.20.ebuild:
Tell to powerdns where to look for libraryes, on 64 bit system with multilib
disabled it was always looking in /lib thus founding nothing (for some reason
the symlink /lib /lib64 isn't enough).
Drawback of this approach is that it will always look in hardcoded gentoo
default directory, excluding user installed mysql, postgree, sqlite
in /usr/local or /opt.

*pdns-2.9.20 (17 Mar 2006)

17 Mar 2006; Sven Wegener +pdns-2.9.20.ebuild:
Version bump.

*pdns-2.9.19-r2 (01 Mar 2006)

01 Mar 2006; Sven Wegener
+files/2.9.19-slash-support.patch, -pdns-2.9.19.ebuild,
-pdns-2.9.19-r1.ebuild, +pdns-2.9.19-r2.ebuild:
Revision bump. Pull in a patch to support the / character in in-addr.arpa
delegation, patch from upstream, notification by sargun dhillon
in bug #124481.

*pdns-2.9.19-r1 (20 Jan 2006)

20 Jan 2006; Wolfram Schlich files/pdns,
+pdns-2.9.19-r1.ebuild:
add monitor and dump opts to init script, make config files go into
/etc/powerdns, add pdns user+group

30 Oct 2005; Sven Wegener
+files/2.9.19-ldap-fix.patch, pdns-2.9.19.ebuild:
Fix ldap includes.

*pdns-2.9.19 (29 Oct 2005)

29 Oct 2005; Sven Wegener +pdns-2.9.19.ebuild:
Version bump.

30 Jul 2005; Sven Wegener
-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 pdns-2.9.18.ebuild:
Marked stable on amd64.

20 Jul 2005; Sven Wegener
+files/2.9.18-ldap-fix.patch, pdns-2.9.18.ebuild:
Added small patch from upstream that fixes ldap compilation.

18 Jul 2005; Sven Wegener pdns-2.9.18.ebuild:
Marked stable on x86, security bug #99352.

17 Jul 2005; Sven Wegener
+files/2.9.18-default-mysql-options.patch, pdns-2.9.18.ebuild:
Added a small patch that makes pdns load the default mysql options from my.cnf.

*pdns-2.9.18 (17 Jul 2005)

17 Jul 2005; Sven Wegener files/pdns,
+files/precursor, +files/recursor.conf, metadata.xml, +pdns-2.9.18.ebuild:
Version bump. Added support for the recursor component, bug #59862. Added
multiple instances support, thanks to Christian Zoffoli in bug #80322.
Enabled the sqlite backend, bug #91325.

05 May 2005; Seemant Kulleen -pdns-2.9.8.ebuild,
-pdns-2.9.12.ebuild, -pdns-2.9.12-r1.ebuild, -pdns-2.9.15.ebuild,
-pdns-2.9.16.ebuild:
removed old crusty ebuilds

12 Feb 2005; Jared Hudson
+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 pdns-2.9.16.ebuild:
added ~amd64 to KEYWORDS. fixes #78838

01 Jul 2004; Jeremy Huddleston
pdns-2.9.12-r1.ebuild, pdns-2.9.12.ebuild, pdns-2.9.15.ebuild,
pdns-2.9.16.ebuild, pdns-2.9.8.ebuild:
virtual/glibc -> virtual/libc

26 Apr 2004; Aron Griffis pdns-2.9.12.ebuild,
pdns-2.9.8.ebuild:
Add die following econf for bug 48950

*pdns-2.9.16 (10 Mar 2004)

10 Mar 2004; Jared Hudson pdns-2.9.16.ebuild:
Added pdns-2.9.16 thanks to bug #43240

10 Mar 2004; Jared Hudson pdns-2.9.12-r1.ebuild,
pdns-2.9.15.ebuild:
Marking as stable

*pdns-2.9.15 (19 Jan 2004)

19 Jan 2004; Jared Hudson : Version bump.

17 Jan 2004; Michael Sterrett pdns-2.9.12-r1.ebuild:
dev-libs/libpq++ -> dev-cpp/libpqpp

03 Jan 2004; pdns-2.9.12-r1.ebuild:
Added LDAP support flag. Thanks to Lars Kneschke - closes bug
#36881.

*pdns-2.9.12-r1 (14 Dec 2003)

14 Dec 2003; Jared Hudson : Postgresql support added
via use variable thanks to Rafal Rzepecki

*pdns-2.9.12 (30 Oct 2003)

30 Oct 2003; Jared Hudson : Version bump.

06 Aug 2003; Jared Hudson : Fixed bug where pdns would
not build with USE=-mysql, if mysql was not installed. Thanks to
mi-g2bug@imarko.dhs.org (Bug id #23506) for the fix.

*pdns-2.9.8 (04 Jun 2003)

04 Jun 2003; Jared Hudson : Initial import.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX 2.9.18-default-mysql-options.patch 606 RMD160 bfc5e2aeee2bc3e01a62a430b087e7ca5742a85b SHA1 d265706bb723f1a878a65c7c0db59a88e67f0816 SHA256 228a6c42a11a2eab82b68f8c04d5881f8be39746010675feba7ebf16add18151
AUX 2.9.20-ldap-deprecated.patch 457 RMD160 edcb367abfc83853e4739cc6646ca593ae7d5e9e SHA1 858cfe5e7169329f13dfb547c5ae8ff436eff64f SHA256 862728373669f7ea5544de7021c394cc0efa3ff5c65551d6657dad85cb654097
AUX 2.9.21-gcc-4.3.patch 4762 RMD160 08fe799699d103b6aa422e00993fcd80789d0317 SHA1 4baa3ce459b88a7dbbb422291f04cfb0aabc58ca SHA256 a3f8f35f9403216de7e596eb3f6248ed148cee85bef44d6f40020b9f52a79e57
AUX pdns 1253 RMD160 f576dd3edda7b22155ebc2cb8c060459ba871471 SHA1 174beeed51f22fbe35f883b22465a94f6c569d85 SHA256 d4b1e4ae4330c8572ed8a9b16d3a1524d62f1380f22f33ba581aaf9599e44113
DIST pdns-2.9.21.tar.gz 991071 RMD160 ed53de20a4e660ab2537b3c888b0a85225764a51 SHA1 2b86e4b44ef43db308c62e32b10ed0d5221a45c9 SHA256 4b24db683ba2217caa1edf54545841dcdfa6fd27b66017577d8b0dd54f8e7ed5
EBUILD pdns-2.9.21.ebuild 2932 RMD160 c0b106619c5c605a105b28e53920f342efe58247 SHA1 d4cf0684bd76dc99717f6d48aec2a9e1731b385c SHA256 da5976d26fa194d42f5560d7f76ed567f383e6da30a27f3988db4f4b56ca2c79
MISC ChangeLog 7891 RMD160 9dfcbd3ba119ab945e53d3042711e33a9c4533d5 SHA1 9ebad940ef7fc2db556e07523cd28e4dccc98f43 SHA256 5743e5393b9a01ba0f81d2a7ea39dc81fe30481099ae7e96e1a7bf684d2cf504
MISC metadata.xml 573 RMD160 74995a273e6513bb6689ec0ad74bf5b0b0fdf5c1 SHA1 01c4329b63991b54af3559d2220251520cb7147a SHA256 26a6150230ca87a16d882d1cdac565a040e75e7bf02ee9348688569924e1bfc3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFIIgK5I1lqEGTUzyQRAgHNAKCcK6Tj06j81RaE4TuE7PDrGcUMLQCggO8s
R0qVdkXAGpxeOKfqc7pZf4w=
=He7B
-----END PGP SIGNATURE-----

files

metadata.xml




no-herd

swegener@gentoo.org
Sven Wegener
Primary Maintainer


The PowerDNS Nameserver is a modern, advanced and high performance authoritative-
only nameserver. It is written from scratch and conforms to all relevant DNS
standards documents. Furthermore, PowerDNS interfaces with almost any database.

pdns-2.9.21.ebuild

# 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. and PowerDNS will use the"
elog "/etc/powerdns/pdns-.conf configuration file instead of the default."
elog
}