From nobody Fri Oct 18 07:16:52 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 4XVGGr3r2Vz5Yqxn; Fri, 18 Oct 2024 07:16:52 +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 4XVGGr30Lmz4drc; Fri, 18 Oct 2024 07:16:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729235812; 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=F+mIFD7SZkxriith2Oqoljh5SrWclul1XDVJ0lYCMrc=; b=Mx8FwXX4qchTpUW6MYNh/qmYqO240Q87ERXvs4v6S7MMGC1yfk5cDp94mjFtBSfDZuVu3e 0yQUEieqEWcFKiHEmLHtPM9yv5P/AMUD3b3AUjUz4l3uPU2s/uf2NWPqA5VQdmknBll4aC vNEsGS/A1az1qGN+Ee2KdELeyWijFxZRX3z9zAv7jj5VFZB5m4M80pu++c/s2PzwpEYf+E MFbrQAfE39dGEAO8Q6JND6s4iFHvRYAWykHlUXBBvU9+11DBBk6uCNt5PEBtdkvDdxBDUe jeZSHyhtU3QfaJKtiwtWaAYWkD+lGVovGnFFnQAcs2VAOd8sFzOR4UB0QxfXGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729235812; 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=F+mIFD7SZkxriith2Oqoljh5SrWclul1XDVJ0lYCMrc=; b=mmnwpuY5/HJnV/YIgnx5twwioqfdBUkG0NuPvE2l0aM8jPP4ZO7MLE2xG7uY3hW/0WVMc+ FqYCJk5su9565iu1cwLDWkxKxB2pM2GWi2+hs4+CzbhIkVAI1c0PUFuE1HzZqWJ3xgG/00 T73sWC4mXBa9xvx2V6riqkLeFZL4gPls/KDQOK78zTOTIoBia0lW/MnzeD7JJ9qFtRI0Hs 3YRErXLAicsLa3yJkQ7ExTwObkg+tcyd0hdV4xicAy2K/Hip+WjzoOI4DNy5PwwkvJlCHv /DAjg+gvXot9O2Wz4umhfhWhJ+sP6VIQMR6UovX8ktZ1IbeHVTsnXNOu4yUakw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729235812; a=rsa-sha256; cv=none; b=Y7fSqc1j2aNCoeY9EJKf9PZEkupnua5GyBRaWDDyXsUAGapS6T8YVeBnq1/2MXm88ml2eO 4JXT03qqA6LYiSsh3YYZbJ6jLUOdo8fPf63NyBtwTlAcYMp/w7294iaGb+/puvEmtpZAHq xAuthpkqF6La+EMSk8LKUwzynkDTt8rdZArPMTONuOu6scUtka7a2bM08BOqqA8hy+JW97 X4xsd9bnxaOB7+0tGwThADHjb8c5XqCfpomc4rzv+76oJ5UI944Rd+Skghie6Snr93tX16 j3F3L8elVf4HkcoSC08C7ycfdHuXunVhJDhTg9wGiyYdv/qWT2qkuQtRY067DA== 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 4XVGGr2Lk3zPJL; Fri, 18 Oct 2024 07:16:52 +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 49I7GqZY034781; Fri, 18 Oct 2024 07:16:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49I7GqBO034778; Fri, 18 Oct 2024 07:16:52 GMT (envelope-from git) Date: Fri, 18 Oct 2024 07:16:52 GMT Message-Id: <202410180716.49I7GqBO034778@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: a2448a0110a3 - main - www/gitea: Fix startup script 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: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a2448a0110a37c4dffa7a7fbf9086795b6ba9c90 Auto-Submitted: auto-generated The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=a2448a0110a37c4dffa7a7fbf9086795b6ba9c90 commit a2448a0110a37c4dffa7a7fbf9086795b6ba9c90 Author: Emanuel Haupt AuthorDate: 2024-10-18 07:15:16 +0000 Commit: Emanuel Haupt CommitDate: 2024-10-18 07:16:10 +0000 www/gitea: Fix startup script Fix startup script. Current version fails to start. Approved by: blanket (fix trivial things policy) --- www/gitea/Makefile | 1 + www/gitea/files/gitea.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/gitea/Makefile b/www/gitea/Makefile index 9d61421b0223..0ed8bb4eb040 100644 --- a/www/gitea/Makefile +++ b/www/gitea/Makefile @@ -1,6 +1,7 @@ PORTNAME= gitea DISTVERSIONPREFIX= v DISTVERSION= 1.22.3 +PORTREVISION= 1 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/files/gitea.in b/www/gitea/files/gitea.in index 3b1814b25fb9..566a4b46ef93 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 ${gitea_user} -c "%%PREFIX%%/sbin/${name} doctor check >/dev/null"; then + if su -m ${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