mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
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:
committed by
Hannu Nyman
parent
8d9352bf9a
commit
83737ed9ea
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user