Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50121 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]
added virtual support and precursor
pdns-2.9.16-virtual-recursor.diff (text/plain), 4.03 KB, created by
Christian Zoffoli (RETIRED)
on 2005-02-01 05:10:57 UTC
(
hide
)
Description:
added virtual support and precursor
Filename:
MIME Type:
Creator:
Christian Zoffoli (RETIRED)
Created:
2005-02-01 05:10:57 UTC
Size:
4.03 KB
patch
obsolete
>diff -uNr /usr/portage/net-dns/pdns/ChangeLog /usr/local/portage/net-dns/pdns/ChangeLog >--- /usr/portage/net-dns/pdns/ChangeLog 2004-07-02 00:36:20.000000000 +0200 >+++ /usr/local/portage/net-dns/pdns/ChangeLog 2005-02-01 14:04:13.628468744 +0100 >@@ -1,6 +1,14 @@ > # ChangeLog for net-dns/pdns >-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 >-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.12 2004/07/01 22:13:26 eradicator Exp $ >+# 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 > > 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> > pdns-2.9.12-r1.ebuild, pdns-2.9.12.ebuild, pdns-2.9.15.ebuild, >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/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 2004-07-15 02:06:23.000000000 +0200 >+++ /usr/local/portage/net-dns/pdns/pdns-2.9.16.ebuild 2005-02-01 13:12:37.067217608 +0100 >@@ -1,4 +1,4 @@ >-# 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/pdns-2.9.16.ebuild,v 1.4 2004/07/14 23:37:33 agriffis Exp $ > >@@ -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,8 @@ > dodoc ChangeLog HACKING INSTALL README TODO WARNING pdns/COPYING > > exeinto /etc/init.d >- doexe ${FILESDIR}/pdns >+ doexe ${FILESDIR}/pdns || die >+ doexe ${FILESDIR}/precursor || die > > 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