5643 Commits

Author SHA1 Message Date
Olivier Certner
5705d2babc
java/bouncycastle: fix compilation with jdk11 and jdk17
Some comments in source files contain UTF-8 characters.
Jdk11 and jdk17 expected ASCII and threw an error.
Tell the compiler the charset of the source files.

PR:	263601
Reported-by:	olce@
Obtained-from:	https://lists.freebsd.org/archives/freebsd-java/2025-December/003388.html
2025-12-05 00:22:05 +01:00
Ronald Klop
a76c339a50
java/bouncycastle: support compilation with jdk21 also
Increases compiler source and target version to jdk8.
Tested with JAVA_DEFAULT=21.

PR:	263601,272855
Reviewed-by:	https://lists.freebsd.org/archives/freebsd-java/2025-December/003386.html
2025-12-04 21:25:50 +01:00
Harald Eilertsen
c8fa124a26 java/openjdk25: Update to version 25.0.1
Reviewed-by:    fuz (mentor)
Approved by:	fuz (mentor)
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53975
2025-12-04 18:05:37 +01:00
Muhammad Moinur Rahman
d73048e307
java/wildfly: Update version 38.0.0=>38.0.1
Changelog: https://github.com/wildfly/wildfly/releases/tag/38.0.1.Final
2025-11-28 11:39:42 +01:00
Bryan Drewery
845acc2903 java/bootstrap-openjdk*: Revert 13f33637597.
BUNDLE_LIBS is for preventing _providing_ libraries. In this
case the pre-compiled binary distributed has dependencies on
libraries that are not provided here. BUNDLE_LIBS does not
help the problem.
2025-11-25 12:53:10 -08:00
Harald Eilertsen
558ad9ce89 java/openjdk25: Add jre_headless flavor
Add flavor to make a headless jre package, where dev tools and x11
support is removed. As requested in Bug #266059.

PR:		266059
Reviewed by:	fuz, jrm
Approved by:	fuz (Mentor), jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D53707
2025-11-25 14:44:21 +01:00
Atanu Biswas
5f5b36cd68 java/apache-commons-cli: Update 1.10.0 => 1.11.0
Changelog:
https://commons.apache.org/proper/commons-cli/changes.html#a1.11.0

PR:	291183
2025-11-24 03:40:29 +03:00
Bryan Drewery
13f3363759 java/bootstrap-openjdk*: Mark these ports as bundling libraries.
This prevents Pkg from recording the bundled libraries as
dependencies.  This otherwise can confuse Pkg and Poudriere
about missing dependencies.

Reviewed by:	bapt
Differential Revision: https://reviews.freebsd.org/D53723
2025-11-14 09:59:45 -08:00
Ronald Klop
4d692882d8
java/openjdk11: reduce build log size
Suppress warnings with newer llvm versions.
If upstream doesn't fix the warnings it makes no sense to bother the
port with it.
In my test the log went from 30 MB to 3 MB.

No functional change intended.

Approved by: java@ mailing list
2025-11-14 17:46:19 +01:00
Mikael Urankar
d6b6027df6 lang/rust: Bump revisions after 1.91.1
PR:		290816
2025-11-11 12:08:12 +01:00
Alex Dupre
772d4133e9 java/apache-commons-codec: update to 1.20.0 release. 2025-11-06 12:51:08 +01:00
Vladimir Druzenko
903895d9f2 java/dbvis: Update 25.2.4 => 25.2.5
Release notes:
https://www.dbvis.com/releasenotes/25.2/

MFH:		2025Q4
2025-11-06 03:48:13 +03:00
Greg Lewis
c8d46302e2 java/openjdk17: Add missing header file to fix build on aarch64 2025-11-04 07:35:58 -08:00
Harald Eilertsen
fe94eea555 java/openjdk25: Add jre and headless flavors
Add FLAVORS to allow building jre and headless variants from the same
port. For backwards compatibility, it is also possible to build the jre
version by setting the BUILD_JRE env var.

Also reorganize the Makefile to make portclippy happy

Reviewed by:	fuz, jrm
Approved by:	fuz (mentor)
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53450
2025-11-04 13:13:01 +01:00
Greg Lewis
0c5e4c5b4d java/openjdk21: Update to 21.0.9 2025-11-02 13:48:21 -08:00
Greg Lewis
b0cdc77e7b java/openjdk17: Update to 17.0.17 2025-11-02 13:48:21 -08:00
Greg Lewis
1019f032bb java/openjdk11: Update to 11.0.29 2025-11-02 13:48:20 -08:00
Greg Lewis
896d0d7e70 java/openjdk8: Update to 8u472 2025-11-02 13:48:20 -08:00
Piotr Kubaj
8d4a2af5d9 java/openjdk25: fix build on powerpc64*
/wrkdirs/usr/ports/java/openjdk25/work/openjdk-jdk-25-36-freebsd-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp:182:54: error: no member named 'regs' in '__mcontext'
2025-10-30 16:01:38 +01:00
Harald Eilertsen
dd93e1a47a java/openjdk25: New port
An open-source implementation of the Java Platform, Standard Edition.

WWW: https://openjdk.java.net/projects/jdk/25/

Reviewed by:	jrm, bofh
Approved by:	fuz (mentor)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D53326
2025-10-27 15:29:55 +01:00
Ronald Klop
4b148dfba4
java/jta: deprecate
- old version, the project continued in another repository and nobody noticed
- no users in the ports tree
- manual download, so no package is available
2025-10-17 13:59:30 +02:00
Muhammad Moinur Rahman
cb04d4781f
java/wildfly: Update version 37.0.1=>38.0.0
Changelog: https://www.wildfly.org/news/2025/10/16/WildFly-38-is-released/
2025-10-17 12:48:49 +02:00
Ronald Klop
df901df4bd
java/openjdk17: fix parallel build on 14.3
Got a report that build is also flapping on 14.3, so extent the range
of OSVERSIONs.
Allow parallel jobs, but limited to the number of jobs that is
currently used (and works) on the official FreeBSD pkg build cluster.

PR:	290148
2025-10-13 14:31:53 +02:00
Alex Dupre
9a7041b478 java/intellij-ultimate: update to 2025.2.3 release. 2025-10-09 16:44:48 +02:00
Mikael Urankar
97b5de4ffc lang/rust: Bump revisions after 1.90.0
PR:		289709
2025-10-03 10:16:50 +02:00
Piotr Kubaj
dfd6ae2225 java/openjdk23: remove patch that breaks build
os::current_stack_base_and_size is implemented is os_bsd.cpp.
2025-10-01 12:52:06 +02:00
Vladimir Druzenko
3a74e04f0a java/apache-commons-logging: Improve port
- Add LICENSE_FILE.
- Add EXTRACT_AFTER_ARGS to prevent extract unnecessary files.
- Replace %%JAVAJARDIR%% with ${JAVAJARDIR} in PLIST_FILES.
- Replace LN with RLN.
- Copy documentation only if DOCS option is on.
- Add to documentation NOTICE.txt RELEASE-NOTES.txt.

PR:		286425
Approved by:	Atanu Biswas <atanubiswas484@gmail.com> (maintainer)
2025-09-30 19:00:45 +03:00
Dima Panov
f1236eb674
java/apache-commons-logging: pet stage-qa, get rid of "._*' metadata before installing
Approved by:	portmgr blanket
2025-09-30 12:00:38 +03:00
Tijl Coosemans
ae151e3311 java/java3d: Various fixes
- Add dependency on libX11 and libXext.
- Replace ${SETENV} with ${SETENVI} ${WRK_ENV} to build with a clean
  environment.
- Install the library with ${INSTALL_LIB} so it is stripped.
- Link with C compiler because ld doesn't always search /usr/lib.

Reported by:	vvd
2025-09-27 20:41:26 +02:00
Tijl Coosemans
35901ec129 java/java3d: Fix build with lld
Replace Solaris -G flag with -shared.
2025-09-26 22:58:16 +02:00
Don Lewis
3d4c484c6b java/apache-commons-lang3: Upgrade to 3.19.0 2025-09-26 00:11:40 -07:00
Harald Eilertsen
8e3dc60231
java/openjdk24: FreeBSD updates and fixes
- Enable and fix demangling C++ symbols in the Servicability Agent for
  FreeBSD. This fixes several issues with backtraces and looking up
  symbols when debugging or inspecting programs running in the JVM.

- Fix a performance issue when looking up committed memory size and
  number of open file handles via the OperatingSystemMXBean interface.
  This affected some large ElasticSearch clusters, but potentially also
  other large high performance systems.

Reviewed by:	emaste, jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D52354
2025-09-25 10:32:44 -03:00
Harald Eilertsen
a936fb9b16
java/openjdk23: FreeBSD updates and fixes
- Enable IPv6 dual protocol socket support on FreeBSD.
- Fixed a performance issue when looking up committed memory size and
  number of open file handles via the OperatingSystemMXBean interface.
  This affected some large ElasticSearch clusters, but potentially also
  other large high performance systems.

Reviewed by:	emaste, jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D52381
2025-09-24 23:42:32 -03:00
Ronald Klop
6732aab7d1
java/openjdk24: pass MAKE_JOBS_NUMBER around
Be more verbose during the build to prevent output timeout.

For rationale of this change see the commits in java/openjdk17 of the
last two weeks.
2025-09-23 12:31:04 +02:00
Ronald Klop
65e7235bde
java/openjdk23: pass MAKE_JOBS_NUMBER around
Be more verbose during the build to prevent output timeout.

For rationale of this change see the commits in java/openjdk17 of the
last two weeks.
2025-09-23 12:31:03 +02:00
Ronald Klop
2f1a4a07f6
java/openjdk22: pass MAKE_JOBS_NUMBER around
Be more verbose during the build to prevent output timeout.

For rationale of this change see the commits in java/openjdk17 of the
last two weeks.
2025-09-23 12:31:02 +02:00
Ronald Klop
13896b356c
java/openjdk21: pass MAKE_JOBS_NUMBER around
Be more verbose during the build to prevent output timeout.

For rationale of this change see the commits in java/openjdk17 of the
last two weeks.
2025-09-23 12:31:01 +02:00
Ronald Klop
253f4c2ac9
java/openjdk20: pass MAKE_JOBS_NUMBER around 2025-09-20 23:07:46 +02:00
Ronald Klop
5a122e76f1
java/openjdk19: take MAKE_JOBS_NUMBER into account 2025-09-20 23:07:44 +02:00
Ronald Klop
5c22d5b7a1
java/openjdk11: honour MAKE_JOBS_NUMBER
fixes flapping builds

similar to fixes in the openjdk17 Makefile
2025-09-20 15:19:10 +02:00
Vladimir Druzenko
1881ab85f7 java/dbvis: Update 25.2.3 => 25.2.4
Release notes:
https://www.dbvis.com/releasenotes/25.2/

Reported by:	pkg-fallout (fetch failed)
MFH:		2025Q3
2025-09-20 04:20:59 +03:00
Ronald Klop
10f1e41a8f
java/openjdk18: fix flapping builds
Similar to the fix in openjdk17.

For more information and lessons learned see ports commit
fa96c62b2e3cacce280053fda46dedd8b84a1018 and the follow-up commits.
2025-09-19 19:23:01 +02:00
Ronald Klop
d0afe5cf11
java/openjdk17: generate more output during compilation
Prevents:
Creating support/modules_libs/java.base/server/libjvm.so from 989 file(s)
=>> Killing runaway build after 7200 seconds with no output

The cmdlines output can also help in debugging the flapping builds if a
race condition is the cause of the 'nm' error. (see previous commits)

Reported-by: https://lists.freebsd.org/archives/freebsd-pkg-fallout/2025-September/807751.html

Plus, use --with-num-cores instead of --with-jobs. With-num-cores still
lets configure override (reduce) the number of parallel jobs if the
memory size is limited. With-jobs sets an absolute number.
See {WRKSRC}/doc/building.md for more information.

Reported-by: https://lists.freebsd.org/archives/freebsd-java/2025-September/003314.html

Bump portrevision so future failures are easy to trace back to specific
port version.
2025-09-19 13:37:26 +02:00
Piotr Kubaj
8921df9c20 java/openjdk24: set proper ABI on powerpc64
n file included from /wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/share/precompiled/precompiled.hpp:45:
In file included from /wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/share/nmt/memTracker.hpp:30:
In file included from /wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/share/nmt/memoryFileTracker.hpp:34:
In file included from /wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/share/runtime/os.inline.hpp:31:
/wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.inline.hpp:35:10: error: no member named 'resolve_function_descriptor' in 'os::Bsd'; did you mean simply 'resolve_function_descriptor'?
   35 |   return os::Bsd::resolve_function_descriptor(p);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          resolve_function_descriptor
/wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.inline.hpp:34:18: note: 'resolve_function_descriptor' declared here
   34 | inline void* os::resolve_function_descriptor(void* p) {
      |                  ^
1 error generated.
2025-09-17 10:37:10 +02:00
Ronald Klop
f3020798cf
java/openjdk17: fix build without MAKE_JOBS_UNSAFE
Put back _MAKE_JOBS with a description why it is set empty.

Fixes:
===>  Building for openjdk17-17.0.16+8.1_2
Error: 'make -jN' is not supported, use 'make JOBS=N'

NB: this error came from work/jdk17u-jdk-17.0.16-8-1/make/InitSupport.gmk:119

Bump portrevision so future failures are easy to trace back to specific
port version.

Reported-by: https://lists.freebsd.org/archives/freebsd-ports/2025-September/008453.html
2025-09-14 11:36:53 +02:00
Muhammad Moinur Rahman
214f7cd9c9
java/wildfly: Update version 37.0.0=>37.0.1
Changelog: https://www.wildfly.org/news/2025/09/04/WildFly-37-0-1-is-released/
2025-09-13 22:59:03 +02:00
Ronald Klop
00d241bb50
java/openjdk17: pass --with-jobs to honour MAKE_JOBS_NUMBER
The configure script detects cores and memory and calculates itself how many jobs it uses.

checking for number of cores... 28
checking for memory size... 130926 MB
checking for appropriate number of jobs to run in parallel... 28

Override this by the variables of our ports framework.

If this fixes the flapping builds I want to apply it to the other openjdk* ports.

Bump portrevision so future failures are easy to trace back.

Suggested in: https://lists.freebsd.org/archives/freebsd-java/2025-September/003304.html
2025-09-13 21:32:54 +02:00
Vladimir Druzenko
de267d3724 java/dbvis: 25.2.2 => 25.2.3
Release notes:
https://www.dbvis.com/releasenotes/25.2/

MFH:	2025Q3
2025-09-13 05:05:51 +03:00
Gleb Popov
5bd848fb61 java/intellij-fsnotifier: Fix building on FreeBSD 15+
Reported by:	rene
2025-09-11 18:58:12 +03:00
Alex Dupre
521ac42cb9 java/intellij-ultimate: update to 2025.2.1 release. 2025-09-11 14:46:26 +02:00