summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-04-11 22:25:00 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-04-11 22:52:27 +0200
commit42b97b7b20b2ba16e3b7bc138fe440bbbc512106 (patch)
treec14b1c1c6ccca739077b854b7d54a6735cb889a0 /net-dns
parentmedia-gfx/sane-backends: migrate to GLEP 81 (diff)
downloadgentoo-42b97b7b20b2ba16e3b7bc138fe440bbbc512106.tar.gz
gentoo-42b97b7b20b2ba16e3b7bc138fe440bbbc512106.tar.bz2
gentoo-42b97b7b20b2ba16e3b7bc138fe440bbbc512106.zip
net-dns/dnrd: migrate to GLEP 81
Closes: https://bugs.gentoo.org/781377 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnrd/dnrd-2.20.3-r3.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-dns/dnrd/dnrd-2.20.3-r3.ebuild b/net-dns/dnrd/dnrd-2.20.3-r3.ebuild
new file mode 100644
index 000000000000..973a1d043f7e
--- /dev/null
+++ b/net-dns/dnrd/dnrd-2.20.3-r3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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="~amd64 ~ppc ~x86"
+
+PATCHES=( "${FILESDIR}"/${P}-docdir.patch )
+
+RDEPEND="
+ acct-group/dnrd
+ acct-user/dnrd
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ keepdir /etc/dnrd
+ doinitd "${FILESDIR}"/dnrd
+ newconfd "${FILESDIR}"/dnrd.conf dnrd
+}