diff options
author | Sven Wegener <swegener@gentoo.org> | 2012-01-26 20:17:49 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2012-01-26 20:17:49 +0000 |
commit | c6ea00a55b3e58e2e7babcaca5c187b66a06ba0d (patch) | |
tree | 0541cb74f525ae59b2fcff53cb858c75f0355a3c /net-dns | |
parent | Version bump from upstream, includes a non-daemon mode (diff) | |
download | historical-c6ea00a55b3e58e2e7babcaca5c187b66a06ba0d.tar.gz historical-c6ea00a55b3e58e2e7babcaca5c187b66a06ba0d.tar.bz2 historical-c6ea00a55b3e58e2e7babcaca5c187b66a06ba0d.zip |
Bugfix bump for 2.9.22.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdns/ChangeLog | 7 | ||||
-rw-r--r-- | net-dns/pdns/Manifest | 16 | ||||
-rw-r--r-- | net-dns/pdns/pdns-2.9.22.6.ebuild | 107 |
3 files changed, 120 insertions, 10 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog index 3857edd2008b..9e8fbeed050c 100644 --- a/net-dns/pdns/ChangeLog +++ b/net-dns/pdns/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/pdns # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.76 2012/01/26 11:53:04 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.77 2012/01/26 20:17:49 swegener Exp $ + +*pdns-2.9.22.6 (26 Jan 2012) + + 26 Jan 2012; Sven Wegener <swegener@gentoo.org> +pdns-2.9.22.6.ebuild: + Bugfix bump for 2.9.22. 26 Jan 2012; Agostino Sarubbo <ago@gentoo.org> pdns-3.0.1.ebuild: Stable for AMD64, wrt security bug #398403 diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest index ae3250761ea0..f03e40acd3d6 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA1 AUX 2.9.18-default-mysql-options.patch 606 RMD160 bfc5e2aeee2bc3e01a62a430b087e7ca5742a85b SHA1 d265706bb723f1a878a65c7c0db59a88e67f0816 SHA256 228a6c42a11a2eab82b68f8c04d5881f8be39746010675feba7ebf16add18151 AUX pdns 1288 RMD160 9c8640f8a741a9943a0fc7eb00ac4dc4f747ae21 SHA1 7942dbaf04f1e42dda18c4d53ff7ee4663c186d2 SHA256 e616dd0ac4b955f74a4520cccee5e764945804e46564f1cde3464914d8104ed8 @@ -7,23 +7,21 @@ AUX pdns-2.9.22-gcc44.patch 856 RMD160 3e477b236af42767aea3d55af4cb9f14cbca106d AUX pdns-3.0-lua-config.patch 964 RMD160 34943feff5ecf18cd447e4f92eb84e4de9a7e5c9 SHA1 02f5a0b3da7a1f8d3b655f38478224807c2bd23c SHA256 8d79b7b71733aeb7de9d4d31a3f86bb8205dd1fbb955e6c1892ab84fe56fe720 AUX pdns-3.0-verbose-logging.patch 667 RMD160 2cec56ecd7f0e33e8b273de77eed53e0443bee83 SHA1 75d0b286a10475aae42a050199dd4994a9f89b0f SHA256 0ba17f63285e39136411d27b5f7943aa7fde32ce325718b96c59bf21d842a9e9 DIST pdns-2.9.22.5.tar.gz 1077617 RMD160 8be76a7a63c3366d55724815245e2f955ec0adda SHA1 7a514fe624c110afb8a262f4d76376d0f8e17bea SHA256 f85a18e8fec99b687854852738b04d32fca407bfd1198c681fc3c85dd6e83a07 +DIST pdns-2.9.22.6.tar.gz 1090648 RMD160 e0c6048e683eca8308336792db1628c17277d17a SHA1 608d5255b2989902fdc6048cd81bc07bc1305e3e SHA256 fdbbbc209363102d026f1a434bcf3459fa70026a78c3146c36fd1ed149242d0e DIST pdns-2.9.22.tar.gz 1072257 RMD160 be9bff3edac0a9700eaf8ac30c77bfc8336b7d92 SHA1 2c0888c8252299c5a17dc69eec289e90c7e8f3ff SHA256 7c03da01c2cbd8bbe897180bc3bd50ca8cfaa63ada94dc6b29f7745b82e17525 DIST pdns-3.0.1.tar.gz 1196471 RMD160 996fb9db4d94456d01df840c61c1500d40ea2b1e SHA1 88205f0fd80268113aadcc0a4cffd2dfd4b9df44 SHA256 922554431737b4a8126a8c4b5be3126eb8bf8ac2a086e3030d1cf4b3dfa7d1b9 DIST pdns-3.0.tar.gz 1202795 RMD160 d4042f6711743f7b35439de313fe675d06354236 SHA1 d5de28ec125fa14deebc834d01a48922f9bac910 SHA256 a468b24b35c2595cc81119c3c8f2db4bd3566266431853e7d6be5930f692b0a2 EBUILD pdns-2.9.22-r1.ebuild 2860 RMD160 ff7960ac0110cb67297792a5997ec0755af0b182 SHA1 67759ef4aa852aeb1e0ffe78b3f55a6057db3c19 SHA256 1891bdb4e6b2e12e77c9cd79c986ba279e6bc735ee527a44d996fb66abb4c9fd EBUILD pdns-2.9.22.5.ebuild 2826 RMD160 7adb80c5a8d901ea8c9f0575e7682e9067dd70da SHA1 6d5d82e2666394c8e03358058da0387317f02800 SHA256 2ac0b1309493ef5caa4182659a69f93eb2ea4b5b87034fd4eb40ae5ff0432640 +EBUILD pdns-2.9.22.6.ebuild 2826 RMD160 25948d9532e0bd88506ffd037328249ffc1c1e99 SHA1 b2498601aed640d5dae8be309655605dd02a156a SHA256 b65387ee667b402e9157a37bb3b6fd07e3cf553f34846f09b859e0aaad4f2185 EBUILD pdns-3.0.1.ebuild 2858 RMD160 f3fc24172f738b99b2d4c4e5e4a1b73d238c83b6 SHA1 637ca21792cc0267ba29849b885541be31fa4d2a SHA256 c5687598c03d59fb1818305c8805b403aa2b03c8cd8e6bb54a52320b84fc8da6 EBUILD pdns-3.0.ebuild 2858 RMD160 818f1f891d6f0ac7880298ce437e4a66d26d2e3b SHA1 fd0755091fdea2cde471a2bccc35366877a81e26 SHA256 3276b12690ea6ca2c42e76a43b589f3e9ae8cc171a219f582badafcbd68f1e87 -MISC ChangeLog 11550 RMD160 b649b326c9f08d8dc3d15d43e2e309ddf349fbfb SHA1 cc8fc74032a1e8e0f8b8b12ddede43f1d726707b SHA256 fc19d3f654e2ffb6a3fc6aee8b1efbfa4be522c8318a97c1d4c906c9d717b789 +MISC ChangeLog 11685 RMD160 e997f0f383b12a318bf47e25970288eb57056055 SHA1 56f019c3191eabc0f91cda759f943640ad74c3e3 SHA256 63c4294f180f14afbdddaca31ce149ca62d078eec901a6c8e7c8f0bff2239afc MISC metadata.xml 621 RMD160 b3abde0169582f9767bdc7bf0388714f942b2dbb SHA1 060f3699149a71c8db8811a026e8b4e191cc7aff SHA256 97dc634cfab302b5b4b61f6e2fd34253f8425fd3449fff155afce234ec5a2194 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQEcBAEBCgAGBQJPIT6pAAoJEOTDgjZ80txdzSYH/igT5gSPunD5Qoy4McbTiIS3 -vste0APQp22P7mRtC8zEldzQh+3XQCj+oHwg23TwG/89OQ/KhpyPdSnIFZT8Uxfj -kJkFUMvmCcBfAam5716GQ0NGQ1CLuW1yX/X+baY8uIoaNny+lmdHgbMKaY4FtDaT -yHM45uVuplrwDCSwNiqSS0vRsLrZi+pLIEiVdPDuXHBAU6AlRmUz9ogm60G6sDAW -XUV3nrIu+o9qJqeuOcTYk+tFiCLGIrlP/0iNd/bWCd+HqCEYiP5ZnOUkYXEc87PZ -QnzXPXj+PSFQYFol8/T2VaEcf/4z0Sg+txncT9os/9shuOnMCrFuDhYz96VBhxI= -=/p2A +iEYEARECAAYFAk8htPQACgkQI1lqEGTUzyTe0gCfWGQTlW/a2QFVS62zU1z1Csi2 +LNYAnRLOqfgRmYJurZFdSW0JVYbxdmk6 +=+FA1 -----END PGP SIGNATURE----- diff --git a/net-dns/pdns/pdns-2.9.22.6.ebuild b/net-dns/pdns/pdns-2.9.22.6.ebuild new file mode 100644 index 000000000000..a53761bf67d4 --- /dev/null +++ b/net-dns/pdns/pdns-2.9.22.6.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2012 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.6.ebuild,v 1.1 2012/01/26 20:17:49 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 ) + !static? ( >=dev-libs/boost-1.31 )" +DEPEND="${RDEPEND} + static? ( >=dev-libs/boost-1.31[static-libs] ) + doc? ( app-doc/doxygen )" + +src_prepare() { + 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 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 () { + emake 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 + + rm -f "${D}"/usr/$(get_libdir)/powerdns/*.{a,la} +} + +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 +} |