Commit graph

5494 commits

Author SHA1 Message Date
Muhammad Moinur Rahman
ac7a7d6fe1
Mk/Uses/java.mk: Runtime fix with USES=java:ant
USES=java:ant does not imply USES=java:run so we need to add the run arg
seperately when we are using USES=java:ant. Not all ports require the
the argument so it is better to address the ports individually instead
of handling it automatically by implying run for ant.

Thanks to vvd for carefully going through this.

Reported by:	vvd
Approved by:	portmgr (blanket)
2024-12-31 15:39:30 +01:00
Muhammad Moinur Rahman
302ef9e2ca
java/bouncycastle*: Refactor
This was marked for deletion with the advise to use bouncycastle15. So
instead bouncycastle15 has been moved to boucycastle.

Approved by:	portmgr (blanket)
2024-12-31 10:19:39 +01:00
Muhammad Moinur Rahman
0835676e36
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
  USES=java:build,run if NO_BUILD is undefined. Else it defaults to
  USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
  USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
  extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
  build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
  build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>

Approved by: mat (portmgr), glewis
Differential Revision:  https://reviews.freebsd.org/D48201
2024-12-31 09:57:55 +01:00
Harald Eilertsen
21742f47a2
java/openjdk23: Mark port broken on i386 for FreeBSD 14 and 15
On FreeBSD 14 and 15 the i386 build fails with a segfault.

Reviewed by:	bofh, jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D48252
2024-12-30 14:07:47 -04:00
Haral Eilertsen
aa17c509fe
java/openjdk23: Add port
Release notes:	https://openjdk.org/projects/jdk/23/
Reviewed by:	bofh, diizzy, emaste, glewis, jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D48194
2024-12-27 15:41:29 -04:00
Muhammad Moinur Rahman
d8618145d9
java/infobus: Mark DEPRECATED
- Java InfoBus is an outdated API and is no longer actively developed or
  maintained
- Modern Java development practices and frameworks have replaced the
  functionality provided by InfoBus
- No known consumers or upstream support exist for this library
- Upstream distfiles are no longer available as Sun stopped developing
  this long before their merger with Oracle
- Set EXPIRATION_DATE 2025-01-24

Approved by:	portmgr (blanket)
2024-12-25 07:43:22 +01:00
Alex Dupre
c53bfe294f java/intellij-ultimate: update to 2024.3.1.1 release. 2024-12-23 12:57:38 +01:00
Muhammad Moinur Rahman
154e8e2bce
java/wildfly: Update version 34.0.0=>34.0.1
Changelog: https://www.wildfly.org/news/2024/11/22/WildFly3401-Released/
2024-12-23 05:25:44 +01:00
Muhammad Moinur Rahman
a8e892aa34
java/wildfly: Update version 33.0.2=>34.0.0
Changelog: https://www.wildfly.org/news/2024/10/17/WildFly34-Released/
2024-12-21 02:07:58 +01:00
Piotr Kubaj
406bc6fd9a java/openjdk11: fix build on powerpc64*
Partially reverts 08cc50220f, segfaults are still
present on both powerpc64 and powerpc64le.
2024-12-17 15:11:59 +01:00
Piotr Kubaj
0a0fe0bf54 java/intellij-ultimate: fix build on powerpc64le
install  -s -m 0644 /wrkdirs/usr/ports/java/intellij-ultimate/work/jna/com/sun/jna/freebsd-powerpc64le/libjnidispatch.so /wrkdirs/usr/ports/java/intellij-ultimate/work/stage/usr/local/share/intellij-ultimate/lib/jna/
install: /wrkdirs/usr/ports/java/intellij-ultimate/work/jna/com/sun/jna/freebsd-powerpc64le/libjnidispatch.so: No such file or directory
2024-12-11 18:33:21 +01:00
Norbert Grundmann
4b93c73af0 java/eclipse: Update 4.33 → 4.34
New and Noteworthy:
https://eclipse.dev/eclipse/news/4.34/platform.php
https://eclipse.dev/eclipse/news/4.34/jdt.php
https://eclipse.dev/eclipse/news/4.34/platform_isv.php
https://eclipse.dev/eclipse/news/4.34/pde.php
2024-12-06 02:44:28 +03:00
Mikael Urankar
1d1fd15a3e lang/rust: Bump revisions after 1.83.0
PR:		283000
2024-12-01 10:24:18 +01:00
Rene Ladan
b2ece919c9 all: return jmd's ports to the pool after safekeeping their commit bit. 2024-11-28 17:10:52 +01:00
Don Lewis
51742ac16e java/apache-commons-lang3: Upgrade to 3.17.0
Upgrade apache-commons-lang3 to the newest version.

Release notes:
https://commons.apache.org/proper/commons-lang/changes-report.html#a3.17.0
2024-11-17 18:48:02 -08:00
Greg Lewis
4069613b85 java/openjdk21: Update to 21.0.5 2024-11-11 17:10:53 -08:00
Greg Lewis
126c42923c java/openjdk17: Update to 17.0.13 2024-11-11 17:10:53 -08:00
Greg Lewis
c12a80f360 java/openjdk11: Update to 11.0.25 2024-11-11 17:10:52 -08:00
Greg Lewis
e106137361 java/openjdk8: Update to 8u432 2024-11-11 17:10:52 -08:00
Alex Dupre
7a77488674 java/intellij-ultimate: update to 2024.2.4 release 2024-11-11 10:34:14 +01:00
Ronald Klop
9f218b263a
java/openjdk11: fix build on non-armv7
A change to one of the patches was not correct for other
architectures.

PR:	255662
Approved by:	broken build
2024-11-10 23:02:43 +01:00
MikaelUrankar
b42fb59dbc
java/openjdk11: fix build on 32 bit arm
Slightly adjusted the patch of Mikael Urankar to make sure it only
affects __arm__ builds.
The patch is similar to what fixed openjdk8 in
commit e13c811372.

Not bumping portrevision as nothing changes for existing pkgs.

PR:	255662
Approved by:	java@ (maintainer timeout)
2024-11-08 13:49:33 +01:00
Mikael Urankar
ca048c2884 lang/rust: Bump revisions after 1.82.0
PR:		282516
2024-11-08 09:24:20 +01:00
Dimitry Andric
aa9dd58652 java/openjfx14: fix build with clang 19
Clang 19 now implements CWG 96 [1], which requires a template argument
list after a 'template' keyword, resulting in errors similar to:

  /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h:923:65: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    923 |         AssemblerType::repatchCompact(dataLabelCompact.template dataLocation(), value);
        |                                                                 ^
  /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/runtime/JSCast.h:146:33: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    146 |     return Dispatcher::template inherits(vm, from);
        |                                 ^
  /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/runtime/JSCast.h:155:37: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    155 |     if (LIKELY(Dispatcher::template inherits(vm, from)))
        |                                     ^
  /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/llint/LLIntData.h:159:75: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
    159 |     return reinterpret_cast<LLIntCode>(getCodePtr<tag>(opcodeID).template executableAddress());
        |                                                                           ^

In all these cases, appending "<>" is enough to satisfy the constraint.

[1] https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96

PR:		282473
MFH:		2024Q4
2024-11-01 18:50:12 +01:00
Vladimir Druzenko
58566c547f java/eclipse: Fix build: ld: error: unable to find library -lGLU
[INFO]      [exec] cc -shared -fPIC  -L`pkg-config --variable=prefix gtk+-3.0`/lib -s -o libswt-glx-gtk-4966r5.so swt.o glx.o glx_structs.o glx_stats.o -lGL -lGLU -lm
[INFO]      [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_33_maintenance/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.freebsd.x86_64/target/natives-build-temp'
[INFO]      [exec] *** GTK3 Build failed, aborting further actions..
[INFO]      [exec] ld: error: unable to find library -lGLU
[INFO]      [exec] cc: error: linker command failed with exit code 1 (use -v to see invocation)
[INFO]      [exec] gmake[1]: *** [make_unix.mak:245: libswt-glx-gtk-4966r5.so] Error 1

PR:		282382
Approved by:	Norbert Grundmann <ngrundmann@gmx.de> (maintainer)
MFH:		2024Q4
2024-10-31 01:38:59 +03:00
Ronald Klop
a4eeb47ca9
java/sigar: enable on armv6 and armv7
builds and packages fine
does not touch existing architectures
it was marked broken in 2017 without mention of the error message
FreeBSD and OpenJDK had quite some improvements since 2017

Approved by:	port has no maintainer
2024-10-28 15:42:22 +01:00
Ronald Klop
85d35a8be2
java/jcommon: enable armv6 and armv7
PR:	282299
Approved by:	olgeni@ (maintainer)
2024-10-24 13:42:28 +02:00
Alex Dupre
be27d94651 java/intellij-ultimate: update to 2024.2.3 release 2024-10-22 17:36:31 +02:00
Muhammad Moinur Rahman
5a35d1974a
java/wildfly: Update version 33.0.1=>33.0.2
Changelog: https://www.wildfly.org/news/2024/09/17/WildFly3302-Released/
2024-10-19 13:13:47 +02:00
Mikael Urankar
e13c811372
java/openjdk8: fix build on 32 bit arm
Fixes:
In file included from /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/os/bsd/vm/os_perf_bsd.cpp:61:
In file included from /usr/include/sys/user.h:51:
In file included from /usr/include/vm/pmap.h:88:
In file included from /usr/include/machine/pmap.h:48:
In file included from /usr/include/sys/systm.h:46:
/usr/include/machine/cpufunc.h:184:1: error: static declaration of 'breakpoint' follows non-static declaration
  184 | breakpoint(void)
      | ^
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:224:17: note: previous declaration is here
  224 | extern "C" void breakpoint();
      |                 ^

- bumped portrevision to easily spot if future bug reports are about this change.

PR:	281991
Approved by:	early maintainer timeout java@ (the build is broken and the patch does not affect other architectures)
Obtained from:	Mikael Urankar <mikael@> via Attachment 254105 in bug #255662
2024-10-11 13:55:05 +02:00
Mateusz Piotrowski
2e825fe028 java/bouncycastle: Deprecate
PR:		260683
Reported by:	diizzy
Approved by:	maintainer
Co-authored-by:	Daniel Engberg <diizzy@FreeBSD.org>
2024-10-11 11:39:00 +02:00
Michael Osipov
33666598aa */*: update devel/subversion{,-lts} to 1.14.4
Approved by:	jrm (mentor)
MFH:		2024Q4
Differential Revision:	https://reviews.freebsd.org/D47022
Release Notes:	https://svn.apache.org/repos/asf/subversion/tags/1.14.4/CHANGES
2024-10-10 09:00:23 +02:00
Norbert Grundmann
41b78eeb6c java/eclipse: Update 4.32 → 4.33
I took the fork of an eclipse member - who integrated my changes and
made more "investment" - thanks to him:
https://github.com/chirontt/eclipse.platform.releng.aggregator

- There are no addons or patches needed anymore.
- It compiles on my amd64 platform.
- The powerpc64 architectures are removed.

PR:	281794 281582
2024-10-02 16:42:48 +03:00
Rene Ladan
4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00
Norbert Grundmann
3ec21e417c java/eclipse: Remove unnecessary *.so files
This is a temporary workaround for fix several broken processes.
Moving java/eclipse/file/addons to external storage comming soon.

PR:		281582
Reported by:	several developers via email
2024-09-20 03:14:47 +03:00
Muhammad Moinur Rahman
6f73c98958
java/wildfly: Update version 33.0.0=>33.0.1
Changelog: https://www.wildfly.org/news/2024/08/22/WildFly3301-Released/
2024-09-15 21:54:33 +02:00
Dimitry Andric
3378cc494d java/openjdk8 java/openjdk11 java/openjdk17 java/openjdk18 java/openjdk19 java/openjdk20 java/openjdk21 java/openjdk22: disable warnings as errors
Generally disable warnings-as-errors for all openjdk ports, removing all
the conditionals we have now for particular architectures and/or
compilers. It does not make sense to have this on by default, unless you
are an upstream maintainer.

PR:		281188
Approved by:	maintainer timeout (2 weeks)
MFH:		2024Q3
2024-09-15 13:36:13 +02:00
Vladimir Druzenko
c94e4ced32 java/eclipse: fix build consumer devel/subversive, commit files ignored with .gitignore
- Return file Makefile.plugins required for consumer devel/subversive.
- Update java version in Makefile.plugins from 8 to 17 - eclipse require
  at least 17.

- Thanks to .gitignore with line "*.sw[p-z]":
    $ git add java/eclipse/files/addons/eclipse.platform.swt
    The following paths are ignored by one of your .gitignore files:
    java/eclipse/files/addons/eclipse.platform.swt
    hint: Use -f if you really want to add them.
    hint: Disable this message with "git config advice.addIgnoredFile false"
  Force add this directory.

PR:		281123
Reported by:	yasu (email), antoine (email), Norbert Grundmann
Approved by:	Norbert Grundmann <ngrundmann@gmx.de> (maintainer)
Fixes:		27eb99fc47 (Update 4.24 → 4.32, take maintainership)
2024-09-13 16:07:02 +03:00
Norbert Grundmann
27eb99fc47 java/eclipse: Update 4.24 → 4.32, take maintainership
PR:	281123
2024-09-13 03:48:18 +03:00
Ronald Klop
fc525d0f5f
java/cos: unfetchable, mark broken & deprecate
No other port is depending on this port.
No update since 2002.

Reported by:	https://portsfallout.com/fallout?port=java/cos$
2024-09-10 16:45:52 +02:00
Mikhail T.
e3120f0ac0
java/openjdk11: respect compiler and linker flags
pass CFLAGS, CXXFLAGS and LDFLAGS to the build
This enables more easily testing different build options.

fix build on gcc by passing --disable-precompiled-headers not only on powerpc64
"Without this, I was getting PCH-error from g++12 on my amd64 machine too."

PR:	279367
Tested by:	poudriere
Approved by:	maintainer timeout (java@)
2024-09-10 13:34:53 +02:00
Mikael Urankar
89ab81d0e2 lang/rust: Bump revisions after 1.81.0
PR:		281300
2024-09-10 13:00:34 +02:00
Ronald Klop
762006dfa0
java/openjdk8: (aarch64) builds fine with llvm from base
ran poudriere on FreeBSD 13.3/14.0/14.1/15.0
all failing ports mentioned in the issue are building fine now:
 benchmarks/scimark2
 devel/tijmp
 sysutils/javaservicewrapper
 www/jericho-html

PR:	264065
Differential Revision: https://reviews.freebsd.org/D46500
2024-09-03 08:52:35 +02:00
Alex Dupre
0e7b1a7644 java/intellij-ultimate: update to 2024.2.1 release. 2024-09-02 18:04:20 +02:00
Mikael Urankar
7a55f95425 lang/rust: Bump revisions after 1.80.1
PR:		280490
2024-08-26 10:08:01 +02:00
King John
ab8d64a830 java/intellij-pty4j: update 0.11.4 → 0.12.35, take maintainership
Commit log: https://github.com/JetBrains/pty4j/compare/61a48c..823ead

PR:	280125
2024-08-08 14:52:36 +03:00
Dimitry Andric
4c37f9f5f2 java/openjdk17: fix build with clang 19
Clang 19 has a number of new warnings, and because java/openjdk17
compiles with -Werror by default, it results in errors similar to:

    /wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.12-7-1/src/hotspot/os/posix/signals_posix.cpp:1681:20: error: cast from 'void (*)(int, siginfo_t *, ucontext_t *)' (aka 'void (*)(int, __siginfo *, __ucontext *)') to 'void (*)(int)' converts to incompatible function type [-Werror,-Wcast-function-type-mismatch]
     1681 |   act.sa_handler = (void (*)(int)) SR_handler;
          |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~

I propose to disable warnings-as-errors for this port, similar to what
is already done for openjdk8 and openjdk11. It does not make sense to
have this on by default, unless you are an upstream maintainer.

PR:		280561
Approved by:	glewis (maintainer)
MFH:		2024Q3
2024-08-07 18:44:49 +02:00
Dimitry Andric
d2ae63c6fe java/openjdk11: fix build with clang 19
Clang 19 is now more strict about undefined integral expressions used as
constants in enum, which results in errors compiling java/openjdk11,
similar to:

    /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/jdk.pack/share/native/common-unpack/constants.h:206:33: error: expression is not an integral constant expression
      206 |     AO_UNUSED_MBZ             = (-1)<<13, // options bits reserved for future use.
          |                                 ^~~~~~~~
    /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/jdk.pack/share/native/common-unpack/constants.h:206:37: note: left shift of negative value -1
      206 |     AO_UNUSED_MBZ             = (-1)<<13, // options bits reserved for future use.
          |                                     ^

Replace the negative value with ~0u to fix this error.

PR:		280560
Approved by:	glewis (maintainer)
MFH:		2024Q3
2024-08-07 18:44:21 +02:00
Dimitry Andric
5592576737 java/openjdk8: fix build with clang 19
Clang 19 is now more strict about undefined integral expressions used as
constants in enum, which results in errors compiling java/openjdk8,
similar to:

    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/oops/cpCache.hpp:195:34: error: expression is not an integral constant expression
      195 |     option_bits_mask           = ~(((-1) << tos_state_shift) | (field_index_mask | parameter_size_mask))
          |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/oops/cpCache.hpp:195:42: note: left shift of negative value -1
      195 |     option_bits_mask           = ~(((-1) << tos_state_shift) | (field_index_mask | parameter_size_mask))
          |                                          ^

    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/code/dependencies.hpp:173:27: error: expression is not an integral constant expression
      173 |     all_types           = ((1 << TYPE_LIMIT) - 1) & ((-1) << FIRST_TYPE),
          |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/code/dependencies.hpp:173:59: note: left shift of negative value -1
      173 |     all_types           = ((1 << TYPE_LIMIT) - 1) & ((-1) << FIRST_TYPE),
          |                                                           ^

    In file included from /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp:43:
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/constants.h:226:33: error: expression is not an integral constant expression
      226 |     AO_UNUSED_MBZ             = (-1)<<13, // options bits reserved for future use.
          |                                 ^~~~~~~~
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/constants.h:226:37: note: left shift of negative value -1
      226 |     AO_UNUSED_MBZ             = (-1)<<13, // options bits reserved for future use.
          |                                     ^

In openjdk11 and later, the (-1) constants have been replaced by the
unsigned variant (~0u), which fixes these errors.

PR:		280559
Approved by:	glewis (maintainer)
MFH:		2024Q3
2024-08-07 18:44:09 +02:00
Rene Ladan
d660b08f19 java/javahelp: use Tomcat 9.0 instead of expired Tomcat 8.5 2024-08-04 14:37:17 +02:00