diff options
author | Chris White <chriswhite@gentoo.org> | 2005-01-11 05:38:04 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2005-01-11 05:38:04 +0000 |
commit | e71bbfe3e12afe7087549c0686f4e801a199c78c (patch) | |
tree | b155b2a054fe36473efa1fe00395e79ecb57e146 /net-dns | |
parent | Cooler cross-compile support. Now you just have to set CTARGET/CHOST and THA... (diff) | |
download | historical-e71bbfe3e12afe7087549c0686f4e801a199c78c.tar.gz historical-e71bbfe3e12afe7087549c0686f4e801a199c78c.tar.bz2 historical-e71bbfe3e12afe7087549c0686f4e801a199c78c.zip |
Stage 1 move from www-proxy to net-dns.
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/dnrd/ChangeLog | 15 | ||||
-rw-r--r-- | net-dns/dnrd/Manifest | 16 | ||||
-rw-r--r-- | net-dns/dnrd/dnrd-2.17.2.ebuild | 34 | ||||
-rw-r--r-- | net-dns/dnrd/files/digest-dnrd-2.17.2 | 1 | ||||
-rw-r--r-- | net-dns/dnrd/files/dnrd | 24 | ||||
-rw-r--r-- | net-dns/dnrd/files/dnrd.conf | 11 | ||||
-rw-r--r-- | net-dns/dnrd/metadata.xml | 11 |
7 files changed, 112 insertions, 0 deletions
diff --git a/net-dns/dnrd/ChangeLog b/net-dns/dnrd/ChangeLog new file mode 100644 index 000000000000..d0b2c06f8de7 --- /dev/null +++ b/net-dns/dnrd/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for www-proxy/dnrd +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnrd/ChangeLog,v 1.1 2005/01/11 05:38:04 chriswhite Exp $ + + 11 Jan 2005; Chris White <chriswhite@gentoo.org> +metadata.xml, + +files/dnrd, +files/dnrd.conf, +dnrd-2.17.2.ebuild: + Move from www-proxy to net-dns as per bug #76216. + +*dnrd-2.17.2 (09 Dec 2004) + + 09 Dec 2004; Chris White <chriswhite@gentoo.org> +metadata.xml, +files/dnrd, + +files/dnrd.conf, +dnrd-2.17.2.ebuild: + Initial import into the tree. This closes bug #56378. Thanks to initial ebuild + submission by Natanael Copa <mlists@tanael.org>. + diff --git a/net-dns/dnrd/Manifest b/net-dns/dnrd/Manifest new file mode 100644 index 000000000000..21390442b226 --- /dev/null +++ b/net-dns/dnrd/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 9f97996e0d76eadfa1e65e2320ec234d ChangeLog 657 +MD5 7a4e4dab2fd918ab73a67810a68ebc31 dnrd-2.17.2.ebuild 707 +MD5 6e337a49786952bf09c027f74d9b2c24 metadata.xml 439 +MD5 adabeaf8e108dbbac72ac51528b3fc12 files/digest-dnrd-2.17.2 63 +MD5 37af42cf55f4b5e709d87a79e89fd760 files/dnrd 465 +MD5 7d30e0bd4d61ae20ed63339d3cc5739d files/dnrd.conf 250 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFB42TqFdQwWVoAgN4RAszvAJsG9bf/Z0FtCwddOvziDKKseYUK3ACfWlbC +DDNpLtGNwXgg59HPUDc+Ytk= +=y0Ag +-----END PGP SIGNATURE----- diff --git a/net-dns/dnrd/dnrd-2.17.2.ebuild b/net-dns/dnrd/dnrd-2.17.2.ebuild new file mode 100644 index 000000000000..25edbb377d64 --- /dev/null +++ b/net-dns/dnrd/dnrd-2.17.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnrd/dnrd-2.17.2.ebuild,v 1.1 2005/01/11 05:38:04 chriswhite Exp $ + +inherit gnuconfig + +DESCRIPTION="A caching DNS proxy server" +HOMEPAGE="http://dnrd.sourceforge.net/" +SRC_URI="mirror://sourceforge/dnrd/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +DEPEND="" + +src_unpack() { + unpack ${A} + gnuconfig_update +} + +src_compile() { + econf \ + $(use_enable debug) \ + || die "configuration failed" + + emake || die "Make failed" +} + +src_install() { + make DESTDIR=${D} install || die + + doinitd ${FILESDIR}/dnrd + newconfd ${FILESDIR}/dnrd.conf dnrd +} diff --git a/net-dns/dnrd/files/digest-dnrd-2.17.2 b/net-dns/dnrd/files/digest-dnrd-2.17.2 new file mode 100644 index 000000000000..54871b0ffe14 --- /dev/null +++ b/net-dns/dnrd/files/digest-dnrd-2.17.2 @@ -0,0 +1 @@ +MD5 7f7644a2d5440bcff2232eeddb4e0c76 dnrd-2.17.2.tar.gz 145881 diff --git a/net-dns/dnrd/files/dnrd b/net-dns/dnrd/files/dnrd new file mode 100644 index 000000000000..c0a9a1d583d9 --- /dev/null +++ b/net-dns/dnrd/files/dnrd @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnrd/files/dnrd,v 1.1 2005/01/11 05:38:04 chriswhite Exp $ + +PIDFILE="/var/run/dnrd.pid" + +depend() { + provide dns + need net +} + +start() { + ebegin "Starting dnrd" + /usr/sbin/dnrd $DNRD_OPTS &> /dev/null & + eend $? +} + +stop() { + ebegin "Stopping dnrd" + /usr/sbin/dnrd -k + eend $? +} + diff --git a/net-dns/dnrd/files/dnrd.conf b/net-dns/dnrd/files/dnrd.conf new file mode 100644 index 000000000000..96eea43a87d4 --- /dev/null +++ b/net-dns/dnrd/files/dnrd.conf @@ -0,0 +1,11 @@ +# options to dnrd + +# example: 2 default dns servers and dns servers for mydomain.com. The +# latter are load balanced (-b) + +# DNRD_OPTS=" +# -s 213.142.64.170 +# -s 213.142.64.171 +# -b +# -s 192.168.65.250:mydomain.com +# -s 192.168.65.254:mydomain.com" diff --git a/net-dns/dnrd/metadata.xml b/net-dns/dnrd/metadata.xml new file mode 100644 index 000000000000..5230fe5afb11 --- /dev/null +++ b/net-dns/dnrd/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>no-herd</herd> +<maintainer> + <email>chriswhite@gentoo.org</email> +</maintainer> +<longdescription> +Domain Name Relay Daemon is a caching, forwarding DNS proxy server. Most useful on vpn or dialup firewalls but it is also a nice DNS cache for minor networks and workstations. +</longdescription> +</pkgmetadata> |