Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Jul 2008 13:54:04 +0200 (CEST)
From:      Sten Spans <sten@blinkenlights.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125364: dns/powerdns-recursor update to 3.1.7
Message-ID:  <20080707115404.EB62D7301D@mx0.blinkenlights.nl>
Resent-Message-ID: <200807071200.m67C0AYZ071498@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125364
>Category:       ports
>Synopsis:       dns/powerdns-recursor update to 3.1.7
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 07 12:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sten Spans
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD earth.blinkenlights.nl 6.3-RELEASE FreeBSD 6.3-RELEASE #2: Mon Feb 4 21:44:57 CET 2008 root@earth.blinkenlights.nl:/usr/obj/usr/src/sys/1650 i386


	
>Description:
	This patch updates the powerdns-recursor port to 3.1.7, 
	a maintenance release which includes various bug-fixes and
	adds lua support.
>How-To-Repeat:
	
>Fix:

	apply the following diff:

diff -Nru powerdns-recursor.orig/Makefile powerdns-recursor/Makefile
--- powerdns-recursor.orig/Makefile	2008-05-02 11:44:48.000000000 +0200
+++ powerdns-recursor/Makefile	2008-07-07 13:37:09.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	powerdns-recursor
-PORTVERSION=	3.1.6
+PORTVERSION=	3.1.7
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/ \
 		http://mirrors.evolva.ro/powerdns.com/releases/
@@ -21,8 +21,9 @@
 USE_GMAKE=	yes
 USE_GCC=	3.4+
 
-OPTIONS=	STATIC	"Enable Full STATIC" off \
-		SETUID	"Run as pdns_recursor user" on
+OPTIONS=	SETUID	"Run as pdns_recursor user" on \
+		LUA	"Enable Lua bindings" off \
+		STATIC	"Build static binaries" off
 
 CXXFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -36,15 +37,23 @@
 
 USE_RC_SUBR+=	pdns-recursor
 
+.if defined(WITH_SETUID)
+EXTRA_PATCHES+=	${PATCHDIR}/extrapatch-setuid
+.endif
+
+.if defined(WITH_LUA)
+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"
+.endif
+
 .if defined(WITH_STATIC)
 MAKE_ENV+=STATIC=full
 PLIST_SUB+=	STATIC="@comment "
 .endif
 
-.if defined(WITH_SETUID)
-EXTRA_PATCHES+=	${PATCHDIR}/extrapatch-setuid
-.endif
-
 .if exists(/usr/include/ucontext.h)
 UCONTEXT!=	${AWK} '/setcontext/ { print "YES" }' \
 		/usr/include/ucontext.h
diff -Nru powerdns-recursor.orig/distinfo powerdns-recursor/distinfo
--- powerdns-recursor.orig/distinfo	2008-05-02 09:44:53.000000000 +0200
+++ powerdns-recursor/distinfo	2008-07-07 13:13:39.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (pdns-recursor-3.1.6.tar.bz2) = 6153e89070b9535778dca6b548081f02
-SHA256 (pdns-recursor-3.1.6.tar.bz2) = 55bbb45d2395a2af4fd0c07ad65a59e29e426c1820dc3c4bff6a65876b4206f5
-SIZE (pdns-recursor-3.1.6.tar.bz2) = 171424
+MD5 (pdns-recursor-3.1.7.tar.bz2) = e7521055f949ba8e9e77fe27411be2ed
+SHA256 (pdns-recursor-3.1.7.tar.bz2) = 2255ea25071f7ccb3e096e85c7fb38f860a02d29f277dfbef66c7a1f5735051f
+SIZE (pdns-recursor-3.1.7.tar.bz2) = 174424

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080707115404.EB62D7301D>