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 <stokito@gmail.com>
[Added PKG_RELEASE bump]
This commit is contained in:
Sergey Ponomarev
2025-06-08 13:37:26 +03:00
committed by Hannu Nyman
parent 8d9352bf9a
commit 83737ed9ea

View File

@@ -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