summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-11-24 16:11:57 +0000
committerStan Grishin <stangri@melmac.ca>2023-11-24 16:13:56 +0000
commit01fca9e8b6e01d6a84ff3be9f3d4bb709d6057d7 (patch)
tree6f9b866e3b6286d7afe0733fe7d1eb3e006bc376 /net/https-dns-proxy
parent183f008a44e5b4bac53240efff4c29f6033fb12f (diff)
https-dns-proxy: fix unintentional call of service_stopped in boot()
Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit 2e9f6c44460a48876cd85cde3557ce373693df6b)
Diffstat (limited to 'net/https-dns-proxy')
-rw-r--r--net/https-dns-proxy/Makefile2
-rwxr-xr-xnet/https-dns-proxy/files/etc/init.d/https-dns-proxy2
-rw-r--r--net/https-dns-proxy/patches/020-src-options.c-add-version.patch2
3 files changed, 3 insertions, 3 deletions
diff --git a/net/https-dns-proxy/Makefile b/net/https-dns-proxy/Makefile
index 3037bd5a2..69b6bbe87 100644
--- a/net/https-dns-proxy/Makefile
+++ b/net/https-dns-proxy/Makefile
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=https-dns-proxy
PKG_VERSION:=2023-10-25
-PKG_RELEASE:=3
+PKG_RELEASE:=4
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 672e837c7..c9e38cca9 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
@@ -134,7 +134,7 @@ boot() {
ubus -t 30 wait_for network.interface 2>/dev/null
on_boot_trigger=1
rc_procd start_service 'on_boot' && service_started 'on_boot'
- is_resolver_working || rc_procd stop_service 'on_boot' && service_stopped 'on_boot'
+ is_resolver_working || { rc_procd stop_service 'on_boot' && service_stopped 'on_boot'; }
}
start_instance() {
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 72d3dc5df..8f3b9dfa2 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-10-25-3"; // update date sometimes, like 1-2 times a year
++ return "2023-10-25-4"; // update date sometimes, like 1-2 times a year
#endif
}