summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-01-11 05:38:04 +0000
committerChris White <chriswhite@gentoo.org>2005-01-11 05:38:04 +0000
commitdc11e2798fced326d533556c6cea4711ef1740b7 (patch)
tree6d6590c9f30a8317a5665dd99b80f79315799266 /net-dns
parentCooler cross-compile support. Now you just have to set CTARGET/CHOST and THA... (diff)
downloadgentoo-2-dc11e2798fced326d533556c6cea4711ef1740b7.tar.gz
gentoo-2-dc11e2798fced326d533556c6cea4711ef1740b7.tar.bz2
gentoo-2-dc11e2798fced326d533556c6cea4711ef1740b7.zip
Stage 1 move from www-proxy to net-dns.
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnrd/ChangeLog15
-rw-r--r--net-dns/dnrd/Manifest16
-rw-r--r--net-dns/dnrd/dnrd-2.17.2.ebuild34
-rw-r--r--net-dns/dnrd/files/digest-dnrd-2.17.21
-rw-r--r--net-dns/dnrd/files/dnrd24
-rw-r--r--net-dns/dnrd/files/dnrd.conf11
-rw-r--r--net-dns/dnrd/metadata.xml11
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..4691d27d31f7
--- /dev/null
+++ b/net-dns/dnrd/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 49db7de8df5b5861e76cf4c85e0fdd90 dnrd-2.17.2.ebuild 709
+MD5 6e337a49786952bf09c027f74d9b2c24 metadata.xml 439
+MD5 0f39411aa64abb05ed2b0053ef2916d6 ChangeLog 486
+MD5 adabeaf8e108dbbac72ac51528b3fc12 files/digest-dnrd-2.17.2 63
+MD5 7d30e0bd4d61ae20ed63339d3cc5739d files/dnrd.conf 250
+MD5 155a5a89e15508b347383c07ec1c550b files/dnrd 467
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBt72pFdQwWVoAgN4RAjDVAJoD5/6uBnz0YLMbS4qGpD55ZUeplwCeOmXf
+EUMPooacvrUhWZdpsahjJM0=
+=HlYx
+-----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>