2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
15 include $(INCLUDE_DIR)/package.mk
17 define Package/vti/Default
20 MAINTAINER:=Andre Valentin <avalentin@marcant.net>
24 $(call Package/vti/Default)
25 TITLE:=Virtual IPsec Tunnel Interface config support
28 define Package/vti/description
29 Virtual IPsec Tunnel Interface config support (IPv4 and IPv6) in /etc/config/network.
33 $(call Package/vti/Default)
34 TITLE:=Virtual IPsec Tunnel Interface (IPv4) config support
35 DEPENDS:=@(PACKAGE_vti) +kmod-ip-vti
38 define Package/vtiv4/description
39 Virtual IPsec Tunnel Interface config support (IPv4) in /etc/config/network.
43 $(call Package/vti/Default)
44 TITLE:=Virtual IPsec Tunnel Interface (IPv6) config support
45 DEPENDS:=@(PACKAGE_vti) @IPV6 +kmod-ip6-vti
48 define Package/vtiv6/description
49 Virtual IPsec Tunnel Interface config support (IPv6) in /etc/config/network.
55 define Build/Configure
58 define Package/vti/install
59 $(INSTALL_DIR) $(1)/lib/netifd/proto
60 $(INSTALL_BIN) ./files/vti.sh $(1)/lib/netifd/proto/vti.sh
63 define Package/vtiv4/install
67 define Package/vtiv6/install
71 $(eval $(call BuildPackage,vti))
72 $(eval $(call BuildPackage,vtiv4))
73 $(eval $(call BuildPackage,vtiv6))