From 0ec746ccb6e87696a7a4986d87d55cda205031f0 Mon Sep 17 00:00:00 2001 From: Huangbin Zhan Date: Sat, 9 May 2020 05:43:57 +0800 Subject: [PATCH] treewide: add conffiles Signed-off-by: Huangbin Zhan --- libs/postgresql/Makefile | 6 +++++- multimedia/gerbera/Makefile | 3 ++- net/apfree-wifidog/Makefile | 6 +++++- net/aria2/Makefile | 6 +++++- net/clamav/Makefile | 13 +++++++++---- net/dawn/Makefile | 6 +++++- net/dcwapd/Makefile | 6 +++++- net/frp/Makefile | 10 +++++++++- net/https-dns-proxy/Makefile | 6 +++++- net/kadnode/Makefile | 6 +++++- net/kcptun/Makefile | 6 +++++- net/kismet/Makefile | 4 +++- net/nextdns/Makefile | 6 +++++- net/nlbwmon/Makefile | 3 ++- net/oor/Makefile | 6 +++++- net/openvswitch/Makefile | 3 ++- net/port-mirroring/Makefile | 6 +++++- net/ser2net/Makefile | 3 ++- net/shadowsocks-libev/Makefile | 6 +++++- net/smartsnmpd/Makefile | 6 +++++- net/squid/Makefile | 3 ++- net/u2pnpd/Makefile | 6 +++++- net/wifidog-ng/Makefile | 12 +++++++++++- sound/shairplay/Makefile | 6 +++++- sound/shairport-sync/Makefile | 3 ++- sound/squeezelite/Makefile | 9 ++++++++- sound/upmpdcli/Makefile | 6 +++++- utils/dump1090/Makefile | 6 +++++- utils/irqbalance/Makefile | 6 +++++- utils/pservice/Makefile | 6 +++++- utils/rtl-sdr/Makefile | 6 +++++- utils/rtty/Makefile | 10 +++++++++- utils/sysstat/Makefile | 3 ++- utils/ttyd/Makefile | 6 +++++- 34 files changed, 168 insertions(+), 37 deletions(-) diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index a53d08f87b..77e0f1bcec 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=postgresql PKG_VERSION:=12.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_MAINTAINER:=Daniel Golle PKG_LICENSE:=PostgreSQL PKG_CPE_ID:=cpe:/a:postgresql:postgresql @@ -193,6 +193,10 @@ define Package/pgsql-cli-extra/install $(INSTALL_BIN) $(foreach bin,$(PGSQL_CLI_EXTRA_BIN),$(PKG_INSTALL_DIR)/usr/bin/$(bin)) $(1)/usr/bin/ endef +define Package/pgsql-server/conffiles +/etc/config/postgresql +endef + define Package/pgsql-server/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(foreach bin,$(PGSQL_SERVER_BIN),$(PKG_INSTALL_DIR)/usr/bin/$(bin)) $(1)/usr/bin/ diff --git a/multimedia/gerbera/Makefile b/multimedia/gerbera/Makefile index 91cb0a656b..c2f4b3d01c 100644 --- a/multimedia/gerbera/Makefile +++ b/multimedia/gerbera/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gerbera PKG_VERSION:=1.5.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/gerbera/gerbera/tar.gz/v$(PKG_VERSION)? @@ -40,6 +40,7 @@ define Package/gerbera/description endef define Package/gerbera/conffiles +/etc/config/gerbera /etc/gerbera/config.xml endef diff --git a/net/apfree-wifidog/Makefile b/net/apfree-wifidog/Makefile index 7778bdfef4..370ba70b6e 100644 --- a/net/apfree-wifidog/Makefile +++ b/net/apfree-wifidog/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apfree-wifidog PKG_VERSION:=3.11.1716 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/liudf0716/apfree_wifidog.git @@ -40,6 +40,10 @@ define Package/apfree-wifidog/description It's enhanced wifidog endef +define Package/apfree-wifidog/conffiles +/etc/config/wifidogx +endef + define Package/apfree-wifidog/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wifidogx $(1)/usr/bin/wifidogx diff --git a/net/aria2/Makefile b/net/aria2/Makefile index 06be8cf020..1573d8eef9 100644 --- a/net/aria2/Makefile +++ b/net/aria2/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=aria2 PKG_VERSION:=1.35.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/aria2/aria2/releases/download/release-$(PKG_VERSION)/ @@ -85,6 +85,10 @@ CONFIGURE_ARGS += \ TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -flto TARGET_LDFLAGS += -Wl,--gc-sections -flto +define Package/aria2/conffiles +/etc/config/aria2 +endef + define Package/aria2/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aria2c $(1)/usr/bin diff --git a/net/clamav/Makefile b/net/clamav/Makefile index 92c3f377ae..5a4da2a3a5 100644 --- a/net/clamav/Makefile +++ b/net/clamav/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=clamav PKG_VERSION:=0.102.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.clamav.net/downloads/production/ @@ -56,9 +56,6 @@ define Package/freshclam/description Database updater for ClamAV endef -define Package/clamav/conffiles -endef - CONFIGURE_ARGS += \ --sysconfdir=/etc/clamav/ \ --enable-milter \ @@ -89,6 +86,10 @@ CONFIGURE_VARS += $(if $(CONFIG_IPV6),have_cv_ipv6=yes) TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -fno-rtti -flto TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed $(if $(CONFIG_USE_MUSL),-lfts) +define Package/clamav/conffiles +/etc/config/clamav +endef + define Package/clamav/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/clamd $(1)/usr/sbin/ @@ -113,6 +114,10 @@ define Package/clamav/install $(CP) ./files/bytecode.cvd $(1)/usr/share/clamav/ endef +define Package/freshclam/conffiles +/etc/config/freshclam +endef + define Package/freshclam/install $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/bin/freshclam $(1)/usr/sbin/ diff --git a/net/dawn/Makefile b/net/dawn/Makefile index 2dc87e7e44..45ff9dbd05 100644 --- a/net/dawn/Makefile +++ b/net/dawn/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dawn PKG_SOURCE_DATE:=2020-04-17 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git @@ -34,6 +34,10 @@ define Package/dawn/description This package implements a decentralized wireless daemon. endef +define Package/dawn/conffiles +/etc/config/dawn +endef + define Package/dawn/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dawn $(1)/usr/sbin/dawn diff --git a/net/dcwapd/Makefile b/net/dcwapd/Makefile index 3566f50feb..6608af6c6f 100644 --- a/net/dcwapd/Makefile +++ b/net/dcwapd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dcwapd PKG_VERSION:=1.1.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ewsi/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)? @@ -51,6 +51,10 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ endef +define Package/dcwapd/conffiles +/etc/config/dcwapd +endef + define Package/dcwapd/install $(INSTALL_DIR) $(1)/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/bin/ diff --git a/net/frp/Makefile b/net/frp/Makefile index 9315d7faaf..5a26e80b55 100644 --- a/net/frp/Makefile +++ b/net/frp/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=frp PKG_VERSION:=0.32.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/fatedier/frp/tar.gz/v${PKG_VERSION}? @@ -61,6 +61,14 @@ define Package/frp/install $(INSTALL_BIN) ./files/$(2).init $(1)/etc/init.d/$(2) endef +define Package/frpc/conffiles +/etc/config/frpc +endef + +define Package/frps/conffiles +/etc/config/frps +endef + define Package/frpc/install $(call Package/frp/install,$(1),frpc) endef diff --git a/net/https-dns-proxy/Makefile b/net/https-dns-proxy/Makefile index e06ff0799f..5e97fb8687 100644 --- a/net/https-dns-proxy/Makefile +++ b/net/https-dns-proxy/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=https-dns-proxy PKG_VERSION:=2020-04-09 -PKG_RELEASE=1 +PKG_RELEASE=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy @@ -26,6 +26,10 @@ define Package/https-dns-proxy CONFLICTS:=https_dns_proxy endef +define Package/https-dns-proxy/conffiles +/etc/config/https-dns-proxy +endef + define Package/https-dns-proxy/install $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d ${1}/etc/config $(INSTALL_BIN) $(PKG_BUILD_DIR)/https_dns_proxy $(1)/usr/sbin/https-dns-proxy diff --git a/net/kadnode/Makefile b/net/kadnode/Makefile index 7d9ee07ee5..2246546502 100644 --- a/net/kadnode/Makefile +++ b/net/kadnode/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kadnode PKG_VERSION:=2.3.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=MIT @@ -76,6 +76,10 @@ MAKE_FLAGS += FEATURES="$(FEATURES)" TARGET_CFLAGS += -ffunction-sections -fdata-sections TARGET_LDFLAGS += -Wl,--gc-sections +define Package/kadnode/conffiles +/etc/config/kadnode +endef + define Package/kadnode/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/build/kadnode $(1)/usr/bin/ diff --git a/net/kcptun/Makefile b/net/kcptun/Makefile index d512451ea4..bb938fed78 100644 --- a/net/kcptun/Makefile +++ b/net/kcptun/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kcptun PKG_VERSION:=20200103 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/xtaci/kcptun/tar.gz/v${PKG_VERSION}? @@ -34,6 +34,10 @@ define Package/kcptun-config DEPENDS:=$(GO_ARCH_DEPENDS) endef +define Package/kcptun-config/conffiles +/etc/config/kcptun +endef + define Package/kcptun-config/install $(INSTALL_DIR) $(1)/etc/config $(INSTALL_CONF) ./files/kcptun.config $(1)/etc/config/kcptun diff --git a/net/kismet/Makefile b/net/kismet/Makefile index 511ab69aef..d61e4a2974 100644 --- a/net/kismet/Makefile +++ b/net/kismet/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kismet PKG_VERSION:=2016-07-R1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=LGPLv2.1 PKG_CPE_ID:=cpe:/a:kismet:kismet @@ -41,10 +41,12 @@ define Package/kismet-client/conffiles endef define Package/kismet-drone/conffiles +/etc/config/kismet_drone /etc/kismet/kismet_drone.conf endef define Package/kismet-server/conffiles +/etc/config/kismet_server /etc/kismet/kismet.conf endef diff --git a/net/nextdns/Makefile b/net/nextdns/Makefile index f64df92274..2d5c709b57 100644 --- a/net/nextdns/Makefile +++ b/net/nextdns/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nextdns PKG_VERSION:=1.5.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=v$(PKG_VERSION) @@ -39,6 +39,10 @@ define Package/nextdns DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle endef +define Package/nextdns/conffiles +/etc/config/nextdns +endef + define Package/nextdns/install $(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR)) diff --git a/net/nlbwmon/Makefile b/net/nlbwmon/Makefile index bab78ed2b8..6c5606344a 100644 --- a/net/nlbwmon/Makefile +++ b/net/nlbwmon/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nlbwmon -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/jow-/nlbwmon.git @@ -41,6 +41,7 @@ define Package/nlbwmon/install endef define Package/nlbwmon/conffiles +/etc/config/nlbwmon /usr/share/nlbwmon/protocols endef diff --git a/net/oor/Makefile b/net/oor/Makefile index 62c3fa5dd5..581c6e66f0 100644 --- a/net/oor/Makefile +++ b/net/oor/Makefile @@ -17,7 +17,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=oor PKG_VERSION:=1.3.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL=https://github.com/OpenOverlayRouter/oor/releases/download/$(PKG_VERSION)/ @@ -45,6 +45,10 @@ define Package/oor/description This packet provides support for the Locator-ID Separation Protocol, VXLAN-GPE. endef +define Package/oor/conffiles +/etc/config/oor +endef + define Package/oor/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/oor/oor $(1)/usr/sbin/ diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile index 76ba560e2a..8f14a6ae6c 100644 --- a/net/openvswitch/Makefile +++ b/net/openvswitch/Makefile @@ -17,7 +17,7 @@ include ./openvswitch.mk # PKG_NAME:=openvswitch PKG_VERSION:=$(ovs_version) -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.openvswitch.org/releases/ PKG_HASH:=dd5f727427e36cab22bdeae61529d8c8fccacc53d968cfa7658f7f935ddda531 @@ -220,6 +220,7 @@ define ovs_common_install $$(LN) /usr/share/openvswitch/scripts/ovs-ctl-wrapper $$(1)/usr/bin/ovs-kmod-ctl endef define Package/openvswitch-common/conffiles +/etc/config/openvswitch /etc/openvswitch endef $(eval $(call OvsPackageTemplate,common)) diff --git a/net/port-mirroring/Makefile b/net/port-mirroring/Makefile index 0dce495c36..d803137a3e 100644 --- a/net/port-mirroring/Makefile +++ b/net/port-mirroring/Makefile @@ -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/ diff --git a/net/ser2net/Makefile b/net/ser2net/Makefile index 0d5de9e9f1..dffcb4ba99 100644 --- a/net/ser2net/Makefile +++ b/net/ser2net/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ser2net PKG_VERSION:=3.5.1 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/ser2net @@ -37,6 +37,7 @@ define Package/ser2net/description endef define Package/ser2net/conffiles +/etc/config/ser2net /etc/ser2net.conf endef diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile index 88b5bffb98..85c088550a 100644 --- a/net/shadowsocks-libev/Makefile +++ b/net/shadowsocks-libev/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk # PKG_NAME:=shadowsocks-libev PKG_VERSION:=3.3.4 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION) @@ -42,6 +42,10 @@ define Package/shadowsocks-libev-config URL:=https://github.com/shadowsocks/shadowsocks-libev endef +define Package/shadowsocks-libev-config/conffiles +/etc/config/shadowsocks-libev +endef + define Package/shadowsocks-libev-config/install $(INSTALL_DIR) $(1)/etc/config $(INSTALL_DATA) ./files/shadowsocks-libev.config $(1)/etc/config/shadowsocks-libev diff --git a/net/smartsnmpd/Makefile b/net/smartsnmpd/Makefile index 369a2e34d9..ed067ca42b 100644 --- a/net/smartsnmpd/Makefile +++ b/net/smartsnmpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=smartsnmpd PKG_VERSION:=2015-02-22 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/credosemi/smartsnmp @@ -58,6 +58,10 @@ define Build/Configure ) endef +define Package/smartsnmpd/conffiles +/etc/config/smartsnmpd +endef + define Package/smartsnmpd/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/smartsnmpd $(1)/usr/sbin/smartsnmpd diff --git a/net/squid/Makefile b/net/squid/Makefile index eb7b47e95e..d8f27963cf 100644 --- a/net/squid/Makefile +++ b/net/squid/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=squid PKG_VERSION:=4.6 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://www3.us.squid-cache.org/Versions/v4/ \ @@ -58,6 +58,7 @@ define Package/squid/config endef define Package/squid/conffiles + /etc/config/squid /etc/squid/squid.conf endef diff --git a/net/u2pnpd/Makefile b/net/u2pnpd/Makefile index abcd872179..d0f41d47a0 100644 --- a/net/u2pnpd/Makefile +++ b/net/u2pnpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=u2pnpd PKG_VERSION:=0.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/mhei/u2pnpd/releases/download/v$(PKG_VERSION) @@ -40,6 +40,10 @@ define Package/u2pnpd/description knowing the IP address. endef +define Package/u2pnpd/conffiles +/etc/config/u2pnpd +endef + define Package/u2pnpd/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/u2pnpd $(1)/usr/bin/ diff --git a/net/wifidog-ng/Makefile b/net/wifidog-ng/Makefile index 4e64319275..1d972cb0a0 100644 --- a/net/wifidog-ng/Makefile +++ b/net/wifidog-ng/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wifidog-ng PKG_VERSION:=2.0.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=LGPL-2.1 PKG_LICENSE_FILES:=LICENSE @@ -71,6 +71,16 @@ define Package/wifidog-ng/default/install $(CP) ./files/wifidog-ng $(1)/usr/lib/lua endef +define Package/wifidog-ng/default/conffiles +/etc/config/wifidog-ng +/etc/wifidog-ng +endef + +Package/wifidog-ng-nossl/conffiles = $(Package/wifidog-ng/default/conffiles) +Package/wifidog-ng-openssl/conffiles = $(Package/wifidog-ng/default/conffiles) +Package/wifidog-ng-wolfssl/conffiles = $(Package/wifidog-ng/default/conffiles) +Package/wifidog-ng-mbedtls/conffiles = $(Package/wifidog-ng/default/conffiles) + Package/wifidog-ng-nossl/install = $(Package/wifidog-ng/default/install) Package/wifidog-ng-openssl/install = $(Package/wifidog-ng/default/install) Package/wifidog-ng-wolfssl/install = $(Package/wifidog-ng/default/install) diff --git a/sound/shairplay/Makefile b/sound/shairplay/Makefile index f5e97e97c7..0b303da3a6 100644 --- a/sound/shairplay/Makefile +++ b/sound/shairplay/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=shairplay PKG_SOURCE_DATE:=2018-08-24 PKG_SOURCE_VERSION:=096b61ad14c90169f438e690d096e3fcf87e504e -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/juhovh/shairplay/tar.gz/$(PKG_SOURCE_VERSION)? @@ -37,6 +37,10 @@ define Package/shairplay/description Free portable AirPlay server implementation similar to ShairPort. endef +define Package/shairplay/conffiles +/etc/config/shairplay +endef + define Package/shairplay/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/shairplay $(1)/usr/bin/ diff --git a/sound/shairport-sync/Makefile b/sound/shairport-sync/Makefile index a4e5ea5c2e..0050d2bee0 100644 --- a/sound/shairport-sync/Makefile +++ b/sound/shairport-sync/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=shairport-sync PKG_VERSION:=3.3.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/mikebrady/shairport-sync/tar.gz/$(PKG_VERSION)? @@ -94,6 +94,7 @@ else endif define Package/shairport-sync/default/conffiles +/etc/config/shairport-sync /etc/shairport-sync.conf endef diff --git a/sound/squeezelite/Makefile b/sound/squeezelite/Makefile index b7887aa9f5..c4a1681632 100644 --- a/sound/squeezelite/Makefile +++ b/sound/squeezelite/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=squeezelite PKG_VERSION:=1.9.6-1210 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/ralph-irving/squeezelite @@ -119,6 +119,13 @@ endif MAKE_FLAGS+=OPTS="$(opts)" +define Package/squeezelite/conffiles +/etc/config/squeezelite +endef + +Package/squeezelite-mini/conffiles = $(Package/squeezelite/conffiles) +Package/squeezelite-full/conffiles = $(Package/squeezelite/conffiles) + define Package/squeezelite/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/squeezelite $(1)/usr/bin diff --git a/sound/upmpdcli/Makefile b/sound/upmpdcli/Makefile index beb163d339..bfa216b18f 100644 --- a/sound/upmpdcli/Makefile +++ b/sound/upmpdcli/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=upmpdcli PKG_VERSION:=1.4.7 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.lesbonscomptes.com/upmpdcli/downloads @@ -44,6 +44,10 @@ endef TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm) +define Package/upmpdcli/conffiles +/etc/config/upmpdcli +endef + define Package/upmpdcli/install $(INSTALL_DIR) $(1)/etc $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/upmpdcli.conf $(1)/etc/ diff --git a/utils/dump1090/Makefile b/utils/dump1090/Makefile index 452d756cc0..16a2f8de4e 100644 --- a/utils/dump1090/Makefile +++ b/utils/dump1090/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dump1090 PKG_VERSION:=3.8.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/flightaware/dump1090/tar.gz/v${PKG_VERSION}? @@ -59,6 +59,10 @@ MAKE_FLAGS += \ TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed +define Package/dump1090/conffiles +/etc/config/dump1090 +endef + define Package/dump1090/install $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) files/dump1090.init $(1)/etc/init.d/dump1090 diff --git a/utils/irqbalance/Makefile b/utils/irqbalance/Makefile index c3fb14e3c9..15924e2797 100644 --- a/utils/irqbalance/Makefile +++ b/utils/irqbalance/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=irqbalance PKG_VERSION:=1.6.0 -PKG_RELEASE:=8 +PKG_RELEASE:=9 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_PROTO:=git @@ -64,6 +64,10 @@ CONFIGURE_VARS += \ GLIB2_LIBS="$(GLIB2_LIBS) \ $(ICONV_LDFLAGS) -liconv" +define Package/irqbalance/conffiles +/etc/config/irqbalance +endef + define Package/irqbalance/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/irqbalance $(1)/usr/sbin/ diff --git a/utils/pservice/Makefile b/utils/pservice/Makefile index 56a2ac0975..01d0399d34 100644 --- a/utils/pservice/Makefile +++ b/utils/pservice/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pservice PKG_VERSION:=2017-08-29 -PKG_RELEASE=2 +PKG_RELEASE=3 PKG_MAINTAINER:=Yousong Zhou @@ -19,6 +19,10 @@ endef define Build/Compile endef +define Package/pservice/conffiles +/etc/config/pservice +endef + define Package/pservice/install $(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d $(1)/etc/config $(INSTALL_BIN) ./files/pservice.init $(1)/etc/init.d/pservice diff --git a/utils/rtl-sdr/Makefile b/utils/rtl-sdr/Makefile index 5922d77a0b..1bd0ed0a6c 100644 --- a/utils/rtl-sdr/Makefile +++ b/utils/rtl-sdr/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtl-sdr PKG_VERSION:=0.6.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://git.osmocom.org/rtl-sdr/snapshot @@ -74,6 +74,10 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/librtlsdr.pc $(1)/usr/lib/pkgconfig/ endef +define Package/rtl-sdr/conffiles +/etc/config/rtl_tcp +endef + define Package/rtl-sdr/install $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/rtl_* $(1)/usr/bin/ diff --git a/utils/rtty/Makefile b/utils/rtty/Makefile index 252387294f..3d4cb4e4a4 100644 --- a/utils/rtty/Makefile +++ b/utils/rtty/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtty PKG_VERSION:=7.1.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL=https://github.com/zhaojh329/rtty/releases/download/v$(PKG_VERSION) @@ -40,6 +40,14 @@ Package/rtty-wolfssl=$(call Package/rtty/Default,wolfssl,+PACKAGE_rtty-wolfssl:l Package/rtty-mbedtls=$(call Package/rtty/Default,mbedtls,+PACKAGE_rtty-mbedtls:libmbedtls) Package/rtty-nossl=$(call Package/rtty/Default,nossl) +define Package/rtty-openssl/conffiles +/etc/config/rtty +endef + +Package/rtty-wolfssl/conffiles = $(Package/rtty-openssl/conffiles) +Package/rtty-mbedtls/conffiles = $(Package/rtty-openssl/conffiles) +Package/rtty-nossl/conffiles = $(Package/rtty-openssl/conffiles) + ifeq ($(BUILD_VARIANT),openssl) CMAKE_OPTIONS += -DRTTY_USE_OPENSSL=ON else ifeq ($(BUILD_VARIANT),wolfssl) diff --git a/utils/sysstat/Makefile b/utils/sysstat/Makefile index 2ed73f3b02..2bf76000ef 100644 --- a/utils/sysstat/Makefile +++ b/utils/sysstat/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sysstat PKG_VERSION:=12.2.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://pagesperso-orange.fr/sebastien.godard/ @@ -40,6 +40,7 @@ define Package/sysstat/description endef define Package/sysstat/conffiles +/etc/config/sysstat /etc/sysstat/sysstat.ioconf /etc/sysstat/sysstat endef diff --git a/utils/ttyd/Makefile b/utils/ttyd/Makefile index 781b16a5f2..71e6f122cb 100644 --- a/utils/ttyd/Makefile +++ b/utils/ttyd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ttyd PKG_VERSION:=1.6.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)? @@ -37,6 +37,10 @@ define Package/ttyd/description ttyd is a command-line tool for sharing terminal over the web. endef +define Package/ttyd/conffiles +/etc/config/ttyd +endef + define Package/ttyd/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ttyd $(1)/usr/bin/ -- 2.30.2