diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-09-21 08:07:01 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-09-21 08:07:01 +0000 |
commit | 1e177a8f51075c5eda4a5134b958be351f233675 (patch) | |
tree | 2c170b63a4d78f6959b19f9f35bdc857a3f532a9 /net-dns/pdnsd | |
parent | add net-dns/pdnsd:underscores (diff) | |
download | historical-1e177a8f51075c5eda4a5134b958be351f233675.tar.gz historical-1e177a8f51075c5eda4a5134b958be351f233675.tar.bz2 historical-1e177a8f51075c5eda4a5134b958be351f233675.zip |
Stable on x86. Add new version with a brand new USE flag (underscores).
Package-Manager: portage-2.1.1
Diffstat (limited to 'net-dns/pdnsd')
-rw-r--r-- | net-dns/pdnsd/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/pdnsd/Manifest | 32 | ||||
-rw-r--r-- | net-dns/pdnsd/files/digest-pdnsd-1.2.5 | 3 | ||||
-rw-r--r-- | net-dns/pdnsd/pdnsd-1.2.4-r3.ebuild | 4 | ||||
-rw-r--r-- | net-dns/pdnsd/pdnsd-1.2.5.ebuild | 122 |
5 files changed, 154 insertions, 15 deletions
diff --git a/net-dns/pdnsd/ChangeLog b/net-dns/pdnsd/ChangeLog index e0c55d97a0a8..36b1d25e4f37 100644 --- a/net-dns/pdnsd/ChangeLog +++ b/net-dns/pdnsd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/pdnsd # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.61 2006/06/25 18:54:35 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.62 2006/09/21 08:07:00 mrness Exp $ + +*pdnsd-1.2.5 (21 Sep 2006) + + 21 Sep 2006; Alin Nastac <mrness@gentoo.org> pdnsd-1.2.4-r3.ebuild, + +pdnsd-1.2.5.ebuild: + Stable on x86. Add new version with a brand new USE flag (underscores). *pdnsd-1.2.4-r3 (25 Jun 2006) diff --git a/net-dns/pdnsd/Manifest b/net-dns/pdnsd/Manifest index bf84c60f7f63..98596751e3a9 100644 --- a/net-dns/pdnsd/Manifest +++ b/net-dns/pdnsd/Manifest @@ -22,22 +22,27 @@ MD5 4bd3416d81dcdc84389c69ada9854cdc files/pdnsd.resolvconf 17365 RMD160 ea64795ebe6db99bbb304c86f2f2718ae3f9b034 files/pdnsd.resolvconf 17365 SHA256 065679543e9cf3e20622265e3d009c5b68c213136c7632d257af0096b49fbbed files/pdnsd.resolvconf 17365 DIST pdnsd-1.2.4-par.tar.gz 537362 RMD160 19cbb5d03eacdd8153ac3b9675cdbe07b1edfbd4 SHA1 60719a178b05214de6d98fff1455e05733cc75cd SHA256 b9172094feee0ebe6b2aec3c1358419cc928469e16c96718d7d0fc639fc17e55 +DIST pdnsd-1.2.5-par.tar.gz 537586 RMD160 c1444a746e3a8d1552608d0356cb14ed03d86fc1 SHA1 835a399a5ef3ea24f626c36b8eef0816985847b1 SHA256 679b308373cf89983bd21432090aad11bb3109ea2e58532f2e2ac0cb3b97462f EBUILD pdnsd-1.2.4-r1.ebuild 3972 RMD160 b215b639a7f64475fd728d83254e2334ab0922d2 SHA1 403edbe719ff60cdebb17a6c4cf3b0fa04b2db63 SHA256 99fe471dfa2bce006d0adb79c9a65e6be6f21652a6cb24c4113a8a0a2d5075b1 MD5 817f708ee3af586e0957940ecaaea10b pdnsd-1.2.4-r1.ebuild 3972 RMD160 b215b639a7f64475fd728d83254e2334ab0922d2 pdnsd-1.2.4-r1.ebuild 3972 SHA256 99fe471dfa2bce006d0adb79c9a65e6be6f21652a6cb24c4113a8a0a2d5075b1 pdnsd-1.2.4-r1.ebuild 3972 -EBUILD pdnsd-1.2.4-r3.ebuild 4081 RMD160 91d040ce4d35499fcade711273c41b1bff2b22b2 SHA1 87eaa20a679708ff92457077972733abd2c6754a SHA256 9eb36d573ec0cc692de47fd61c8d8889bc5ff290fe56f3bac62d3a5136d5e9ce -MD5 28c56d5e16b5717d4e34997aa696f189 pdnsd-1.2.4-r3.ebuild 4081 -RMD160 91d040ce4d35499fcade711273c41b1bff2b22b2 pdnsd-1.2.4-r3.ebuild 4081 -SHA256 9eb36d573ec0cc692de47fd61c8d8889bc5ff290fe56f3bac62d3a5136d5e9ce pdnsd-1.2.4-r3.ebuild 4081 +EBUILD pdnsd-1.2.4-r3.ebuild 4080 RMD160 1a4d7cceb2c5c5a92f2fb6ba231816221a650fad SHA1 79ba59194024cc3e9ede032819eaf95b6489b5cf SHA256 b5a878b995f65a3e8996f20f5baa6f3248d0d615c87a66eb75494d491ed82b87 +MD5 6db2a1ad9e506e77c584e7f63f07fba1 pdnsd-1.2.4-r3.ebuild 4080 +RMD160 1a4d7cceb2c5c5a92f2fb6ba231816221a650fad pdnsd-1.2.4-r3.ebuild 4080 +SHA256 b5a878b995f65a3e8996f20f5baa6f3248d0d615c87a66eb75494d491ed82b87 pdnsd-1.2.4-r3.ebuild 4080 EBUILD pdnsd-1.2.4.ebuild 3889 RMD160 bcbf1f62b83639d17ff29d23e32692f98e16d29b SHA1 8154196537a0a2fef450649076b01e0d3c186c01 SHA256 2ba3fa5ac5fb617132025fa529b818c75dd360ee174ec72758ff35923e7e3dce MD5 0bd9240a8e73728857da354bc687531e pdnsd-1.2.4.ebuild 3889 RMD160 bcbf1f62b83639d17ff29d23e32692f98e16d29b pdnsd-1.2.4.ebuild 3889 SHA256 2ba3fa5ac5fb617132025fa529b818c75dd360ee174ec72758ff35923e7e3dce pdnsd-1.2.4.ebuild 3889 -MISC ChangeLog 9328 RMD160 9c01cd06943e4bfc92bb818c8c05634c0984fd7e SHA1 ad3fd144dea00188486523b47f3d08ff4f13c362 SHA256 83af4c95e15123a4c62e9aa9349c8b192b8bd43007f72c9220fc73b7bcd71231 -MD5 678e8e05e74bb62eaabf1663b534b835 ChangeLog 9328 -RMD160 9c01cd06943e4bfc92bb818c8c05634c0984fd7e ChangeLog 9328 -SHA256 83af4c95e15123a4c62e9aa9349c8b192b8bd43007f72c9220fc73b7bcd71231 ChangeLog 9328 +EBUILD pdnsd-1.2.5.ebuild 4005 RMD160 9431e7d729f653eb1f3f21be2098c560c323d88d SHA1 78cb2b8f9c482cfe0f46205292aabd30a11682b3 SHA256 b284a8c84f9c4a19de160b10494164bfc248c2193f748cabb311adad81f7ba70 +MD5 68ca792f546913158adf9260f67addde pdnsd-1.2.5.ebuild 4005 +RMD160 9431e7d729f653eb1f3f21be2098c560c323d88d pdnsd-1.2.5.ebuild 4005 +SHA256 b284a8c84f9c4a19de160b10494164bfc248c2193f748cabb311adad81f7ba70 pdnsd-1.2.5.ebuild 4005 +MISC ChangeLog 9524 RMD160 fabe32c9a64b29153c8598001e716e60d1b3aa13 SHA1 531952320ff7ff477deb34c84ef728dca4fb5c2f SHA256 1d6732b3206a70f5291de1a2bada2cfce69879e5210f0aa9edfb89b792dc594b +MD5 19952a737873ac83d39fb41e7d8bdb91 ChangeLog 9524 +RMD160 fabe32c9a64b29153c8598001e716e60d1b3aa13 ChangeLog 9524 +SHA256 1d6732b3206a70f5291de1a2bada2cfce69879e5210f0aa9edfb89b792dc594b ChangeLog 9524 MISC metadata.xml 402 RMD160 2dbd46b28843db4e7c216ec2d38354fe544d3d4b SHA1 8e51bef82c01c04db3c4a130b8bf726195c3acb9 SHA256 d5dba4f72c2ee03f15efe1a6954b8e81dc4d2e2842611cf5db90b9c241433ac6 MD5 03c559c81ebc357c5f906e8247f1b79b metadata.xml 402 RMD160 2dbd46b28843db4e7c216ec2d38354fe544d3d4b metadata.xml 402 @@ -51,10 +56,13 @@ SHA256 e7ac61d711062ec862f2bccce3bf7ec943887cfecaf35c1b7e390bf30e4a099d files/di MD5 0206348621925721875c0a8e013a80fd files/digest-pdnsd-1.2.4-r3 247 RMD160 ae7499c8e9585c07bd01061cc11e9863e01cd248 files/digest-pdnsd-1.2.4-r3 247 SHA256 e7ac61d711062ec862f2bccce3bf7ec943887cfecaf35c1b7e390bf30e4a099d files/digest-pdnsd-1.2.4-r3 247 +MD5 b217380df87dd99ecbcd955f049a7def files/digest-pdnsd-1.2.5 247 +RMD160 40c815ec61ca878b83d95c8a9a4b58b57a312085 files/digest-pdnsd-1.2.5 247 +SHA256 cadd2f658fe98f1e8a7194a51fec307aff7d8412d0d6feb03c550228f5bc053f files/digest-pdnsd-1.2.5 247 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) +Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFEntv2jG8pv1lIUX4RAtm6AKCMEXic/x7gejHcOKGx/jrGSEUIvgCgz9Ad -AE9aBT/2DS2jTdpfXMIe7Bc= -=9UT9 +iD8DBQFFEkg53sf9c6kjmR8RAiLmAKCn+EHn8Xn/d6XIGDAvEi9+FBv04gCfUlAe +phKbOB6DFXvVxb/2xnmsqJc= +=A6f5 -----END PGP SIGNATURE----- diff --git a/net-dns/pdnsd/files/digest-pdnsd-1.2.5 b/net-dns/pdnsd/files/digest-pdnsd-1.2.5 new file mode 100644 index 000000000000..fd17b3df87a7 --- /dev/null +++ b/net-dns/pdnsd/files/digest-pdnsd-1.2.5 @@ -0,0 +1,3 @@ +MD5 8b1bb9b6b40383a484a90de5d992b4ee pdnsd-1.2.5-par.tar.gz 537586 +RMD160 c1444a746e3a8d1552608d0356cb14ed03d86fc1 pdnsd-1.2.5-par.tar.gz 537586 +SHA256 679b308373cf89983bd21432090aad11bb3109ea2e58532f2e2ac0cb3b97462f pdnsd-1.2.5-par.tar.gz 537586 diff --git a/net-dns/pdnsd/pdnsd-1.2.4-r3.ebuild b/net-dns/pdnsd/pdnsd-1.2.4-r3.ebuild index 0ff73db8eb52..e7c445d0fbc5 100644 --- a/net-dns/pdnsd/pdnsd-1.2.4-r3.ebuild +++ b/net-dns/pdnsd/pdnsd-1.2.4-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.4-r3.ebuild,v 1.1 2006/06/25 18:54:35 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.4-r3.ebuild,v 1.2 2006/09/21 08:07:00 mrness Exp $ inherit eutils @@ -10,7 +10,7 @@ SRC_URI="http://www.phys.uu.nl/%7Erombouts/pdnsd/releases/${P}-par.tar.gz" LICENSE="|| ( BSD GPL-2 )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~s390 ~sparc x86" IUSE="ipv6 debug isdn nptl" pkg_setup() { diff --git a/net-dns/pdnsd/pdnsd-1.2.5.ebuild b/net-dns/pdnsd/pdnsd-1.2.5.ebuild new file mode 100644 index 000000000000..a535d2728277 --- /dev/null +++ b/net-dns/pdnsd/pdnsd-1.2.5.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2006 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.ebuild,v 1.1 2006/09/21 08:07:00 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="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~s390 ~sparc ~x86" +IUSE="ipv6 debug isdn nptl underscores" + +pkg_setup() { + enewgroup pdnsd + enewuser pdnsd -1 -1 /var/lib/pdnsd pdnsd +} + +src_compile() { + local myconf="" + + if use debug; then + myconf="${myconf} --with-debug=3" + CFLAGS="${CFLAGS} -g" + fi + use nptl && myconf="${myconf} --with-thread-lib=NPTL" + + [ -c /dev/urandom ] && myconf="${myconf} --with-random-device=/dev/urandom" + + econf \ + --sysconfdir=/etc/pdnsd \ + --with-cachedir=/var/cache/pdnsd \ + --infodir=/usr/share/info --mandir=/usr/share/man \ + --with-default-id=pdnsd \ + $(use_enable ipv6) \ + $(use_enable isdn) \ + $(use_enable underscores) \ + ${myconf} \ + || die "bad configure" + + emake all || die "compile problem" +} + +pkg_preinst() { + # Duplicated so that binary packages work + enewgroup pdnsd + enewuser pdnsd -1 -1 /var/lib/pdnsd 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 "${ROOT}/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 +} + +src_install() { + emake DESTDIR="${D}" install || die + + # Copy cache from prev older versions + [ -f "${ROOT}/var/lib/pdnsd/pdnsd.cache" ] && \ + cp "${ROOT}/var/lib/pdnsd/pdnsd.cache" "${D}/var/cache/pdnsd/pdnsd.cache" + + # Don't clobber existing cache - copy prev cache so unmerging prev version + # doesn't remove the cache. + [ -f "${ROOT}/var/cache/pdnsd/pdnsd.cache" ] && \ + rm "${D}/var/cache/pdnsd/pdnsd.cache" + + 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 + + keepdir /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}" + + #resolvconf-gentoo support + exeinto /etc/resolvconf/update.d + newexe "${FILESDIR}/pdnsd.resolvconf" pdnsd +} + +pkg_postinst() { + einfo + einfo "Add pdnsd to your default runlevel - rc-update add pdnsd default" + einfo "" + einfo "Add pdnsd-online to your online runlevel." + einfo "The online interface will be listed in /etc/conf.d/pdnsd-online" + einfo "" + einfo "Sample config file in /etc/pdnsd/pdnsd.conf.sample" +} |