Openjdk24 is about to be deleted around 2026-06-12. Can you modify JAVA_VERSION? NB: Java default is 25 nowadays, so removing JAVA_VERSION might also be an option. If needed I can commit the change for you.
(In reply to Ronald Klop from comment #0) Hi Ronald, Unfortunately, the port does not work (half of it) with openjdk25(https://reviews.freebsd.org/D53807?id=166691#inline-318869) security/autofirma is used for two purposes: * digitally sign documents like PDFs and such. To that end, it behaves like a normal Java application. You select the file, the certificate and sign it. This part do work with openjdk25 * as an applet that is loaded from certain websites to digitally sign some operations done online. This part works with openjdk24 but fails with openjdk25. For fixing 2, we could send a patch upstream. This is unlikely to work since upstream doesn't support openjdk at all. The other option is to download the code, patch it to support openjdk25 and rebuild it. This will need more work. Last time I checked, it did not build out-of-the-box due to some empty MANIFEST. I'm not a Java developer so this will take some more work.
(In reply to Fernando Apesteguía from comment #1) I understand. Does AutoFirma work with openjdk21? Jdk21 is LTS (Long Term Support) and will be available for quite some time.
(In reply to Ronald Klop from comment #2) It seem it does!
Committed, Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=199ea2e3b76de405735ad1a62daa23b5b0ecf096 commit 199ea2e3b76de405735ad1a62daa23b5b0ecf096 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2026-04-04 11:40:52 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2026-04-04 11:43:04 +0000 security/autofirma: Use LTS Java 21 PR: 294222 Reported by: ronald@ security/autofirma/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)