Created attachment 250553 [details] bring port to version 7.0.2 Update the port to the latest version. Release notes: https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-2 Also improve diagnostics prior to starting the service, add information to pkg-message, and enable running the forgejo binary on the command line more easily.
It seems needing network access during the build phase: https://gist.github.com/lwhsu/5b3c9ac501a877e9ef1100a57aa7a087 This is not allowed in pkg building, can we fix this?
(In reply to Li-Wen Hsu from comment #1) Sorry about that, I'll try to take care of it asap.
Created attachment 250704 [details] Updated patch with correct Go version
(In reply to Stefan Bethke from comment #3) This builds locally without a network connection.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bfcf765a321bcf7ed02348a07b6cbcc32987c0b9 commit bfcf765a321bcf7ed02348a07b6cbcc32987c0b9 Author: Stefan Bethke <stb@lassitu.de> AuthorDate: 2024-05-16 16:23:54 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2024-05-16 17:26:36 +0000 www/forgejo: Update to 7.0.2 Also improve diagnostics prior to starting the service, add information to pkg-message, and enable running the forgejo binary on the command line more easily. Release notes: https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-2 PR: 278876 www/forgejo/Makefile | 16 ++++++++-------- www/forgejo/distinfo | 6 +++--- www/forgejo/files/forgejo.in | 16 +++++++++++++++- www/forgejo/files/pkg-message.in (new) | 27 +++++++++++++++++++++++++++ www/forgejo/pkg-message (gone) | 13 ------------- 5 files changed, 53 insertions(+), 25 deletions(-)
Committed, thanks! Minor adjustments to the pkg-message(.in)