ports/120862: [MAINTAINER] security/openvpn: use rcfile name for syslog
Matthias Andree
matthias.andree at gmx.de
Wed Feb 20 00:20:01 UTC 2008
>Number: 120862
>Category: ports
>Synopsis: [MAINTAINER] security/openvpn: use rcfile name for syslog
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 20 00:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 6.3-STABLE FreeBSD 6.3-STABLE #23: Thu Feb 14 10:40:27 CET 2008
>Description:
Run openvpn with --daemon ${name} in order to get
distinguishable and useful syslog tags.
Suggested by Stefan Bethke.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- openvpn-2.0.6_8.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/openvpn/Makefile /usr/home/emma/ports/security/openvpn/Makefile
--- /usr/ports/security/openvpn/Makefile 2007-03-04 20:12:37.000000000 +0100
+++ /usr/home/emma/ports/security/openvpn/Makefile 2008-02-20 01:08:15.000000000 +0100
@@ -13,7 +13,7 @@
# UPGRADE REQUESTS WILL BE DROPPED UNLESS BSD-RELATED.
# -----------------------------------------------------
PORTVERSION= 2.0.6
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= security net
# MASTER_SITES points to hosts in distinct data centers,
# so just one MASTER_SITES entry should be OK.
diff -ruN --exclude=CVS /usr/ports/security/openvpn/files/openvpn.sh.in /usr/home/emma/ports/security/openvpn/files/openvpn.sh.in
--- /usr/ports/security/openvpn/files/openvpn.sh.in 2007-03-08 08:16:33.000000000 +0100
+++ /usr/home/emma/ports/security/openvpn/files/openvpn.sh.in 2008-02-20 01:08:36.000000000 +0100
@@ -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 @@
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"
--- openvpn-2.0.6_8.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list