diff options
author | Sven Wegener <swegener@gentoo.org> | 2012-01-10 20:37:48 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2012-01-10 20:37:48 +0000 |
commit | 7004b2148d45aeb3240c7acc582d8eed27130232 (patch) | |
tree | 7ab4eec26645d1ce65791a29ed4267b1a354048f /net-dns/pdns | |
parent | Marking akonadi-server-1.6.2-r1 ppc for bug 396359 (diff) | |
download | historical-7004b2148d45aeb3240c7acc582d8eed27130232.tar.gz historical-7004b2148d45aeb3240c7acc582d8eed27130232.tar.bz2 historical-7004b2148d45aeb3240c7acc582d8eed27130232.zip |
Version bump, security bug #398403.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'net-dns/pdns')
-rw-r--r-- | net-dns/pdns/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/pdns/Manifest | 10 | ||||
-rw-r--r-- | net-dns/pdns/pdns-3.0.1.ebuild | 106 |
3 files changed, 119 insertions, 6 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog index 98d57c686449..73e240d9018e 100644 --- a/net-dns/pdns/ChangeLog +++ b/net-dns/pdns/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/pdns -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.70 2011/12/04 10:12:32 swegener Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.71 2012/01/10 20:37:48 swegener Exp $ + +*pdns-3.0.1 (10 Jan 2012) + + 10 Jan 2012; Sven Wegener <swegener@gentoo.org> +pdns-3.0.1.ebuild: + Version bump, security bug #398403. 04 Dec 2011; Sven Wegener <swegener@gentoo.org> files/pdns: split opts to extra_commands diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest index a2b232c82238..6692d487c2b6 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -6,15 +6,17 @@ AUX pdns 1288 RMD160 9c8640f8a741a9943a0fc7eb00ac4dc4f747ae21 SHA1 7942dbaf04f1e AUX pdns-2.9.22-gcc44.patch 856 RMD160 3e477b236af42767aea3d55af4cb9f14cbca106d SHA1 0a206fee906f36eac630ad200a8d3866cd477a55 SHA256 1beba6a251e0c7a4a4d11dce41d2c5e9b809c3d32856aabce22225ebb02d3992 AUX pdns-3.0-lua-config.patch 964 RMD160 34943feff5ecf18cd447e4f92eb84e4de9a7e5c9 SHA1 02f5a0b3da7a1f8d3b655f38478224807c2bd23c SHA256 8d79b7b71733aeb7de9d4d31a3f86bb8205dd1fbb955e6c1892ab84fe56fe720 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 2747 RMD160 06a8f7f24526a695ee89c38de7a8bedbea13ced2 SHA1 0f3dbe384f3d482e87ca2065c017efaa134f0e5b SHA256 c34872aab77f9fba398645a407eeba1b0cd9bf2554ecffa0df454b0877ca8b2c +EBUILD pdns-3.0.1.ebuild 2702 RMD160 75b48b39fc2a3362b56492af217685fe16a8b7f2 SHA1 a9176d7553ebb6d00a030011ea4ca040a2378afc SHA256 516726da88210d9679e5634e6e05a6144cbe675d9599cc0a0f7ca77facb23c6d EBUILD pdns-3.0.ebuild 2695 RMD160 cc632a14b1640a651a65e9495026f84a7345bc25 SHA1 5fff41d950b80c3028eaac8cf247f92061a31247 SHA256 1bad87922251316553a136f4a99465c236f5d52e96c2c89c8d98d1907675514b -MISC ChangeLog 10377 RMD160 febc7a7e8bed814b1278f400d2598d1aa5bbcab5 SHA1 01027719f78063ea44ace5b126d5e777dd1ed916 SHA256 b1144fdf36d66efb8d9e6b02f06a15de76846af168a4c16f36468cb049ba68f2 +MISC ChangeLog 10513 RMD160 b2a303250697bab19478251dbdb3e28188922d9f SHA1 07ec06b14a58caa4c8c7cf8407f8608e24721b4c SHA256 00498147c1962318af48f8e27c49ce4282916cf859b0bbcae8e7e918a93c8971 MISC metadata.xml 621 RMD160 b3abde0169582f9767bdc7bf0388714f942b2dbb SHA1 060f3699149a71c8db8811a026e8b4e191cc7aff SHA256 97dc634cfab302b5b4b61f6e2fd34253f8425fd3449fff155afce234ec5a2194 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7bR5UACgkQI1lqEGTUzyQxGwCeM9VZYcaidtyfpfdyXnic/8Gi -EGIAoMNoHwr26VK4B17juGt8b36lehwP -=pNHX +iEYEARECAAYFAk8MoaMACgkQI1lqEGTUzySknwCeJK8fZ6+Ol3Cix+6O6vLqvqZt ++jIAn1SQBinrSCeV5WwmWJ9O2KSFQguh +=aah4 -----END PGP SIGNATURE----- diff --git a/net-dns/pdns/pdns-3.0.1.ebuild b/net-dns/pdns/pdns-3.0.1.ebuild new file mode 100644 index 000000000000..64b2ebbc71d0 --- /dev/null +++ b/net-dns/pdns/pdns-3.0.1.ebuild @@ -0,0 +1,106 @@ +# 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-3.0.1.ebuild,v 1.1 2012/01/10 20:37:48 swegener Exp $ + +EAPI=2 + +inherit eutils multilib 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 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.34" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.0-lua-config.patch + eautoreconf +} + +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) \ + --without-lua \ + $(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 +} |