cjdns: support the supernodes feature (#884)
[feed/routing.git] / luci-app-cjdns / Makefile
1 #
2 # Copyright (C) 2014,2018 Hyperboria.net
3 #
4 # You may redistribute this program and/or modify it under the terms of
5 # the GNU General Public License as published by the Free Software Foundation,
6 # either version 3 of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15 #
16
17 include $(TOPDIR)/rules.mk
18
19 PKG_NAME:=luci-app-cjdns
20 PKG_VERSION:=1.3
21 PKG_RELEASE:=9
22
23 PKG_MAINTAINER:=William Fleurant <meshnet@protonmail.com>
24 PKG_LICENSE:=GPL-3.0-or-later
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/luci-app-cjdns
29 SECTION:=luci
30 CATEGORY:=LuCI
31 SUBMENU:=3. Applications
32 TITLE:=Encrypted near-zero-conf mesh routing protocol
33 URL:=https://github.com/cjdelisle/cjdns
34 DEPENDS:=+cjdns +luci-compat +luci-base
35 endef
36
37 define Package/luci-app-cjdns/description
38 Cjdns implements an encrypted IPv6 network using public-key cryptography \
39 for address allocation and a distributed hash table for routing. \
40 This provides near-zero-configuration networking, and prevents many \
41 of the security and scalability issues that plague existing networks.
42 endef
43
44 define Build/Compile
45 endef
46
47 define Package/luci-app-cjdns/install
48 $(INSTALL_DIR) $(1)/usr/lib/lua/luci $(1)/usr/share/rpcd/acl.d
49 $(CP) ./luasrc/* $(1)/usr/lib/lua/luci
50 $(CP) ./files/luci-app-cjdns.json $(1)/usr/share/rpcd/acl.d
51 endef
52
53 $(eval $(call BuildPackage,luci-app-cjdns))