From 6467b6535b401bfc046096dc535729896697b0a1 Mon Sep 17 00:00:00 2001 From: James Long Date: Wed, 10 Feb 2021 11:49:13 +0800 Subject: dnscrypt-proxy2: upgrade to 2.0.45 Signed-off-by: James Long --- net/dnscrypt-proxy2/Makefile | 8 ++--- net/dnscrypt-proxy2/files/blacklist.txt | 54 ----------------------------- net/dnscrypt-proxy2/files/blocked-names.txt | 54 +++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 58 deletions(-) delete mode 100644 net/dnscrypt-proxy2/files/blacklist.txt create mode 100644 net/dnscrypt-proxy2/files/blocked-names.txt diff --git a/net/dnscrypt-proxy2/Makefile b/net/dnscrypt-proxy2/Makefile index 95b38db78..5127c71e1 100644 --- a/net/dnscrypt-proxy2/Makefile +++ b/net/dnscrypt-proxy2/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnscrypt-proxy2 -PKG_VERSION:=2.0.44 +PKG_VERSION:=2.0.45 PKG_RELEASE:=1 PKG_SOURCE:=dnscrypt-proxy-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/DNSCrypt/dnscrypt-proxy/tar.gz/$(PKG_VERSION)? -PKG_HASH:=c2c9968f07a414e973ec5734f4598d756a35c32beedb18268590ea1355794237 +PKG_HASH:=f7aac28c6a60404683d436072b89d18ed3bb309f8d8a95c8e87ad250da190821 PKG_BUILD_DIR:=$(BUILD_DIR)/dnscrypt-proxy-$(PKG_VERSION) PKG_MAINTAINER:=Josef Schlehofer @@ -46,13 +46,13 @@ define Package/dnscrypt-proxy2/install $(INSTALL_DIR) $(1)/etc/dnscrypt-proxy2 $(INSTALL_CONF) $(PKG_BUILD_DIR)/dnscrypt-proxy/example-dnscrypt-proxy.toml $(1)/etc/dnscrypt-proxy2/dnscrypt-proxy.toml - $(INSTALL_CONF) ./files/blacklist.txt $(1)/etc/dnscrypt-proxy2/blacklist.txt + $(INSTALL_CONF) ./files/blocked-names.txt $(1)/etc/dnscrypt-proxy2/blocked-names.txt $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/dnscrypt-proxy.init $(1)/etc/init.d/dnscrypt-proxy sed -i "s/^listen_addresses = .*/listen_addresses = ['127.0.0.53:53']/" $(1)/etc/dnscrypt-proxy2/dnscrypt-proxy.toml - sed -i "s/^ # blacklist_file = 'blacklist.txt'/blacklist_file = 'blacklist.txt'/" $(1)/etc/dnscrypt-proxy2/dnscrypt-proxy.toml + sed -i "s/^ # blocked_names_file = 'blocked-names.txt'/blocked_names_file = 'blocked-names.txt'/" $(1)/etc/dnscrypt-proxy2/dnscrypt-proxy.toml endef define Package/dnscrypt-proxy2/description diff --git a/net/dnscrypt-proxy2/files/blacklist.txt b/net/dnscrypt-proxy2/files/blacklist.txt deleted file mode 100644 index c975af3c5..000000000 --- a/net/dnscrypt-proxy2/files/blacklist.txt +++ /dev/null @@ -1,54 +0,0 @@ - -########################### -# Blacklist # -########################### - -## Rules for name-based query blocking, one per line -## -## Example of valid patterns: -## -## ads.* | matches anything with an "ads." prefix -## *.example.com | matches example.com and all names within that zone such as www.example.com -## example.com | identical to the above -## =example.com | block example.com but not *.example.com -## *sex* | matches any name containing that substring -## ads[0-9]* | matches "ads" followed by one or more digits -## ads*.example* | *, ? and [] can be used anywhere, but prefixes/suffixes are faster - -ad.* -ads.* -banner.* -banners.* -creatives.* -oas.* -oascentral.* -stats.* -tag.* -telemetry.* -tracker.* -*.local -eth0.me -*.workgroup - -*.test -*.onion -*.localhost -*.local -*.invalid -*.bind -*.lan -*.internal -*.intranet -*.private -*.workgroup - -*.10.in-addr.arpa -*.16.172.in-addr.arpa -*.168.192.in-addr.arpa -*.254.169.in-addr.arpa -*.d.f.ip6.arpa - -## Time-based rules - -# *.youtube.* @time-to-sleep -# facebook.com @work diff --git a/net/dnscrypt-proxy2/files/blocked-names.txt b/net/dnscrypt-proxy2/files/blocked-names.txt new file mode 100644 index 000000000..6b89f9fc4 --- /dev/null +++ b/net/dnscrypt-proxy2/files/blocked-names.txt @@ -0,0 +1,54 @@ + +########################### +# Blocklist # +########################### + +## Rules for name-based query blocking, one per line +## +## Example of valid patterns: +## +## ads.* | matches anything with an "ads." prefix +## *.example.com | matches example.com and all names within that zone such as www.example.com +## example.com | identical to the above +## =example.com | block example.com but not *.example.com +## *sex* | matches any name containing that substring +## ads[0-9]* | matches "ads" followed by one or more digits +## ads*.example* | *, ? and [] can be used anywhere, but prefixes/suffixes are faster + +ad.* +ads.* +banner.* +banners.* +creatives.* +oas.* +oascentral.* +stats.* +tag.* +telemetry.* +tracker.* +*.local +eth0.me +*.workgroup + +*.test +*.onion +*.localhost +*.local +*.invalid +*.bind +*.lan +*.internal +*.intranet +*.private +*.workgroup + +*.10.in-addr.arpa +*.16.172.in-addr.arpa +*.168.192.in-addr.arpa +*.254.169.in-addr.arpa +*.d.f.ip6.arpa + +## Time-based rules + +# *.youtube.* @time-to-sleep +# facebook.com @work -- cgit v1.2.3