tor: add /etc/torrc.d/ to conffiles
authorSergey Ponomarev <[email protected]>
Sun, 8 Jun 2025 10:37:26 +0000 (13:37 +0300)
committerHannu Nyman <[email protected]>
Sun, 8 Jun 2025 10:37:26 +0000 (13:37 +0300)
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 <[email protected]>
[Added PKG_RELEASE bump]

net/tor/Makefile

index 39534a08cb4fb15c61595268264792d97e663cdd..927c00d4eadd7f86488107816f5af979c4dbd8ca 100644 (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