1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
Commit Graph

5459 Commits

Author SHA1 Message Date
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
Muhammad Moinur Rahman
721bc55f42
java/wildfly: Update version 32.0.1=>33.0.0
Changelog: https://www.wildfly.org/news/2024/07/23/WildFly33-Released/
2024-08-01 21:21:42 +02:00
Muhammad Moinur Rahman
edf7e64abd
java/wildfly: Update version 32.0.0=>32.0.1
Changelog: https://www.wildfly.org/news/2024/05/31/WildFly3201-Released/
2024-07-30 20:22:16 +02:00
Muhammad Moinur Rahman
bfc37d794e
java/wildfly: Update version 31.0.1=>32.0.0
Changelog: https://www.wildfly.org/news/2024/04/25/WildFly32-Released/
2024-07-28 15:15:13 +02:00
Greg Lewis
274bbd72a9 java/openjdk22: Update to 22.0.2 2024-07-27 23:08:33 -07:00
Greg Lewis
9a42aed9ee java/openjdk21: Update to 21.0.4 2024-07-27 23:08:32 -07:00
Greg Lewis
94417f8e69 java/openjdk17: Update to 17.0.12 2024-07-27 23:08:32 -07:00
Greg Lewis
d3f2c6d9be java/openjdk11: Update to 11.0.24 2024-07-27 23:08:32 -07:00
Greg Lewis
8f2d7bee51 java/openjdk8: Update to 8u422 2024-07-27 23:08:31 -07:00
Vladimir Druzenko
08cc50220f java/openjdk11: remove custom LLVM - build with LLVM from base
Segfaults are no longer observed with current versions of LLVM 17 and 18
in base 13.3 and 14.1, so there is no need to pull such an old version
from ports to build.
For example build java/openjdk11 with LLVM from base and then build
java/eclipse and java/openjfx14 using java/openjdk11: build and run
without errors.

PR:		280056 260319
Approved by:	java (maintainer, timeout 14 days)
2024-07-14 16:44:52 +03:00
Rene Ladan
19d68720f1 all: drop support for FreeBSD 13.2 which reached EOL today
Thanks again to jbeich for noticing various things I overlooked.

Reviewed by:	acm, ashish, eduardo, ehaupt, eugen, jbeich, martymac, mat, nobukata, sunpoet, tagattie, yuri, arrowd, kde
Differential Revision:	https://reviews.freebsd.org/D45141
2024-07-01 22:27:23 +02:00
Thierry Thomas
21ab0a1a2e java/apache-commons-collections4: upgrade to 4.5.0-M2
Changelog at
	<https://commons.apache.org/proper/commons-collections/changes-report.html#a4.5.0-M2>
2024-06-19 18:38:00 +02:00
Mikael Urankar
21476ca8a9 lang/rust: Bump revisions after 1.79.0
PR:		279707
2024-06-18 12:59:14 +02:00
Vladimir Druzenko
411ad89a83 java/apache-commons-collections: limit JAVA_VERSION from 8 to 20 because build fails with 21+
Build error with OpenJDK 21:
    [javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.java:188: error: addLast(Object) in CursorableLinkedList cannot implement addLast(E) in List
    [javac]     public boolean addLast(Object o) {
    [javac]                    ^
    [javac]   return type boolean is not compatible with void
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List
    [javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.java:176: error: addFirst(Object) in CursorableLinkedList cannot implement addFirst(E) in List
    [javac]     public boolean addFirst(Object o) {
    [javac]                    ^
    [javac]   return type boolean is not compatible with void
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface List

New JDK 21 methods in java.util.List addFirst and addLast has a void
return type. This clashes with the existing boolean return from the
same method in AbstractLinkedList.
Upstream fixed this in 4.5.0 only. But this old 3.x branch isn't fixed.
Upstream issue: https://issues.apache.org/jira/browse/COLLECTIONS-842

PR:		279425
Reported by:	antoine (exp-run)
2024-06-10 01:27:04 +03:00
Piotr Kubaj
26de591885 java/openjfx14: fix build on non-amd64
cc: error: unsupported option '-msse2' for target 'powerpc64-unknown-freebsd14.1'
2024-06-03 17:11:53 +02:00
Gleb Popov
2b92bd7057 *: Change the MAINTAINER field per request
PR:		278267
2024-05-18 11:22:43 +03:00
Mikael Urankar
2322b66100 lang/rust: Bump revisions after 1.78.0
PR:		278834
2024-05-13 13:03:24 +02:00
Michael Zhilin
b107d06a6a java/eclipse-yaml-editor: new port to work with YAML in Eclipse IDE 2024-05-05 21:05:29 +03:00
Greg Lewis
2a7d639522 java/openjdk21: Update to 21.0.3 2024-05-02 20:42:33 -07:00
Greg Lewis
2bca6d814d java/openjdk17: Update to 17.0.11 2024-05-01 20:16:06 -07:00
Greg Lewis
16826db7f3 java/openjdk11: Update to 11.0.23 2024-04-30 22:01:09 -07:00
Greg Lewis
7b4d0e995c java/openjdk8: Update to 8u412 2024-04-30 13:42:05 -07:00
Michael Osipov
8f3a81069c */*: take ownership of lev@'s Subversion ports
As agreed with lev@, I am taking ownership of these ports.

Approved by:	jrm (mentor), lev
Differential Revision:	https://reviews.freebsd.org/D44862
2024-04-22 15:09:56 +02:00
Piotr Kubaj
36ac8327c0 java/openjdk22: fix build on powerpc64*
Error: failed /wrkdirs/usr/ports/java/openjdk22/work/jdk22-jdk-22-36-1/build/bsd-ppc64le-server-release/jdk/lib/server/libjvm.so, because /wrkdirs/usr/ports/java/openjdk22/work/jdk22-jdk-22-36-1/build/bsd-ppc64le-server-release/jdk/lib/server/libjvm.so: Undefined symbol "_ZN2os27current_stack_base_and_sizeEPPhPm"
2024-04-12 00:40:49 +02:00
Max Brazhnikov
bc80854f3b */*: clean up after swith to cmake:indirect 2024-04-11 12:27:00 +03:00
Max Brazhnikov
43d9a1336d */*: convert to cmake:indirect
Convert bunch of ports to USES=cmake:indirect
2024-04-11 12:16:53 +03:00
Rene Ladan
bd97a6e179 java/netcomponents: Remove expired port
2024-03-31 java/netcomponents: Last upstream release was in 2000 and upstream unmaintained consider using net/apache-commons-net
2024-04-01 13:35:04 +02:00
Rene Ladan
abc88332f0 cleanup: Remove expired java/sablevm* ports:
2024-03-31 java/sablevm-classpath: Only user in tree is java/sablevm which is deprecated
2024-03-31 java/sablevm: Abandonware, last release in 2007 and is no longer being developed
2024-04-01 12:36:17 +02:00
Daniel Engberg
441d31add6 java/sablevm-classpath: Deprecate and set expiration date to 2024-03-31
This should've been deprecated along with java/sablevm
No users except for java/sablevm so short notice should be ok

Reported by:	bofh
2024-03-29 22:20:07 +01:00
Michael Zhilin
999d190773 java/eclipse-pydev: update to 12.0.0
Changelog: https://www.pydev.org/history_pydev.html#release-12-0-0-2024-02-01
2024-03-28 23:14:40 +03:00
Michael Zhilin
2b27e3b6cc java/jattach: update to 2.2 2024-03-28 22:57:02 +03:00
Mikael Urankar
d632fbe55e lang/rust: Bump revisions after 1.77.0
PR:		277786
2024-03-23 10:41:46 +01:00
Muhammad Moinur Rahman
4d2265ffa8
java/wildfly: Update version 30.0.1=>31.0.1
Changelog: https://www.wildfly.org/news/2024/01/25/WildFly31-Released/
2024-03-13 23:41:41 +01:00
Michael Osipov
90e44770f5 */*: properly depend on Maven package
devel/maven and devel/maven39 do not provide mvn(1) from LOCALBASE that
one comes from devel/maven-wrapper instead. Therefore, one should depend
on the package rather than a non-existing executable/script.

Approved by:	jrm (mentor), otis (mentor), vvd
Differential Revision:	https://reviews.freebsd.org/D44229
2024-03-11 10:09:45 +01:00
Charlie Li
9632fe174e
java/intellij: move man pages to share/man 2024-03-10 21:56:17 -04:00
Charlie Li
4b135fdd29
Revert "java/intellij: Move man pages to share/man"
Apart from the share/man move, the plist fix was not correct:

pkg-static: Unable to access file /wrkdirs/usr/ports/java/intellij/work/stage/usr/local/share/intellij/lib/commons-lang3-3.11.jar:No such file or directory

The above listed file has nothing to do with Python. Additional
files added were also incorrect. Packaging fails as a result.

The share/man move will be restored in a later commit after getting
some sleep.

This reverts commit e71303202a.
2024-03-10 06:00:46 -04:00