Bug 278876 - www/forgejo: update to 7.0.2
Summary: www/forgejo: update to 7.0.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-09 17:00 UTC by Stefan Bethke
Modified: 2024-05-16 17:27 UTC (History)
1 user (show)

See Also:
stb: maintainer-feedback+


Attachments
bring port to version 7.0.2 (4.02 KB, patch)
2024-05-09 17:00 UTC, Stefan Bethke
no flags Details | Diff
Updated patch with correct Go version (4.24 KB, patch)
2024-05-16 15:15 UTC, Stefan Bethke
stb: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Bethke 2024-05-09 17:00:16 UTC
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.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2024-05-16 06:42:54 UTC
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?
Comment 2 Stefan Bethke 2024-05-16 14:26:07 UTC
(In reply to Li-Wen Hsu from comment #1)
Sorry about that, I'll try to take care of it asap.
Comment 3 Stefan Bethke 2024-05-16 15:15:21 UTC
Created attachment 250704 [details]
Updated patch with correct Go version
Comment 4 Stefan Bethke 2024-05-16 15:15:45 UTC
(In reply to Stefan Bethke from comment #3)
This builds locally without a network connection.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-05-16 17:27:07 UTC
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(-)
Comment 6 Li-Wen Hsu freebsd_committer freebsd_triage 2024-05-16 17:27:20 UTC
Committed, thanks! Minor adjustments to the pkg-message(.in)