2016-01-17 11:06:02 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=vti
|
|
|
|
PKG_VERSION:=1
|
2017-03-14 21:39:43 +00:00
|
|
|
PKG_RELEASE:=2
|
2016-01-17 11:06:02 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/vti/Default
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
MAINTAINER:=Andre Valentin <avalentin@marcant.net>
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vti
|
|
|
|
$(call Package/vti/Default)
|
|
|
|
TITLE:=Virtual IPsec Tunnel Interface config support
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vti/description
|
|
|
|
Virtual IPsec Tunnel Interface config support (IPv4 and IPv6) in /etc/config/network.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vtiv4
|
|
|
|
$(call Package/vti/Default)
|
|
|
|
TITLE:=Virtual IPsec Tunnel Interface (IPv4) config support
|
2016-02-12 08:30:18 +00:00
|
|
|
DEPENDS:=@(PACKAGE_vti) +kmod-ip-vti
|
2016-01-17 11:06:02 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vtiv4/description
|
|
|
|
Virtual IPsec Tunnel Interface config support (IPv4) in /etc/config/network.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vtiv6
|
|
|
|
$(call Package/vti/Default)
|
|
|
|
TITLE:=Virtual IPsec Tunnel Interface (IPv6) config support
|
2016-02-12 08:30:18 +00:00
|
|
|
DEPENDS:=@(PACKAGE_vti) @IPV6 +kmod-ip6-vti
|
2016-01-17 11:06:02 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vtiv6/description
|
|
|
|
Virtual IPsec Tunnel Interface config support (IPv6) in /etc/config/network.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vti/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib/netifd/proto
|
|
|
|
$(INSTALL_BIN) ./files/vti.sh $(1)/lib/netifd/proto/vti.sh
|
|
|
|
endef
|
|
|
|
|
2016-11-08 14:28:43 +00:00
|
|
|
define Package/vtiv4/install
|
|
|
|
:
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vtiv6/install
|
|
|
|
:
|
|
|
|
endef
|
|
|
|
|
2016-01-17 11:06:02 +00:00
|
|
|
$(eval $(call BuildPackage,vti))
|
|
|
|
$(eval $(call BuildPackage,vtiv4))
|
|
|
|
$(eval $(call BuildPackage,vtiv6))
|