diff options
author | Sven Wegener <swegener@gentoo.org> | 2008-05-07 18:46:10 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2008-05-07 18:46:10 +0000 |
commit | 068c9b276d1ea37048c1fa5789255829e0722757 (patch) | |
tree | 9d4cf6dad42c7c3d0f3eee5effe1f09223334ed2 /net-dns/pdns | |
parent | Cleanup. (diff) | |
download | gentoo-2-068c9b276d1ea37048c1fa5789255829e0722757.tar.gz gentoo-2-068c9b276d1ea37048c1fa5789255829e0722757.tar.bz2 gentoo-2-068c9b276d1ea37048c1fa5789255829e0722757.zip |
Cleanup.
(Portage version: 2.1.5_rc7)
Diffstat (limited to 'net-dns/pdns')
-rw-r--r-- | net-dns/pdns/ChangeLog | 6 | ||||
-rw-r--r-- | net-dns/pdns/pdns-2.9.20-r1.ebuild | 104 | ||||
-rw-r--r-- | net-dns/pdns/pdns-2.9.20-r2.ebuild | 101 |
3 files changed, 5 insertions, 206 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog index 0187d44be191..2bf45325d292 100644 --- a/net-dns/pdns/ChangeLog +++ b/net-dns/pdns/ChangeLog @@ -1,6 +1,10 @@ # 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.48 2008/05/02 10:24:54 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.49 2008/05/07 18:46:10 swegener Exp $ + + 07 May 2008; Sven Wegener <swegener@gentoo.org> -pdns-2.9.20-r1.ebuild, + -pdns-2.9.20-r2.ebuild: + Cleanup. 02 May 2008; Markus Meier <maekke@gentoo.org> pdns-2.9.21.ebuild: amd64/x86 stable, bug #219748 diff --git a/net-dns/pdns/pdns-2.9.20-r1.ebuild b/net-dns/pdns/pdns-2.9.20-r1.ebuild deleted file mode 100644 index 9ef22657879d..000000000000 --- a/net-dns/pdns/pdns-2.9.20-r1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.20-r1.ebuild,v 1.6 2007/05/06 09:16:12 genone 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 static tdb" - -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* ) - 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 - - eautoreconf -} - -src_compile() { - local modules="pipe geo" myconf="" - - use mysql && modules="${modules} gmysql" - use postgres && modules="${modules} gpgsql" - use sqlite && modules="${modules} gsqlite" - use ldap && modules="${modules} ldap" - use tdb && modules="${modules} xdb" - use debug && myconf="${myconf} --enable-verbose-logging" - - econf \ - --sysconfdir=/etc/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) \ - $(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 - - dodoc ChangeLog README TODO - use doc && dohtml -r codedocs/html/. -} - -pkg_preinst() { - enewgroup pdns - enewuser pdns -1 -1 /var/empty pdns -} - -pkg_postinst() { - ewarn - ewarn "ATTENTION: The config files have moved from /etc to /etc/powerdns!" - ewarn - ewarn "ATTENTION: The recursor component has been split out to net-dns/pdns-recursor!" - ewarn - elog - elog "pdns now 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 - elog "Also all backends, except the bind and random backends, are now compiled as" - elog "loadable modules and must be loaded with load-modules= in the configuration" - elog "file." - elog -} diff --git a/net-dns/pdns/pdns-2.9.20-r2.ebuild b/net-dns/pdns/pdns-2.9.20-r2.ebuild deleted file mode 100644 index 31add4821c5c..000000000000 --- a/net-dns/pdns/pdns-2.9.20-r2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.20-r2.ebuild,v 1.5 2007/05/06 09:16:12 genone 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 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* ) - 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 - - eautoreconf -} - -src_compile() { - local modules="pipe geo" myconf="" - - use mysql && modules="${modules} gmysql" - use postgres && modules="${modules} gpgsql" - use sqlite && modules="${modules} gsqlite" - 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) \ - $(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/. -} - -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 -} |