git: 85650cc5aa90 - 2024Q4 - www/gitea: Update 1.22.2 → 1.22.3 (fixes security vulnerability)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Oct 2024 22:36:22 UTC
The branch 2024Q4 has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=85650cc5aa90190d9bc5865d83921a0915abddda
commit 85650cc5aa90190d9bc5865d83921a0915abddda
Author: Stefan Bethke <stb@lassitu.de>
AuthorDate: 2024-10-09 22:25:16 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-10-09 22:35:44 +0000
www/gitea: Update 1.22.2 → 1.22.3 (fixes security vulnerability)
Changelog:
https://github.com/go-gitea/gitea/releases/tag/v1.22.3
`su -m` cause checking authorized_keys in wrong place - replace it with `su`.
PR: 281949 281264
MFH: 2024Q4
(cherry picked from commit c1cc8c5f75f6e85e544498d7dc52e6fe5e2be8e0)
---
www/gitea/Makefile | 2 +-
www/gitea/distinfo | 6 +++---
www/gitea/files/gitea.in | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index f0b9d24b29a2..9d61421b0223 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gitea
DISTVERSIONPREFIX= v
-DISTVERSION= 1.22.2
+DISTVERSION= 1.22.3
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 4deeecdab0ed..4058ff2276dc 100644
--- a/www/gitea/distinfo
+++ b/www/gitea/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1725555216
-SHA256 (gitea-src-1.22.2.tar.gz) = 8c2f2cdac0b0403dfe99198064fcc1cd92c560e31072e550da3fc9c49a22c05d
-SIZE (gitea-src-1.22.2.tar.gz) = 54444512
+TIMESTAMP = 1728456289
+SHA256 (gitea-src-1.22.3.tar.gz) = 226291c16bc750c5d8953a7c16858ec5e8d87751308d25ffbbe75210f45215c2
+SIZE (gitea-src-1.22.3.tar.gz) = 54325752
diff --git a/www/gitea/files/gitea.in b/www/gitea/files/gitea.in
index 566a4b46ef93..3b1814b25fb9 100644
--- a/www/gitea/files/gitea.in
+++ b/www/gitea/files/gitea.in
@@ -52,7 +52,7 @@ gitea_start() {
gitea_prestart() {
if checkyesno gitea_configcheck_enable; then
- if su -m ${gitea_user} -c "%%PREFIX%%/sbin/${name} doctor check >/dev/null"; then
+ if su ${gitea_user} -c "%%PREFIX%%/sbin/${name} doctor check >/dev/null"; then
else
echo "cannot start ${name} because of configuration errors. Run" >&2
echo " su -m git -c '${name} doctor check'" >&2