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]
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/ \
define Package/tor/conffiles
/etc/tor/torrc
+/etc/tor/torrc.d/*
/var/lib/tor/fingerprint
/var/lib/tor/keys/*
/etc/config/tor