ports/182330: [PATCH] sysutils/vpnc-scripts: patch to fix path

Steve Wills swills at FreeBSD.org
Mon Sep 23 19:00:02 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list