ports/147472: [patch] port security/openvpn replace "/bin/bash" with "/bin/sh" in easy-rsa scripts

olli hauer ohauer at gmx.de
Fri Jun 4 15:20:01 UTC 2010


>Number:         147472
>Category:       ports
>Synopsis:       [patch] port security/openvpn replace "bash" with "sh" in easy-rsa scripts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 04 15:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     olli hauer <ohauer at gmx.de>
>Release:        
>Organization:
>Environment:


>Description:
scripts in easy-rsa use /bin/bash instead off /bin/sh, this patch fix this.
openvpn-devel is not affected, here /bin/sh is used.

>How-To-Repeat:
>Fix:
--- patch_openvpn_Makefile.txt begins here ---
--- Makefile
+++ Makefile
@@ -73,6 +73,7 @@
 .endif
 
 post-patch:
+	@${FIND} ${WRKSRC}/easy-rsa -type f -exec ${REINPLACE_CMD} -e 's;#!/bin/bash;#!/bin/sh;g' \{\} \;
 	@${FIND} ${WRKSRC} -name \*.orig -delete
 	@${FIND} ${WRKSRC} -name \*.bak -delete
--- patch_openvpn_Makefile.txt ends here ---
 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list