From 16af92dbdfafcc4cded5acc18e4e2565b6da4ecd Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sun, 9 Feb 2025 21:52:37 +0800 Subject: [PATCH] dnsproxy: Update to 0.75.0 Fix passing value to hosts-file-enabled argument. Signed-off-by: Tianling Shen (cherry picked from commit 939dea1622278cfbe7795bf050c9a722a7196c42) --- net/dnsproxy/Makefile | 4 ++-- net/dnsproxy/files/dnsproxy.init | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/dnsproxy/Makefile b/net/dnsproxy/Makefile index 4673421973..b0b5ba06d1 100644 --- a/net/dnsproxy/Makefile +++ b/net/dnsproxy/Makefile @@ -5,12 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsproxy -PKG_VERSION:=0.74.1 +PKG_VERSION:=0.75.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/AdguardTeam/dnsproxy/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=b90d987a934ee2272f7c0923629e3922786b3cca2178854ab0d403e05617e4b9 +PKG_HASH:=ba4c6a58024cbfb8e823470862019d071a64abb3d29aa956237f0042c8e6f9b6 PKG_MAINTAINER:=Tianling Shen PKG_LICENSE:=Apache-2.0 diff --git a/net/dnsproxy/files/dnsproxy.init b/net/dnsproxy/files/dnsproxy.init index 86062d142a..71a95f24f2 100644 --- a/net/dnsproxy/files/dnsproxy.init +++ b/net/dnsproxy/files/dnsproxy.init @@ -128,9 +128,9 @@ start_service() { # This must be set at last, all other options set after this will be ignored is_enabled "hosts" "enabled" && { - append_param "--hosts-file-enabled" "true" + append_param "--hosts-file-enabled=true" config_list_foreach "hosts" "hosts_files" "append_param '--hosts-files'" - } || append_param "--hosts-file-enabled" "false" + } || append_param "--hosts-file-enabled=false" procd_set_param respawn procd_set_param stdout 1 -- 2.30.2