From: Sergey Ponomarev Date: Sun, 8 Jun 2025 10:37:26 +0000 (+0300) Subject: tor: add /etc/torrc.d/ to conffiles X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=83737ed9ea188b6191d849e216af2d2d44548ecf;p=openwrt-packages.git tor: add /etc/torrc.d/ to conffiles The /etc/tor/torrc may contain the line: %include /etc/torrc.d/*.conf So users may put their own config files there. We should preserve the files during an upgrade. Signed-off-by: Sergey Ponomarev [Added PKG_RELEASE bump] --- diff --git a/net/tor/Makefile b/net/tor/Makefile index 39534a08c..927c00d4e 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tor PKG_VERSION:=0.4.8.16 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://dist.torproject.org/ \ @@ -114,6 +114,7 @@ endef define Package/tor/conffiles /etc/tor/torrc +/etc/tor/torrc.d/* /var/lib/tor/fingerprint /var/lib/tor/keys/* /etc/config/tor