hi, still pending?
christoph Am 23.02.2014 18:59, schrieb Christoph Kottke: > hi, > > any future suggestions or have i forgotten something to include? > > christoph > > Am Samstag, den 15.02.2014, 23:10 +0100 schrieb Christoph Kottke: >> okay, >> >> christoph >> >> Am Samstag, den 15.02.2014, 12:46 +0100 schrieb Felix Fietkau: >>> On 2014-02-14 18:52, Christoph Kottke wrote: >>>> hi felix, >>>> >>>> with my patch is it possible to disable this option, because now >>>> it is not possible. and the default behavior is to build the >>>> small version, therefore i chose default = y to compile it like >>>> before. >>> Right, I overlooked that part. Could you please still include a proper >>> description of what the option does in the Config-*.in files? >>> >>> Thanks, >>> >>> - Felix
>From 282c0eb350e1e26a11466bc64c259cf116af50ac Mon Sep 17 00:00:00 2001 From: Christoph Kottke <[email protected]> Date: Sat, 15 Feb 2014 22:57:01 +0100 Subject: [PATCH] [openvpn] make size optimization configurable Signed-off-by: Christoph Kottke <[email protected]> --- package/network/services/openvpn/Config-nossl.in | 7 +++++++ package/network/services/openvpn/Config-openssl.in | 7 +++++++ package/network/services/openvpn/Config-polarssl.in | 7 +++++++ package/network/services/openvpn/Makefile | 2 +- 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/package/network/services/openvpn/Config-nossl.in b/package/network/services/openvpn/Config-nossl.in index 98cba25..3eaa228 100644 --- a/package/network/services/openvpn/Config-nossl.in +++ b/package/network/services/openvpn/Config-nossl.in @@ -44,4 +44,11 @@ config OPENVPN_nossl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_nossl_ENABLE_SMALL + bool "Enable size optimization" + default y + help + enable smaller executable size (disable OCC, usage + message, and verb 4 parm list) + endif diff --git a/package/network/services/openvpn/Config-openssl.in b/package/network/services/openvpn/Config-openssl.in index 6686121..ac4c774 100644 --- a/package/network/services/openvpn/Config-openssl.in +++ b/package/network/services/openvpn/Config-openssl.in @@ -56,4 +56,11 @@ config OPENVPN_openssl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_openssl_ENABLE_SMALL + bool "Enable size optimization" + default y + help + enable smaller executable size (disable OCC, usage + message, and verb 4 parm list) + endif diff --git a/package/network/services/openvpn/Config-polarssl.in b/package/network/services/openvpn/Config-polarssl.in index 64c4497..26692ce 100644 --- a/package/network/services/openvpn/Config-polarssl.in +++ b/package/network/services/openvpn/Config-polarssl.in @@ -56,4 +56,11 @@ config OPENVPN_polarssl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_polarssl_ENABLE_SMALL + bool "Enable size optimization" + default y + help + enable smaller executable size (disable OCC, usage + message, and verb 4 parm list) + endif diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile index f6c4381..a05248c 100644 --- a/package/network/services/openvpn/Makefile +++ b/package/network/services/openvpn/Makefile @@ -66,7 +66,7 @@ CONFIGURE_VARS += \ define Build/Configure $(call Build/Configure/Default, \ - --enable-small \ + $(if $(CONFIG_OPENVPN_$(BUILD_VARIANT)_ENABLE_SMALL),--enable-small) \ --disable-selinux \ --disable-systemd \ --disable-plugins \ -- 1.7.10.4
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
