git: 61ebb9e8e675 - main - www/caddy: Update to 2.11.2

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Fri, 06 Mar 2026 03:44:24 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=61ebb9e8e6754274aaf433ddf1a341ba9361fd4e

commit 61ebb9e8e6754274aaf433ddf1a341ba9361fd4e
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2026-03-06 03:39:13 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2026-03-06 03:39:13 +0000

    www/caddy: Update to 2.11.2
    
    Changes:
    
    Caddy 2.11.2 contains numerous bug fixes and enhancements! I know
    that's a lame summary but it's really all over the place.
    
    Highlights:
      - Reverse proxy got a lot of love with certain edge cases related to
        PROXY protocol, health check port, and closing body on retries.
        Dynamic upstreams are now tracked which enables passive health
        checking.
      - Performance improvements for metrics.
      - New tls_resolvers global option to control DNS resolvers for all
        sites when using the ACME DNS challenge.
      - Log rolling now supports zstd compression; deprecated roll_gzip,
        which will be removed in the future. Use roll_compression instead.
      - Refined logging and some error messages.
      - Fixed a bug in rewrite handler that could cause some URIs to not
        be rewritten when URI path is an escaped form of target path.
        Thanks to @MaherAzzouzi for the report.
    
    Security fixes:
    This release fixes two CVEs.
      - @NucleiAv reported a bug in the forward_auth directive that could
        permit identity injection and potential privilege escalation.
        (HIGH, GHSA-7r4p-vjf4-qxv4)
      - @sammiee5311 reported that vars_regexp double-expanded
        placeholders, allowing some unusual configs to reveal secrets.
        (MODERATE, GHSA-m2w3-8f23-hxxf)
    
    In addition:
      - Our documentation has been updated to note that file system case
        sensitivity may affect the behavior of the hide option of the
        file_server handler.
    
    Thank you to everyone who contributed, and for our ongoing
    sponsorships that make this development possible!
    
    Security:       https://github.com/caddyserver/caddy/security/advisories/GHSA-7r4p-vjf4-gxv4
                    https://github.com/caddyserver/caddy/security/advisories/GHSA-m2w3-8f23-hxxf
---
 www/caddy/Makefile |  5 ++---
 www/caddy/distinfo | 10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/www/caddy/Makefile b/www/caddy/Makefile
index 370887e7f668..6de38133bfb3 100644
--- a/www/caddy/Makefile
+++ b/www/caddy/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	caddy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.11.1
-PORTREVISION=	1
+DISTVERSION=	2.11.2
 CATEGORIES=	www
 DIST_SUBDIR=	caddy
 
@@ -12,7 +11,7 @@ WWW=		https://caddyserver.com
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cpe go:modules
+USES=		cpe go:1.25+,modules
 CPE_VENDOR=	caddyserver
 
 USERS=		www
diff --git a/www/caddy/distinfo b/www/caddy/distinfo
index bceaaa08c58a..1c27da463983 100644
--- a/www/caddy/distinfo
+++ b/www/caddy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1772048889
-SHA256 (go/www_caddy/caddy-v2.11.1/v2.11.1.mod) = eaa1a75bebd45e72e0ad21cdd913a73c4ac2352776a22200d624dcb67d6021a1
-SIZE (go/www_caddy/caddy-v2.11.1/v2.11.1.mod) = 8512
-SHA256 (go/www_caddy/caddy-v2.11.1/v2.11.1.zip) = e587862efcdc18c1eb52f762332e9f747c74f581f3d3cf8d5be35e32dc67a5b9
-SIZE (go/www_caddy/caddy-v2.11.1/v2.11.1.zip) = 1140036
+TIMESTAMP = 1772765682
+SHA256 (go/www_caddy/caddy-v2.11.2/v2.11.2.mod) = 7a046b20b693e7345ffda63a711c8633a12e1b97ef0c45f8122fce04602dbea4
+SIZE (go/www_caddy/caddy-v2.11.2/v2.11.2.mod) = 8482
+SHA256 (go/www_caddy/caddy-v2.11.2/v2.11.2.zip) = 61076dd29d22fa10bc0cb652eabb91e2b59d2e32195f442b9b6feec9c1c21396
+SIZE (go/www_caddy/caddy-v2.11.2/v2.11.2.zip) = 1177665