aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2026-09-02 06:28:11 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2026-09-02 06:29:03 +0000
commit99c172676dc11da3c35a576dd9a8a7c8aecb3410 (patch)
tree9ef8951817967f0925262ed727a749c305be285a
parent5894670dca8ca322732c8cabde9976ffd49a21bf (diff)
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
-rw-r--r--www/phpbb3/Makefile3
1 files changed, 3 insertions, 0 deletions
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