From nobody Wed Oct 09 22:30:37 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XP6zL0qFxz5Z4Fn; Wed, 09 Oct 2024 22:30:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XP6zL0NgVz4fBh; Wed, 9 Oct 2024 22:30:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728513038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lfQ7e5scavU2tdTJADmutR/Cx0WegpfFJfPyrTrjv5s=; b=PJ1krvw0mWPVPWyOC/CtA9dFtrDrnqOQiE2vT7kACvakfPgeNgK9ScWWj6xfCYm6eb5Ys1 w//3koDUcgvDCr8PHLC84btSJn7ecylFjyQfR+Vw2mPoU7TTLdOyLN0YwSXiRYAaTbMXdH c653wMVmwqs4Tt0fQ7BtftFJAV7lhKS6U7NPICA0svdejzULgXsGbVStHf0eZDcE7eqN/f 8n5nOgtOCqs4nvptuBJL5h4zSeH2ZYGvd9wcatOsL1iK7weykiPPFYmqTX3eY8nK/BTb2R 0QDOO+efxAozbie2Q5DQ/KJ7e4WTEm1pl749/L0RPuV6VEzMrV+YS1gJ6sXuOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728513038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lfQ7e5scavU2tdTJADmutR/Cx0WegpfFJfPyrTrjv5s=; b=vR1cuIl3tPJPIZ6SgmWdG+wvF0Yf/ztwi57XPu+lpKvV8/+45rvDNX2E0XbBKwCoEvsN4W 4u0E+th6efEwXmhU3SZ0KW/7398yK7+kNhraPOqEceDquoyIBlGZsOh7YpaSiE+0qn93lD 6y0wXzUNTfGMsjxjlDosFaQyGTO+Ox3BxX2PH6nr6z+ZBb4hsbEptxgrseB0TcaQpzY1lU I/AvmQ/YBjqSCUDROwt/cxf1iYXAgBqbINjqoS0iIBQrr9du/3Rtdoq+KMLnLnlwXGdpcG 5H0HY/zoRCeSKhSG01GBwqt8Kyk3rRWV1/JfC7+8Rjrz8nlPe92f8RLtxOm4Nw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728513038; a=rsa-sha256; cv=none; b=aHvr3eN8S1PpllQCFzqc95WIvg7q4WJSaRrQGHe9KNzXtvGuuH9xE01CWoCNzN8j5zebTX OSXNrko+DAQaDwsaQZkD6h6fcK8WKTufOFfgnxj6362xr5sarKyBwxE531LKp10zmJRU9j JFd2MtGNYF09yO5h53XLKs/LGFe3JCTV12mOI3TIhD78hLZ5KATMybflfr5eZX4C94Ayf6 DCS0/930Fbj0UeZOKLPxhYvIrciv55b0ebMcmF7rg8am+RQCbbGZsaOboRt80Qx8ErE5YW bAJnqyWjHyP+wAy8dt+LLeVXkmKgngFd64QqhaoZQoZe5Q/1igKT5V/bLkkOaA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XP6zK741fzXt8; Wed, 9 Oct 2024 22:30:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 499MUbGP071507; Wed, 9 Oct 2024 22:30:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 499MUbZb071489; Wed, 9 Oct 2024 22:30:37 GMT (envelope-from git) Date: Wed, 9 Oct 2024 22:30:37 GMT Message-Id: <202410092230.499MUbZb071489@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: c1cc8c5f75f6 - main - www/gitea: Update 1.22.2 =?utf-8?Q?=E2=86=92?= 1.22.3 (fixes security vulnerability) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c1cc8c5f75f6e85e544498d7dc52e6fe5e2be8e0 Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=c1cc8c5f75f6e85e544498d7dc52e6fe5e2be8e0 commit c1cc8c5f75f6e85e544498d7dc52e6fe5e2be8e0 Author: Stefan Bethke AuthorDate: 2024-10-09 22:25:16 +0000 Commit: Vladimir Druzenko CommitDate: 2024-10-09 22:29:50 +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 --- 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