diff options
| author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-02-10 21:32:10 +0000 |
|---|---|---|
| committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-02-10 21:32:10 +0000 |
| commit | 5b23523695d5f8dc1b25e1f315b18a2491908512 (patch) | |
| tree | eaafe22683e898175bb1ba473efd0e004c195f26 /openwrt/package/openvpn/Makefile | |
| parent | e7871ca996b7d38df91ce8938e01ae7a6ead16ab (diff) | |
| download | mtk-20170518-5b23523695d5f8dc1b25e1f315b18a2491908512.zip mtk-20170518-5b23523695d5f8dc1b25e1f315b18a2491908512.tar.gz mtk-20170518-5b23523695d5f8dc1b25e1f315b18a2491908512.tar.bz2 | |
openvpn without ssl closes #277/#278
SVN-Revision: 3217
Diffstat (limited to 'openwrt/package/openvpn/Makefile')
| -rw-r--r-- | openwrt/package/openvpn/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openwrt/package/openvpn/Makefile b/openwrt/package/openvpn/Makefile index a34bf44..e5e1275 100644 --- a/openwrt/package/openvpn/Makefile +++ b/openwrt/package/openvpn/Makefile @@ -18,7 +18,14 @@ include $(TOPDIR)/package/rules.mk $(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 @@ -66,6 +73,7 @@ $(PKG_BUILD_DIR)/.configured: --disable-management \ --disable-socks \ $(DISABLE_LZO) \ + $(DISABLE_OPENSSL) \ $(DISABLE_SERVER) \ $(DISABLE_HTTP) \ ); |
