mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
openvpn: add option for --enable-password-save
Added configuration option BR2_PACKAGE_OPENVPN_PWSAVE that adds --enable-password-save to OPENVPN_CONF_OPTS if selected. [Thomas: rewrap Config.in help text, as suggested by Vicente.] Signed-off-by: Andreas Wetzel <andreas.wetzel@nanotronic.ch> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7b0e757fb8
commit
58dfd45aec
@ -27,6 +27,12 @@ config BR2_PACKAGE_OPENVPN_SMALL
|
|||||||
You loose eurephia, debugging info, help messages and more.
|
You loose eurephia, debugging info, help messages and more.
|
||||||
It saves around 100 KiB in binary file size.
|
It saves around 100 KiB in binary file size.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_OPENVPN_PWSAVE
|
||||||
|
bool "Allow passwords in files"
|
||||||
|
help
|
||||||
|
Allow --askpass and --auth-user-pass passwords to be read
|
||||||
|
from a file.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Crypto backend"
|
prompt "Crypto backend"
|
||||||
default BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL
|
default BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL
|
||||||
|
@ -41,6 +41,12 @@ else
|
|||||||
OPENVPN_CONF_OPTS += --disable-lzo
|
OPENVPN_CONF_OPTS += --disable-lzo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_OPENVPN_PWSAVE),y)
|
||||||
|
OPENVPN_CONF_OPTS += --enable-password-save
|
||||||
|
else
|
||||||
|
OPENVPN_CONF_OPTS += --disable-password-save
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL),y)
|
||||||
OPENVPN_CONF_OPTS += --with-crypto-library=openssl
|
OPENVPN_CONF_OPTS += --with-crypto-library=openssl
|
||||||
OPENVPN_DEPENDENCIES += openssl
|
OPENVPN_DEPENDENCIES += openssl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user