Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 01:43:34 GMT
From:      Allan Jude <ports@scaleengine.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183734: [maintainer][patch] Fix a staging problem with dns/gdnsd 1.10.1
Message-ID:  <201311070143.rA71hYh5084979@oldred.freebsd.org>
Resent-Message-ID: <201311070150.rA71o1hh048629@freefall.freebsd.org>

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

>Number:         183734
>Category:       ports
>Synopsis:       [maintainer][patch] Fix a staging problem with dns/gdnsd 1.10.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 07 01:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Allan Jude
>Release:        9.2-RELEASE
>Organization:
ScaleEngine Inc.
>Environment:
FreeBSD Trooper.HML3.ScaleEngine.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
gdnsd defaults to creating a relative directory named 'system' to chroot to. this combined with staging tried to create an empty directory /wrkdirs/usr/ports/dns/gdnsd/work/stagesystem

Add the configure flag --with-rootdir=/usr/local/etc/gdnsd so that this does not happen
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: dns/gdnsd/Makefile
===================================================================
--- dns/gdnsd/Makefile	(revision 333049)
+++ dns/gdnsd/Makefile	(working copy)
@@ -15,7 +15,7 @@
 LIB_DEPENDS=	libev.so:${PORTSDIR}/devel/libev
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--localstatedir=/var
+CONFIGURE_ARGS=	--localstatedir=/var --with-rootdir=${LOCALBASE}/etc/gdnsd
 USE_LDCONFIG=	yes
 USE_XZ=		yes
 USES=		pkgconfig


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



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