Bug 291819 - www/glassfish: Update 5.1.0 => 7.1.0
Summary: www/glassfish: Update 5.1.0 => 7.1.0
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-20 00:21 UTC by Pedro F. Giffuni
Modified: 2026-01-10 16:38 UTC (History)
1 user (show)

See Also:


Attachments
update diff (git) (60.17 KB, patch)
2025-12-20 00:21 UTC, Pedro F. Giffuni
no flags Details | Diff
update diff (git) (60.17 KB, patch)
2025-12-20 03:09 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer freebsd_triage 2025-12-20 00:21:11 UTC
Created attachment 266383 [details]
update diff (git)

The version we carry is very outdated, and now that FreeBSD has made an effort to update Java and bring it to decent shape we can do better:
"GlassFish 7.1.0 is a final release, containing final Jakarta EE 10 APIs. It is tested with Java 17, 21 and 25 experimentally can be used also with newer or non LTS version."

While here, we should probably resurrect the glassfish5 port and put there the exiting port (which only runs with java 8), and also deprecate completely glassfish4.
Comment 1 Pedro F. Giffuni freebsd_committer freebsd_triage 2025-12-20 03:09:12 UTC
Created attachment 266385 [details]
update diff (git)
Comment 2 Pedro F. Giffuni freebsd_committer freebsd_triage 2025-12-20 03:09:48 UTC
For the record .. I retired as committer :-/
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2025-12-21 01:05:34 UTC
(In reply to Pedro F. Giffuni from comment #2)
But you still can be a maintainer.
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-01-10 16:33:16 UTC
A commit in branch main references this bug:

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

commit 8633caa3a526e0fb9b5b19615d584a826180d7dd
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-01-10 16:20:46 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-10 16:31:59 +0000

    www/glassfish: Update 5.1.0 => 7.1.0

    Overview:
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/6.0.0
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/6.1.0
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/6.2.0
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/6.2.1
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/6.2.2
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/6.2.3
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/6.2.4
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/6.2.5
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.0
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.1
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.2
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.3
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.4
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.5
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.6
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.7
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.8
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.9
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.10
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.11
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.12
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.13
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.14
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.15
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.16
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.17
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.18
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.19
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.20
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.21
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.22
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.23
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.24
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.0.25
    https://projects.eclipse.org/projects/ee4j.glassfish/releases/7.1.0

    Improve port:
    - Replace PORTVERSION with DISTVERSION.
    - Parametrize "glassfish" with "PORTNAME".
    - Do not unpack unnecessary files.
    - Add NO_ARCH.
    - Replace "#!/bin/bash" with "#!/bin/sh" in scripts.
    - Install configs as samples.
    - Merge CHMOD in do-install.
    - Update pkg-descr.

    PR:             291819
    Co-authored-by: Pedro F. Giffuni <pfg@FreeBSD.org>

 www/glassfish/1 (new)   |  14 ++
 www/glassfish/Makefile  |  57 ++++--
 www/glassfish/distinfo  |   6 +-
 www/glassfish/pkg-descr |   6 +
 www/glassfish/pkg-plist | 525 +++++++++++++++++++++++++++++++++++-------------
 5 files changed, 443 insertions(+), 165 deletions(-)
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2026-01-10 16:38:21 UTC
Thanks.