From prvs=01056e6fe0=root@cainites.net  Thu Aug  7 15:49:34 2008
Return-Path: <prvs=01056e6fe0=root@cainites.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A88C810657FB
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Aug 2008 15:49:34 +0000 (UTC)
	(envelope-from prvs=01056e6fe0=root@cainites.net)
Received: from cainites.net (tunnel3563.ipv6.xs4all.nl [IPv6:2001:888:10:deb::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 60F538FC2C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Aug 2008 15:49:34 +0000 (UTC)
	(envelope-from prvs=01056e6fe0=root@cainites.net)
Received: from root by cainites.net with local (Exim 4.69 (FreeBSD))
	(envelope-from <root@cainites.net>)
	id 1KR7k5-0001WA-95; Thu, 07 Aug 2008 17:49:33 +0200
Message-Id: <E1KR7k5-0001WA-95@cainites.net>
Date: Thu, 07 Aug 2008 17:49:33 +0200
From: Ralf van der Enden <tremere@cainites.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: sten@blinkenlights.nl
Subject: [PATCH] dns/powerdns-recursor: fix startup-script
X-Send-Pr-Version: 3.113
X-GNATS-Notify: sten@blinkenlights.nl

>Number:         126340
>Category:       ports
>Synopsis:       [PATCH] dns/powerdns-recursor: fix startup-script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 07 15:50:00 UTC 2008
>Closed-Date:    Sat Aug 16 23:02:55 UTC 2008
>Last-Modified:  Sat Aug 16 23:10:04 UTC 2008
>Originator:     Ralf van der Enden
>Release:        FreeBSD 7.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #3: Sun Jul 13 22:22:16 CEST 2008
>Description:
Fix startup-script:
daemons like ntpd require a recursor to resolve hosts. Make sure it starts before DAEMON (so it ends up in the same "range" as named;between SERVERS and DAEMON).
Port maintainer (sten@blinkenlights.nl) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- powerdns-recursor-3.1.7_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/dns/powerdns-recursor/files/pdns-recursor.in /usr/ports/dns/powerdns-recursor.new/files/pdns-recursor.in
--- /usr/ports/dns/powerdns-recursor/files/pdns-recursor.in	2008-08-06 22:48:41.000000000 +0200
+++ /usr/ports/dns/powerdns-recursor.new/files/pdns-recursor.in	2008-08-07 17:47:05.000000000 +0200
@@ -5,6 +5,7 @@
 
 # PROVIDE: pdns_recursor
 # REQUIRE: SERVERS cleanvar
+# BEFORE:  DAEMON
 # KEYWORD: shutdown
 
 #
--- powerdns-recursor-3.1.7_1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Aug 7 15:50:11 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126340 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: sten@blinkenlights.nl
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/126340: [PATCH] dns/powerdns-recursor: fix startup-script
Date: Thu, 7 Aug 2008 15:50:08 UT

 Maintainer of dns/powerdns-recursor,
 
 Please note that PR ports/126340 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126340
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Sten Spans <sten@blinkenlights.nl>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/126340: [PATCH] dns/powerdns-recursor: fix
 startup-script
Date: Thu, 7 Aug 2008 20:48:28 +0200 (CEST)

 On Thu, 7 Aug 2008, Edwin Groothuis wrote:
 
 > Maintainer of dns/powerdns-recursor,
 >
 > Please note that PR ports/126340 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126340
 
 Mmmm, named doesn't have the "BEFORE: DAEMON" line, which is why
 I assumed that it wouldn't be needed. But the daemons in base which 
 require dns-resolving depend on named:
 
 earth# egrep 'REQUIRE:.*named' /etc/rc.d/*
 /etc/rc.d/ntpdate:# REQUIRE: NETWORKING syslogd named
 /etc/rc.d/rpcbind:# REQUIRE: NETWORKING ntpdate syslogd named
 
 And ntpd depends on ntpdate.
 
 So adding "BEFORE: DAEMON" indeed would make this work.
 Looks ok to me.
 
 -- 
 Sten Spans
 
 "There is a crack in everything, that's how the light gets in."
 Leonard Cohen - Anthem
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 7 19:13:04 UTC 2008 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126340 
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Fri Aug 8 09:34:51 UTC 2008 
Responsible-Changed-Why:  
I'll take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126340 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Sat Aug 16 23:02:35 UTC 2008 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126340 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/126340: commit references a PR
Date: Sat, 16 Aug 2008 23:01:49 +0000 (UTC)

 beech       2008-08-16 23:01:40 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns/powerdns-recursor/files pdns-recursor.in 
   Log:
   - Fix start script
   
   PR:             ports/126340
   Submitted by:   Ralf van der Enden <tremere@cainites.net>
   Approved by:    Sten Spans <sten@blinkenlights.nl> (maintainer)
   
   Revision  Changes    Path
   1.3       +1 -0      ports/dns/powerdns-recursor/files/pdns-recursor.in
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
