treewide: add conffiles

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
This commit is contained in:
Huangbin Zhan
2020-05-09 05:43:57 +08:00
committed by zhanhb
parent 0206a87146
commit 0ec746ccb6
34 changed files with 168 additions and 37 deletions
+5 -1
View File
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=port-mirroring
PKG_VERSION:=1.4.4
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/mmaraya/port-mirroring/tar.gz/v$(PKG_VERSION)?
@@ -31,6 +31,10 @@ define Package/port-mirroring
MENU:=1
endef
define Package/port-mirroring/conffiles
/etc/config/port-mirroring
endef
define Package/port-mirroring/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/port-mirroring $(1)/usr/sbin/