aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-02-20 09:16:09 +0800
committerrafan <rafan@FreeBSD.org>2008-02-20 09:16:09 +0800
commitb0d6cf275de3e11330707448d4f01e96d5a01384 (patch)
tree8cb5a30f241caad93f18a1731ecd3b219db674a1
parentc015c5d5a4157656b0521083891d8075784e15e1 (diff)
downloadfreebsd-ports-gnome-b0d6cf275de3e11330707448d4f01e96d5a01384.tar.gz
freebsd-ports-gnome-b0d6cf275de3e11330707448d4f01e96d5a01384.tar.zst
freebsd-ports-gnome-b0d6cf275de3e11330707448d4f01e96d5a01384.zip
- Run opensvn with --daemon ${name} in order to get distinguishable and
useful syslog tags PR: ports/120863 Submitted by: Matthias Andree <matthias.andree at gmx.de> (maintainer)
-rw-r--r--security/openvpn-devel/Makefile1
-rw-r--r--security/openvpn-devel/files/openvpn.sh.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile
index 976e6c31d62e..8a92e7c32a36 100644
--- a/security/openvpn-devel/Makefile
+++ b/security/openvpn-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openvpn
DISTVERSION= 2.1_rc7
+PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://openvpn.net/release/
PKGNAMESUFFIX= -devel
diff --git a/security/openvpn-devel/files/openvpn.sh.in b/security/openvpn-devel/files/openvpn.sh.in
index ee9853a121d8..84da0a29b940 100644
--- a/security/openvpn-devel/files/openvpn.sh.in
+++ b/security/openvpn-devel/files/openvpn.sh.in
@@ -2,7 +2,7 @@
#
# openvpn.sh - load tun/tap driver and start OpenVPN daemon
#
-# (C) Copyright 2005 - 2007 by Matthias Andree
+# (C) Copyright 2005 - 2008 by Matthias Andree
# based on suggestions by Matthias Grimm and Dirk Gouders
# with multi-instance contribution from Denis Shaposhnikov, Gleb Kozyrev
# and Vasil Dimov
@@ -126,6 +126,6 @@ dir="$(eval echo \${${name}_dir})"
interfaces="$(eval echo \${${name}_if})"
required_files=${configfile}
-command_args="--cd ${dir} --daemon --config ${configfile} --writepid ${pidfile}"
+command_args="--cd ${dir} --daemon ${name} --config ${configfile} --writepid ${pidfile}"
run_rc_command "$1"