summaryrefslogtreecommitdiff
path: root/package/strongswan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/strongswan/Makefile')
-rw-r--r--package/strongswan/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/package/strongswan/Makefile b/package/strongswan/Makefile
index b67311e3c..88887d2b3 100644
--- a/package/strongswan/Makefile
+++ b/package/strongswan/Makefile
@@ -12,9 +12,10 @@ PKG_SECTION:= net/security
PKG_DEPENDS:= libgmp ip libpthread kmod-net-key kmod-xfrm-user
PKG_DEPENDS+= kmod-inet-ah kmod-inet-esp kmod-inet-ipcomp
PKG_DEPENDS+= kmod-inet-xfrm-mode-tunnel kmod-inet-xfrm-mode-transport
-PKG_DEPENDS+= kmod-crypto-sha1 kmod-crypto-aes kmod-crypto-md5
-PKG_DEPENDS+= kmod-crypto-des kmod-crypto-hmac
-PKG_DEPENDS+= kmod-crypto-null kmod-crypto-cbc
+PKG_DEPENDS+= kmod-crypto-sha1 kmod-crypto-sha256 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
+PKG_DEPENDS+= kmod-crypto-deflate
PKG_BUILDDEP+= gmp
PKG_URL:= http://strongswan.org/index.htm
PKG_SITES:= http://download.strongswan.org/
@@ -24,13 +25,16 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,STRONGSWAN,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ARGS+= --disable-tools \
- --disable-sha2
+ --disable-fips-prf \
+ --enable-kernel-pfkey \
+ --disable-xcbc
post-install:
$(INSTALL_DIR) $(IDIR_STRONGSWAN)/etc
$(INSTALL_DIR) $(IDIR_STRONGSWAN)/usr/sbin
$(INSTALL_DIR) $(IDIR_STRONGSWAN)/usr/lib
$(INSTALL_DIR) $(IDIR_STRONGSWAN)/usr/libexec/ipsec/plugins
+ touch $(IDIR_STRONGSWAN)/etc/ipsec.secrets
$(CP) $(WRKINST)/usr/libexec/ipsec/plugins/*.so \
$(IDIR_STRONGSWAN)/usr/libexec/ipsec/plugins
$(CP) $(WRKINST)/etc/* $(IDIR_STRONGSWAN)/etc