Bug 272257 - databases/cockroach: Update to 25.3
Summary: databases/cockroach: Update to 25.3
Status: Closed Not Enough Information
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Charlie Li
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-28 01:41 UTC by Yonas Yanfa
Modified: 2025-12-24 06:04 UTC (History)
1 user (show)

See Also:
vishwin: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yonas Yanfa 2023-06-28 01:41:31 UTC
Latest version is 23.1.4.
Comment 1 Charlie Li freebsd_committer freebsd_triage 2023-06-28 02:11:19 UTC
Been aware. Note that they changed build systems to bazel, and I need to get more familiar with its operation other than porting the latest versions over.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2025-12-03 01:11:14 UTC
^Triage: without a patch, there is nothing actionable here.  Close this
aging Problem Report.
Comment 3 Yonas Yanfa 2025-12-03 01:25:44 UTC
This port hasn't been updated in 5 years.

https://www.cockroachlabs.com/docs/releases/v19.1#v19-1-11

I thought ports in this poor shape get nuked. Thoughts?
Comment 4 Charlie Li freebsd_committer freebsd_triage 2025-12-03 02:13:19 UTC
There are two major issues now:

CockroachDB now uses bazel to build, which itself is a fragile pain to deal with. More on that in those relevant reports.

The more pressing issue however is that the latest versions are no longer open source (in the strict definition). Releases between sometime in 2019 and prior to 20241118 are under Business Source Licence 1.1 at release time, electing to change to the open source Apache Licence 2.0 three years after the branch was first released. Starting 20241118 all releases of the software are fully proprietary even though source is available.

As of this writing, 22.2.19 is the latest version that is now under an open source licence, but the whole 22.2 branch is completely unsupported upstream. There are a couple newer LTS branches that are still supported but the earliest they become open source is late next year, by which point they may also become unsupported.

Especially due to how this became fully proprietary starting 20241118, but even the dubious nature of trying to port old but open source versions, I'm inclined to remove this from the tree entirely. Probably at the end of the month.
Comment 5 Yonas Yanfa 2025-12-03 02:40:10 UTC
I'd also remove it.
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-12-24 06:04:52 UTC
A commit in branch main references this bug:

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

commit 9c6febcd119922c6883de5aefc4a0efa3baf0466
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-12-24 06:00:21 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-12-24 06:03:50 +0000

    databases/cockroach: deprecate and expire

    Excerpt from PR comment:

      The more pressing issue however is that the latest versions are
      no longer open source (in the strict definition). Releases between
      sometime in 2019 and prior to 20241118 are under Business Source
      Licence 1.1 at release time, electing to change to the open source
      Apache Licence 2.0 three years after the branch was first released.
      Starting 20241118 all releases of the software are fully proprietary
      even though source is available.

      As of [20251202], 22.2.19 is the latest version that is now under
      an open source licence, but the whole 22.2 branch is completely
      unsupported upstream. There are a couple newer LTS branches that
      are still supported but the earliest they become open source is
      late next year, by which point they may also become unsupported.

    PR: 272257

 databases/cockroach/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)