Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50122 Details for
Bug 80322
pdns added virtual support and recursor
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch -> added recursor.conf example
pdns-2.9.16-virtual-recursor.diff (text/plain), 4.28 KB, created by
Christian Zoffoli (RETIRED)
on 2005-02-01 05:26:01 UTC
(
hide
)
Description:
updated patch -> added recursor.conf example
Filename:
MIME Type:
Creator:
Christian Zoffoli (RETIRED)
Created:
2005-02-01 05:26:01 UTC
Size:
4.28 KB
patch
obsolete
>diff -uNr /usr/portage/net-dns/pdns/ChangeLog /usr/local/portage/net-dns/pdns/ChangeLog >--- /usr/portage/net-dns/pdns/ChangeLog 2005-01-22 13:09:38.000000000 +0100 >+++ /usr/local/portage/net-dns/pdns/ChangeLog 2005-02-01 14:04:13.000000000 +0100 >@@ -2,6 +2,11 @@ > # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 > # $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.13 2005/01/22 12:04:50 luckyduck Exp $ > >+ 02 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> files/pdns, >+ pdns-2.9.16.ebuild: >+ added virtual support in pdns script, added recursor support, added an init >+ script for recursor >+ > 22 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> pdns-2.9.16.ebuild: > added ~amd64 to KEYWORDS. fixes #78838 > >diff -uNr /usr/portage/net-dns/pdns/files/pdns /usr/local/portage/net-dns/pdns/files/pdns >--- /usr/portage/net-dns/pdns/files/pdns 2004-07-15 01:36:02.000000000 +0200 >+++ /usr/local/portage/net-dns/pdns/files/pdns 2005-02-01 13:08:33.000000000 +0100 >@@ -1,20 +1,36 @@ > #!/sbin/runscript >-# Copyright 1999-2004 Gentoo Foundation >+# Copyright 1999-2005 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/files/pdns,v 1.3 2004/07/14 23:25:25 agriffis Exp $ >+# $Header: $ >+ >+opts="${opts} reload " >+ >+suffix=`echo ${myservice} | awk -F- '{print $2}'` >+if [ $suffix ] >+then >+ EXTRAOPTS=--config-name=$suffix >+fi > > depend() { >+ provide dns > need net > } > > start() { > ebegin "Starting PowerDNS" >- start-stop-daemon --start --quiet --exec /usr/bin/env -- /usr/sbin/pdns_server --daemon --guardian=yes >+ start-stop-daemon --start --quiet --exec /usr/bin/env -- /usr/sbin/pdns_server ${EXTRAOPTS} --daemon --guardian=yes > eend $? > } > > stop() { > ebegin "Stopping PowerDNS" >- start-stop-daemon --stop --quiet --pidfile=/var/run/pdns.pid >+ start-stop-daemon --stop --quiet --pidfile=/var/run/${myservice}.pid >+ eend $? >+} >+ >+reload() { >+ ebegin "Reload PowerDNS" >+ /usr/bin/pdns_control ${EXTRAOPTS} cycle &> /dev/null > eend $? > } >+ >diff -uNr /usr/portage/net-dns/pdns/files/precursor /usr/local/portage/net-dns/pdns/files/precursor >--- /usr/portage/net-dns/pdns/files/precursor 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/local/portage/net-dns/pdns/files/precursor 2005-02-01 01:39:45.000000000 +0100 >@@ -0,0 +1,20 @@ >+#!/sbin/runscript >+# Copyright 1999-2005 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ >+ >+depend() { >+ need net >+} >+ >+start() { >+ ebegin "Starting PowerDNS" >+ start-stop-daemon --start --quiet --exec /usr/bin/env -- /usr/sbin/pdns_recursor --daemon >+ eend $? >+} >+ >+stop() { >+ ebegin "Stopping PowerDNS" >+ start-stop-daemon --stop --quiet --pidfile=/var/run/pdns_recursor.pid >+ eend $? >+} >diff -uNr /usr/portage/net-dns/pdns/files/recursor.conf /usr/local/portage/net-dns/pdns/files/recursor.conf >--- /usr/portage/net-dns/pdns/files/recursor.conf 1970-01-01 01:00:00.000000000 +0100 >+++ /usr/local/portage/net-dns/pdns/files/recursor.conf 2005-02-01 14:25:05.879097712 +0100 >@@ -0,0 +1,3 @@ >+quiet=on >+local-address=127.0.0.1 >+local-port=53 >diff -uNr /usr/portage/net-dns/pdns/pdns-2.9.16.ebuild /usr/local/portage/net-dns/pdns/pdns-2.9.16.ebuild >--- /usr/portage/net-dns/pdns/pdns-2.9.16.ebuild 2005-01-22 13:09:39.000000000 +0100 >+++ /usr/local/portage/net-dns/pdns/pdns-2.9.16.ebuild 2005-02-01 14:28:08.110394344 +0100 >@@ -1,6 +1,6 @@ > # Copyright 1999-2005 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.16.ebuild,v 1.5 2005/01/22 12:04:50 luckyduck Exp $ >+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.16.ebuild,v 1.4 2004/07/14 23:37:33 agriffis Exp $ > > DESCRIPTION="The PowerDNS Daemon." > SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.gz" >@@ -29,6 +29,7 @@ > use ldap && modules="ldap $modules" > > econf --with-modules="$modules" \ >+ --enable-recursor \ > $myconf || die "Configuration failed" > > emake || die "Make failed" >@@ -39,7 +40,12 @@ > dodoc ChangeLog HACKING INSTALL README TODO WARNING pdns/COPYING > > exeinto /etc/init.d >- doexe ${FILESDIR}/pdns >+ doexe ${FILESDIR}/pdns || die >+ doexe ${FILESDIR}/precursor || die >+ >+ insinto /etc/ >+ insopts -m 0644 >+ doins ${FILESDIR}/recursor.conf > > mv ${D}/etc/pdns.conf-dist ${D}/etc/pdns.conf > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 80322
:
50121
| 50122