diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-22 18:20:01 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-22 18:20:01 +0000 |
commit | 39ec9ddef4a0eba44f8f03e1f8d3171c0dadf571 (patch) | |
tree | f833f9cfd61fbc435b0b67737b73f76629c533ed /net-dns/pdns | |
parent | - keyword ~arm for vlc (diff) | |
download | gentoo-2-39ec9ddef4a0eba44f8f03e1f8d3171c0dadf571.tar.gz gentoo-2-39ec9ddef4a0eba44f8f03e1f8d3171c0dadf571.tar.bz2 gentoo-2-39ec9ddef4a0eba44f8f03e1f8d3171c0dadf571.zip |
amd64/x86 stable, old
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'net-dns/pdns')
-rw-r--r-- | net-dns/pdns/ChangeLog | 5 | ||||
-rw-r--r-- | net-dns/pdns/pdns-2.9.22-r1.ebuild | 8 | ||||
-rw-r--r-- | net-dns/pdns/pdns-2.9.22.ebuild | 112 |
3 files changed, 8 insertions, 117 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog index e5385b079b43..6ecc68da7581 100644 --- a/net-dns/pdns/ChangeLog +++ b/net-dns/pdns/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-dns/pdns # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.64 2009/07/06 20:00:15 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.65 2009/07/22 18:20:01 ssuominen Exp $ + + 22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> pdns-2.9.22-r1.ebuild: + amd64/x86 stable *pdns-2.9.22-r1 (06 Jul 2009) diff --git a/net-dns/pdns/pdns-2.9.22-r1.ebuild b/net-dns/pdns/pdns-2.9.22-r1.ebuild index 5c5292492774..3643fead5f35 100644 --- a/net-dns/pdns/pdns-2.9.22-r1.ebuild +++ b/net-dns/pdns/pdns-2.9.22-r1.ebuild @@ -1,17 +1,17 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.22-r1.ebuild,v 1.1 2009/07/06 20:00:15 ssuominen Exp $ - -EAPI="2" +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.22-r1.ebuild,v 1.2 2009/07/22 18:20:01 ssuominen Exp $ +EAPI=2 inherit multilib 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="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug doc ldap mysql postgres sqlite sqlite3 static opendbx" DEPEND="mysql? ( virtual/mysql ) diff --git a/net-dns/pdns/pdns-2.9.22.ebuild b/net-dns/pdns/pdns-2.9.22.ebuild deleted file mode 100644 index 92741f0e01e9..000000000000 --- a/net-dns/pdns/pdns-2.9.22.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.22.ebuild,v 1.3 2009/05/31 21:12:50 maekke Exp $ - -EAPI="2" - -inherit multilib 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="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() { - default - cd "${S}" - - epatch "${FILESDIR}"/2.9.18-default-mysql-options.patch -} - -src_configure() { - 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" -} - -src_compile() { - default - - 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 -} |