aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2010-06-05 22:12:29 +0800
committermandree <mandree@FreeBSD.org>2010-06-05 22:12:29 +0800
commit5255c873c1d1d5a43e39389b0338425007bce643 (patch)
tree5e381ccb38f765fb55da000e84c9692c57fdf23d /security/openvpn
parent421cfa4fb0741fb20f9a2ef8427b4b8f51340875 (diff)
downloadfreebsd-ports-gnome-5255c873c1d1d5a43e39389b0338425007bce643.tar.gz
freebsd-ports-gnome-5255c873c1d1d5a43e39389b0338425007bce643.tar.zst
freebsd-ports-gnome-5255c873c1d1d5a43e39389b0338425007bce643.zip
Fix bashisms (source FILE -> . FILE)
replace shebang-lines /bin/bash -> /bin/sh bump portrevision (changed files) based on: PR: ports/147472 Submitted by: Olli Hauer <ohauer@gmx.de> Approved by: miwi (mentor)
Diffstat (limited to 'security/openvpn')
-rw-r--r--security/openvpn/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index 8239c8c12887..efb663981b4e 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openvpn
DISTVERSION= 2.1.1
+PORTREVISION= 1
CATEGORIES= security net
# MASTER_SITES points to hosts in distinct data centers,
# so just one MASTER_SITES entry should be OK.
@@ -73,6 +74,9 @@ CONFIGURE_ARGS+= --disable-pkcs11
.endif
post-patch:
+ @${FIND} ${WRKSRC}/easy-rsa/?.0 -type f \
+ -exec ${REINPLACE_CMD} -e 's;#!/bin/bash;#!/bin/sh;' \
+ -e 's,source ./vars,. ./vars,' \{\} +
@${FIND} ${WRKSRC} -name \*.orig -delete
@${FIND} ${WRKSRC} -name \*.bak -delete