summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/pdnsd')
-rw-r--r--net-dns/pdnsd/ChangeLog7
-rw-r--r--net-dns/pdnsd/Manifest22
-rw-r--r--net-dns/pdnsd/files/digest-pdnsd-1.1.111
-rw-r--r--net-dns/pdnsd/files/digest-pdnsd-1.1.12_pre31
-rw-r--r--net-dns/pdnsd/files/digest-pdnsd-1.2.11
-rw-r--r--net-dns/pdnsd/metadata.xml5
-rw-r--r--net-dns/pdnsd/pdnsd-1.1.11.ebuild115
-rw-r--r--net-dns/pdnsd/pdnsd-1.1.12_pre3.ebuild142
-rw-r--r--net-dns/pdnsd/pdnsd-1.2.1.ebuild137
-rw-r--r--net-dns/pdnsd/pdnsd-1.2.2.ebuild6
10 files changed, 12 insertions, 425 deletions
diff --git a/net-dns/pdnsd/ChangeLog b/net-dns/pdnsd/ChangeLog
index 5d5d9ea1fbb3..48dc3f320f66 100644
--- a/net-dns/pdnsd/ChangeLog
+++ b/net-dns/pdnsd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/pdnsd
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.39 2005/04/20 21:16:37 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.40 2005/06/05 19:47:16 mrness Exp $
+
+ 05 Jun 2005; Alin Nastac <mrness@gentoo.org> metadata.xml,
+ -pdnsd-1.1.11.ebuild, -pdnsd-1.1.12_pre3.ebuild, -pdnsd-1.2.1.ebuild,
+ pdnsd-1.2.2.ebuild:
+ Mark ver 1.2.2 stable on x86. Remove old test versions.
*pdnsd-1.2.2 (20 Apr 2005)
diff --git a/net-dns/pdnsd/Manifest b/net-dns/pdnsd/Manifest
index 0b3f55181e4c..2966922384d2 100644
--- a/net-dns/pdnsd/Manifest
+++ b/net-dns/pdnsd/Manifest
@@ -1,25 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 00c3e13d8a417416b637f5f465bda7a0 pdnsd-1.2.1.ebuild 4331
-MD5 933b3e0cca06a5723c7310a5eb0a9641 pdnsd-1.1.11.ebuild 3391
-MD5 5d7c88262f69d3a3cf643a35f91d2583 pdnsd-1.2.2.ebuild 4306
-MD5 1317a5cbecb736fa131cf7ec9981f58e pdnsd-1.1.12_pre3.ebuild 4457
+MD5 76ae944ccc53ced515ec96bc9ae24ae0 pdnsd-1.2.2.ebuild 4312
MD5 4886d98d7108b643db0167c1d80b1422 pdnsd-1.1.10.ebuild 3331
-MD5 53921b65a642cbb071fce615c0f1d861 ChangeLog 5970
-MD5 3f2d308116c7f37afe0a9a65df2f7e6f metadata.xml 436
+MD5 1adec3fe5220f27ab7d93a149d5b3ba1 ChangeLog 6184
+MD5 4ddec129fff42063dc6b05493cd55a78 metadata.xml 264
MD5 27071ebe71d4f810d57d7cfbd4099788 files/pdnsd.online 452
MD5 65809ab9f525565a98ebe800edea45ab files/pdnsd.rc6 755
-MD5 400ffe24414c1786c827401a335789f5 files/digest-pdnsd-1.2.1 67
MD5 a8701579c070fdd7891f1bccaf63ae95 files/digest-pdnsd-1.2.2 67
-MD5 147e8c75a789a5d99d888925128c5b4e files/digest-pdnsd-1.1.12_pre3 72
MD5 104a9136d4e55e47186ebcc1511b9f93 files/digest-pdnsd-1.1.10 68
-MD5 1baae3c9299a34f6e8bebe43ca5b8883 files/digest-pdnsd-1.1.11 68
MD5 2a7e9d9f54bd31a3675c491d0b6ee187 files/pdnsd.conf.test 377
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCZsa/jiC39V7gKu0RAtPrAJ0YNVW2ykkPH7JGwCeLuFiSchw3MwCfQByE
-Si+PFu5azQxIlu9CWRP1vZ0=
-=1lOc
------END PGP SIGNATURE-----
diff --git a/net-dns/pdnsd/files/digest-pdnsd-1.1.11 b/net-dns/pdnsd/files/digest-pdnsd-1.1.11
deleted file mode 100644
index f61704d51b6a..000000000000
--- a/net-dns/pdnsd/files/digest-pdnsd-1.1.11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 be79162852e3efa2d7cb78c83371fcf2 pdnsd-1.1.11-par.tar.gz 304803
diff --git a/net-dns/pdnsd/files/digest-pdnsd-1.1.12_pre3 b/net-dns/pdnsd/files/digest-pdnsd-1.1.12_pre3
deleted file mode 100644
index 9aef8718e0d5..000000000000
--- a/net-dns/pdnsd/files/digest-pdnsd-1.1.12_pre3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 594ecd8ad6633673c4ba6eec7ee25fe8 pdnsd-1.1.12pre3-par.tar.gz 319996
diff --git a/net-dns/pdnsd/files/digest-pdnsd-1.2.1 b/net-dns/pdnsd/files/digest-pdnsd-1.2.1
deleted file mode 100644
index 2c4a0646c0b1..000000000000
--- a/net-dns/pdnsd/files/digest-pdnsd-1.2.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7be77e25ba8b3de73df32706d956c294 pdnsd-1.2.1-par.tar.gz 350181
diff --git a/net-dns/pdnsd/metadata.xml b/net-dns/pdnsd/metadata.xml
index d5799dba89b9..488c2ad63e68 100644
--- a/net-dns/pdnsd/metadata.xml
+++ b/net-dns/pdnsd/metadata.xml
@@ -2,10 +2,5 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-dialup</herd>
-<maintainer>
- <email>dragonheart@gentoo.org</email>
- <name>Daniel Black</name>
- <description>I'm maintaining this one package for net-dialup</description>
-</maintainer>
<longdescription>Proxy DNS server designed to serve dialup workstations/networks</longdescription>
</pkgmetadata>
diff --git a/net-dns/pdnsd/pdnsd-1.1.11.ebuild b/net-dns/pdnsd/pdnsd-1.1.11.ebuild
deleted file mode 100644
index afd648455049..000000000000
--- a/net-dns/pdnsd/pdnsd-1.1.11.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.11.ebuild,v 1.10 2004/11/08 08:55:06 mr_bones_ Exp $
-
-inherit eutils
-
-MY_P=${PN}-${PV}-par
-DESCRIPTION="Proxy DNS server with permanent caching"
-HOMEPAGE="http://www.phys.uu.nl/%7Erombouts/pdnsd.html http://home.t-online.de/home/Moestl"
-SRC_URI="http://www.phys.uu.nl/%7Erombouts/pdnsd/${MY_P}.tar.gz"
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~s390 ~sparc ~x86 -x86-fbsd"
-IUSE="ipv6 debug isdn"
-
-DEPEND="virtual/libc
- sys-apps/sed
- sys-apps/gawk
- sys-devel/libtool
- sys-devel/gcc
- sys-devel/automake
- sys-devel/autoconf"
-RDEPEND="virtual/libc"
-
-S=${WORKDIR}/${PN}-${PV}
-
-pkg_setup() {
- enewgroup pdnsd
- enewuser pdnsd -1 /bin/false /var/lib/pdnsd pdnsd
-}
-
-src_compile() {
- cd ${S} || die
- local myconf
-
- if use debug; then
- myconf="${myconf} --with-debug=3"
- CFLAGS="${CFLAGS} -g"
- fi
- [ -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` \
- ${myconf} \
- || die "bad configure"
-
- emake all || die "compile problem"
-}
-
-pkg_preinst() {
- # Duplicated so that binary packages work
- enewgroup pdnsd
- enewuser pdnsd -1 /bin/false /var/lib/pdnsd pdnsd
-}
-
-src_install() {
-
- emake DESTDIR=${D} install || die
-
- # Copy cache from prev 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 ] && \
- cp ${ROOT}/var/cache/pdnsd/pdnsd.cache ${D}/var/cache/pdnsd/pdnsd.cache
-
- dodoc AUTHORS COPYING* 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
-
- # Remind users that the cachedir has moved to /var/cache
- #[ -f ${ROOT}/etc/pdnsd/pdnsd.conf ] && \
- # sed -e "s#/var/lib#/var/cache#g" ${ROOT}/etc/pdnsd/pdnsd.conf \
- # > ${D}/etc/pdnsd/pdnsd.conf
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/pdnsd.rc6 pdnsd
- newexe ${FILESDIR}/pdnsd.online pdnsd-online
-
- use ipv6 && \
- ewarn "make sure your servers in /etc/pdnsd/pdnsd.conf are reachable with IPv6"
-
- keepdir /etc/conf.d
- local config=${D}/etc/conf.d/pdnsd-online
-
- ${D}/usr/sbin/pdnsd --help | sed "s/^/# /g" > ${config}
- echo -e "\n\n# 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}
- echo "# Command line options" >> ${config}
- use ipv6 && echo PDNSDCONFIG="-6" >> ${config} \
- || echo PDNSDCONFIG="" >> ${config}
-
-}
-
-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"
-
-}
diff --git a/net-dns/pdnsd/pdnsd-1.1.12_pre3.ebuild b/net-dns/pdnsd/pdnsd-1.1.12_pre3.ebuild
deleted file mode 100644
index 166baee8b851..000000000000
--- a/net-dns/pdnsd/pdnsd-1.1.12_pre3.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.12_pre3.ebuild,v 1.2 2004/11/08 08:55:06 mr_bones_ Exp $
-
-inherit eutils
-
-MY_P=${PN}-${PV/_/}-par
-DESCRIPTION="Proxy DNS server with permanent caching"
-HOMEPAGE="http://www.phys.uu.nl/%7Erombouts/pdnsd.html http://home.t-online.de/home/Moestl"
-SRC_URI="http://www.phys.uu.nl/%7Erombouts/pdnsd/${MY_P}.tar.gz"
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~s390 ~sparc ~x86"
-IUSE="ipv6 debug isdn nptl"
-
-DEPEND="virtual/libc
- sys-apps/sed
- sys-apps/gawk
- sys-devel/libtool
- sys-devel/gcc
- sys-devel/automake
- sys-devel/autoconf"
-RDEPEND="virtual/libc"
-
-S=${WORKDIR}/${PN}-${PV/_*/}
-
-pkg_setup() {
- enewgroup pdnsd
- enewuser pdnsd -1 /bin/false /var/lib/pdnsd pdnsd
-}
-
-src_compile() {
- cd ${S} || die
- local myconf
-
- if useq debug; then
- myconf="${myconf} --with-debug=3"
- CFLAGS="${CFLAGS} -g"
- fi
- useq 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` \
- ${myconf} \
- || die "bad configure"
-
- emake all || die "compile problem"
-}
-
-pkg_preinst() {
- # Duplicated so that binary packages work
- enewgroup pdnsd
- enewuser pdnsd -1 /bin/false /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)
- #IPS=$(grep ^nameserver ${ROOT}/etc/resolv.conf | sed -e 's/nameserver//g' | head -n 1)
- 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"
- 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 communicate to daemon"
- src/pdnsd-ctl/pdnsd-ctl -c ${T}/pdnsd status || die "failed to communicate to daemon"
- sleep 3
-
- dig @127.0.0.1 -p 33455 www.gentoo.org | fgrep "status: NOERROR" || die "www.gentoo.org lookup failed"
- kill `cat ${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 COPYING* 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
-
- # Remind users that the cachedir has moved to /var/cache
- #[ -f ${ROOT}/etc/pdnsd/pdnsd.conf ] && \
- # sed -e "s#/var/lib#/var/cache#g" ${ROOT}/etc/pdnsd/pdnsd.conf \
- # > ${D}/etc/pdnsd/pdnsd.conf
-
- 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}
-
-}
-
-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"
-
- use ipv6 && \
- ewarn "make sure your servers in /etc/pdnsd/pdnsd.conf are reachable with IPv6"
-}
diff --git a/net-dns/pdnsd/pdnsd-1.2.1.ebuild b/net-dns/pdnsd/pdnsd-1.2.1.ebuild
deleted file mode 100644
index 779f1bff3e47..000000000000
--- a/net-dns/pdnsd/pdnsd-1.2.1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.1.ebuild,v 1.1 2004/11/30 20:56:43 dragonheart Exp $
-
-inherit eutils
-
-MY_P=${PN}-${PV}-par
-DESCRIPTION="Proxy DNS server with permanent caching"
-HOMEPAGE="http://www.phys.uu.nl/%7Erombouts/pdnsd.html http://home.t-online.de/home/Moestl"
-SRC_URI="http://www.phys.uu.nl/%7Erombouts/pdnsd/releases/${MY_P}.tar.gz"
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~s390 ~sparc ~x86"
-IUSE="ipv6 debug isdn nptl"
-
-DEPEND="virtual/libc
- sys-apps/sed
- sys-apps/gawk
- sys-devel/libtool
- sys-devel/gcc
- sys-devel/automake
- sys-devel/autoconf"
-RDEPEND="virtual/libc"
-
-pkg_setup() {
- enewgroup pdnsd
- enewuser pdnsd -1 /bin/false /var/lib/pdnsd pdnsd
-}
-
-src_compile() {
- cd ${S} || die
- local myconf
-
- if useq debug; then
- myconf="${myconf} --with-debug=3"
- CFLAGS="${CFLAGS} -g"
- fi
- useq 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` \
- ${myconf} \
- || die "bad configure"
-
- emake all || die "compile problem"
-}
-
-pkg_preinst() {
- # Duplicated so that binary packages work
- enewgroup pdnsd
- enewuser pdnsd -1 /bin/false /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)
- #IPS=$(grep ^nameserver ${ROOT}/etc/resolv.conf | sed -e 's/nameserver//g' | head -n 1)
- 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"
- 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 communicate to daemon"
- src/pdnsd-ctl/pdnsd-ctl -c ${T}/pdnsd status || die "failed to communicate to daemon"
- sleep 3
-
- dig @127.0.0.1 -p 33455 www.gentoo.org | fgrep "status: NOERROR" || die "www.gentoo.org lookup failed"
- kill `cat ${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 COPYING* 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
-
- # Remind users that the cachedir has moved to /var/cache
- #[ -f ${ROOT}/etc/pdnsd/pdnsd.conf ] && \
- # sed -e "s#/var/lib#/var/cache#g" ${ROOT}/etc/pdnsd/pdnsd.conf \
- # > ${D}/etc/pdnsd/pdnsd.conf
-
- 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}
-
-}
-
-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"
-}
diff --git a/net-dns/pdnsd/pdnsd-1.2.2.ebuild b/net-dns/pdnsd/pdnsd-1.2.2.ebuild
index bc22af3cc750..3758ca465a90 100644
--- a/net-dns/pdnsd/pdnsd-1.2.2.ebuild
+++ b/net-dns/pdnsd/pdnsd-1.2.2.ebuild
@@ -1,16 +1,16 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.2.ebuild,v 1.1 2005/04/20 21:16:37 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.2.ebuild,v 1.2 2005/06/05 19:47:16 mrness Exp $
inherit eutils
DESCRIPTION="Proxy DNS server with permanent caching"
-HOMEPAGE="http://www.phys.uu.nl/%7Erombouts/pdnsd.html http://home.t-online.de/home/Moestl"
+HOMEPAGE="http://www.phys.uu.nl/%7Erombouts/pdnsd.html http://www.phys.uu.nl/~rombouts/pdnsd.html"
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"
DEPEND="virtual/libc