Files
luci/applications/luci-app-https-dns-proxy/Makefile
T
Stan Grishin d90ee37daa luci-app-https-dns-proxy: update to 2026.05.06-1
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.4

Description:
Update version, add IPv6 bootstrap IPs

  - Update PKG_VERSION to 2026.05.06.
  - Add PKG_CPE_ID.

README.md:
  - Update documentation URLs to mossdef.org domain.

htdocs/luci-static/resources/https-dns-proxy/status.js:
  - Update documentation URLs to mossdef.org domain.
  - Add HTML-escaping for config-derived text in status UI.
  - Apply HTML-escaping to proxy name, address, and port in status UI.

htdocs/luci-static/resources/view/https-dns-proxy/overview.js:
  - Update heartbeat placeholder to heartbeat.mossdef.org.
  - Replace 'Use IPv6 resolvers' option with 'DNS resolver IP family'.
  - Update global and modal-only resolver IP family options.

root/usr/share/https-dns-proxy/providers/com.adguard.dns.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/com.dnsforfamily.dns-doh.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/com.opendns.doh.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/cz.nic.odvr.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/google.dns.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/gr.libredns.doh.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/io.nextdns.dns.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/net.idnet.doh.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/org.cleanbrowsing.doh.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/pub.doh.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/recipes.v.json:
  - Add IPv6 bootstrap DNS servers.

root/usr/share/https-dns-proxy/providers/sb.dns.json:
  - Add IPv6 bootstrap DNS servers.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-07-18 17:26:49 -07:00

50 lines
1.9 KiB
Makefile

# SPDX-License-Identifier: AGPL-3.0-or-later
# Copyright 2017-2026 MOSSDeF, Stan Grishin (stangri@melmac.ca).
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-https-dns-proxy
PKG_LICENSE:=AGPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
PKG_VERSION:=2026.05.06
PKG_RELEASE:=1
PKG_CPE_ID:=cpe:/a:mossdef:luci-app-https-dns-proxy
LUCI_TITLE:=DNS Over HTTPS Proxy Web UI
LUCI_URL:=https://github.com/mossdef-org/luci-app-https-dns-proxy/
LUCI_DESCRIPTION:=Provides Web UI for DNS Over HTTPS Proxy
LUCI_DEPENDS:=+luci-base +https-dns-proxy
define Package/$(PKG_NAME)/config
# shown in make menuconfig <Help>
help
$(LUCI_TITLE)
.
Version: $(PKG_VERSION)-$(PKG_RELEASE)
endef
# Consolidate individual provider JSON files into providers.json in the build tree.
# luci.mk's Build/Prepare calls Build/Prepare/$(LUCI_NAME) as a per-package hook.
# The merged file lands in root/ so luci.mk's install step copies it automatically.
define Build/Prepare/luci-app-https-dns-proxy
@if [ -d $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers ] \
&& ls $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers/*.json >/dev/null 2>&1; then \
sep=''; printf '[' > $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers.json; \
for f in $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers/*.json; do \
printf '%s' "$$$$sep" >> $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers.json; \
cat "$$$$f" >> $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers.json; \
sep=','; \
done; \
printf ']' >> $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers.json; \
fi
@if grep -q '"title"' $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers.json 2>/dev/null; then \
rm -rf $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers; \
else \
rm -f $(PKG_BUILD_DIR)/root/usr/share/https-dns-proxy/providers.json; \
fi
endef
include ../../luci.mk
# call BuildPackage - OpenWrt buildroot signature