Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 16:21:51 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2aa09e577ed8 - main - www/forgejo: Switch to using "FORGEJO_" prefixed environment variables
Message-ID:  <202411211621.4ALGLphJ029643@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2aa09e577ed8f1a0c1e79abd1836779cb8ca9411

commit 2aa09e577ed8f1a0c1e79abd1836779cb8ca9411
Author:     Rudolph <rudolphfroger@dreamsolution.nl>
AuthorDate: 2024-11-21 15:49:59 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-11-21 16:17:04 +0000

    www/forgejo: Switch to using "FORGEJO_" prefixed environment variables
    
    Switch the environment variables specified in the Forgejo RC file from
    "GITEA_" to "FORGEJO_".
    The old variables are still work, but new are preffered:
    https://codeberg.org/forgejo/forgejo/src/commit/7015bdfa480e717299377b4547320ae6d70e9da2/modules/setting/path.go#L123
    Also, the Forgejo documentation uses new names:
    https://forgejo.org/docs/latest/admin/config-cheat-sheet/
    
    PR:             282771
    Approved by:    Stefan Bethke <stb@lassitu.de> (maintainer)
---
 www/forgejo/files/forgejo.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/forgejo/files/forgejo.in b/www/forgejo/files/forgejo.in
index c635f3a9a9b1..2879239c7d68 100644
--- a/www/forgejo/files/forgejo.in
+++ b/www/forgejo/files/forgejo.in
@@ -42,8 +42,8 @@ forgejo_start() {
 	/usr/sbin/daemon %%DAEMONARGS%% \
 		-u ${forgejo_user} -p ${pidfile} \
 		/usr/bin/env -i \
-		"GITEA_WORK_DIR=${forgejo_shared}" \
-		"GITEA_CUSTOM=${forgejo_custom}" \
+		"FORGEJO_WORK_DIR=${forgejo_shared}" \
+		"FORGEJO_CUSTOM=${forgejo_custom}" \
 		"HOME=${githome}" \
 		"PATH=%%PREFIX%%/bin:${PATH}" \
 		"USER=${forgejo_user}" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411211621.4ALGLphJ029643>