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
>
25 $(call Package
/vti
/Default
)
26 TITLE
:=Virtual IPsec Tunnel Interface config support
29 define Package
/vti
/description
30 Virtual IPsec Tunnel Interface config support
(IPv4 and IPv6
) in
/etc
/config
/network.
34 $(call Package
/vti
/Default
)
35 TITLE
:=Virtual IPsec Tunnel Interface
(IPv4
) config support
36 DEPENDS
:=@
(PACKAGE_vti
) +kmod-ip-vti
39 define Package
/vtiv4
/description
40 Virtual IPsec Tunnel Interface config support
(IPv4
) in
/etc
/config
/network.
44 $(call Package
/vti
/Default
)
45 TITLE
:=Virtual IPsec Tunnel Interface
(IPv6
) config support
46 DEPENDS
:=@
(PACKAGE_vti
) @IPV6
+kmod-ip6-vti
49 define Package
/vtiv6
/description
50 Virtual IPsec Tunnel Interface config support
(IPv6
) in
/etc
/config
/network.
56 define Build
/Configure
59 define Package
/vti
/install
60 $(INSTALL_DIR
) $(1)/lib
/netifd
/proto
61 $(INSTALL_BIN
) .
/files
/vti.sh
$(1)/lib
/netifd
/proto
/vti.sh
64 define Package
/vtiv4
/install
68 define Package
/vtiv6
/install
72 $(eval
$(call BuildPackage
,vti
))
73 $(eval
$(call BuildPackage
,vtiv4
))
74 $(eval
$(call BuildPackage
,vtiv6
))