git: f734a244a33d - main - textproc/saxon-he: update to 12.8, for OpenJDK 8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Jul 2025 11:04:46 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f734a244a33dbb46f29a03eec918a89b00e52c40
commit f734a244a33dbb46f29a03eec918a89b00e52c40
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-07-14 10:57:36 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-07-14 11:03:58 +0000
textproc/saxon-he: update to 12.8, for OpenJDK 8
Saxon-HE 12.6 did not run on OpenJDK 8, but required OpenJDK 11.
This was reverted in 12.7 with a warning that Saxon 13 will
probably not support Java 8 any more.
While here, update all the way to 12.8.
While here, also append a post-stage smoke test that prints the
first line of the help, which would fail on 12.6 to prevent
packing when it doesn't work with the default java version.
The "security gap" fixed in 12.8 only applies to the Professional
and Enterprise Editions (PE, EE) not to this Home Edition (HE):
https://blog.saxonica.com/announcements/2025/07/saxon-11.7-and-12.8.html
Changelog: https://blog.saxonica.com/announcements/2025/05/saxon-12.7.html
Changelog: https://blog.saxonica.com/announcements/2025/07/saxon-12.8.html
Approved by: portmgr (just-fix-it blanket approval)
MFH: 2025Q3
---
textproc/saxon-he/Makefile | 15 +++++++++++----
textproc/saxon-he/distinfo | 6 +++---
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/textproc/saxon-he/Makefile b/textproc/saxon-he/Makefile
index a1e8773de518..0cf15bac7260 100644
--- a/textproc/saxon-he/Makefile
+++ b/textproc/saxon-he/Makefile
@@ -1,7 +1,7 @@
PORTNAME= saxon-he
-DISTVERSION= 12-6
+DISTVERSION= 12-8
CATEGORIES= textproc java
-MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/SaxonHE${DISTVERSION}/
+MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/SaxonHE-${DISTVERSION}/
DISTNAME= SaxonHE${DISTVERSION}J
MAINTAINER= thierry@FreeBSD.org
@@ -21,13 +21,14 @@ NO_WRKSUBDIR= yes
NO_ARCH= yes
NO_BUILD= yes
+_XMLRESOLVER_VER=5.3.3
JARFILES= ${JARFILES1} ${JARFILES2}
JARFILES1= saxon-he-${PORTVERSION}.jar \
saxon-he-test-${PORTVERSION}.jar \
saxon-he-xqj-${PORTVERSION}.jar
JARFILES2= jline-2.14.6.jar \
- xmlresolver-5.3.1.jar \
- xmlresolver-5.3.1-data.jar
+ xmlresolver-${_XMLRESOLVER_VER}.jar \
+ xmlresolver-${_XMLRESOLVER_VER}-data.jar
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
do-install:
@@ -35,4 +36,10 @@ do-install:
${INSTALL_DATA} ${JARFILES1:S,^,${WRKSRC}/,} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${JARFILES2:S,^,${WRKSRC}/lib/,} ${STAGEDIR}${JAVAJARDIR}
+post-stage:
+# smoke test so we're sure we can load all required classes
+# (12.0 and 12.6 didn't work with OpenJDK 8)
+ ${JAVA} -cp '${STAGEDIR}${JAVAJARDIR}/*' net.sf.saxon.Transform -? 2>&1 \
+ | ${HEAD} -n1
+
.include <bsd.port.mk>
diff --git a/textproc/saxon-he/distinfo b/textproc/saxon-he/distinfo
index 038367d9de9b..88406974656b 100644
--- a/textproc/saxon-he/distinfo
+++ b/textproc/saxon-he/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746715463
-SHA256 (SaxonHE12-6J.zip) = cbb6657da061c155476ad9e43a3564a4cc928d4951ebeed2eafe5a0aa74e2aee
-SIZE (SaxonHE12-6J.zip) = 7248220
+TIMESTAMP = 1752488672
+SHA256 (SaxonHE12-8J.zip) = 2ba851aec7925b882208182c48c936230205d558e335636bbe46626bd8003598
+SIZE (SaxonHE12-8J.zip) = 7208886