From root@cainites.net  Thu Apr 18 04:53:42 2013
Return-Path: <root@cainites.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 361F93D5
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 Apr 2013 04:53:42 +0000 (UTC)
	(envelope-from 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 C56A2A5C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 18 Apr 2013 04:53:41 +0000 (UTC)
Received: from root by cainites.net with local (Exim 4.80.1 (FreeBSD))
	(envelope-from <root@cainites.net>)
	id 1USESs-0001V6-PU; Wed, 17 Apr 2013 00:35:02 +0200
Message-Id: <E1USESs-0001V6-PU@cainites.net>
Date: Wed, 17 Apr 2013 00:35:02 +0200
From: Ralf van der Enden <tremere@cainites.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: sten@blinkenlights.nl
Subject: [PATCH] dns/powerdns-recursor: update to 3.5
X-Send-Pr-Version: 3.113
X-GNATS-Notify: sten@blinkenlights.nl

>Number:         177945
>Category:       ports
>Synopsis:       [PATCH] dns/powerdns-recursor: update to 3.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 18 05:00:00 UTC 2013
>Closed-Date:    Mon May 06 00:55:30 UTC 2013
>Last-Modified:  Mon May  6 01:00:00 UTC 2013
>Originator:     Ralf van der Enden
>Release:        FreeBSD 9.1-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #0: Thu Apr  4 03:16:08 CEST
>Description:
- Update to 3.5

Changelog is here: http://doc.powerdns.com/html/changelog.html#changelog-recursor-3.5

Also pet the Makefile:
- Change ${LOCALBASE} to ${PREFIX} where applicable
- Fix overwrite of recursor.conf by changing to bsd.port.pre/post.mk (and thus fixing ${PREFIX})

Port maintainer (sten@blinkenlights.nl) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:

--- powerdns-recursor-3.5.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 315913)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	powerdns-recursor
-PORTVERSION=	3.3
+PORTVERSION=	3.5
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/ \
 		http://mirrors.evolva.ro/powerdns.com/releases/
@@ -22,14 +22,16 @@
 SETUID_DESC=		Run as pdns_recursor user
 STATIC_DESC=		Build static binaries
 
-CXXFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CXXFLAGS+=	-I${PREFIX}/include
+LDFLAGS+=	-L${PREFIX}/lib
 
 MAN8=		rec_control.8 pdns_recursor.8
 SUB_FILES=	pkg-message
 
 .include <bsd.port.options.mk>
 
+.include <bsd.port.pre.mk>
+
 .if ${ARCH} == "sparc64"
 BROKEN=		Does not compile on sparc64
 .endif
@@ -46,8 +48,8 @@
 USE_LUA=5.1
 LUA_COMPS=lua
 MAKE_ENV+=LUA=1
-MAKE_ENV+=LUA_CPPFLAGS_CONFIG=-I${LOCALBASE}/include/lua51
-MAKE_ENV+="LUA_LIBS_CONFIG=-L${LOCALBASE}/lib/lua51/ -llua"
+MAKE_ENV+=LUA_CPPFLAGS_CONFIG=-I${PREFIX}/include/lua51
+MAKE_ENV+="LUA_LIBS_CONFIG=-L${PREFIX}/lib/lua51/ -llua"
 .endif
 
 .if ${PORT_OPTIONS:MSTATIC}
@@ -55,7 +57,7 @@
 .endif
 
 .if exists(/usr/include/ucontext.h)
-UCONTEXT!=	${AWK} '/setcontext/ { print "YES" }' \
+UCONTEXT!=	 ${AWK} '/setcontext/ { print "YES" }' \
 		/usr/include/ucontext.h
 .if ${UCONTEXT} == ""
 BROKEN=		requires setcontext()
@@ -78,4 +80,4 @@
 	@${INSTALL_MAN} ${WRKSRC}/*.8 ${PREFIX}/man/man8/
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 315913)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (pdns-recursor-3.3.tar.bz2) = 7b62d97f2bb02bb0ba366dabb5e504338b949a572b9062ec2198012fc3b525bc
-SIZE (pdns-recursor-3.3.tar.bz2) = 145785
+SHA256 (pdns-recursor-3.5.tar.bz2) = 02ea398aa0e95ef4c9caf478eb3836598eabcd5c99ccb7e2e7c265d716089549
+SIZE (pdns-recursor-3.5.tar.bz2) = 176428
Index: files/patch-makefile
===================================================================
--- files/patch-makefile	(revision 315913)
+++ files/patch-makefile	(working copy)
@@ -27,8 +27,8 @@
  	$(DESTDIR)/$(SBINDIR)/pdns_recursor --config > $(DESTDIR)/$(CONFIGDIR)/recursor.conf-dist
 -	-mkdir -p $(DESTDIR)/usr/share/man/man1
 -	cp pdns_recursor.1 rec_control.1 $(DESTDIR)/usr/share/man/man1
-+	mv pdns_recursor.1 pdns_recursor.8
-+	mv rec_control.1 rec_control.8
++	cp pdns_recursor.1 pdns_recursor.8
++	cp rec_control.1 rec_control.8
  	$(OS_SPECIFIC_INSTALL)	
  
  clean: binclean
Index: files/patch-manpages
===================================================================
--- files/patch-manpages	(revision 315913)
+++ files/patch-manpages	(working copy)
@@ -1,44 +1,15 @@
---- pdns_recursor.1.orig	2010-09-21 18:22:09.000000000 +0200
-+++ pdns_recursor.1	2010-09-27 09:24:15.000000000 +0200
+--- rec_control.1.orig	2013-04-15 09:40:40.000000000 +0200
++++ rec_control.1	2013-04-16 20:20:23.142475518 +0200
 @@ -7,7 +7,7 @@
- .\"    Source: [FIXME: source]
+ .\"    Source: \ \& 3.0
  .\"  Language: English
  .\"
--.TH "PDNS_RECURSOR" "1" "02/10/2010" "[FIXME: source]" "[FIXME: manual]"
-+.TH "PDNS_RECURSOR" "8" "02/10/2010" "[FIXME: source]" "[FIXME: manual]"
+-.TH "REC_CONTROL" "1" "04/15/2013" "\ \& 3\&.0" "\ \&"
++.TH "REC_CONTROL" "8" "04/15/2013" "\ \& 3\&.0" "\ \&"
  .\" -----------------------------------------------------------------
- .\" * set default formatting
+ .\" * Define some portability stuff
  .\" -----------------------------------------------------------------
-@@ -25,7 +25,7 @@
- \fIpdns_recursor\fR [\-\-daemon] [\-\-local\-address] [\-\-help, \-h] [\-\-allow\-from]
- .SH "DESCRIPTION"
- .sp
--pdns_recursor(1) is a high performance, simple and secure recursing nameserver\&. It currently powers over two million internet connections\&.
-+pdns_recursor(8) is a high performance, simple and secure recursing nameserver\&. It currently powers over two million internet connections\&.
- .sp
- The recursor is configured via a configuration file, but each item in that file can be overridden on the command line\&.
- .sp
-@@ -264,7 +264,7 @@
- Website: \m[blue]\fBhttp://wiki\&.powerdns\&.com\fR\m[], \m[blue]\fBhttp://www\&.powerdns\&.com\fR\m[]
- .SH "SEE ALSO"
- .sp
--rec_control(1)
-+rec_control(8)
- .SH "COPYING"
- .sp
- Copyright \(co 2006 PowerDNS\&.COM BV\&. Free use of this software is granted under the terms of the GNU General Public License (GPL) version 2\&.
---- rec_control.1.orig	2010-09-21 18:22:09.000000000 +0200
-+++ rec_control.1	2010-09-27 09:22:54.000000000 +0200
-@@ -7,7 +7,7 @@
- .\"    Source: [FIXME: source]
- .\"  Language: English
- .\"
--.TH "REC_CONTROL" "1" "08/30/2010" "[FIXME: source]" "[FIXME: manual]"
-+.TH "REC_CONTROL" "8" "08/30/2010" "[FIXME: source]" "[FIXME: manual]"
- .\" -----------------------------------------------------------------
- .\" * set default formatting
- .\" -----------------------------------------------------------------
-@@ -25,7 +25,7 @@
+@@ -34,7 +34,7 @@
  \fIrec_control\fR [\-\-help] [\-\-socket\-dir] [\-\-socket\-pid] command \&.\&.
  .SH "DESCRIPTION"
  .sp
@@ -47,7 +18,7 @@
  .sp
  The commands that can be passed to the recursor are described on \m[blue]\fBhttp://doc\&.powerdns\&.com/rec\-control\&.html\fR\m[]
  .SH "EXAMPLES"
-@@ -133,7 +133,7 @@
+@@ -142,7 +142,7 @@
  Website: \m[blue]\fBhttp://wiki\&.powerdns\&.com\fR\m[], \m[blue]\fBhttp://www\&.powerdns\&.com\fR\m[]
  .SH "SEE ALSO"
  .sp
--- powerdns-recursor-3.5.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Apr 18 05:00:09 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: sten@blinkenlights.nl
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/177945: [PATCH] dns/powerdns-recursor: update to 3.5
Date: Thu, 18 Apr 2013 05:00:08 UT

 Maintainer of dns/powerdns-recursor,
 
 Please note that PR ports/177945 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/177945
 
 -- 
 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/177945: [PATCH] dns/powerdns-recursor: update to 3.5
Date: Sun, 21 Apr 2013 21:59:00 +0200 (CEST)

 On Thu, 18 Apr 2013, Edwin Groothuis wrote:
 
 > Maintainer of dns/powerdns-recursor,
 >
 > Please note that PR ports/177945 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.
 
 I approve the patch, please commit.
 
 -- 
 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: Sun Apr 21 21:57:18 UTC 2013 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177945 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon May 6 00:54:55 UTC 2013 
State-Changed-Why:  
Superseded by ports/178340. 

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

From: Mark Linimon <linimon@lonesome.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177945: [PATCH] dns/powerdns-recursor: update to 3.5
Date: Sun, 5 May 2013 19:55:54 -0500

 ----- Forwarded message from Ralf van der Enden <tremere@cainites.net> -----
 
 Date: Sun, 5 May 2013 01:51:27 +0200
 From: Ralf van der Enden <tremere@cainites.net>
 To: linimon@FreeBSD.org, sten@blinkenlights.nl,
 	freebsd-ports-bugs@FreeBSD.org
 Subject: RE: ports/177945: [PATCH] dns/powerdns-recursor: update to 3.5
 X-Mailer: Microsoft Outlook 15.0
 
 I've just submitted a new patch (ports/178340) which replaces this one.
 
 ----- End forwarded message -----
>Unformatted:
