Initial import into the tree. This closes bug #56378. Thanks to initial ebuild...
authorChris White <chriswhite@gentoo.org>
Thu, 9 Dec 2004 02:50:52 +0000 (02:50 +0000)
committerChris White <chriswhite@gentoo.org>
Thu, 9 Dec 2004 02:50:52 +0000 (02:50 +0000)
www-proxy/dnrd/ChangeLog [new file with mode: 0644]
www-proxy/dnrd/Manifest [new file with mode: 0644]
www-proxy/dnrd/dnrd-2.17.2.ebuild [new file with mode: 0644]
www-proxy/dnrd/files/digest-dnrd-2.17.2 [new file with mode: 0644]
www-proxy/dnrd/files/dnrd [new file with mode: 0644]
www-proxy/dnrd/files/dnrd.conf [new file with mode: 0644]
www-proxy/dnrd/metadata.xml [new file with mode: 0644]

diff --git a/www-proxy/dnrd/ChangeLog b/www-proxy/dnrd/ChangeLog
new file mode 100644 (file)
index 0000000..1fe7606
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for www-proxy/dnrd
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/dnrd/ChangeLog,v 1.1 2004/12/09 02:50:52 chriswhite Exp $
+
+*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/www-proxy/dnrd/Manifest b/www-proxy/dnrd/Manifest
new file mode 100644 (file)
index 0000000..4691d27
--- /dev/null
@@ -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/www-proxy/dnrd/dnrd-2.17.2.ebuild b/www-proxy/dnrd/dnrd-2.17.2.ebuild
new file mode 100644 (file)
index 0000000..051b785
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/dnrd/dnrd-2.17.2.ebuild,v 1.1 2004/12/09 02:50:52 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/www-proxy/dnrd/files/digest-dnrd-2.17.2 b/www-proxy/dnrd/files/digest-dnrd-2.17.2
new file mode 100644 (file)
index 0000000..54871b0
--- /dev/null
@@ -0,0 +1 @@
+MD5 7f7644a2d5440bcff2232eeddb4e0c76 dnrd-2.17.2.tar.gz 145881
diff --git a/www-proxy/dnrd/files/dnrd b/www-proxy/dnrd/files/dnrd
new file mode 100644 (file)
index 0000000..2b92074
--- /dev/null
@@ -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/www-proxy/dnrd/files/dnrd,v 1.1 2004/12/09 02:50:52 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/www-proxy/dnrd/files/dnrd.conf b/www-proxy/dnrd/files/dnrd.conf
new file mode 100644 (file)
index 0000000..96eea43
--- /dev/null
@@ -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/www-proxy/dnrd/metadata.xml b/www-proxy/dnrd/metadata.xml
new file mode 100644 (file)
index 0000000..5230fe5
--- /dev/null
@@ -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>