'; }
Bug 286943 - net-mgmt/unifi9: switch MongoDB dependency from 6.0 to 7.0
Summary: net-mgmt/unifi9: switch MongoDB dependency from 6.0 to 7.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Juraj Lutter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-20 11:51 UTC by Ronald Klop
Modified: 2025-06-06 13:57 UTC (History)
2 users (show)

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


Attachments
git diff (1.10 KB, patch)
2025-05-20 11:51 UTC, Ronald Klop
no flags Details | Diff
git diff to unifi9 (1.32 KB, patch)
2025-06-03 10:08 UTC, Ronald Klop
ronald: maintainer-approval? (otis)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop freebsd_committerfreebsd_triage 2025-05-20 11:51:12 UTC
Created attachment 260572 [details]
git diff

MongoDB 6.0 is going EOL in August 2025.

I'm preparing patches to switch unifi8/9 to MongoDB 7.0.
This is a first version for Unifi8.

MongoDB 7 officially does not support RPI4 and lower while this is a known user base of the Unifi Controller. With patches a mongodb70-armv80a package is available. This patch makes it easy for RPI (or other armv80a users) to install a unifi8 flavor with the proper mongodb70 packages.

I verified compilation in my poudriere setup.

Are you ok with such a construction?
If yes, I will come up with a text for UPDATING and can prepare a similar patch for Unifi9.
Comment 1 Ronald Klop freebsd_committerfreebsd_triage 2025-06-03 10:08:05 UTC
Created attachment 260924 [details]
git diff to unifi9

New patch to unifi9 as unifi8 is marked deprecated in the meantime.
Comment 2 commit-hook freebsd_committerfreebsd_triage 2025-06-06 13:54:03 UTC
A commit in branch main references this bug:

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

commit 477f5c5263676c6c7c475a01a7be3c0564fa77d3
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-06-03 12:08:24 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-06-06 13:52:30 +0000

    net-mgmt/unifi9: update MongoDB dependency from 6.0 to 7.0.

    - MongoDB 6.0 is deprecated and going EOL in a few months.
    - Add flavor -armv80a which uses mongodb70-armv80a for non-LSE ARM64 systems.
    - See UPDATING for instructions.

    PR:     286943
    Approved by:    maintainer timeout

 UPDATING                 | 20 ++++++++++++++++++++
 net-mgmt/unifi9/Makefile | 10 +++++++---
 2 files changed, 27 insertions(+), 3 deletions(-)
Comment 3 Ronald Klop freebsd_committerfreebsd_triage 2025-06-06 13:57:31 UTC
I went on and committed the change. It was build- and run-tested on my aarch64 system.
I hope I didn't cross your plans with this patch. Otherwise I'm happy to work together to improve on it.