summaryrefslogtreecommitdiffstats
path: root/openwrt/package/openvpn/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-10 21:32:10 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-10 21:32:10 +0000
commit62117906f225cc10689c4e85ebfcbaeb8cf6a57e (patch)
tree9f91d40508a4ae96a2d4f8c51194d8c79080d7d2 /openwrt/package/openvpn/Makefile
parentb1643e98d30b8390b272c3142bc3d4c34822821e (diff)
openvpn without ssl closes #277/#278
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3217 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/openvpn/Makefile')
-rw-r--r--openwrt/package/openvpn/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/openwrt/package/openvpn/Makefile b/openwrt/package/openvpn/Makefile
index a34bf4436..e5e127584 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) \
);