git: a68308673e12 - main - www/gitea: update to 1.21.5 (fixes security vulnerabilities)

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Sun, 18 Feb 2024 16:32:46 UTC
The branch main has been updated by fernape:

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

commit a68308673e12c6cc3dda0a622ed967e49c7a33f5
Author:     Paul Armstrong <freebsd@otoh.org>
AuthorDate: 2024-02-16 08:27:38 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-02-18 16:32:31 +0000

    www/gitea: update to 1.21.5 (fixes security vulnerabilities)
    
    ChangeLog: https://github.com/go-gitea/gitea/releases/tag/v1.21.5
    
    SECURITY
     * Prevent anonymous container access if RequireSignInView is enabled
     * Update go dependencies and fix go-git
    
    BUGFIXES
     * Revert "Speed up loading the dashboard on mysql/mariadb
     * Fix an actions schedule bug
     * Fix update enable_prune even if mirror_interval is not provided
     * Fix uploaded artifacts should be overwritten
     * Preserve BOM in web editor
     * Strip / from relative links
     * Don't remove all mirror repository's releases when mirroring
     * Implement MigrateRepository for the actions notifier
     * Respect branch info for relative links
     * Don't reload timeline page when (un)resolving or replying conversation
     * Only migrate the first 255 chars of a Github issue title
     * Fix sort bug on repository issues list
     * Fix DeleteCollaboration transaction behaviour
     * Fix schedule not trigger bug because matching full ref name with short ref
       name
     * Fix migrate storage bug
     * Fix archive creating LFS hooks and breaking pull requests
     * Fix reverting a merge commit failing
     * Upgrade xorm to v1.3.7 to fix a resource leak problem caused by Iterate
     * Fix incorrect PostgreSQL connection string for Unix sockets
    
    ENHANCEMENTS
     * Make loading animation less aggressive
     * Avoid duplicate JS error messages on UI
     * Bump @github/relative-time-element to 4.3.1
    
    MISC
     * Warn that DISABLE_QUERY_AUTH_TOKEN is false only if it's explicitly defined
     * Remove duplicated checkinit on git module
    
    PR:             277066
    Reported by:    freebsd@otoh.org
    MFH:            2024Q1 (security fixes, bug fixes)
---
 www/gitea/Makefile | 3 +--
 www/gitea/distinfo | 7 ++++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index f1bd80dba66e..874f8b301fc9 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	gitea
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.21.3
-PORTREVISION=	1
+DISTVERSION=	1.21.5
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ \
 		https://dl.gitea.io/gitea/${DISTVERSION}/
diff --git a/www/gitea/distinfo b/www/gitea/distinfo
index 93f0353acb68..3119d9bd8c5b 100644
--- a/www/gitea/distinfo
+++ b/www/gitea/distinfo
@@ -1,3 +1,4 @@
-TIMESTAMP = 1703201941
-SHA256 (gitea-src-1.21.3.tar.gz) = b490bda7bfbe95bde50f4c98478a80b4539344140ad9290d083e9393e83d33bf
-SIZE (gitea-src-1.21.3.tar.gz) = 53775315
+TIMESTAMP = 1707999597
+SHA256 (gitea-src-1.21.5.tar.gz) = 567245e824acb1062cf3220a997bf160787609f2e2261b8ab6345da8a2101b1c
+SIZE (gitea-src-1.21.5.tar.gz) = 53857165
+