From: Paul Lipps Date: Fri, 31 Jul 2026 05:11:09 +0000 (-0500) Subject: dnscrypt-proxy2: update to 2.1.18 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=e4e2f07d601f6f43cbf99e6e9dbee0e3edf3ac19;p=openwrt-packages.git dnscrypt-proxy2: update to 2.1.18 Update dnscrypt-proxy2 to version 2.1.18. Fix the blocked_names_file substitution. The previous expression did not match the upstream example configuration, leaving the bundled blocklist disabled. This enables blocked-names.txt on fresh installations. Declare blocked-names.txt as a configuration file so that local changes are preserved during package upgrades. Signed-off-by: Paul Lipps --- diff --git a/net/dnscrypt-proxy2/Makefile b/net/dnscrypt-proxy2/Makefile index f6badd0d2..42d668966 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.1.15 +PKG_VERSION:=2.1.18 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:=57da91dd2a3992a1528e764bcfe9b48088c63c933c0c571a2cac3d27ac8c7546 +PKG_HASH:=9b810d862ba07c383cc0b8f9f7f1f2ca8f74a02f849d818c4c4d37cc21a7dfa6 PKG_BUILD_DIR:=$(BUILD_DIR)/dnscrypt-proxy-$(PKG_VERSION) PKG_MAINTAINER:=Josef Schlehofer @@ -57,7 +57,7 @@ define Package/dnscrypt-proxy2/install $(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/^ # blocked_names_file = 'blocked-names.txt'/blocked_names_file = 'blocked-names.txt'/" $(1)/etc/dnscrypt-proxy2/dnscrypt-proxy.toml + sed -i "s/^[[:space:]]*#[[:space:]]*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 @@ -67,6 +67,7 @@ endef define Package/dnscrypt-proxy2/conffiles /etc/dnscrypt-proxy2/dnscrypt-proxy.toml +/etc/dnscrypt-proxy2/blocked-names.txt endef define Package/golang-github-jedisct1-dnscrypt-proxy2-dev