devel/sabre: fix build with jdk21
The patch for build.xml hardcoded java 5 source and target which is not available for javac in openjdk21. I removed the source and target.
[javac] Compiling 80 source files to /wrkdirs/usr/ports/devel/sabre/work/Simple API for Binary REpresentations (SABRE)/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 5
[javac] error: Source option 5 is no longer supported. Use 8 or later.
[javac] error: Target option 5 is no longer supported. Use 8 or later.
Later JDKs are more picky about the charset used. Also for characters in comments. I hinted the encoding for the compiler.
[javac] /wrkdirs/usr/ports/devel/sabre/work/Simple API for Binary REpresentations (SABRE)/src/java/de/tu_darmstadt/informatik/rbg/bstickler/udflib/tools/OSTAIdentifierTranslation.java:6: error: unmappable character (0xF6) for encoding UTF-8
[javac] * Bj?rn Stickler <...>
PR: 291571
sysutils/loki: Fix a copy/paste mishap in comments
Several comments in loki's rc.d file referred to "grafana" where they
should have referred to "loki". Looks like a copy/paste mishap from
grafana's rc.d.
Approved by: portmgr blanket
Fixes: a96c988a2977 sysutils/loki: Add new port
Pull Request: https://github.com/freebsd/freebsd-ports/pull/466
net/spread-j: only compiles on jdk8 and jdk11
Error on later JDKs:
[javac] /wrkdirs/usr/ports/net/spread-j/work/spread-src-3.17.3/java/spread/SpreadConnection.java:1800: error: invalid use of a restricted identifier 'yield'
[javac] yield();
PR: 272855
Approved-by: no maintainer
java/javamail: remove java from run dependencies
As javamail is a library and not an application itself it should not
have a run-dependency on Java. It doesn't run on its own.
It will always use the java version of the application that uses javamail.
Use source and target arguments compatible with jdk21.
If not using openjdk8 bring back the Java Activation Framework. In
openjdk8 these classes were included in the core packages. In later
JDK versions it was removed again.
PR: 291388
devel/lua-language-server: Update to 3.16.1 and restore PORTEPOCH
During the ritual to resurrect this port, the existing PORTEPOCH
got inadvertently dropped. Restore it, along with an update to
version 3.16.1.
Differential Revision: https://reviews.freebsd.org/D54165