From 8399121e6035d7fccb7111e527d0b99dde29d098 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 15 Apr 2020 09:32:51 +0200 Subject: [PATCH] mac-telnet: install uci as config file Also mark it as configuration file while being at it. Fixes: #11846 Signed-off-by: Jo-Philipp Wich --- net/mac-telnet/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/net/mac-telnet/Makefile b/net/mac-telnet/Makefile index f21cfc7b19..cb0bfecb16 100644 --- a/net/mac-telnet/Makefile +++ b/net/mac-telnet/Makefile @@ -5,14 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mac-telnet -PKG_VERSION:=2015-09-02 -PKG_RELEASE=$(PKG_SOURCE_VERSION)+1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/jow-/MAC-Telnet.git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_URL=https://github.com/jow-/MAC-Telnet.git +PKG_SOURCE_DATE:=2015-09-02 PKG_SOURCE_VERSION:=37d83cbc9c07266d6c957d27bf75285b305eceab -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MIRROR_HASH:=13429f1a870121cdbbfb687e0581967904798000eca1f8f9c1e9dc87dee5669b PKG_LICENSE:=GPL-2.0-or-later @@ -62,7 +60,7 @@ define Package/mac-telnet-server/install-extra $(INSTALL_DIR) $$(1)/etc/init.d $(INSTALL_BIN) ./files/mactelnet.init $$(1)/etc/init.d/mactelnet $(INSTALL_DIR) $$(1)/etc/config - $(INSTALL_DATA) ./files/mactelnet.config $$(1)/etc/config/mactelnet + $(INSTALL_CONF) ./files/mactelnet.config $$(1)/etc/config/mactelnet endef -- 2.30.2