diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-04-30 00:14:42 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-04-30 00:14:42 +0000 |
commit | 54f43445e56b8f38b947a57ad578ae8cde749767 (patch) | |
tree | 1de3b4660a3ff1fb6013a69c616d888b9df03971 /net-dns/pdns-recursor | |
parent | Add a blocker on the split out recursor. (diff) | |
download | gentoo-2-54f43445e56b8f38b947a57ad578ae8cde749767.tar.gz gentoo-2-54f43445e56b8f38b947a57ad578ae8cde749767.tar.bz2 gentoo-2-54f43445e56b8f38b947a57ad578ae8cde749767.zip |
Initial commit, ebuild written by me.
(Portage version: 2.1_pre10)
Diffstat (limited to 'net-dns/pdns-recursor')
-rw-r--r-- | net-dns/pdns-recursor/ChangeLog | 10 | ||||
-rw-r--r-- | net-dns/pdns-recursor/Manifest | 24 | ||||
-rw-r--r-- | net-dns/pdns-recursor/files/digest-pdns-recursor-3.0.1 | 3 | ||||
-rw-r--r-- | net-dns/pdns-recursor/files/precursor | 20 | ||||
-rw-r--r-- | net-dns/pdns-recursor/files/recursor.conf | 21 | ||||
-rw-r--r-- | net-dns/pdns-recursor/metadata.xml | 19 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-3.0.1.ebuild | 32 |
7 files changed, 129 insertions, 0 deletions
diff --git a/net-dns/pdns-recursor/ChangeLog b/net-dns/pdns-recursor/ChangeLog new file mode 100644 index 000000000000..1f9912480056 --- /dev/null +++ b/net-dns/pdns-recursor/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-dns/pdns-recursor +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.1 2006/04/30 00:14:42 swegener Exp $ + +*pdns-recursor-3.0.1 (30 Apr 2006) + + 30 Apr 2006; Sven Wegener <swegener@gentoo.org> +files/precursor, + +files/recursor.conf, +metadata.xml, +pdns-recursor-3.0.1.ebuild: + Initial commit, ebuild written by me. + diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest new file mode 100644 index 000000000000..111809a4a3a7 --- /dev/null +++ b/net-dns/pdns-recursor/Manifest @@ -0,0 +1,24 @@ +AUX precursor 365 RMD160 c7b8891946635e110eb5b36b63a9f115429e45d5 SHA1 c109f69ef1a63d5f65f4b71ca0b55aac271f0a42 SHA256 cfc2e948b78684ef865a1f2cb35e4f9a51010d374db967ec298419ae2f7d4beb size 365 +MD5 e558d45df99a6a52a13cbec47607dd65 files/precursor 365 +RMD160 c7b8891946635e110eb5b36b63a9f115429e45d5 files/precursor 365 +SHA256 cfc2e948b78684ef865a1f2cb35e4f9a51010d374db967ec298419ae2f7d4beb files/precursor 365 +AUX recursor.conf 340 RMD160 864e01b28df57d22699c5a980af3be4db4c113ec SHA1 fe571e402afc378f34a4c79a10fea8ac8e83e08c SHA256 41cf44955ee1e094b8bc763402a819906e8bbfa2b4150737dcaad8e090581d9b size 340 +MD5 e227886bd9496bbe2370e9a78d406057 files/recursor.conf 340 +RMD160 864e01b28df57d22699c5a980af3be4db4c113ec files/recursor.conf 340 +SHA256 41cf44955ee1e094b8bc763402a819906e8bbfa2b4150737dcaad8e090581d9b files/recursor.conf 340 +DIST pdns-recursor-3.0.1.tar.bz2 119684 RMD160 f181660736e1fbbde482bc1b2de9d16ac1af539b SHA256 d0df237f9a931beb8812fbd1dba567133b599e6eed333631a3980b5a292d4be1 size 119684 +EBUILD pdns-recursor-3.0.1.ebuild 778 RMD160 e09e1b8272302a113642a187d2f10e0d5551bcaa SHA1 d8e5722a96204ddb8f517fb57b6c3204721adb1d SHA256 6f817387a9b98ab6cc68ca3e46671a892ae69e0c8b033a3227f333686eb38073 size 778 +MD5 ba0d5dd3055ca9e27fe8d00619daae65 pdns-recursor-3.0.1.ebuild 778 +RMD160 e09e1b8272302a113642a187d2f10e0d5551bcaa pdns-recursor-3.0.1.ebuild 778 +SHA256 6f817387a9b98ab6cc68ca3e46671a892ae69e0c8b033a3227f333686eb38073 pdns-recursor-3.0.1.ebuild 778 +MISC ChangeLog 335 RMD160 ac93a472f514077f24abc48ff665bb2e6aeb6ecb SHA1 35739c8b548eb8a2a443d91f8d3dd34e2aa072cd SHA256 9d0e2489a20568544da7cf8af3b30e5598a59640ff1fd4287c416482b466a20d size 335 +MD5 13e07c36188d051c87d1ccd48a380426 ChangeLog 335 +RMD160 ac93a472f514077f24abc48ff665bb2e6aeb6ecb ChangeLog 335 +SHA256 9d0e2489a20568544da7cf8af3b30e5598a59640ff1fd4287c416482b466a20d ChangeLog 335 +MISC metadata.xml 837 RMD160 2622852a4345606d2ffe85a68f50f332a1dbd696 SHA1 4b574c68576b1c058956085df7a07e250361455c SHA256 742f9fd882ba627c0a7b26dff7fe7b439b8ccf728a1394725bbd85f2a28a7d4b size 837 +MD5 5fd39b9552a8c80d492e32bba6cffda0 metadata.xml 837 +RMD160 2622852a4345606d2ffe85a68f50f332a1dbd696 metadata.xml 837 +SHA256 742f9fd882ba627c0a7b26dff7fe7b439b8ccf728a1394725bbd85f2a28a7d4b metadata.xml 837 +MD5 3bd026b6ee0eaf32c1d45f34095877d6 files/digest-pdns-recursor-3.0.1 262 +RMD160 bd752dee0f53b28b756faf8977d4e55dd40b7744 files/digest-pdns-recursor-3.0.1 262 +SHA256 94f78a95ce229b272794030eb57b67414ce6a5aeacf6bc1ed9a05f0935853af6 files/digest-pdns-recursor-3.0.1 262 diff --git a/net-dns/pdns-recursor/files/digest-pdns-recursor-3.0.1 b/net-dns/pdns-recursor/files/digest-pdns-recursor-3.0.1 new file mode 100644 index 000000000000..1f50c853f606 --- /dev/null +++ b/net-dns/pdns-recursor/files/digest-pdns-recursor-3.0.1 @@ -0,0 +1,3 @@ +MD5 367b2c091791dc7f49002a6d8fedf011 pdns-recursor-3.0.1.tar.bz2 119684 +RMD160 f181660736e1fbbde482bc1b2de9d16ac1af539b pdns-recursor-3.0.1.tar.bz2 119684 +SHA256 d0df237f9a931beb8812fbd1dba567133b599e6eed333631a3980b5a292d4be1 pdns-recursor-3.0.1.tar.bz2 119684 diff --git a/net-dns/pdns-recursor/files/precursor b/net-dns/pdns-recursor/files/precursor new file mode 100644 index 000000000000..68573018ca72 --- /dev/null +++ b/net-dns/pdns-recursor/files/precursor @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/files/precursor,v 1.1 2006/04/30 00:14:42 swegener Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting PowerDNS Recursor" + /usr/sbin/pdns_recursor --daemon &>/dev/null + eend $? +} + +stop() { + ebegin "Stopping PowerDNS Recursor" + /usr/sbin/rec_control quit &>/dev/null + eend $? +} diff --git a/net-dns/pdns-recursor/files/recursor.conf b/net-dns/pdns-recursor/files/recursor.conf new file mode 100644 index 000000000000..b4bf3b6d6a78 --- /dev/null +++ b/net-dns/pdns-recursor/files/recursor.conf @@ -0,0 +1,21 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/files/recursor.conf,v 1.1 2006/04/30 00:14:42 swegener Exp $ + +# Drop uid +setuid=nobody + +# Drop gid +setgid=nobody + +# Don't log queries +quiet=on + +# Local IP address to bind to +local-address=127.0.0.1 + +# Local port to bind to +local-port=53 + +# Change root for safety +chroot=/var/empty diff --git a/net-dns/pdns-recursor/metadata.xml b/net-dns/pdns-recursor/metadata.xml new file mode 100644 index 000000000000..d49ea4ff5265 --- /dev/null +++ b/net-dns/pdns-recursor/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>swegener@gentoo.org</email> + <name>Sven Wegener</name> + <description>Primary Maintainer</description> +</maintainer> +<longdescription> +With a small codebase, the PowerDNS Recursor is an advanced recursor currently +serving the DNS resolving needs of over 2 million Internet connections. Besides +high performance (using kqueue or epoll, over 15 thousand qps on commodity +hardware), it provides advanced anti-spoofing measures. In addition, the program +caches server performance and timeouts, making it both network and user friendly. +It also has built-in hooks for making graphs with rrdtool, providing insight into +nameserver performance. +</longdescription> +</pkgmetadata> diff --git a/net-dns/pdns-recursor/pdns-recursor-3.0.1.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.0.1.ebuild new file mode 100644 index 000000000000..95e4d2ed8023 --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-3.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.0.1.ebuild,v 1.1 2006/04/30 00:14:42 swegener Exp $ + +inherit toolchain-funcs + +DESCRIPTION="The PowerDNS Recursor" +HOMEPAGE="http://www.powerdns.com/" +SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-libs/boost-1.33.1" +RDEPEND="${DEPEND} + !net-dns/pdns" + +src_compile() { + emake OPTFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed" +} + +src_install() { + dosbin pdns_recursor rec_control || die "dosbin failed" + doman pdns_recursor.1 rec_control.1 || die "doman failed" + + insinto /etc/powerdns + doins "${FILESDIR}"/recursor.conf || die "doina failed" + + doinitd "${FILESDIR}"/precursor || die "doinitd failed" +} |