Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2006 01:56:27 +0100 (CET)
From:      Sten Spans <sten@blinkenlights.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105588: [maintainer update] dns/powerdns-recursor configfile location
Message-ID:  <20061116005627.845D13F423@mx1.blinkenlights.nl>
Resent-Message-ID: <200611160100.kAG109q5069550@freefall.freebsd.org>

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

>Number:         105588
>Category:       ports
>Synopsis:       [maintainer update] dns/powerdns-recursor configfile location
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 16 01:00:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sten Spans
>Release:        FreeBSD 6.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD towel.blinkenlights.nl 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #3: Fri Jun 9 14:46:08 CEST 2006 root@towel.blinkenlights.nl:/usr/obj/usr/src/sys/TOWEL i386

>Description:
the config directory specified in 'config.h' is different
from the directory used by the rest of the port.
>How-To-Repeat:
Install the port, the configfile won't be found.
>Fix:

--- Makefile.orig	Thu Nov 16 01:38:56 2006
+++ Makefile	Thu Nov 16 01:47:49 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	powerdns-recursor
 PORTVERSION=	3.1.4
+PORTREVISION=	1
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/ \
 		http://mirrors.evolva.ro/powerdns.com/releases/
@@ -45,7 +46,7 @@
 	   -e 's;BINDIR=/usr/bin/;BINDIR=${PREFIX}/bin/;' \
 	   -e 's;CONFIGDIR="/etc/powerdns/";CONFIGDIR=${PREFIX}/etc/pdns/;' \
 		${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's;"/etc/powerdns/";"${PREFIX}/etc/powerdns/";' \
+	@${REINPLACE_CMD} -e 's;"/etc/powerdns/";"${PREFIX}/etc/pdns/";' \
 		${WRKSRC}/config.h
 
 post-install:

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



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