X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=hnetd%2FMakefile;h=b7a418bc7be8fb4c6e194ab80b2202505c94e00b;hb=c74c874d7624e6e438d9f6ab8c5d4fe9aa6e67c9;hp=a44651ed1a2eaef598315b944c98e27e15fec77a;hpb=aa9af551d0bf027ec683c04c4ea15a773b43af67;p=feed%2Frouting.git diff --git a/hnetd/Makefile b/hnetd/Makefile index a44651e..b7a418b 100644 --- a/hnetd/Makefile +++ b/hnetd/Makefile @@ -7,9 +7,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hnetd -PKG_SOURCE_VERSION:=e60ce270f5a1ab01c6e262e1b9ee5cc20223b8c4 -PKG_VERSION:=2014-06-06-$(PKG_SOURCE_VERSION) -PKG_RELEASE:=1 +PKG_SOURCE_VERSION:=27666365bc7eae2f58d744c15c5f8e6466ca6577 +PKG_VERSION:=2014-07-31-$(PKG_SOURCE_VERSION) +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=git://github.com/sbyx/hnetd.git @@ -41,7 +41,7 @@ define Package/hnet-full CATEGORY:=Network TITLE:=HNCP Homenet metapackage URL:=https://github.com/sbyx/hnetd - DEPENDS:=+hnetd + DEPENDS:=+hnetd +luci-app-hnet # Routing DEPENDS+=+babels # Service discovery @@ -50,6 +50,14 @@ define Package/hnet-full DEPENDS+=+miniupnpd +minimalist-pcproxy endef +define Package/luci-app-hnet + SECTION:=luci + CATEGORY:=LuCI + SUBMENU:=3. Applications + TITLE:=HNCP Homenet configuration and visualization + DEPENDS:=+hnetd +endef + define Package/hnetd/description This package provides a daemon which implementats distributed prefix assignment and service discovery for a home network consisting of multiple routers @@ -62,7 +70,7 @@ define Package/hnetd/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/hnetd $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/lib/netifd/proto $(INSTALL_BIN) $(PKG_BUILD_DIR)/openwrt/hnet.sh $(1)/lib/netifd/proto - ln -s hnetd $(1)/usr/sbin/hnet-call + ln -s hnetd $(1)/usr/sbin/hnet-ifresolve $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/hnetd.init $(1)/etc/init.d/hnetd $(INSTALL_DIR) $(1)/etc/config @@ -78,6 +86,13 @@ define Package/hnet-full/install true endef +define Package/luci-app-hnet/install + $(INSTALL_DIR) $(1)/usr/lib/lua/luci + $(INSTALL_DIR) $(1)/www + $(CP) -R $(PKG_BUILD_DIR)/openwrt/luci/luasrc/* $(1)/usr/lib/lua/luci/ + $(CP) -R $(PKG_BUILD_DIR)/openwrt/luci/htdocs/* $(1)/www/ +endef + define Package/hnetd/postinst #!/bin/sh [ -n "$${IPKG_INSTROOT}" ] || { @@ -91,3 +106,4 @@ endef $(eval $(call BuildPackage,hnetd)) $(eval $(call BuildPackage,hnet-full)) +$(eval $(call BuildPackage,luci-app-hnet))