mpd-compile: flac-compile
endif
mpd-compile: flac-compile
endif
+ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
openvpn-compile: openssl-compile
openvpn-compile: openssl-compile
ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
openvpn-compile: liblzo-compile
endif
ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
openvpn-compile: liblzo-compile
endif
tristate
default m if CONFIG_DEVEL
select BR2_PACKAGE_KMOD_TUN
tristate
default m if CONFIG_DEVEL
select BR2_PACKAGE_KMOD_TUN
- select BR2_PACKAGE_LIBOPENSSL
help
Open Source VPN solution using SSL
http://openvpn.net/
help
Open Source VPN solution using SSL
http://openvpn.net/
- Depends: kmod-tun, libpthread, openssl
+ Depends: kmod-tun, libpthread
config BR2_COMPILE_OPENVPN_WITH_SERVER
prompt "Enable server support"
config BR2_COMPILE_OPENVPN_WITH_SERVER
prompt "Enable server support"
default y
depends BR2_PACKAGE_OPENVPN
default y
depends BR2_PACKAGE_OPENVPN
+config BR2_COMPILE_OPENVPN_WITH_OPENSSL
+ prompt "Enable openssl support"
+ bool
+ default y
+ depends BR2_PACKAGE_OPENVPN
+ select BR2_PACKAGE_LIBOPENSSL
+
config BR2_COMPILE_OPENVPN_WITH_LZO
prompt "Enable transparent compression (lzo)"
bool
config BR2_COMPILE_OPENVPN_WITH_LZO
prompt "Enable transparent compression (lzo)"
bool
$(eval $(call PKG_template,OPENVPN,openvpn,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,OPENVPN,openvpn,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-PKG_DEPEND:="libopenssl, kmod-tun"
+PKG_DEPEND:="kmod-tun"
+
+ifneq ($(BR2_COMPILE_OPENVPN_WITH_OPENSSL),y)
+DISABLE_OPENSSL:=--disable-ssl --disable-crypto
+else
+PKG_DEPEND+=", libopenssl"
+endif
+
ifneq ($(BR2_COMPILE_OPENVPN_WITH_LZO),y)
DISABLE_LZO:=--disable-lzo
else
ifneq ($(BR2_COMPILE_OPENVPN_WITH_LZO),y)
DISABLE_LZO:=--disable-lzo
else
--disable-management \
--disable-socks \
$(DISABLE_LZO) \
--disable-management \
--disable-socks \
$(DISABLE_LZO) \
$(DISABLE_SERVER) \
$(DISABLE_HTTP) \
);
$(DISABLE_SERVER) \
$(DISABLE_HTTP) \
);