Date: Thu, 21 Nov 2024 11:28:30 -0800 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Vladimir Druzenko <vvd@FreeBSD.org> Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 2aa09e577ed8 - main - www/forgejo: Switch to using "FORGEJO_" prefixed environment variables Message-ID: <20241121192830.8811BBC@slippy.cwsent.com> In-Reply-To: <202411211621.4ALGLphJ029643@gitrepo.freebsd.org> References: <202411211621.4ALGLphJ029643@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <202411211621.4ALGLphJ029643@gitrepo.freebsd.org>, Vladimir Druzenko writes: > The branch main has been updated by vvd: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=2aa09e577ed8f1a0c1e79abd183677 > 9cb8ca9411 > > 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/7015bdfa480e717299377b454 > 7320ae6d70e9da2/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}" \ > This needs a PORTREVISION bump. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20241121192830.8811BBC>