[Bug 294752] update www/gitea to 1.26 to address security issues

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 May 2026 09:50:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294752

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs@FreeBSD.org      |vvd@FreeBSD.org
              Flags|                            |merge-quarterly?
           Severity|Affects Many People         |Affects Some People

--- Comment #8 from Vladimir Druzenko <vvd@FreeBSD.org> ---
(In reply to Lion Haupt from comment #7)
> Update the patch to 1.26.1?
Trivial update work for me:
diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index 6e791ceaea38..0dea0f9d5dd5 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=      gitea
 DISTVERSIONPREFIX=     v
-DISTVERSION=   1.25.5
-PORTREVISION=  1
+DISTVERSION=   1.26.1
 CATEGORIES=    www
 MASTER_SITES= 
https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
\
                https://dl.gitea.io/gitea/${DISTVERSION}/
@@ -16,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE

 RUN_DEPENDS=   git:devel/git

-USES=          cpe gmake go:no_targets
+USES=          cpe gmake go:1.26+,no_targets
 USE_RC_SUBR=   gitea

 EXTRACT_AFTER_ARGS=    --strip-components 1 # since 1.17.0, archive includes
gitea-src-VERSION directory
diff --git a/www/gitea/distinfo b/www/gitea/distinfo
index ea99579ecc0f..bccfbd0dfdf7 100644
--- a/www/gitea/distinfo
+++ b/www/gitea/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1774223894
-SHA256 (gitea-src-1.25.5.tar.gz) =
94ac565aa9da5b80e784db53598e5b10a2e41c655c07f064050675bd97ef51f1
-SIZE (gitea-src-1.25.5.tar.gz) = 46033177
+TIMESTAMP = 1777777777
+SHA256 (gitea-src-1.26.1.tar.gz) =
6c673dfd26c6e22dfba000c6dd1e3eaad905176ee7c80a5f458bdbe54caba248
+SIZE (gitea-src-1.26.1.tar.gz) = 43117791

If the maintainer has no objections, then I will commit.

-- 
You are receiving this mail because:
You are the assignee for the bug.