aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/xfrm/Makefile
blob: 777f20c77ce6fd7eacd239393dc9237ac69bd390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
include $(TOPDIR)/rules.mk

PKG_NAME:=xfrm
PKG_RELEASE:=4
PKG_LICENSE:=GPL-2.0

include $(INCLUDE_DIR)/package.mk

define Package/xfrm/Default
  SECTION:=net
  CATEGORY:=Network
  MAINTAINER:=Andre Valentin <avalentin@marcant.net>
  PKGARCH:=all
endef

define Package/xfrm
$(call Package/xfrm/Default)
  TITLE:=XFRM IPsec Tunnel Interface config support
  DEPENDS:=+kmod-xfrm-interface
endef

define Package/xfrm/description
 XFRM IPsec Tunnel Interface config support (IPv4 and IPv6) in /etc/config/network.
endef

define Build/Compile
endef

define Build/Configure
endef

define Package/xfrm/install
	$(INSTALL_DIR) $(1)/lib/netifd/proto
	$(INSTALL_BIN) ./files/xfrm.sh $(1)/lib/netifd/proto/xfrm.sh
endef

$(eval $(call BuildPackage,xfrm))