Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2013 18:54:41 GMT
From:      Steve Wills <swills@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/182330: [PATCH] sysutils/vpnc-scripts: patch to fix path
Message-ID:  <201309231854.r8NIsfhg089338@meatwad.mouf.net>
Resent-Message-ID: <201309231900.r8NJ01Gt075163@freefall.freebsd.org>

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

>Number:         182330
>Category:       ports
>Synopsis:       [PATCH] sysutils/vpnc-scripts: patch to fix path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 23 19:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-ALPHA2 amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-ALPHA2 FreeBSD 10.0-ALPHA2 #7 r255703M: Thu Sep 19 21:42:35 UTC
>Description:
- Fix path for hooks dir

Port maintainer (zi@FreeBSD.org) is cc'd.

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

--- vpnc-scripts-20130311.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 328029)
+++ Makefile	(working copy)
@@ -18,6 +18,11 @@
 PLIST_FILES=	sbin/vpnc-script sbin/vpnc-script-sshd sbin/vpnc-script-ptrtd
 
 NO_STAGE=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \
+		${WRKSRC}/vpnc-script
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${PREFIX}/sbin
 	${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script-sshd ${PREFIX}/sbin
--- vpnc-scripts-20130311.patch ends here ---

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



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