diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-09-07 10:12:19 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-09-07 10:12:19 +0000 |
commit | 70ee461c541e21709e45dfbef2fd98ff4f16d337 (patch) | |
tree | 6d1655d6dcb1622fb769849932a6ca48ec26d886 /net-dns | |
parent | More Cleanup (diff) | |
download | historical-70ee461c541e21709e45dfbef2fd98ff4f16d337.tar.gz historical-70ee461c541e21709e45dfbef2fd98ff4f16d337.tar.bz2 historical-70ee461c541e21709e45dfbef2fd98ff4f16d337.zip |
Version bump wrt security bug 231285.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdnsd/ChangeLog | 7 | ||||
-rw-r--r-- | net-dns/pdnsd/Manifest | 10 | ||||
-rw-r--r-- | net-dns/pdnsd/pdnsd-1.2.7.ebuild | 101 |
3 files changed, 113 insertions, 5 deletions
diff --git a/net-dns/pdnsd/ChangeLog b/net-dns/pdnsd/ChangeLog index 50abf796df16..58bb0fecfc77 100644 --- a/net-dns/pdnsd/ChangeLog +++ b/net-dns/pdnsd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/pdnsd # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.83 2008/08/22 21:49:27 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.84 2008/09/07 10:12:19 mrness Exp $ + +*pdnsd-1.2.7 (07 Sep 2008) + + 07 Sep 2008; Alin Năstac <mrness@gentoo.org> +pdnsd-1.2.7.ebuild: + Version bump wrt security bug 231285. 22 Aug 2008; Markus Meier <maekke@gentoo.org> pdnsd-1.2.6-r1.ebuild: amd64 stable, bug #231321 diff --git a/net-dns/pdnsd/Manifest b/net-dns/pdnsd/Manifest index 692a8a5d4673..694279eb8be7 100644 --- a/net-dns/pdnsd/Manifest +++ b/net-dns/pdnsd/Manifest @@ -7,14 +7,16 @@ AUX pdnsd.rc6 850 RMD160 9700c23cbe4a8fb18a6492c04ec4e8d7b8d2c082 SHA1 b7a231bb4 AUX pdnsd.resolvconf 17365 RMD160 ea64795ebe6db99bbb304c86f2f2718ae3f9b034 SHA1 1485d59bbfdefa9faf3209b9bea2de30b204e813 SHA256 065679543e9cf3e20622265e3d009c5b68c213136c7632d257af0096b49fbbed AUX pdnsd.resolvconf-r1 17538 RMD160 a79ab764cd96a7203165771d50b14f4bf3907141 SHA1 3afbba4b8eb5fad1e1268dab85cc1fc04b1258b2 SHA256 40bdcc876ba8bb86069d52f8023fed468974004f47c235c202ca7eac88aa0fe3 DIST pdnsd-1.2.6-par.tar.gz 451465 RMD160 4d7fc3b4bafc6dafc41e4d4b00e601f7de200c53 SHA1 ca9fcf1d214829dfcc7771a3443e9500fe6d305c SHA256 84a4165471856f71725e5dc958978d9aee671c33b94a7dca0be09e60d99069ed +DIST pdnsd-1.2.7-par.tar.gz 459565 RMD160 5bb73572120ed9e27f7294f21e2f9878671aef41 SHA1 8f2a0ec234efd61d81a2e89559a94568c342b36f SHA256 2777d7317509df7c75c90bcfd7f9ceaec9ea2db164bf00eb797fa54e0b476a00 EBUILD pdnsd-1.2.6-r1.ebuild 3428 RMD160 8630fb13d95895937815de01853be7326ec1e6b9 SHA1 4c15f0b1c99831e619c8f73f38409f2b0114e97e SHA256 8a5ac0e4b6f84424cd2fc8a160a215d5b4d41d8a3bfcead2ec14417496cf784d EBUILD pdnsd-1.2.6.ebuild 3421 RMD160 64e4f721d547e7e56ab652c5b25b7482a84b81a1 SHA1 9ca68ba923cfdc51b568f81bf5d9fbd6826958ad SHA256 23a2fb7f96bcdd7101adf82cb50f72c5126f14f121d25967b20126dbd4032604 -MISC ChangeLog 12192 RMD160 f2003f94f36bd09b2d543d3cdcb86ce82a086b91 SHA1 87d2c5c26ba5d61f1361d1b3b6683f12bc8e9f7f SHA256 95e1564b2097857c227649015a62b9827517f6445e77a71d8cfdd35c595350fa +EBUILD pdnsd-1.2.7.ebuild 3430 RMD160 79b22b5d4edeb059cc90ee07fe2ec773fd3592f8 SHA1 cda4ef1355dbf8cb1e0edd23b74282ffd5f35181 SHA256 3e4d68a4be3e1f10f6e9c2ca7ec80263b73757ac67a3651f587341a2db58aa60 +MISC ChangeLog 12330 RMD160 b413c340719555c8da2376ce7b418288a159eb3f SHA1 ce2f0c05060fd629c4b4bbb0937bc5798908080f SHA256 68d780dc53b03101347c980bd21259d071cfd8cbf5c1a285de30b456b66bd801 MISC metadata.xml 621 RMD160 d7eaebaa56a2dd3e927d562918419b07e0fa4c94 SHA1 85d856970c6cbfd03ea75c069f5dea7d872698a8 SHA256 0da353c76674cc5dd161ce927f389662fccea2762fcc632aa48cb754a8d5ae4e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkivNLkACgkQkKaRLQcq0GKFVQCfSd181Ev98qWK64bDRAoWEaiq -evcAoIjZSGW9zpt5rleEniVuTdhxoMCE -=h84h +iEYEARECAAYFAkjDqQ0ACgkQPrHvTlXvhttfXACfTko6RpsQcJr43d6XVqNP093V +i3IAn2aEsG3ABAqyLIAToCNp4HI45EnR +=/kvu -----END PGP SIGNATURE----- diff --git a/net-dns/pdnsd/pdnsd-1.2.7.ebuild b/net-dns/pdnsd/pdnsd-1.2.7.ebuild new file mode 100644 index 000000000000..86ef0f5ac556 --- /dev/null +++ b/net-dns/pdnsd/pdnsd-1.2.7.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.7.ebuild,v 1.1 2008/09/07 10:12:19 mrness Exp $ + +inherit eutils + +DESCRIPTION="Proxy DNS server with permanent caching" +HOMEPAGE="http://www.phys.uu.nl/~rombouts/pdnsd.html" +SRC_URI="http://www.phys.uu.nl/~rombouts/pdnsd/releases/${P}-par.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sparc ~x86" +IUSE="debug ipv6 isdn nptl underscores urandom" + +pkg_setup() { + enewgroup pdnsd + enewuser pdnsd -1 -1 /var/lib/pdnsd pdnsd +} + +src_compile() { + local myconf="" + use debug && myconf="${myconf} --with-debug=3" + use nptl && myconf="${myconf} --with-thread-lib=NPTL" + use urandom && myconf="${myconf} --with-random-device=/dev/urandom" + + econf \ + --sysconfdir=/etc/pdnsd \ + --with-cachedir=/var/cache/pdnsd \ + --with-default-id=pdnsd \ + $(use_enable ipv6) \ + $(use_enable isdn) \ + $(use_enable underscores) \ + ${myconf} \ + || die "bad configure" + + emake all || die "compile problem" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog* NEWS README THANKS TODO README.par + docinto contrib ; dodoc contrib/{README,dhcp2pdnsd,pdnsd_dhcp.pl} + docinto html ; dohtml doc/html/* + docinto txt ; dodoc doc/txt/* + newdoc doc/pdnsd.conf pdnsd.conf.sample + + newinitd "${FILESDIR}/pdnsd.rc6" pdnsd + newinitd "${FILESDIR}/pdnsd.online" pdnsd-online + + dodir /etc/conf.d + local config="${D}/etc/conf.d/pdnsd-online" + + echo -e "# Enter the interface that connects you to the dns servers" >> "${config}" + echo "# This will correspond to /etc/init.d/net.${IFACE}" >> "${config}" + echo -e "\n# IMPORTANT: Be sure to run depscan.sh after modifiying IFACE" >> "${config}" + echo "IFACE=ppp0" >> "${config}" + + config="${D}/etc/conf.d/pdnsd" + "${D}/usr/sbin/pdnsd" --help | sed "s/^/# /g" > "${config}" + echo "# Command line options" >> "${config}" + use ipv6 && echo PDNSDCONFIG="-a" >> "${config}" \ + || echo PDNSDCONFIG="" >> "${config}" + + # gentoo resolvconf support + exeinto /etc/resolvconf/update.d + newexe "${FILESDIR}/pdnsd.resolvconf-r1" pdnsd +} + +src_test() { + if [ -x /usr/bin/dig ]; then + mkdir "${T}/pdnsd" + echo -n -e "pd12\0\0\0\0" > "${T}/pdnsd/pdnsd.cache" + IPS=$(grep ^nameserver /etc/resolv.conf | sed -e 's/nameserver \(.*\)/\tip=\1;/g' | xargs) + sed -e "s/\tip=/${IPS}/" -e "s:cache_dir=:cache_dir=${T}/pdnsd:" "${FILESDIR}/pdnsd.conf.test" \ + > "${T}/pdnsd.conf.test" + src/pdnsd -c "${T}/pdnsd.conf.test" -g -s -d -p "${T}/pid" || die "couldn't start daemon" + sleep 3 + + find "${T}" -ls + [ -s "${T}/pid" ] || die "empty or no pid file created" + [ -S "${T}/pdnsd/pdnsd.status" ] || die "no socket created" + src/pdnsd-ctl/pdnsd-ctl -c "${T}/pdnsd" server all up || die "failed to start the daemon" + src/pdnsd-ctl/pdnsd-ctl -c "${T}/pdnsd" status || die "failed to communicate with the daemon" + sleep 3 + + dig @127.0.0.1 -p 33455 www.gentoo.org | fgrep "status: NOERROR" || die "www.gentoo.org lookup failed" + kill $(<"${T}/pid") || die "failed to terminate daemon" + fi +} + +pkg_postinst() { + elog + elog "Add pdnsd to your default runlevel - rc-update add pdnsd default" + elog "" + elog "Add pdnsd-online to your online runlevel." + elog "The online interface will be listed in /etc/conf.d/pdnsd-online" + elog "" + elog "Sample config file in /etc/pdnsd/pdnsd.conf.sample" +} |