summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnrd/ChangeLog8
-rw-r--r--net-dns/dnrd/Manifest20
-rw-r--r--net-dns/dnrd/dnrd-2.20.2.ebuild39
-rw-r--r--net-dns/dnrd/files/digest-dnrd-2.20.23
-rw-r--r--net-dns/dnrd/files/dnrd24
-rw-r--r--net-dns/dnrd/files/dnrd.conf11
6 files changed, 105 insertions, 0 deletions
diff --git a/net-dns/dnrd/ChangeLog b/net-dns/dnrd/ChangeLog
new file mode 100644
index 0000000..994eb67
--- /dev/null
+++ b/net-dns/dnrd/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-dns/dnrd
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 15 Mar 2007; Ali Polatel (hawking) <polatel@nerdshack.com>
+ +dnrd-2.20.2.ebuild, +files/dnrd, +files/dnrd.conf:
+ version bump to 2.20.2 - bug 170742
+
diff --git a/net-dns/dnrd/Manifest b/net-dns/dnrd/Manifest
new file mode 100644
index 0000000..b9347bc
--- /dev/null
+++ b/net-dns/dnrd/Manifest
@@ -0,0 +1,20 @@
+AUX dnrd 376 RMD160 f1bf988aba95c225c2c17a08744cbf59e030d1ff SHA1 2a58cd323011e5769529e5193f362228eb10240e SHA256 d0712b3a3e6f5e4af4c1537864f25386efa54b8bb43bf5551eb64848a3ae7f72
+MD5 8059003d53bc53806f2c86e77464f917 files/dnrd 376
+RMD160 f1bf988aba95c225c2c17a08744cbf59e030d1ff files/dnrd 376
+SHA256 d0712b3a3e6f5e4af4c1537864f25386efa54b8bb43bf5551eb64848a3ae7f72 files/dnrd 376
+AUX dnrd.conf 250 RMD160 bfd9250ceabf3f4397e4d6ebb8ce1630ac160bcf SHA1 153c0135d51664f5dd2451932769addacc74bdd4 SHA256 8631def27d95d43b9d445302bc0b20598fa8ca1909dcb35ca61f7b4aa599146b
+MD5 7d30e0bd4d61ae20ed63339d3cc5739d files/dnrd.conf 250
+RMD160 bfd9250ceabf3f4397e4d6ebb8ce1630ac160bcf files/dnrd.conf 250
+SHA256 8631def27d95d43b9d445302bc0b20598fa8ca1909dcb35ca61f7b4aa599146b files/dnrd.conf 250
+DIST dnrd-2.20.2.tar.gz 161833 RMD160 d393696e201ae4a1c6b2a86ba749d20fdc60a1e9 SHA1 62a42cb9facf5f264b1254e21eb555bcc1518de7 SHA256 661f7fd9711f9f32f377af57eb4ec7452f1ad3d3227b61770fed26e1fa4a8a09
+EBUILD dnrd-2.20.2.ebuild 839 RMD160 b9daf0d1663cd358d9804b9e905664695dfbe52e SHA1 e8fdca03a58a467b3fc53c48a97c39e2e2dab7b8 SHA256 062f5b4ce3e84a8842bf4831218e5545bc6dcf50495e285b38c7809e570e8114
+MD5 bc3fd7a864a264506bb6dcf0859f84aa dnrd-2.20.2.ebuild 839
+RMD160 b9daf0d1663cd358d9804b9e905664695dfbe52e dnrd-2.20.2.ebuild 839
+SHA256 062f5b4ce3e84a8842bf4831218e5545bc6dcf50495e285b38c7809e570e8114 dnrd-2.20.2.ebuild 839
+MISC ChangeLog 267 RMD160 8d952da20f3424bd51adca6797db089f5ea7751b SHA1 33c32079f4076b28f445abdf5d29729e76579b1c SHA256 2eaf3d90c75cbc26bfde3be1f18bacb826fbb9f738a85cbb529f6064f4549387
+MD5 533b0c7deaace9f6b7d611a4bfd77fe2 ChangeLog 267
+RMD160 8d952da20f3424bd51adca6797db089f5ea7751b ChangeLog 267
+SHA256 2eaf3d90c75cbc26bfde3be1f18bacb826fbb9f738a85cbb529f6064f4549387 ChangeLog 267
+MD5 944481a596eac4721f096b14a7d47724 files/digest-dnrd-2.20.2 235
+RMD160 0492a39cd5bbfa75649cf898eef286f2605f7246 files/digest-dnrd-2.20.2 235
+SHA256 86f23e167487217917c905f779d1e935786763985db58be05db433113c18bed7 files/digest-dnrd-2.20.2 235
diff --git a/net-dns/dnrd/dnrd-2.20.2.ebuild b/net-dns/dnrd/dnrd-2.20.2.ebuild
new file mode 100644
index 0000000..c0b232c
--- /dev/null
+++ b/net-dns/dnrd/dnrd-2.20.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="A caching DNS proxy server"
+HOMEPAGE="http://dnrd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug"
+DEPEND=""
+
+src_compile() {
+ econf $(use_enable debug) \
+ --disable-dependency-tracking
+ emake || die "emake failed"
+}
+
+src_install() {
+ dosbin src/dnrd || die "dosbin failed"
+ doman doc/dnrd.8 || die "doman failed"
+ dodoc README ChangeLog NEWS doc/README-cache doc/README-master
+
+ insinto /etc/${PN}
+ doins doc/master.sample || die "doins failed"
+
+ keepdir /etc/dnrd
+ doinitd ${FILESDIR}/dnrd
+ newconfd ${FILESDIR}/dnrd.conf dnrd
+}
+
+pkg_postinst() {
+ enewgroup dnrd
+ enewuser dnrd -1 -1 /dev/null dnrd
+}
diff --git a/net-dns/dnrd/files/digest-dnrd-2.20.2 b/net-dns/dnrd/files/digest-dnrd-2.20.2
new file mode 100644
index 0000000..285aaeb
--- /dev/null
+++ b/net-dns/dnrd/files/digest-dnrd-2.20.2
@@ -0,0 +1,3 @@
+MD5 37a4449fbad9e863301d5128420bd210 dnrd-2.20.2.tar.gz 161833
+RMD160 d393696e201ae4a1c6b2a86ba749d20fdc60a1e9 dnrd-2.20.2.tar.gz 161833
+SHA256 661f7fd9711f9f32f377af57eb4ec7452f1ad3d3227b61770fed26e1fa4a8a09 dnrd-2.20.2.tar.gz 161833
diff --git a/net-dns/dnrd/files/dnrd b/net-dns/dnrd/files/dnrd
new file mode 100644
index 0000000..fd0799c
--- /dev/null
+++ b/net-dns/dnrd/files/dnrd
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: $
+
+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 0000000..96eea43
--- /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"