Created attachment 273435 [details] patch against main mariadb java client to 3.5.10 Here is the patch against main for the precompiled mariadb java client jar. I've changed a few things (nothing that major): - now the .jar file is created without linking, without the filename having the version appended. This is to help those who just load whole directories of java classes, and the version installed is in the pkg anyway, so it's redundant to have it in the filename - I have updated the pkg description to quote verbatim from the download site, but added "may work with other versions of java > 8"
(In reply to Dan from comment #0) Java Version(s): Java 25, Java 21, Java 17, Java 11, Java 8 Recommended MariaDB Connector/J Release Series: MariaDB Connector/J 3.5, 3.4, 3.3[1] JDBC Version: JDBC 4.5 https://mariadb.com/docs/connectors/mariadb-connector-j/about-mariadb-connector-j#java-compatibility
(In reply to Vladimir Druzenko from comment #1) Do you want me to do or change anything?
(In reply to Dan from comment #2) In new version of the pkg-descr: > This version of MariaDB Connector/J is for Java 8, Java 11, Java 17 and Java 21. You are the maintainer and it is your right to change the pkg-descr, but the current information is more complete and correct than the new version (IMHO).
(In reply to Vladimir Druzenko from comment #3) I'm just quoting directly from https://mariadb.com/downloads/connectors/connectors-data-access/java8-connector which is the only reason I changed it, since I expect that the source of the .jar itself is supposedly correct. I'm happy changing it, unless you're very unhappy?
I think the information on this link is more up-to-date, since it mentions a newer version of Java: https://mariadb.com/docs/connectors/mariadb-connector-j/about-mariadb-connector-j#java-compatibility I don't want to confuse users about which versions of Java are officially supported by upstream.
(In reply to Vladimir Druzenko from comment #5) Okay, that's a good point. Should I produce a new patch or can you patch the patch? I trust you to change it if you can, if that's simpler?
(In reply to Dan from comment #6) I wouldn't change the pkg-descr.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=959a9eca0741686d2d1979a2a857fd845b31ca60 commit 959a9eca0741686d2d1979a2a857fd845b31ca60 Author: Dan <dmayoss@gmail.com> AuthorDate: 2026-08-12 14:05:13 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-08-12 14:13:55 +0000 databases/mariadb-java-client: Update 3.5.8 => 3.5.10 Release Notes: https://mariadb.com/docs/release-notes/connectors/java/3.5/3.5.9 https://mariadb.com/docs/release-notes/connectors/java/3.5/3.5.10 - Now the .jar file is created without linking, without the filename having the version appended. This is to help those who just load whole directories of java classes, and the version installed is in the pkg anyway, so it's redundant to have it in the filename. - Add EXTRACT_ONLY= to prevent the .jar file from being unzipped. PR: 297263 Sponsored by: UNIS Labs Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> databases/mariadb-java-client/Makefile | 12 +++++------- databases/mariadb-java-client/distinfo | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-)
Thanks.