Bug 183734 - [maintainer][patch] Fix a staging problem with dns/gdnsd 1.10.1
Summary: [maintainer][patch] Fix a staging problem with dns/gdnsd 1.10.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-07 01:50 UTC by Allan Jude
Modified: 2013-11-08 01:20 UTC (History)
0 users

See Also:


Attachments
file.diff (424 bytes, patch)
2013-11-07 01:50 UTC, Allan Jude
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Jude 2013-11-07 01:50:00 UTC
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

Fix: Patch attached with submission follows:
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2013-11-08 01:16:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

I'll take it.
Comment 2 Ryan Steinmetz freebsd_committer freebsd_triage 2013-11-08 01:19:21 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-11-08 01:19:43 UTC
Author: zi
Date: Fri Nov  8 01:19:12 2013
New Revision: 333171
URL: http://svnweb.freebsd.org/changeset/ports/333171

Log:
  - Correct a staging issue
  
  PR:		ports/183734
  Submitted by:	Allan Jude <ports@scaleengine.com> (maintainer)

Modified:
  head/dns/gdnsd/Makefile

Modified: head/dns/gdnsd/Makefile
==============================================================================
--- head/dns/gdnsd/Makefile	Fri Nov  8 01:10:01 2013	(r333170)
+++ head/dns/gdnsd/Makefile	Fri Nov  8 01:19:12 2013	(r333171)
@@ -15,7 +15,7 @@ LICENSE=	GPLv3
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"