git: 1ebee6e20d68 - 2026Q3 - www/phpbb3: Fix fetch

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Thu, 03 Sep 2026 08:52:57 UTC
The branch 2026Q3 has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1ebee6e20d685ce81d4cfaad4bfac5fd4f7feac8

commit 1ebee6e20d685ce81d4cfaad4bfac5fd4f7feac8
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-09-02 06:28:11 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-09-03 08:52:39 +0000

    www/phpbb3: Fix fetch
    
    download.phpbb.com started rejecting requests carrying the libfetch user
    agent with HTTP 403.  This breaks fetching the distfile everywhere, the
    package building cluster included.
    
    The distfile itself is unchanged and its recorded checksum still
    matches, and there is no newer upstream release.  Work around the block by
    passing --user-agent to fetch.
    
    Sponsored by:   Netzkommune GmbH
    
    (cherry picked from commit 99c172676dc11da3c35a576dd9a8a7c8aecb3410)
---
 www/phpbb3/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/phpbb3/Makefile b/www/phpbb3/Makefile
index 59f3ce058b2c..eff57a9f3e1d 100644
--- a/www/phpbb3/Makefile
+++ b/www/phpbb3/Makefile
@@ -17,6 +17,9 @@ USE_PHP=	ctype dom filter tokenizer
 
 CONFLICTS=	phpbb-[0-2]*
 
+# download.phpbb.com rejects the libfetch user agent with HTTP 403
+FETCH_BEFORE_ARGS=	--user-agent=curl/8.16.0
+
 OPTIONS_DEFINE=	DOCS
 
 WWWDOCROOT?=	www