aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/openvpn/Makefile2
-rw-r--r--security/openvpn/files/openvpn.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index 6c56a25f3d8e..afcd06b06b63 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openvpn
DISTVERSION= 2.3.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security net
MASTER_SITES= http://swupdate.openvpn.net/community/releases/ \
http://build.openvpn.net/downloads/releases/
diff --git a/security/openvpn/files/openvpn.in b/security/openvpn/files/openvpn.in
index bc77d1da9c90..ff21fad80898 100644
--- a/security/openvpn/files/openvpn.in
+++ b/security/openvpn/files/openvpn.in
@@ -76,6 +76,9 @@ case "$0" in
# so get the name of the script from $_file
name="$_file"
;;
+*/service)
+ # do not use this as $0
+ ;;
*)
name="$0"
;;