diff options
author | Sven Wegener <swegener@gentoo.org> | 2011-07-23 22:26:16 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2011-07-23 22:26:16 +0000 |
commit | 2d5b92b2fb9d8a3fde8ce4c6bdb8b8f9daa9fbad (patch) | |
tree | 6f831535f0de327c6a76ecb7494102b0ade42c3c /net-dns | |
parent | Add sys-process/time dependency for tests. (diff) | |
download | historical-2d5b92b2fb9d8a3fde8ce4c6bdb8b8f9daa9fbad.tar.gz historical-2d5b92b2fb9d8a3fde8ce4c6bdb8b8f9daa9fbad.tar.bz2 historical-2d5b92b2fb9d8a3fde8ce4c6bdb8b8f9daa9fbad.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha46/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdns/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/pdns/Manifest | 12 | ||||
-rw-r--r-- | net-dns/pdns/pdns-3.0.ebuild | 99 |
3 files changed, 113 insertions, 7 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog index dbe7334ba75a..15e638557b2f 100644 --- a/net-dns/pdns/ChangeLog +++ b/net-dns/pdns/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/pdns -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.66 2010/11/08 22:43:29 swegener Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.67 2011/07/23 22:26:16 swegener Exp $ + +*pdns-3.0 (23 Jul 2011) + + 23 Jul 2011; Sven Wegener <swegener@gentoo.org> +pdns-3.0.ebuild: + Version bump. 08 Nov 2010; Sven Wegener <swegener@gentoo.org> pdns-2.9.22-r1.ebuild: Replace dev-cpp/libpqpp dependency with native postgresql client diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest index 6a867a7ed784..deae9f437431 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -5,13 +5,15 @@ AUX 2.9.18-default-mysql-options.patch 606 RMD160 bfc5e2aeee2bc3e01a62a430b087e7 AUX pdns 1253 RMD160 f576dd3edda7b22155ebc2cb8c060459ba871471 SHA1 174beeed51f22fbe35f883b22465a94f6c569d85 SHA256 d4b1e4ae4330c8572ed8a9b16d3a1524d62f1380f22f33ba581aaf9599e44113 AUX pdns-2.9.22-gcc44.patch 856 RMD160 3e477b236af42767aea3d55af4cb9f14cbca106d SHA1 0a206fee906f36eac630ad200a8d3866cd477a55 SHA256 1beba6a251e0c7a4a4d11dce41d2c5e9b809c3d32856aabce22225ebb02d3992 DIST pdns-2.9.22.tar.gz 1072257 RMD160 be9bff3edac0a9700eaf8ac30c77bfc8336b7d92 SHA1 2c0888c8252299c5a17dc69eec289e90c7e8f3ff SHA256 7c03da01c2cbd8bbe897180bc3bd50ca8cfaa63ada94dc6b29f7745b82e17525 +DIST pdns-3.0.tar.gz 1202795 RMD160 d4042f6711743f7b35439de313fe675d06354236 SHA1 d5de28ec125fa14deebc834d01a48922f9bac910 SHA256 a468b24b35c2595cc81119c3c8f2db4bd3566266431853e7d6be5930f692b0a2 EBUILD pdns-2.9.22-r1.ebuild 2747 RMD160 06a8f7f24526a695ee89c38de7a8bedbea13ced2 SHA1 0f3dbe384f3d482e87ca2065c017efaa134f0e5b SHA256 c34872aab77f9fba398645a407eeba1b0cd9bf2554ecffa0df454b0877ca8b2c -MISC ChangeLog 9882 RMD160 e9b4713d4ac8bc1d8afcfcb905faad8281b66c10 SHA1 1cf1e44f468204dc42fc3795ac97803186d29679 SHA256 92f3dbaf5634321267395a645021a9bd9f24e937ee7aeb03d31375d52fc912c3 +EBUILD pdns-3.0.ebuild 2590 RMD160 6f2a1aa7c8648d9656d1cb564248c4a788feccc1 SHA1 aa07bac8b9e39ae8cacf0abd7e98eda5e02ec8fc SHA256 fa38ae009604312cd709e3bc18e16d3250287ed72b1754f50a775b3e5b00e03e +MISC ChangeLog 9992 RMD160 d1dde8433026d7138b18521e31caefa4279a474c SHA1 b5b9f6f4ab28b0279407ae87f94892e7ae6484ef SHA256 c409b16803d9806e94647884f8c6771e3f2efa33b7af58b650e70d401e8b7c29 MISC metadata.xml 642 RMD160 2e3952ead3fb41058449c624d4dd3e1570909902 SHA1 c85a8704535cfaa547813f2b249f6298eb01883b SHA256 dcaf084b93e161fb39f7c21d321484b045b17b886406c3e780b2dbefc0364092 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAkzYfSMACgkQI1lqEGTUzyT0TACglWtqla6lGqQBevcBAHh+rRwS -Q8UAn2/ZSJZ+km8nIZBUycssxMg7r4AO -=zYTO +iEYEARECAAYFAk4rSpAACgkQI1lqEGTUzySz9ACfR1YKetUcz5Dl1NECJmL6jqOu +6awAnitguzEiW6DXyA4Dz0PTIw6UrG3T +=Laso -----END PGP SIGNATURE----- diff --git a/net-dns/pdns/pdns-3.0.ebuild b/net-dns/pdns/pdns-3.0.ebuild new file mode 100644 index 000000000000..2185b184c6cb --- /dev/null +++ b/net-dns/pdns/pdns-3.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-3.0.ebuild,v 1.1 2011/07/23 22:26:16 swegener Exp $ + +EAPI=2 +inherit eutils multilib + +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 opendbx" + +RDEPEND="mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql-base ) + ldap? ( >=net-nds/openldap-2.0.27-r4 ) + sqlite? ( =dev-db/sqlite-2.8* ) + sqlite3? ( =dev-db/sqlite-3* ) + opendbx? ( dev-db/opendbx ) + >=dev-libs/boost-1.31" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +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 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" +} + +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 +} |