git: 8903fd2b781a - main - www/gitea: Update to 1.17.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 05 Aug 2022 19:07:19 UTC
The branch main has been updated by eduardo:

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

commit 8903fd2b781aaf66801390f4a87ce405135dcc52
Author:     Stefan Bethke <stb@lassitu.de>
AuthorDate: 2022-08-05 19:04:22 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-08-05 19:04:22 +0000

    www/gitea: Update to 1.17.0
    
     - add dl.gitea.io to MASTER_SITES
    
    This release fixes ten bugs and contains two enhancements.
    
    ChangeLog:      https://github.com/go-gitea/gitea/releases/tag/v1.17.0
    PR:             265527
---
 www/gitea/Makefile | 6 ++++--
 www/gitea/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index 083cd70f8a05..cb0e15b2bf08 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -1,9 +1,11 @@
 PORTNAME=	gitea
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.16.9
+DISTVERSION=	1.17.0
 CATEGORIES=	www
-MASTER_SITES=	https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
+MASTER_SITES=	https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ \
+		https://dl.gitea.io/gitea/${DISTVERSION}/
 DISTNAME=	gitea-src-${DISTVERSION}
+EXTRACT_AFTER_ARGS=	--strip-components 1 # since 1.17.0, archive includes gitea-src-VERSION directory
 
 MAINTAINER=	stb@lassitu.de
 COMMENT=	Compact self-hosted Git service
diff --git a/www/gitea/distinfo b/www/gitea/distinfo
index 39c6335755c3..1533651c4ee6 100644
--- a/www/gitea/distinfo
+++ b/www/gitea/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659717526
-SHA256 (gitea-src-1.16.9.tar.gz) = 2f13d8512c9149f0e51b0082d8814f10848fe30b1126c51bc22f45eecc5b30e1
-SIZE (gitea-src-1.16.9.tar.gz) = 53660093
+TIMESTAMP = 1659723194
+SHA256 (gitea-src-1.17.0.tar.gz) = a016c0836c50e7c74b0428e170a32851fdf6724a057e71501cbdf3de900a5b56
+SIZE (gitea-src-1.17.0.tar.gz) = 52642977