git: bf266886c6f8 - main - UPDATING: Add note for java/openjdk{25,26} package renames
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Mar 2026 14:54:35 UTC
The branch main has been updated by jrm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bf266886c6f81836c6ef66ef3326ebd5d0b74e02
commit bf266886c6f81836c6ef66ef3326ebd5d0b74e02
Author: Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2026-03-29 14:38:21 +0000
Commit: Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-03-29 14:52:49 +0000
UPDATING: Add note for java/openjdk{25,26} package renames
The jre-flavored packages were renamed in ad618043f3d. Instruct users
on how to rename their installed packages, so `pkg upgrade` will
correctly replace them with the new package names.
Reviewed by: haraldei
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56123
---
UPDATING | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/UPDATING b/UPDATING
index 498160acd788..2568f3b029ee 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,26 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20260329:
+ AFFECTS: users of java/openjdk25 and java/openjdk26 with the jre flavor
+ AUTHOR: jrm@FreeBSD.org
+
+ The openjdk-jre packages for versions 25 and 26 have been renamed. Users with
+ the old package names installed should run the following /bin/sh script with
+ superuser privileges before upgrading.
+
+ jre=$(pkg query -g %n-%v "*openjdk-jre-25*" "*openjdk-jre-26*")
+ if echo "$jre" | grep -q "\-25"; then
+ on=$(pkg query -g %n "*openjdk-jre-25*")
+ nn="openjdk25-jre"
+ elif echo "$jre" | grep -q "\-26"; then
+ on=$(pkg query -g %n "*openjdk-jre-26*")
+ nn="openjdk26-jre"
+ fi
+ if [ -n "$nn" ]; then
+ pkg set -yn "$on":"$nn"
+ fi
+
20260327:
AFFECTS: users of x11/nvidia-{driver, kmod}
AUTHOR: junchoon@dec.sakura.ne.jp