commit: aa5efe0710a1c52c6abe3b7501a5ab6ebe23bbd1 Author: Artemis Everfree <artemis <AT> artemis <DOT> sh> AuthorDate: Tue Jul 22 22:29:44 2025 +0000 Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh> CommitDate: Tue Jul 22 23:05:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa5efe07
www-apps/forgejo: match build flags to changes upstream forgejo v11 adjusts the names of various internal modules to drop the old gitea branding and use the forgejo name. Because build variables in Go use these module names, this changes the build variables as well. We were using the old gitea setting still. This would not affect forgejo running through the bundled service management scripts, because those set runtime variables that override the build-time variables. But, since we did not update our build script to match, it would break the behavior of any other means of invoking forgejo (manual, runit, etc.), leaving it to point at file paths that don't exist. This change fixes the build variables to be what they ought to be. Thanks to Enne Eziarc for explaining this issue and providing a patch Bug: https://bugs.gentoo.org/960471 Reference: https://codeberg.org/forgejo/forgejo/commit/e286457990b54c43248d6e321672e2a6d882503e Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh> .../forgejo/{forgejo-11.0.3.ebuild => forgejo-11.0.3-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www-apps/forgejo/forgejo-11.0.3.ebuild b/www-apps/forgejo/forgejo-11.0.3-r1.ebuild similarity index 92% rename from www-apps/forgejo/forgejo-11.0.3.ebuild rename to www-apps/forgejo/forgejo-11.0.3-r1.ebuild index 56eb438e92..cf169df2ca 100644 --- a/www-apps/forgejo/forgejo-11.0.3.ebuild +++ b/www-apps/forgejo/forgejo-11.0.3-r1.ebuild @@ -68,9 +68,9 @@ src_compile() { $(usex sqlite 'sqlite sqlite_unlock_notify' '') ) local forgejo_settings=( - "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini" - "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom" - "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea" + "-X forgejo.org/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini" + "-X forgejo.org/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom" + "-X forgejo.org/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea" ) local makeenv=( DRONE_TAG="${PV}"
