2019-06-08 11:48:08 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=xfrm
|
2021-03-01 08:51:31 +00:00
|
|
|
PKG_RELEASE:=4
|
2019-06-08 11:48:08 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/xfrm/Default
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
MAINTAINER:=Andre Valentin <avalentin@marcant.net>
|
2019-06-21 03:10:36 +00:00
|
|
|
PKGARCH:=all
|
2019-06-08 11:48:08 +00:00
|
|
|
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))
|