OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #
2 # Copyright (C) 2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7  
8 include $(TOPDIR)/rules.mk
9  
10 PKG_NAME:=vti
11 PKG_VERSION:=1
3 office 12 PKG_RELEASE:=2
1 office 13 PKG_LICENSE:=GPL-2.0
14  
15 include $(INCLUDE_DIR)/package.mk
16  
17 define Package/vti/Default
18 SECTION:=net
19 CATEGORY:=Network
20 MAINTAINER:=Andre Valentin <avalentin@marcant.net>
21 endef
22  
23 define Package/vti
24 $(call Package/vti/Default)
25 TITLE:=Virtual IPsec Tunnel Interface config support
26 endef
27  
28 define Package/vti/description
29 Virtual IPsec Tunnel Interface config support (IPv4 and IPv6) in /etc/config/network.
30 endef
31  
32 define Package/vtiv4
33 $(call Package/vti/Default)
34 TITLE:=Virtual IPsec Tunnel Interface (IPv4) config support
35 DEPENDS:=@(PACKAGE_vti) +kmod-ip-vti
36 endef
37  
38 define Package/vtiv4/description
39 Virtual IPsec Tunnel Interface config support (IPv4) in /etc/config/network.
40 endef
41  
42 define Package/vtiv6
43 $(call Package/vti/Default)
44 TITLE:=Virtual IPsec Tunnel Interface (IPv6) config support
45 DEPENDS:=@(PACKAGE_vti) @IPV6 +kmod-ip6-vti
46 endef
47  
48 define Package/vtiv6/description
49 Virtual IPsec Tunnel Interface config support (IPv6) in /etc/config/network.
50 endef
51  
52 define Build/Compile
53 endef
54  
55 define Build/Configure
56 endef
57  
58 define Package/vti/install
59 $(INSTALL_DIR) $(1)/lib/netifd/proto
60 $(INSTALL_BIN) ./files/vti.sh $(1)/lib/netifd/proto/vti.sh
61 endef
62  
63 define Package/vtiv4/install
64 :
65 endef
66  
67 define Package/vtiv6/install
68 :
69 endef
70  
71 $(eval $(call BuildPackage,vti))
72 $(eval $(call BuildPackage,vtiv4))
73 $(eval $(call BuildPackage,vtiv6))