diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dns/dnrd |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dns/dnrd')
-rw-r--r-- | net-dns/dnrd/Manifest | 8 | ||||
-rw-r--r-- | net-dns/dnrd/dnrd-2.20.3-r1.ebuild | 43 | ||||
-rw-r--r-- | net-dns/dnrd/files/dnrd | 23 | ||||
-rw-r--r-- | net-dns/dnrd/files/dnrd-2.20.3-docdir.patch | 21 | ||||
-rw-r--r-- | net-dns/dnrd/files/dnrd.conf | 11 | ||||
-rw-r--r-- | net-dns/dnrd/metadata.xml | 18 |
6 files changed, 124 insertions, 0 deletions
diff --git a/net-dns/dnrd/Manifest b/net-dns/dnrd/Manifest new file mode 100644 index 000000000000..be6679b82ceb --- /dev/null +++ b/net-dns/dnrd/Manifest @@ -0,0 +1,8 @@ +AUX dnrd 356 SHA256 2b1a8322fd6552dac8721c2d449ed4e6e5936582499e5ca4613ee41a85fa6b0d SHA512 16ac5a0f40206b3dfaa178adba77c605bee57eca7b81e026c4e76b520894876f28ed8cea4281410453cd7a46e5b306f2280b67c80f1c5254f2f16d5489640685 WHIRLPOOL 22f073b50be9548fa81406616ca358ac3baafab1224a0bdfce93cc07e70c656ad7b0e484945349bf30b16f1d3b9b5c776a08f59a1ef24c852046bc02c653a1c5 +AUX dnrd-2.20.3-docdir.patch 711 SHA256 18c2cbea544f29c163e9d74882fc5eb3fa9411e220554e3a1fb5fe690e89ee75 SHA512 0f97a79bcad417cbef90fdedebd116bc89490588065a242b2e0002b10f98ec2ecf45807cfd3333882426ddbde64eedad6ccdc71a149b6c28f6cba03d7b3cabf6 WHIRLPOOL b27f8a218f14d38beb84462e1183e27df3aa2783c7a9c03e300f735b59e66dcde16e60ac82c64824c750debf7aeaa36dfb008cd12e3608d8032d41e2dc0e3e04 +AUX dnrd.conf 250 SHA256 8631def27d95d43b9d445302bc0b20598fa8ca1909dcb35ca61f7b4aa599146b SHA512 461bbebba321b5216a15ea9550342ca9f7374af6446c2f515a3f5ce35bf45480c8f684b60ce8c206ec017e7ca060d4588c0d2da026d2e99162f3f9a6e58f03d2 WHIRLPOOL 7fcec034e90ac546413736c9432b142e96e974b10ec217477882bf7c0c295f4492590196499b9e6c1960cf0e19503f73f419688249a3da91f42aa077c7491551 +DIST dnrd-2.20.3.tar.gz 161887 SHA256 aa46e7f8736b88c1d752cf606b3990041221ce91d014e955c6b02eb2167db015 SHA512 a526ec9c2f82ac36fa7beaf864ab39c56e5956530b10115ad2ca2f79ecb820fe865d9da9edd1dea5f4cb97508afbec88f0606b03f87baba25561c097e7c0ea9b WHIRLPOOL d218a8d51766b0d0d1317d109e250bf9c871b7a9ff7dbfd9e6149d3197c6b93e8eb4311fd921de59de46183134136f6ceefde828bd1527595979a79c00fc3fe1 +EBUILD dnrd-2.20.3-r1.ebuild 794 SHA256 e13f2756287ab0ef208ed6ffc88265791f174ef78e289a03f857e47b6808dd45 SHA512 1bb2a4e4a840da82f7b97cabc6e1e9307ba62871aa1328b8746c6dba1bdcb26b4c6e1ec4643bdaa1558f3bccf0a6228de2eda5c528c20418898bc1e212830df8 WHIRLPOOL 3611523156f507f6853c9454611962b5a978e357d1d2669a0b7d3348d59d571826583c658f5d12470036dba48021efd644581c8bb4405da0d06e910d907ba450 +MISC ChangeLog 2736 SHA256 0fda413240d7d9740dc7e4f4b7fec85684aecccf73e29d6ac3b5cb4be34cf0d1 SHA512 f258e9b5d197fd08686b351d48f6398e5ba2e28f098062bb0041aecd58a56c1fc1ec6abcc4ad276fae22cd08441d0406793c79dbbc287319a836078eee70d29e WHIRLPOOL fe6889bc9db479cf05f2a6239c034554fcbe62cd12e339ff4c3b2aaa72f0edaeb3380299f307c7a481af6e316283d1aa3607d764ed31eb0115c8f610284b2613 +MISC ChangeLog-2015 2929 SHA256 4c3bc39a28c4ca032febd62032d4556ce014936dadd3f6c444b84256d93a16d3 SHA512 36046f94e0f58d344bc349b4f7f807184fd78d77d19b9dd1a36a005972f718c2632b99f5b86ab0a67782a235bf9599d22dbd08f5a53b065b342e30273cb2279e WHIRLPOOL 26a722866216bd28881dd5923a855800df65d73a0fe32d63de4f27fcd113bd258ce7940b09eeb7d4493d96f506526fa78d149c8c91c2d357d42f162a0b9ea9e9 +MISC metadata.xml 657 SHA256 a851115d1507db8c06f7468074793d49779e736597abe9f27e757ac2f7cf458a SHA512 1b241e4719fde34ca85e146e21906a0b82aaacd5e71cdd215365e32bb005d2166f39f90eab12bdcd574d9387175a5870af6d24a676a108470c30e096ff9f53f8 WHIRLPOOL 94fd649f322396393edcfdddd14c30512f69bd60276bea7cde506a6d4df2c8039a0377e2555456b2a138bd915f37775cffa8c405362098e8500e48c60c347df9 diff --git a/net-dns/dnrd/dnrd-2.20.3-r1.ebuild b/net-dns/dnrd/dnrd-2.20.3-r1.ebuild new file mode 100644 index 000000000000..95fd6237bd1d --- /dev/null +++ b/net-dns/dnrd/dnrd-2.20.3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit autotools eutils user + +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" +IUSE="debug" +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-docdir.patch + eautoreconf +} + +src_compile() { + econf \ + $(use_enable debug) \ + --disable-dependency-tracking \ + --docdir=/usr/share/doc/${PF} \ + || die + + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + 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/dnrd b/net-dns/dnrd/files/dnrd new file mode 100644 index 000000000000..9fb87107b7a8 --- /dev/null +++ b/net-dns/dnrd/files/dnrd @@ -0,0 +1,23 @@ +#!/sbin/openrc-run +# Copyright 1999-2003 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later + +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-2.20.3-docdir.patch b/net-dns/dnrd/files/dnrd-2.20.3-docdir.patch new file mode 100644 index 000000000000..a3d1c8002d51 --- /dev/null +++ b/net-dns/dnrd/files/dnrd-2.20.3-docdir.patch @@ -0,0 +1,21 @@ +Index: doc/Makefile.am +=================================================================== +--- doc/Makefile.am (revision 247) ++++ doc/Makefile.am (revision 248) +@@ -1,5 +1,4 @@ + PACKAGE = @PACKAGE_TARNAME@ +-docdir = $(datadir)/doc/$(PACKAGE) + doc_DATA = README-cache README-master README-cygwin master.sample + man_MANS = dnrd.8 + EXTRA_DIST = $(man_MANS) $(doc_DATA) +Index: Makefile.am +=================================================================== +--- Makefile.am (revision 247) ++++ Makefile.am (revision 248) +@@ -1,6 +1,5 @@ + PACKAGE = @PACKAGE_TARNAME@ + SUBDIRS = src doc +-docdir = $(datadir)/doc/$(PACKAGE) + doc_DATA = AUTHORS COPYING ChangeLog README NEWS + + EXTRA_DIST = README cygwin_post_install.sh 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..349a9bf300f0 --- /dev/null +++ b/net-dns/dnrd/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>natanael.copa@gmail.com</email> + <name>Natanael Copa</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </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> + <upstream> + <remote-id type="sourceforge">dnrd</remote-id> + </upstream> +</pkgmetadata> |