Changeset 30719


Ignore:
Timestamp:
2012-02-25T15:32:21+01:00 (6 years ago)
Author:
jow
Message:

[package] openvpn, openvpn-devel, openvpn-polarssl: remove special quoted parameter handling
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.

Location:
packages/net
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • packages/net/openvpn-devel/Makefile

    r29184 r30719  
    11# 
    2 # Copyright (C) 2010-2011 OpenWrt.org 
     2# Copyright (C) 2010-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=openvpn-devel 
    1111PKG_VERSION:=201120 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=openvpn-$(PKG_VERSION).tar.gz 
  • packages/net/openvpn-polarssl/Makefile

    r29333 r30719  
    11# 
    2 # Copyright (C) 2011 OpenWrt.org 
     2# Copyright (C) 2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=openvpn-polarssl 
    1111PKG_VERSION:=v2.2-RC2-345-g03ab4ea 
    12 PKG_RELEASE=$(PKG_SOURCE_VERSION) 
     12PKG_RELEASE=$(PKG_SOURCE_VERSION)-2 
    1313PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1414PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
  • packages/net/openvpn/Makefile

    r29355 r30719  
    11# 
    2 # Copyright (C) 2006-2011 OpenWrt.org 
     2# Copyright (C) 2006-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=openvpn 
    1111PKG_VERSION:=2.2.1 
    12 PKG_RELEASE:=4 
     12PKG_RELEASE:=5 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/net/openvpn/files/openvpn.init

    r29355 r30719  
    4141                for v in $v; do 
    4242                        [ -n "$v" ] && append_param "$p" && ARGS="$ARGS $v" 
    43                 done 
    44                 unset IFS 
    45         done 
    46 } 
    47  
    48 append_params_quoted() { 
    49         local p; local v; local s="$1"; shift 
    50         for p in $*; do 
    51                 config_get v "$s" "$p" 
    52                 IFS="$LIST_SEP" 
    53                 for v in $v; do 
    54                         [ -n "$v" ] && append_param "$p" && ARGS="$ARGS '$v'" 
    5543                done 
    5644                unset IFS 
     
    10290                socks_proxy status status_version syslog tcp_queue_limit tls_auth \ 
    10391                tls_cipher tls_remote tls_timeout tls_verify tmp_dir topology tran_window \ 
    104                 tun_mtu tun_mtu_extra txqueuelen user verb 
    105  
    106         # append multi-value params 
    107         append_params_quoted "$s" \ 
    108                 down push up 
     92                tun_mtu tun_mtu_extra txqueuelen user verb down push up 
    10993 
    11094 
Note: See TracChangeset for help on using the changeset viewer.