From: Etienne Champetier Date: Fri, 7 Aug 2026 00:49:31 +0000 (-0400) Subject: simple-captive-portal: update to 2026.08.06 / use port 80 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=91a6967643c8b2ae69cd1515f4213f7b7310d6eb;p=openwrt-packages.git simple-captive-portal: update to 2026.08.06 / use port 80 No issue reported but this is a bit cleaner. Signed-off-by: Etienne Champetier --- diff --git a/net/simple-captive-portal/Makefile b/net/simple-captive-portal/Makefile index 2574feee9..48822c6c4 100644 --- a/net/simple-captive-portal/Makefile +++ b/net/simple-captive-portal/Makefile @@ -1,8 +1,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=simple-captive-portal -PKG_VERSION:=2025.06.22 -PKG_RELEASE:=2 +PKG_VERSION:=2026.08.06 +PKG_RELEASE:=1 PKG_MAINTAINER:=Etienne CHAMPETIER PKG_LICENSE:=GPL-2.0-or-later diff --git a/net/simple-captive-portal/files/etc/init.d/simple-captive-portal b/net/simple-captive-portal/files/etc/init.d/simple-captive-portal index 77cfba0f6..85fffd1eb 100644 --- a/net/simple-captive-portal/files/etc/init.d/simple-captive-portal +++ b/net/simple-captive-portal/files/etc/init.d/simple-captive-portal @@ -4,11 +4,12 @@ USE_PROCD=1 EXTRA_COMMANDS='firewall' firewall() { - local INTF PORT_REDIRECT TIMEOUT + local INTF PORT_REDIRECT PORT_PORTAL TIMEOUT config_load "simple-captive-portal" config_get INTF main interface [ -z "${INTF}" ] && exit 0 config_get PORT_REDIRECT main port_redirect 8888 + config_get PORT_PORTAL main port_portal 8889 config_get TIMEOUT main timeout 86400 /usr/sbin/nft -f- <