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/files | |
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/files')
-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 |
3 files changed, 44 insertions, 0 deletions
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 |