aboutsummaryrefslogtreecommitdiff
path: root/www/gitea
diff options
context:
space:
mode:
authorStefan Bethke <stb@lassitu.de>2023-12-21 23:19:59 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-22 01:24:35 +0000
commit478a7fab1aa36ee655d2840c7f282de684ca4d51 (patch)
tree4bad7f5772ff5af249720eab0a1ecccb9b6e5649 /www/gitea
parentaf1b62b7bc9ab3c820da1ca943ea8ffed566a102 (diff)
downloadports-478a7fab1aa36ee655d2840c7f282de684ca4d51.tar.gz
ports-478a7fab1aa36ee655d2840c7f282de684ca4d51.zip
www/gitea: Update version 1.21.0=>1.21.3
- Add relevant vuxml entry - Move pkg-message to SUB_FILES as we are using PREFIX Changelog: https://blog.gitea.com/release-of-1.21.3/ PR: 275742 Approved by: submitter is maintainer
Diffstat (limited to 'www/gitea')
-rw-r--r--www/gitea/Makefile5
-rw-r--r--www/gitea/distinfo6
-rw-r--r--www/gitea/files/pkg-message.in (renamed from www/gitea/pkg-message)15
3 files changed, 20 insertions, 6 deletions
diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index 287dba7c6138..2d2837e6b440 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -1,7 +1,6 @@
PORTNAME= gitea
DISTVERSIONPREFIX= v
-DISTVERSION= 1.21.0
-PORTREVISION= 1
+DISTVERSION= 1.21.3
CATEGORIES= www
MASTER_SITES= https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ \
https://dl.gitea.io/gitea/${DISTVERSION}/
@@ -20,7 +19,7 @@ USES= cpe gmake go:1.21,no_targets
USE_RC_SUBR= gitea
EXTRACT_AFTER_ARGS= --strip-components 1 # since 1.17.0, archive includes gitea-src-VERSION directory
-SUB_FILES+= app.ini.sample
+SUB_FILES+= app.ini.sample pkg-message
SUB_LIST+= GITUSER=${USERS}
NO_WRKSUBDIR= yes
diff --git a/www/gitea/distinfo b/www/gitea/distinfo
index 011dfb106ba4..93f0353acb68 100644
--- a/www/gitea/distinfo
+++ b/www/gitea/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699991932
-SHA256 (gitea-src-1.21.0.tar.gz) = 69b12778b3b5f24aecff08d8e5122e4edf784bda2e4335b77f2bbd0404a11a93
-SIZE (gitea-src-1.21.0.tar.gz) = 53744981
+TIMESTAMP = 1703201941
+SHA256 (gitea-src-1.21.3.tar.gz) = b490bda7bfbe95bde50f4c98478a80b4539344140ad9290d083e9393e83d33bf
+SIZE (gitea-src-1.21.3.tar.gz) = 53775315
diff --git a/www/gitea/pkg-message b/www/gitea/files/pkg-message.in
index e3393b659d24..f1b18026682e 100644
--- a/www/gitea/pkg-message
+++ b/www/gitea/files/pkg-message.in
@@ -1,5 +1,20 @@
[
{ type: upgrade
+ maximum_version: 1.20.0
+ message: <<EOM
+Please make sure to empty or maintain the contents of the
+%%PREFIX%%/share/gitea folder between your upgrades of gitea.
+Changes between versions can break the web UI due to residual
+files from earlier versions.
+
+1.21.0 has a breaking change regarding the public assets folder. In case
+you use a proxying webserver serving the files, you need to update your
+configuration:
+
+https://github.com/go-gitea/gitea/pull/25907
+EOM
+}
+{ type: upgrade
maximum_version: 1.7.6
message: <<EOM
When upgrading from Gitea 1.7 or earlier, Gitea requires the addition of