summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-11-05 05:49:03 +0000
committerAlin Năstac <mrness@gentoo.org>2007-11-05 05:49:03 +0000
commitf93f31a98f4a0258b3ff37639d5b7e45ba296156 (patch)
treecf20376c34bbb9e0dac0437eaea373e24324c2da /net-dns
parentAdded urandom flag for net-dns/pdnsd. (diff)
downloadhistorical-f93f31a98f4a0258b3ff37639d5b7e45ba296156.tar.gz
historical-f93f31a98f4a0258b3ff37639d5b7e45ba296156.tar.bz2
historical-f93f31a98f4a0258b3ff37639d5b7e45ba296156.zip
Version bumped under new GPL-3 license. Add urandom USE flag.
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdnsd/ChangeLog8
-rw-r--r--net-dns/pdnsd/Manifest32
-rw-r--r--net-dns/pdnsd/files/digest-pdnsd-1.2.63
-rw-r--r--net-dns/pdnsd/pdnsd-1.2.5-r1.ebuild6
-rw-r--r--net-dns/pdnsd/pdnsd-1.2.6.ebuild101
5 files changed, 132 insertions, 18 deletions
diff --git a/net-dns/pdnsd/ChangeLog b/net-dns/pdnsd/ChangeLog
index c7754799dd02..62672b7deddc 100644
--- a/net-dns/pdnsd/ChangeLog
+++ b/net-dns/pdnsd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/pdnsd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.72 2007/07/13 07:46:00 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.73 2007/11/05 05:49:02 mrness Exp $
+
+*pdnsd-1.2.6 (05 Nov 2007)
+
+ 05 Nov 2007; Alin Năstac <mrness@gentoo.org> pdnsd-1.2.5-r1.ebuild,
+ +pdnsd-1.2.6.ebuild:
+ Version bumped under new GPL-3 license. Add urandom USE flag.
*pdnsd-1.2.5-r1 (13 Jul 2007)
diff --git a/net-dns/pdnsd/Manifest b/net-dns/pdnsd/Manifest
index 357095ed20c5..b894698bdb94 100644
--- a/net-dns/pdnsd/Manifest
+++ b/net-dns/pdnsd/Manifest
@@ -18,14 +18,19 @@ MD5 4bd3416d81dcdc84389c69ada9854cdc files/pdnsd.resolvconf 17365
RMD160 ea64795ebe6db99bbb304c86f2f2718ae3f9b034 files/pdnsd.resolvconf 17365
SHA256 065679543e9cf3e20622265e3d009c5b68c213136c7632d257af0096b49fbbed files/pdnsd.resolvconf 17365
DIST pdnsd-1.2.5-par.tar.gz 537586 RMD160 c1444a746e3a8d1552608d0356cb14ed03d86fc1 SHA1 835a399a5ef3ea24f626c36b8eef0816985847b1 SHA256 679b308373cf89983bd21432090aad11bb3109ea2e58532f2e2ac0cb3b97462f
-EBUILD pdnsd-1.2.5-r1.ebuild 3941 RMD160 aaca73f0aace710e335b300c916f3bbfe120f172 SHA1 0660cdb0007813956ab27d5b136df15ad46a4ae5 SHA256 669bfe6f6370c4c48723934b3f38fdb5a73a16bfadf3cefc4357b0bdf5021f27
-MD5 4892709228f24516aad4678894bd3066 pdnsd-1.2.5-r1.ebuild 3941
-RMD160 aaca73f0aace710e335b300c916f3bbfe120f172 pdnsd-1.2.5-r1.ebuild 3941
-SHA256 669bfe6f6370c4c48723934b3f38fdb5a73a16bfadf3cefc4357b0bdf5021f27 pdnsd-1.2.5-r1.ebuild 3941
-MISC ChangeLog 10838 RMD160 c4cec610cf99a963ee5258aad8b37dcf707f65e7 SHA1 320df15c711f5dcb43ff70e4bb4f08a2a71fedd9 SHA256 ee20fe77de2cfb19811c2423d3b20a19c4eac6721a272f177a390b4c6b1abe60
-MD5 f9b05b63844aede609a8bbe2602cbbdc ChangeLog 10838
-RMD160 c4cec610cf99a963ee5258aad8b37dcf707f65e7 ChangeLog 10838
-SHA256 ee20fe77de2cfb19811c2423d3b20a19c4eac6721a272f177a390b4c6b1abe60 ChangeLog 10838
+DIST pdnsd-1.2.6-par.tar.gz 451465 RMD160 4d7fc3b4bafc6dafc41e4d4b00e601f7de200c53 SHA1 ca9fcf1d214829dfcc7771a3443e9500fe6d305c SHA256 84a4165471856f71725e5dc958978d9aee671c33b94a7dca0be09e60d99069ed
+EBUILD pdnsd-1.2.5-r1.ebuild 3837 RMD160 f46492ed01c1e96ad604f6c156af7907b06d25a5 SHA1 4cea51b4349a5055562e6d3aba244f3d45b79d62 SHA256 1656019c4c9e90b62cf5bb9b837ce60605894b5bc7a25d625306c6c30f7170e0
+MD5 59f22431483170da212fc57c85c63516 pdnsd-1.2.5-r1.ebuild 3837
+RMD160 f46492ed01c1e96ad604f6c156af7907b06d25a5 pdnsd-1.2.5-r1.ebuild 3837
+SHA256 1656019c4c9e90b62cf5bb9b837ce60605894b5bc7a25d625306c6c30f7170e0 pdnsd-1.2.5-r1.ebuild 3837
+EBUILD pdnsd-1.2.6.ebuild 3421 RMD160 3b6968df5b4f7c108b63a49ec8e8a769e499aedb SHA1 635ac31a9ca20a0fbbc5d44e8c98d35c7596c1f1 SHA256 c9b90d165d35ce59a5bed7db24c70f5863eecec99e54b166781f137e1ccfc55d
+MD5 f60cfdc7278372d187fe2a1b616848c1 pdnsd-1.2.6.ebuild 3421
+RMD160 3b6968df5b4f7c108b63a49ec8e8a769e499aedb pdnsd-1.2.6.ebuild 3421
+SHA256 c9b90d165d35ce59a5bed7db24c70f5863eecec99e54b166781f137e1ccfc55d pdnsd-1.2.6.ebuild 3421
+MISC ChangeLog 11025 RMD160 6d2f13fe08a6a2f8716aacbde369a6c513c7191d SHA1 797ce99e19c3ddb02f4ce838b2fd7c78ff0f3019 SHA256 00b3712877436afa85d992cc34c3a74d5a32b58b583032e73441d4bb76bbf312
+MD5 46b365665c9ecb7c32fab104355bd4b5 ChangeLog 11025
+RMD160 6d2f13fe08a6a2f8716aacbde369a6c513c7191d ChangeLog 11025
+SHA256 00b3712877436afa85d992cc34c3a74d5a32b58b583032e73441d4bb76bbf312 ChangeLog 11025
MISC metadata.xml 402 RMD160 2dbd46b28843db4e7c216ec2d38354fe544d3d4b SHA1 8e51bef82c01c04db3c4a130b8bf726195c3acb9 SHA256 d5dba4f72c2ee03f15efe1a6954b8e81dc4d2e2842611cf5db90b9c241433ac6
MD5 03c559c81ebc357c5f906e8247f1b79b metadata.xml 402
RMD160 2dbd46b28843db4e7c216ec2d38354fe544d3d4b metadata.xml 402
@@ -33,10 +38,13 @@ SHA256 d5dba4f72c2ee03f15efe1a6954b8e81dc4d2e2842611cf5db90b9c241433ac6 metadata
MD5 b217380df87dd99ecbcd955f049a7def files/digest-pdnsd-1.2.5-r1 247
RMD160 40c815ec61ca878b83d95c8a9a4b58b57a312085 files/digest-pdnsd-1.2.5-r1 247
SHA256 cadd2f658fe98f1e8a7194a51fec307aff7d8412d0d6feb03c550228f5bc053f files/digest-pdnsd-1.2.5-r1 247
+MD5 a4340b9982ded298f7e5325a8d1c016e files/digest-pdnsd-1.2.6 247
+RMD160 a36dcb26c7e75fd43523a0d7b82214530b31d066 files/digest-pdnsd-1.2.6 247
+SHA256 1aae183a85b6b8f7227010646e3d09488a68db54f80b50485f817b10ef9a089d files/digest-pdnsd-1.2.6 247
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.4 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFGly3CVSA5X31g7/gRAqd6AJ0TlD/N/73lOUnCeIRSYRup9BjUbgCdFBcs
-IJUHrBievfWuqsJfDBIyHXY=
-=FfQG
+iD8DBQFHLq7dVSA5X31g7/gRAgrQAJ9cJ5txdBNVsxjGbZh+qyWgeC0WagCfbHQj
+eF2+aqitkcHlBy0Jei7ES8Q=
+=pmO4
-----END PGP SIGNATURE-----
diff --git a/net-dns/pdnsd/files/digest-pdnsd-1.2.6 b/net-dns/pdnsd/files/digest-pdnsd-1.2.6
new file mode 100644
index 000000000000..7e78d16db7f8
--- /dev/null
+++ b/net-dns/pdnsd/files/digest-pdnsd-1.2.6
@@ -0,0 +1,3 @@
+MD5 65c88e22152a885a0437578eedc8b118 pdnsd-1.2.6-par.tar.gz 451465
+RMD160 4d7fc3b4bafc6dafc41e4d4b00e601f7de200c53 pdnsd-1.2.6-par.tar.gz 451465
+SHA256 84a4165471856f71725e5dc958978d9aee671c33b94a7dca0be09e60d99069ed pdnsd-1.2.6-par.tar.gz 451465
diff --git a/net-dns/pdnsd/pdnsd-1.2.5-r1.ebuild b/net-dns/pdnsd/pdnsd-1.2.5-r1.ebuild
index 9932eca1dbce..fef7c5e3a28f 100644
--- a/net-dns/pdnsd/pdnsd-1.2.5-r1.ebuild
+++ b/net-dns/pdnsd/pdnsd-1.2.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.5-r1.ebuild,v 1.1 2007/07/13 07:46:00 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.5-r1.ebuild,v 1.2 2007/11/05 05:49:02 mrness Exp $
inherit eutils
@@ -94,10 +94,6 @@ src_test() {
}
pkg_preinst() {
- # Duplicated so that binary packages work
- enewgroup pdnsd
- enewuser pdnsd -1 -1 /var/lib/pdnsd pdnsd
-
# Copy cache from older versions
[ -f "${ROOT}/var/lib/pdnsd/pdnsd.cache" ] && \
cp "${ROOT}/var/lib/pdnsd/pdnsd.cache" "${D}/var/cache/pdnsd/pdnsd.cache"
diff --git a/net-dns/pdnsd/pdnsd-1.2.6.ebuild b/net-dns/pdnsd/pdnsd-1.2.6.ebuild
new file mode 100644
index 000000000000..ffb2417a0018
--- /dev/null
+++ b/net-dns/pdnsd/pdnsd-1.2.6.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.6.ebuild,v 1.1 2007/11/05 05:49:02 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 ~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" 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"
+}