mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
umurmur: move config file to its default location
This was changed in version 0.3.1 [1]
Fixes initial start of umurmur:
```
root@turris:~# umurmurd
Error in config file /etc/umurmur/umurmur.conf line 0: file I/O error
```
And also while running help of umurmurd, the defailt location is /etc/umurmur/umurmur.conf
```
Usage: umurmurd [-d] [-r] [-h] [-p <pidfile>] [-t] [-c <conf file>] [-a <addr>] [-b <port>]
-c <conf file> - Specify configuration file (default /etc/umurmur/umurmur.conf)
```
[1] 4f3ed41357
Fixes: c4a23ca996 ("umurmur: update to version 0.3.1")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=umurmur
|
||||
PKG_VERSION:=0.3.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/umurmur/umurmur/tar.gz/v$(PKG_VERSION)?
|
||||
@@ -59,7 +59,7 @@ define Package/umurmur-mbedtls/description
|
||||
endef
|
||||
|
||||
define Package/umurmur-openssl/conffiles
|
||||
/etc/umurmur.conf
|
||||
/etc/umurmur/umurmur.conf
|
||||
endef
|
||||
|
||||
Package/umurmur-mbedtls/conffiles = $(Package/umurmur-openssl/conffiles)
|
||||
@@ -67,11 +67,10 @@ Package/umurmur-mbedtls/conffiles = $(Package/umurmur-openssl/conffiles)
|
||||
define Package/umurmur-openssl/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/umurmurd $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/openwrt/files/umurmur.conf $(1)/etc/
|
||||
$(INSTALL_DIR) $(1)/etc/umurmur/
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/openwrt/files/umurmur.conf $(1)/etc/umurmur/
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/openwrt/files/umurmur.init $(1)/etc/init.d/umurmur
|
||||
$(INSTALL_DIR) $(1)/etc/umurmur
|
||||
endef
|
||||
|
||||
Package/umurmur-mbedtls/install = $(Package/umurmur-openssl/install)
|
||||
|
||||
Reference in New Issue
Block a user