Bug 282408 - www/forgejo7: Update 7.0.9 → 7.0.10
Summary: www/forgejo7: Update 7.0.9 → 7.0.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL: https://codeberg.org/forgejo/forgejo/...
Keywords:
Depends on: 281842
Blocks:
  Show dependency treegraph
 
Reported: 2024-10-29 18:22 UTC by Marko Cupać
Modified: 2024-11-14 12:31 UTC (History)
1 user (show)

See Also:
vvd: merge-quarterly+


Attachments
www/forgejo7 update to 7.0.10 (1.20 KB, patch)
2024-10-29 18:22 UTC, Marko Cupać
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2024-10-29 18:22:10 UTC
Created attachment 254620 [details]
www/forgejo7 update to 7.0.10

Here's patch to update www/forgejo7 to 7.0.10.

forgejo 7.0.10 needs lang/go122 to be atleast 1.22.7 while version in ports is 1.22.6. There's #281842, commit that one first, then this one.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-11-09 00:25:59 UTC
A commit in branch main references this bug:

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

commit d59b93774645174be94659122aa63ca905fd45e6
Author:     Marko Cupać <marko.cupac@mimar.rs>
AuthorDate: 2024-11-09 00:15:34 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-11-09 00:15:34 +0000

    www/forgejo7: Update 7.0.9 → 7.0.10 (fixes security vulnerabilities)

    Changelog:
    https://codeberg.org/forgejo/forgejo/milestone/8286

    PR:     282408
    MFH:    2024Q4

 www/forgejo7/Makefile | 3 +--
 www/forgejo7/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-11-09 00:55:05 UTC
A commit in branch 2024Q4 references this bug:

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

commit ff1cc4b0aed3c41805a7d1a7c00557be9333cff6
Author:     Marko Cupać <marko.cupac@mimar.rs>
AuthorDate: 2024-11-09 00:15:34 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-11-09 00:54:12 +0000

    www/forgejo7: Update 7.0.9 → 7.0.10 (fixes security vulnerabilities)

    Changelog:
    https://codeberg.org/forgejo/forgejo/milestone/8286

    PR:     282408
    MFH:    2024Q4
    (cherry picked from commit d59b93774645174be94659122aa63ca905fd45e6)

 www/forgejo7/Makefile | 2 +-
 www/forgejo7/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2024-11-09 00:56:21 UTC
Thanks.
Comment 4 Marko Cupać 2024-11-14 12:31:04 UTC
(In reply to Vladimir Druzenko from comment #3)

Hi,

I am getting emails about www/forgejo7 failed builds in quarterly:

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     marko.cupac@mimar.rs
Log URL:        https://pkg-status.freebsd.org/beefy20/data/141amd64-quarterly/4a0c8fa31a19/logs/forgejo7-7.0.10.log
Build URL:      https://pkg-status.freebsd.org/beefy20/build.html?mastername=141amd64-quarterly&build=4a0c8fa31a19

This is due to quarterly still having lang/go122 at 1.22.6:
https://github.com/freebsd/freebsd-ports/blob/2024Q4/lang/go122/Makefile

...while forgejo7 7.0.10 needs at least lang/go122 1.22.7, and builds and works well in main, where it's at 1.22.9:
https://github.com/freebsd/freebsd-ports/blob/main/lang/go122/Makefile

What should be done here? Can lang/go122 be bumped to 1.22.7 in quarterly? Alternatively, should we downgrade www/forgejo7 in quarterly so that it can be built with lang/go122 currently present there (1.22.6)?