Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 Jun 2010 17:14:43 +0200 (CEST)
From:      olli hauer <ohauer@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ohauer@gmx.de
Subject:   ports/147472: [patch] port security/openvpn replace "/bin/bash" with "/bin/sh" in easy-rsa scripts
Message-ID:  <20100604151444.2D439201D3@u18-124.dsl.vianetworks.de>
Resent-Message-ID: <201006041520.o54FK18e012221@freefall.freebsd.org>

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

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



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