summaryrefslogtreecommitdiff
path: root/package/strongswan
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/strongswan
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/strongswan')
-rw-r--r--package/strongswan/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile
index 79f4afc5b..fc9444cfe 100644
--- a/package/strongswan/Makefile
+++ b/package/strongswan/Makefile
@@ -15,28 +15,22 @@ PKG_DEPENDS+= kmod-inet-xfrm-mode-tunnel kmod-inet-xfrm-mode-transport
PKG_DEPENDS+= kmod-crypto-sha1 kmod-crypto-md5
PKG_DEPENDS+= kmod-crypto-null kmod-crypto-des kmod-crypto-aes
PKG_DEPENDS+= kmod-crypto-hmac kmod-crypto-cbc kmod-crypto-authenc
-ifeq (${ADK_PACKAGE_STRONGSWAN_WITH_OPENSSL},y)
-PKG_BUILDDEP+= openssl
-endif
-ifeq (${ADK_PACKAGE_STRONGSWAN_WITH_GNUTLS},y)
-PKG_BUILDDEP+= gnutls
-endif
-ifeq (${ADK_PACKAGE_STRONGSWAN_WITH_GMP},y)
-PKG_BUILDDEP+= gmp
-endif
PKG_URL:= http://strongswan.org/index.htm
PKG_SITES:= http://download.strongswan.org/
PKG_CHOICES:= WITH_GMP WITH_OPENSSL WITH_GNUTLS
PKGCD_WITH_GMP:= use GMP for crypto
PKGCS_WITH_GMP:= libgmp
+PKGCB_WITH_GMP:= gmp
PKGCD_WITH_OPENSSL:= use OpenSSL for crypto
PKGCS_WITH_OPENSSL:= libopenssl
+PKGCB_WITH_OPENSSL:= openssl
PKGCD_WITH_GNUTLS:= use GnuTLS for crypto
PKGCS_WITH_GNUTLS:= libgnutls
+PKGCB_WITH_GNUTLS:= gnutls
ifeq (${ADK_PACKAGE_STRONGSWAN_WITH_OPENSSL},y)
-CFLINE_STRONGSWAN:= select ADK_PACKAGE_OPENSSL_WITH_EC
+PKG_CFLINE_STRONGSWAN:= select ADK_PACKAGE_OPENSSL_WITH_EC
endif
include $(TOPDIR)/mk/package.mk