aboutsummaryrefslogtreecommitdiff
path: root/net/horst/Makefile
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2017-10-03 14:55:18 +0100
committerBruno Randolf <br1@einfach.org>2017-10-04 21:40:16 +0100
commit0840efd64c45cb4aa7adedb08ff2a4e9ed80329d (patch)
tree04c8876fbeb614205cf6dda6c5aa25fafc0af761 /net/horst/Makefile
parent52157ed602df32659469f8d1982c09402f90e5c5 (diff)
horst: Update to version 5.1 and add init script
Update to latest stable version and add init script and config file to start horst in server mode as a service. Signed-off-by: Bruno Randolf <br1@einfach.org>
Diffstat (limited to 'net/horst/Makefile')
-rw-r--r--net/horst/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/net/horst/Makefile b/net/horst/Makefile
index 381878c38..63e2f55ec 100644
--- a/net/horst/Makefile
+++ b/net/horst/Makefile
@@ -8,15 +8,15 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=horst
-PKG_VERSION:=5.0
+PKG_VERSION:=5.1
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-git.tar.gz
-PKG_MIRROR_HASH:=3a677e504e8a1f27c899dfbf39da8c94412b24b08bb2eab0de7807cef07d078b
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=git://github.com/br101/horst.git
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=version-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=v$(PKG_VERSION)
+PKG_MIRROR_HASH:=22f4be94e839c58ac85ebdc2359b813fd5f68dfd71e1b0c9ed9545020d1abc7d
PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>
PKG_LICENSE:=GPL-2.0+
@@ -43,10 +43,18 @@ define Package/horst/description
and especially IBSS (ad-hoc) mode and mesh networks (OLSR).
endef
+define Package/horst/conffiles
+/etc/config/horst
+endef
+
define Package/horst/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/horst $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/horst.sh $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/etc/init.d
+ $(INSTALL_BIN) ./horst.init $(1)/etc/init.d/horst
+ $(INSTALL_DIR) $(1)/etc/config
+ $(INSTALL_DATA) ./horst.config $(1)/etc/config/horst
endef
$(eval $(call BuildPackage,horst))