From bdc9d4a5cbb567620a88083a83c45c455dc8b736 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sat, 23 Mar 2024 01:02:32 +0000 Subject: [PATCH] https-dns-proxy: prepare migration to APK Signed-off-by: Stan Grishin (cherry picked from commit dae56fd2a5d4ac579dff5d151cefe45b8d873bd6) --- net/https-dns-proxy/Makefile | 4 ++-- net/https-dns-proxy/files/etc/init.d/https-dns-proxy | 2 ++ .../patches/020-src-options.c-add-version.patch | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/net/https-dns-proxy/Makefile b/net/https-dns-proxy/Makefile index 3d9ff61fb2e98..0dc6e2f06a3d6 100644 --- a/net/https-dns-proxy/Makefile +++ b/net/https-dns-proxy/Makefile @@ -1,8 +1,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=https-dns-proxy -PKG_VERSION:=2023-11-19 -PKG_RELEASE:=1 +PKG_VERSION:=2023.11.19 +PKG_RELEASE:=r1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/ diff --git a/net/https-dns-proxy/files/etc/init.d/https-dns-proxy b/net/https-dns-proxy/files/etc/init.d/https-dns-proxy index 9a2cd4b42762d..ff81655d46d37 100755 --- a/net/https-dns-proxy/files/etc/init.d/https-dns-proxy +++ b/net/https-dns-proxy/files/etc/init.d/https-dns-proxy @@ -300,7 +300,9 @@ service_triggers() { local wan wan6 i local procd_trigger_wan6 if [ "$on_boot_trigger" = '1' ]; then + output "Setting $serviceName raw_trigger for 'interface.*.up'" procd_add_raw_trigger "interface.*.up" 3000 "/etc/init.d/${packageName}" restart 'on_interface_up' + output_okn else config_load "$packageName" config_get_bool procd_trigger_wan6 'config' 'procd_trigger_wan6' '0' diff --git a/net/https-dns-proxy/patches/020-src-options.c-add-version.patch b/net/https-dns-proxy/patches/020-src-options.c-add-version.patch index 219fd8101ce1d..100b3b499d66e 100644 --- a/net/https-dns-proxy/patches/020-src-options.c-add-version.patch +++ b/net/https-dns-proxy/patches/020-src-options.c-add-version.patch @@ -5,7 +5,7 @@ return SW_VERSION; #else - return "2023.10.10-atLeast"; // update date sometimes, like 1-2 times a year -+ return "2023-11-19-1"; // update date sometimes, like 1-2 times a year ++ return "2023.11.19-r1"; // update date sometimes, like 1-2 times a year #endif }