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
www/mediawiki145: Add new port
MediaWiki is the collaborative editing software that runs Wikipedia,
the free encyclopedia, and other projects.
It's designed to handle a large number of users and pages without imposing
too rigid a structure or workflow.
net-mgmt/xymon-server: Fix vmstat parsing
The parsing of vmstat code was broken. The original code attempted to
detect FreeBSD 4.10's vmstat output vs FreeBSD 6, but probably never
worked correctly anyway.
FreeBSD 4.12's vmstat output:
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 md0 in sy cs us sy id
0 0 0 10908 991180 68 1 1 0 55 0 0 0 241 201 12 0 1 99
FreeBSD 14.3 vmstat output:
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr nda0 nda1 in sy cs us sy id
1 2 0 76275458375684208828416 21155 13 15 1 14995 3542 0 0 1964 61975 39820 3 2 93
It's the same number of fields in the same order, so the vmstat data
[7 lines not shown]