[package] openvpn, openvpn-devel, openvpn-polarssl: remove special quoted parameter...
authorJo-Philipp Wich <[email protected]>
Sat, 25 Feb 2012 14:32:21 +0000 (14:32 +0000)
committerJo-Philipp Wich <[email protected]>
Sat, 25 Feb 2012 14:32:21 +0000 (14:32 +0000)
The append_params_quoted procedure was only needed while the final OpenVPN was eval'd, now
that the service wrappers pass the command line through to ssd unmangled, the extraneous
quotes cause issues in the openvpn command line parser, so remove them.

SVN-Revision: 30719

net/openvpn-devel/Makefile
net/openvpn-polarssl/Makefile
net/openvpn/Makefile
net/openvpn/files/openvpn.init

index 44ca487263459abbad891a244a142d0d67ed1e5a..1c2e7fc75f5e98ec8e69c3077de51239f6cda183 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010-2011 OpenWrt.org
+# Copyright (C) 2010-2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openvpn-devel
 PKG_VERSION:=201120
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=openvpn-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel \
index c5ebff225218dbddf0286f5462228d7a9e0c5742..f642a7b1a2f89d5816854cb9c92d9e7ea48d3202 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2011 OpenWrt.org
+# Copyright (C) 2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openvpn-polarssl
 PKG_VERSION:=v2.2-RC2-345-g03ab4ea
-PKG_RELEASE=$(PKG_SOURCE_VERSION)
+PKG_RELEASE=$(PKG_SOURCE_VERSION)-2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_SOURCE_URL:=git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn.git
index c80c587e2297292afcf6b09627b0f93869e9c915..dd31fbdff785bdb59a622cd58dcc1deadcbde9bc 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openvpn
 PKG_VERSION:=2.2.1
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://swupdate.openvpn.net/community/releases @SF/openvpn
index c5f3f95ca8afb03fe8bcb922f781263422b344ef..d114e8adc19eb1ca55e6f5d8301ac046d4b609f7 100644 (file)
@@ -45,18 +45,6 @@ append_params() {
        done
 }
 
-append_params_quoted() {
-       local p; local v; local s="$1"; shift
-       for p in $*; do
-               config_get v "$s" "$p"
-               IFS="$LIST_SEP"
-               for v in $v; do
-                       [ -n "$v" ] && append_param "$p" && ARGS="$ARGS '$v'"
-               done
-               unset IFS
-       done
-}
-
 section_enabled() {
        config_get_bool enable  "$1" 'enable'  0
        config_get_bool enabled "$1" 'enabled' 0
@@ -101,11 +89,7 @@ start_instance() {
                route_metric route_up rport script_security secret server server_bridge setenv shaper sndbuf \
                socks_proxy status status_version syslog tcp_queue_limit tls_auth \
                tls_cipher tls_remote tls_timeout tls_verify tmp_dir topology tran_window \
-               tun_mtu tun_mtu_extra txqueuelen user verb
-
-       # append multi-value params
-       append_params_quoted "$s" \
-               down push up
+               tun_mtu tun_mtu_extra txqueuelen user verb down push up
 
 
        SERVICE_PID_FILE="/var/run/openvpn-$s.pid"