aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2016-04-05 10:17:40 +0800
committermandree <mandree@FreeBSD.org>2016-04-05 10:17:40 +0800
commit52df2b93cca6c685f4c00e1c4a6066e2d4785870 (patch)
tree6c1ea9b4625407b6f0c29dacebf0fde63f47c3e2 /security
parent82749179dad13b42206db9993818b164ac3b7777 (diff)
downloadfreebsd-ports-gnome-52df2b93cca6c685f4c00e1c4a6066e2d4785870.tar.gz
freebsd-ports-gnome-52df2b93cca6c685f4c00e1c4a6066e2d4785870.tar.zst
freebsd-ports-gnome-52df2b93cca6c685f4c00e1c4a6066e2d4785870.zip
One more fix for /usr/sbin/service -R.
Diffstat (limited to 'security')
-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"
;;