git: 96b6403881b7 - 2024Q4 - www/forgejo: Update to 9.0.0

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 15:48:20 UTC
The branch 2024Q4 has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=96b6403881b7b2fa75e4b2428dce12b602d291ea

commit 96b6403881b7b2fa75e4b2428dce12b602d291ea
Author:     Stefan Bethke <stb@lassitu.de>
AuthorDate: 2024-10-20 19:55:52 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-10-29 15:47:52 +0000

    www/forgejo: Update to 9.0.0
    
    Changelog: https://codeberg.org/forgejo/forgejo/milestone/7235
    
    PR:     282153
    (cherry picked from commit c88a65a9a7faddec69f6342a5a963b3594204f96)
---
 www/forgejo/Makefile             | 4 ++--
 www/forgejo/distinfo             | 6 +++---
 www/forgejo/files/pkg-message.in | 8 ++++++++
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/www/forgejo/Makefile b/www/forgejo/Makefile
index 92d8a0476152..9808a26e3bb1 100644
--- a/www/forgejo/Makefile
+++ b/www/forgejo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	forgejo
 DISTVERSIONPREFIX=	v
-DISTVERSION=	8.0.3
+DISTVERSION=	9.0.0
 CATEGORIES=	www
 MASTER_SITES=	https://codeberg.org/forgejo/forgejo/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
 DISTNAME=	forgejo-src-${DISTVERSION}
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	git:devel/git
 
-USES=		cpe gmake go:1.22,no_targets
+USES=		cpe gmake go:1.23,no_targets
 USE_RC_SUBR=	forgejo
 
 CONFLICTS_INSTALL=	forgejo[0-79]*
diff --git a/www/forgejo/distinfo b/www/forgejo/distinfo
index 625faaffabab..eb07c7960509 100644
--- a/www/forgejo/distinfo
+++ b/www/forgejo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725643658
-SHA256 (forgejo-src-8.0.3.tar.gz) = b543532cf01453967c331063639b172600cccd62d815e6815a4f05a25a0b0795
-SIZE (forgejo-src-8.0.3.tar.gz) = 53477625
+TIMESTAMP = 1729146681
+SHA256 (forgejo-src-9.0.0.tar.gz) = 21364d6c1635711189f25da5dc343b3b28e8ade20a5f00202301ccc364adc1d2
+SIZE (forgejo-src-9.0.0.tar.gz) = 53905348
diff --git a/www/forgejo/files/pkg-message.in b/www/forgejo/files/pkg-message.in
index 03164efe7264..17b47fd6688b 100644
--- a/www/forgejo/files/pkg-message.in
+++ b/www/forgejo/files/pkg-message.in
@@ -24,4 +24,12 @@ forgejo will start even if doctor has identified an issue, you can disable
 the check by setting forgejo_configcheck_enabled=NO in rc.conf.
 EOM
 }
+{ type: upgrade
+  maximum_version: "8.0.2"
+  message: <<EOM
+Breaking changes: upgrading from Forgejo 8 changes the semantics of some
+authentication, breaking previously working API calls. Please see the
+release notes for details: https://codeberg.org/forgejo/forgejo/milestone/7235
+EOM
+}
 ]