2 # Copyright (C) 2014,2015 Hyperboria.net
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.
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.
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/>.
17 include $(TOPDIR)/rules.mk
19 PKG_NAME:=luci-app-cjdns
25 include $(INCLUDE_DIR)/package.mk
27 define Package/luci-app-cjdns
30 SUBMENU:=3. Applications
31 TITLE:=Encrypted near-zero-conf mesh routing protocol
32 URL:=https://github.com/hyperboria/cjdns
33 MAINTAINER:=Lars Gierth <larsg@systemli.org>
34 DEPENDS:=+cjdns +luci-base
37 define Package/luci-app-cjdns/description
38 This package allows you to configure and inspect cjdns networking using LuCI.
40 Cjdns implements an encrypted IPv6 network using public-key cryptography
41 for address allocation and a distributed hash table for routing.
42 This provides near-zero-configuration networking, and prevents many
43 of the security and scalability issues that plague existing networks.
49 define Package/luci-app-cjdns/install
50 $(INSTALL_DIR) $(1)/usr/lib/lua/luci
51 $(CP) ./luasrc/* $(1)/usr/lib/lua/luci
54 $(eval $(call BuildPackage,luci-app-cjdns))