diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-02-02 16:59:56 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-02-02 16:59:56 +0000 |
commit | 4a72295b3dea4a3b7d2ccdee24a54ab44ea29d0d (patch) | |
tree | ff728c0744190b82a5b3dbc2394535bc4b88407e /net-dns | |
parent | Initial import. Thanks to Jereon Hoek <jereon.hoek@datacenter-friesland.nl> f... (diff) | |
download | gentoo-2-4a72295b3dea4a3b7d2ccdee24a54ab44ea29d0d.tar.gz gentoo-2-4a72295b3dea4a3b7d2ccdee24a54ab44ea29d0d.tar.bz2 gentoo-2-4a72295b3dea4a3b7d2ccdee24a54ab44ea29d0d.zip |
version bump. Copyright dates changed too.
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdnsd/ChangeLog | 12 | ||||
-rw-r--r-- | net-dns/pdnsd/Manifest | 10 | ||||
-rw-r--r-- | net-dns/pdnsd/files/digest-pdnsd-1.1.9 | 1 | ||||
-rw-r--r-- | net-dns/pdnsd/files/pdnsd.online | 21 | ||||
-rw-r--r-- | net-dns/pdnsd/metadata.xml | 11 | ||||
-rw-r--r-- | net-dns/pdnsd/pdnsd-1.1.6-r7.ebuild | 4 | ||||
-rw-r--r-- | net-dns/pdnsd/pdnsd-1.1.7a.ebuild | 4 | ||||
-rw-r--r-- | net-dns/pdnsd/pdnsd-1.1.9.ebuild | 85 |
8 files changed, 139 insertions, 9 deletions
diff --git a/net-dns/pdnsd/ChangeLog b/net-dns/pdnsd/ChangeLog index fbd850a6a03a..c4a49f32ba1d 100644 --- a/net-dns/pdnsd/ChangeLog +++ b/net-dns/pdnsd/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-dns/pdnsd -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.10 2003/03/10 08:25:32 aliz Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.11 2004/02/02 16:59:39 dragonheart Exp $ + +*pdnsd-1.1.9 (03 Feb 2004) + + 03 Feb 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml, + pdnsd-1.1.6-r7.ebuild, pdnsd-1.1.7a.ebuild, pdnsd-1.1.9.ebuild, + files/pdnsd.online: + Version bump to include many patches. Adds pdnsd-online init-script too. + Fixes bug #20450. 09 Mar 2003; Daniel Ahlberg <aliz@gentoo.org> files/pdnsd.rc6 : Fixed typo in init file. Closes #16881. diff --git a/net-dns/pdnsd/Manifest b/net-dns/pdnsd/Manifest index 8dad5b6c5d79..0698e2fbdd90 100644 --- a/net-dns/pdnsd/Manifest +++ b/net-dns/pdnsd/Manifest @@ -1,6 +1,10 @@ -MD5 d05195b5dcaa5db5888c6fcedc4cb145 ChangeLog 1396 -MD5 492f72eb0b47dd16e97567ad94c43754 pdnsd-1.1.6-r7.ebuild 987 -MD5 25c034584044f3f5925673311693beca pdnsd-1.1.7a.ebuild 983 +MD5 9f9140f4fa5406a433dfba0e47e6f725 ChangeLog 1682 +MD5 26bca7b616a2442959308de230497400 pdnsd-1.1.6-r7.ebuild 993 +MD5 a415c002ad5217367da41f607bf6cad6 pdnsd-1.1.7a.ebuild 990 +MD5 e431e56fc317b0cdec92acd7311e66cf pdnsd-1.1.9.ebuild 2366 +MD5 cd82be4729ad0da13f8e5e396dd29840 metadata.xml 437 +MD5 257d8a4508a950c8a742eb669197bb28 files/pdnsd.online 475 MD5 0be52a5ffe250606d96898f3936bc249 files/digest-pdnsd-1.1.6-r7 64 MD5 729266103aee86613f32b6e39c03172f files/digest-pdnsd-1.1.7a 65 MD5 fa58342514a2c664a7c900e8bc04d08b files/pdnsd.rc6 759 +MD5 2f4f436df1064eb21409e1ef613be068 files/digest-pdnsd-1.1.9 67 diff --git a/net-dns/pdnsd/files/digest-pdnsd-1.1.9 b/net-dns/pdnsd/files/digest-pdnsd-1.1.9 new file mode 100644 index 000000000000..6b51deab29b9 --- /dev/null +++ b/net-dns/pdnsd/files/digest-pdnsd-1.1.9 @@ -0,0 +1 @@ +MD5 1b40367617bbcb41f8c76221fedcd490 pdnsd-1.1.9-par.tar.gz 319386 diff --git a/net-dns/pdnsd/files/pdnsd.online b/net-dns/pdnsd/files/pdnsd.online new file mode 100644 index 000000000000..954263f2292e --- /dev/null +++ b/net-dns/pdnsd/files/pdnsd.online @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/files/pdnsd.online,v 1.1 2004/02/02 16:59:39 dragonheart Exp $ + +depend() { + need pdnsd net.${IFACE} +} + +start() { + ebegin "Starting pdnsd-online" + /usr/sbin/pdnsd-ctl server all up + eend $? +} + +stop() { + ebegin "Stopping pdnsd-online" + /usr/sbin/pdnsd-ctl server all down + eend $? +} + diff --git a/net-dns/pdnsd/metadata.xml b/net-dns/pdnsd/metadata.xml new file mode 100644 index 000000000000..a67e36659754 --- /dev/null +++ b/net-dns/pdnsd/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!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 server dialup workstations/networks</longdescription> +</pkgmetadata> diff --git a/net-dns/pdnsd/pdnsd-1.1.6-r7.ebuild b/net-dns/pdnsd/pdnsd-1.1.6-r7.ebuild index 0ddff856aa5d..cc366dbc9102 100644 --- a/net-dns/pdnsd/pdnsd-1.1.6-r7.ebuild +++ b/net-dns/pdnsd/pdnsd-1.1.6-r7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.6-r7.ebuild,v 1.9 2003/02/13 13:58:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.6-r7.ebuild,v 1.10 2004/02/02 16:59:39 dragonheart Exp $ S=${WORKDIR}/${P} DESCRIPTION="Proxy DNS server with permanent caching" diff --git a/net-dns/pdnsd/pdnsd-1.1.7a.ebuild b/net-dns/pdnsd/pdnsd-1.1.7a.ebuild index d3a9cf502ae3..51c1affd75f3 100644 --- a/net-dns/pdnsd/pdnsd-1.1.7a.ebuild +++ b/net-dns/pdnsd/pdnsd-1.1.7a.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.7a.ebuild,v 1.7 2003/02/27 09:58:06 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.7a.ebuild,v 1.8 2004/02/02 16:59:39 dragonheart Exp $ S=${WORKDIR}/${P} DESCRIPTION="Proxy DNS server with permanent caching" diff --git a/net-dns/pdnsd/pdnsd-1.1.9.ebuild b/net-dns/pdnsd/pdnsd-1.1.9.ebuild new file mode 100644 index 000000000000..21e5e793bb0c --- /dev/null +++ b/net-dns/pdnsd/pdnsd-1.1.9.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.9.ebuild,v 1.1 2004/02/02 16:59:39 dragonheart Exp $ + +DESCRIPTION="Proxy DNS server with permanent caching" + +MY_P=${PN}-${PV}-par + +SRC_URI="http://www.phys.uu.nl/%7Erombouts/pdnsd/${MY_P}.tar.gz" + +HOMEPAGE="http://home.t-online.de/home/Moestl http://www.phys.uu.nl/%7Erombouts/pdnsd.html" + +IUSE="ipv6 debug isdn" + +DEPEND="virtual/glibc" + +SLOT="0" +LICENSE="BSD | GPL-2" + +# Should work on ppc and sparc, (alpha?) +KEYWORDS="~x86" + +S=${WORKDIR}/${PN}-${PV} + + +# for debugging use +use debug && RESTRICT="${RESTRICT} nostrip" + +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/lib/pdnsd \ + --infodir=/usr/share/info --mandir=/usr/share/man \ + `use_enable ipv6` `use_enable isdn` \ + ${myconf} \ + || die "bad configure" + + emake all || die "compile problem" +} + +src_install() { + make DESTDIR=${D} install || die + + enewgroup pdnsd + enewuser pdnsd -1 /bin/false /var/lib/pdnsd pdnsd + fowners pdnsd:pdnsd /var/lib/pdnsd /var/lib/pdnsd/pdnsd.cache + + sed -i 's/run_as=.*/run_as="pdnsd";/' ${D}/etc/pdnsd/pdnsd.conf.sample + + 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 + + exeinto /etc/init.d + newexe ${FILESDIR}/pdnsd.rc6 pdnsd + newexe ${FILESDIR}/pdnsd.online pdnsd-online + + [ `use ipv6` ] && \ + sed -i "s:-- -s:-- -6 -s:" ${D}/etc/init.d/pdnsd + + [ `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 + echo "# Enter the interface that connects you to the dns servers" > ${config} + echo "# This will correspond to /etc/init.d/net.${IFACE}" >> ${config} + echo "IFACE=ppp0" >> ${config} + + einfo "Add pdnsd to your default runlevel." + einfo "" + einfo "Add pdnsd-online to your online runlevel." + einfo "The online interface will be listed in /etc/conf.d/pdnsd-online" +} |