aboutsummaryrefslogtreecommitdiff
path: root/net/libreswan/Makefile
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2019-04-21 16:47:51 +0300
committerLucian Cristian <lucian.cristian@gmail.com>2019-04-21 16:47:51 +0300
commitb4b98e2922713eebb334f6f5a0a9dcc56c7bcb8a (patch)
tree433af98001c18475bbfcd7c29c8ee1ee4e582902 /net/libreswan/Makefile
parent50e017f7df1331362b2cffc7962f77d8b8498b2f (diff)
libreswan: backport deprecating KLIPS
remove building kernel module, it is not used and is not working with 4.19 rework the ready to use l2tp-ipsec example Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'net/libreswan/Makefile')
-rw-r--r--net/libreswan/Makefile26
1 files changed, 5 insertions, 21 deletions
diff --git a/net/libreswan/Makefile b/net/libreswan/Makefile
index 514c34959..606e4c1c9 100644
--- a/net/libreswan/Makefile
+++ b/net/libreswan/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libreswan
PKG_VERSION:=3.27
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://download.libreswan.org/
@@ -21,7 +21,6 @@ PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/kernel.mk
define Package/libreswan/Default
TITLE:=Libreswan
@@ -40,8 +39,9 @@ $(call Package/libreswan/Default)
SUBMENU:=VPN
SECTION:=net
CATEGORY:=Network
- DEPENDS:= +kmod-libreswan +libnss +librt +libevent2 +libevent2-pthreads \
- +ip-full
+ DEPENDS:= +libnss +librt +libevent2 +libevent2-pthreads +kmod-crypto-authenc \
+ +kmod-crypto-hash +kmod-ipt-ipsec +iptables-mod-ipsec +ip-full +kmod-ip-vti \
+ +kmod-ipsec +kmod-ipsec4 +kmod-crypto-rng +IPV6:kmod-ipsec6 +IPV6:kmod-ip6-vti
PROVIDES:=openswan
CONFLICTS:=strongswan
TITLE+= IPsec Server
@@ -55,20 +55,6 @@ $(call Package/libreswan/Default/description)
Engineering Task Force ("IETF").
endef
-define KernelPackage/libreswan
-$(call Package/libreswan/Default)
- SUBMENU:=Network Support
- TITLE+= (kernel module)
- FILES:=$(PKG_BUILD_DIR)/modobj*/ipsec.$(LINUX_KMOD_SUFFIX)
- DEPENDS:= +kmod-crypto-authenc +kmod-crypto-hash +kmod-ipt-ipsec +iptables-mod-ipsec \
- +kmod-ipsec +kmod-ipsec4 +kmod-crypto-rng +IPV6:kmod-ipsec6
-endef
-
-define KernelPackage/libreswan/description
-$(call Package/libreswan/Default/description)
- This package contains the Libreswan kernel module.
-endef
-
define Package/libreswan/conffiles
/etc/ipsec.d
/etc/ipsec.conf
@@ -100,8 +86,7 @@ define Build/Prepare
endef
define Build/Compile
- $(call Build/Compile/Default,base)
- $(call Build/Compile/Default,module)
+ $(call Build/Compile/Default,all)
endef
define Package/libreswan/install
@@ -123,4 +108,3 @@ define Package/libreswan/install
endef
$(eval $(call BuildPackage,libreswan))
-$(eval $(call KernelPackage,libreswan))