From nobody Fri Oct 18 07:17:43 2024 X-Original-To: dev-commits-ports-all@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 4XVGHq5YLVz5Yr1J; Fri, 18 Oct 2024 07:17:43 +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 4XVGHq3QJPz4f4l; Fri, 18 Oct 2024 07:17:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729235863; 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=it4Y3tuDOvpRRcCJh7xr7QIJwFGaSlk9VVOzDRw4TJM=; b=Rmd1zZvgsMgeY91YcrQbo0zfa9kePzw+ubUwMW1H9y2TKOST6Z3KtW15YBSCitckwYVK9P e07unBidvpkYMvmL2/kf7Wuqhjp3PnM0NHArYH5doIwk/psRdTZQayu7eeY4vJfrIbwht4 io0nl5MV26ot9vBFdGf2+rFvYDEsh/GRmpe+On91h1HviOvWKejtgp/PRdO420uKqGpq1M lvJzuT5AuJHtqFu37kiowIBlE6eNs3zCMTdwg0DI+4OkIxvwHtWkm7jf4DXnXjW5bLjTO3 306DcAYOXLocuYhI9FRADeHmM0mbhcIob3PxmX8TlR5O7SR8RvDDaZWuEUxW5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729235863; 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=it4Y3tuDOvpRRcCJh7xr7QIJwFGaSlk9VVOzDRw4TJM=; b=DyxKXbxSsh9e5cC/86JGcSo5CUeyZvU22C1bvdoQWinBdgtX1C9OtcjgqqAcMWxPQ7RDAl QGuo8JAUgrkm7WQS6VO1BjlIvI2VNj2auxn+S1PbkGv9nGhoXekDj/jCBPnq/L7Gl6Sp3V Y8fS+BSdqRrQTxwkNh0v5vKoVMqlWFj6nQ3CVqWZjFhYD7FmGmI76Z/kQPB4LW9UkULGV/ Amovk9Dnh5G+4jRR8hrIsKN3OcJpWYOxCbDgB+6i5f9bl1fMap6BegthWUhNhNY/IPyn4e VuRe9lQqX53RVFbY2LShxQHvFybNa3QmtXD/qw9gl+jMcH4ndkJXIHsZwyaGuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729235863; a=rsa-sha256; cv=none; b=PjOahaoO1cx76cfZ2n0QEGhaL1m7Tf7SHcnAwtVE3oZHz2qkYj2I49NFk9xqWzLmBCmLlz pa7ycRFJL4MOq4Zz5dpVF2fcKS6pxq1vCCsFlEvAcNYp9fj6F6c5ydgBGRcNCNwAnwSEkH eQLL6T16Xg/B+waTHDdYGnXYx1lBDsPuSPCZp9l81T5IuOWOqukFDypPLpsRaSeIr4FRu+ H2j2yukw1+qQD4ag3Ee36Y0Pc+aJFTkPIaLuXTlI87zWruJTLwNszAx70FKtwIoXlRmt/R Cm47BppBy8laOZ98Zbb1yQcwv6jDsh1Xy00Ha6tOla6kwodXOqrInImRQDaSFQ== 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 4XVGHq32PrzPPH; Fri, 18 Oct 2024 07:17:43 +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 49I7HhgZ035147; Fri, 18 Oct 2024 07:17:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49I7Hhne035144; Fri, 18 Oct 2024 07:17:43 GMT (envelope-from git) Date: Fri, 18 Oct 2024 07:17:43 GMT Message-Id: <202410180717.49I7Hhne035144@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Emanuel Haupt Subject: git: 1343d3b2ca6d - 2024Q4 - www/gitea: Fix startup script List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@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/2024Q4 X-Git-Reftype: branch X-Git-Commit: 1343d3b2ca6d8857a8588690341af6943f47986e Auto-Submitted: auto-generated The branch 2024Q4 has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=1343d3b2ca6d8857a8588690341af6943f47986e commit 1343d3b2ca6d8857a8588690341af6943f47986e Author: Emanuel Haupt AuthorDate: 2024-10-18 07:15:16 +0000 Commit: Emanuel Haupt CommitDate: 2024-10-18 07:17:39 +0000 www/gitea: Fix startup script Fix startup script. Current version fails to start. Approved by: blanket (fix trivial things policy) (cherry picked from commit a2448a0110a37c4dffa7a7fbf9086795b6ba9c90) --- 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