Bug 287776 - devel/simgear update to 2024.1.1
Summary: devel/simgear update to 2024.1.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Ganael LAPLANCHE
URL:
Keywords:
Depends on:
Blocks: 287777 287778
  Show dependency treegraph
 
Reported: 2025-06-24 17:27 UTC by Stefan Rumetshofer
Modified: 2025-07-01 10:11 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (martymac)


Attachments
ports update for devel/simgear (24.22 KB, patch)
2025-06-24 17:27 UTC, Stefan Rumetshofer
no flags Details | Diff
modified ports update fpr devel/simgear (24.08 KB, patch)
2025-06-28 06:34 UTC, Stefan Rumetshofer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Rumetshofer 2025-06-24 17:27:55 UTC
Created attachment 261553 [details]
ports update for devel/simgear

Hello,

would it be possible to update devel/simgear to version 2024.1.1? I’ve attached a corresponding diff. The patch for CVE-2025-0781 has been commented out in the Makefile, as I’m unsure whether it’s still applicable to the new version.

Additionally, I’ve prepared diffs for games/flightgear and games/flightgear-data to match the updated simgear version.
Comment 1 Stefan Rumetshofer 2025-06-28 06:34:18 UTC
Created attachment 261683 [details]
modified ports update fpr devel/simgear

I just read on https://www.flightgear.org/blog/release-2024-1-1/ that CVE-2025-0781 has been fixed in the current release. I have now updated the patches accordingly. Apologies for any inconvenience this may have caused.
Comment 2 Ganael LAPLANCHE freebsd_committer freebsd_triage 2025-06-28 21:05:28 UTC
Hello Stefan,

Thanks a lot for your patches (and sorry for that late reply). Yes, that CVE has been fixed and related patches can be removed from Simgear/Flightgear ports.

Please be more patient as I am testing and reworking (a bit) your patches: I plan to use Github *tags* instead of plain MASTER_SITE and I still have to fix the port to make it build on 13.5/i386.

Stay tuned... :)

Cheers,

Ganael.
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-07-01 10:10:03 UTC
A commit in branch main references this bug:

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

commit 9cc6248ca1ef107c06a9e9b392ed13c7ef277ca4
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2025-07-01 10:03:59 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2025-07-01 10:09:23 +0000

    games/flightgear: Update to 2024.1.1

    Also:
    - Switch upstream to Gitlab for code + download.flightgear.org for data
    - Switch to c++17

    PR:     287776 287777 287778
    Reported by:    Stefan Rumetshofer <sterum77@gmail.com>

 devel/simgear/Makefile                             | 17 +++----
 devel/simgear/distinfo                             | 10 ++--
 .../files/patch-simgear-misc-sg_path.cxx (gone)    | 12 -----
 .../files/patch-simgear-package-md5.h (gone)       | 11 -----
 .../patch-simgear-structure-SGAtomic.cxx (new)     | 53 ++++++++++++++++++++++
 .../patch-simgear-structure-SGAtomic.hxx (new)     | 17 +++++++
 ...atch-simgear_scene_viewer_Compositor.hxx (gone) | 10 ----
 devel/simgear/pkg-plist                            | 47 ++++++++++++++++---
 games/flightgear-data/Makefile                     | 10 ++--
 games/flightgear-data/distinfo                     |  6 +--
 games/flightgear/Makefile                          | 16 +++----
 games/flightgear/distinfo                          |  8 ++--
 ...c-FDM-JSBSim-input_output-FGfdmSocket.cpp (new) | 11 +++++
 ...src-FDM-JSBSim-input_output-FGfdmSocket.h (new) | 11 +++++
 games/flightgear/pkg-plist                         |  4 +-
 15 files changed, 161 insertions(+), 82 deletions(-)
Comment 4 Ganael LAPLANCHE freebsd_committer freebsd_triage 2025-07-01 10:11:16 UTC
Hello,

I've just updated the ports, thanks again for your contribution!