projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade to iproute2-2.6.15-060110
[openwrt.git]
/
openwrt
/
package
/
openvpn
/
Makefile
diff --git
a/openwrt/package/openvpn/Makefile
b/openwrt/package/openvpn/Makefile
index
a34bf44
..
5ae1a31
100644
(file)
--- 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)))
$(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
@@
-31,6
+38,12
@@
endif
ifneq ($(BR2_COMPILE_OPENVPN_WITH_HTTP),y)
DISABLE_HTTP:=--disable-http
endif
ifneq ($(BR2_COMPILE_OPENVPN_WITH_HTTP),y)
DISABLE_HTTP:=--disable-http
endif
+ifeq ($(BR2_COMPILE_OPENVPN_WITH_PASSWORD_SAVE),y)
+ENABLE_PASSWORD_SAVE:=--enable-password-save
+endif
+ifeq ($(BR2_COMPILE_OPENVPN_WITH_SMALL),y)
+ENABLE_SMALL:=--enable-small
+endif
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
@@
-66,8
+79,11
@@
$(PKG_BUILD_DIR)/.configured:
--disable-management \
--disable-socks \
$(DISABLE_LZO) \
--disable-management \
--disable-socks \
$(DISABLE_LZO) \
+ $(DISABLE_OPENSSL) \
$(DISABLE_SERVER) \
$(DISABLE_HTTP) \
$(DISABLE_SERVER) \
$(DISABLE_HTTP) \
+ $(ENABLE_PASSWORD_SAVE) \
+ $(ENABLE_SMALL) \
);
touch $(PKG_BUILD_DIR)/.configured
);
touch $(PKG_BUILD_DIR)/.configured
This page took
0.025505 seconds
and
4
git commands to generate.