From 6a13be222004246108b9974babb0297d91a23acd Mon Sep 17 00:00:00 2001 From: Vladimir Kochnev Date: Wed, 1 Oct 2025 20:48:02 +0300 Subject: [PATCH] acme-acme.sh: support listen_port option acme.sh supports --httpport and --tlsport options to be used together with --standalone and --alpn modes respectively. This is useful if we're behind a reverse proxy or smth like that or if we cannot bind to standard 80 or 443 port for some other reason. This change makes listen_port from configuration to be passed as either --httpport or --tlsport Signed-off-by: Vladimir Kochnev --- net/acme-acmesh/Makefile | 2 +- net/acme-acmesh/files/hook.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/acme-acmesh/Makefile b/net/acme-acmesh/Makefile index dbb174ce44..8eed8d02c2 100644 --- a/net/acme-acmesh/Makefile +++ b/net/acme-acmesh/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=acme-acmesh PKG_VERSION:=3.1.1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/acmesh-official/acme.sh/tar.gz/$(PKG_VERSION)? diff --git a/net/acme-acmesh/files/hook.sh b/net/acme-acmesh/files/hook.sh index a29bade1ac..2143594463 100644 --- a/net/acme-acmesh/files/hook.sh +++ b/net/acme-acmesh/files/hook.sh @@ -124,10 +124,10 @@ get) fi ;; "standalone") - set -- "$@" --standalone --listen-v6 + set -- "$@" --standalone --listen-v6 --httpport "$listen_port" ;; "alpn") - set -- "$@" --alpn --listen-v6 + set -- "$@" --alpn --listen-v6 --tlsport "$listen_port" ;; "webroot") mkdir -p "$CHALLENGE_DIR" -- 2.30.2