Commit graph

5250 commits

Author SHA1 Message Date
Daniel Engberg
12f1c627d4 */*: Bump rust (cargo) ports to reflect on WITH_LTO
Bump ports in tree so they get rebuilt with new default settings
for cargo ports
2023-01-07 20:24:18 +01:00
Koop Mast
a2b7f89d83 java/netbeans: update to 16.
Update JAVA field to jdk 11 and 17, which are the offical supported jdk's.

Changes 16: https://github.com/apache/netbeans/releases/tag/16
Changes 15: https://github.com/apache/netbeans/releases/tag/15
Changes 14: https://github.com/apache/netbeans/releases/tag/14
Changes 13: https://github.com/apache/netbeans/releases/tag/13

PR:		268268
Reported by:	i@vboldin.ru
2022-12-29 21:43:49 +01:00
Yuri Victorovich
7c932cc135 java/visualvm: Update 2.0.6 -> 2.1.5
PR:		266649
Submitted by:	Jens Grassel (freebsd-ports@jan0sch.de), initial version

Approved by:	swills@ (maintainer's timeout; 92 days)
2022-12-28 23:05:35 -08:00
Piotr Kubaj
8bb268539f java/openjdk19: fix build on powerpc64*
Remove the dead code that no longer builds and is not present in the Linux code.
2022-12-21 17:39:55 +00:00
Mikael Urankar
ba14e01a52 lang/rust: Bump revisions after 1.66.0
PR:		268415
2022-12-20 18:37:15 +01:00
Dimitry Andric
430ead7025 java/openjdk18: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
java/openjdk18 failed to build with clang 15:

  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:374:41: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
      proxies = (*g_proxy_resolver_lookup)(resolver, uri, NULL, &error);
                                          ^
  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:393:63: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                                  (*g_network_address_parse_uri)(proxies[i], 0,
                                                                ^
  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:398:70: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                              phost = (*g_network_address_get_hostname)(conn);
                                                                       ^
  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:399:66: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                              pport = (*g_network_address_get_port)(conn);
                                                                   ^
  /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:435:22: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
          (*g_strfreev)(proxies);
                       ^

This is because clang 15 warns by default about functions without
arguments in their prototypes. Fix this by suppressing the warning.

PR:		268373
Approved by:	portmgr (tcberner)
MFH:		2022Q4
2022-12-18 18:37:49 +01:00
Dimitry Andric
4d093f4f68 java/openjdk17: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
java/openjdk17 failed to build with clang 15:

  /wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:374:41: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
      proxies = (*g_proxy_resolver_lookup)(resolver, uri, NULL, &error);
                                          ^
  /wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:393:63: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                                  (*g_network_address_parse_uri)(proxies[i], 0,
                                                                ^
  /wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:398:70: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                              phost = (*g_network_address_get_hostname)(conn);
                                                                       ^
  /wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:399:66: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                              pport = (*g_network_address_get_port)(conn);
                                                                   ^
  /wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:435:22: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
          (*g_strfreev)(proxies);
                       ^

This is because clang 15 warns by default about functions without
arguments in their prototypes. Fix this by suppressing the warning.

PR:		268366
Approved by:	portmgr (tcberner)
MFH:		2022Q4
2022-12-18 18:36:27 +01:00
Dimitry Andric
d7146f6d33 java/openjdk8: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
java/openjdk8 failed to build with clang 15:

    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:64:30: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
        INVOKE(SplashLoadMemory, NULL)(pdata, size);
                                 ^~~~
    /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
    #define NULL    ((void *)0)
                    ^~~~~~~~~~~
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:60:39: note: expanded from macro 'INVOKE'
    #define INVOKE(name,def) _INVOKE(name,def,return)
                                          ^~~
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:57:25: note: expanded from macro '_INVOKE'
        if (!proc) { return def; } \
                            ^~~
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:68:28: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
        INVOKE(SplashLoadFile, NULL)(filename);
                               ^~~~
    /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
    #define NULL    ((void *)0)
                    ^~~~~~~~~~~
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:60:39: note: expanded from macro 'INVOKE'
    #define INVOKE(name,def) _INVOKE(name,def,return)
                                          ^~~
    /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u352-b08.1/jdk/src/share/bin/splashscreen_stubs.c:57:25: note: expanded from macro '_INVOKE'
        if (!proc) { return def; } \
                            ^~~
    2 errors generated.

Indeed, instead of the pointer value NULL, the integer value 0 should be
used.

PR:		268223
Approved by:	portmgr (tcberner)
MFH:		2022Q4
2022-12-18 18:23:58 +01:00
Michael Zhilin
411148ba77 java/eclipse-pydev: update to 10.0.2 2022-12-12 10:47:25 +03:00
Michael Zhilin
e86096b57a java/jattach: update to 2.1 2022-12-12 09:42:33 +03:00
Michael Zhilin
3e24ca01e0 java/eclipse-pydev: bump to 10.0.1
Release notes: https://www.pydev.org/history_pydev.html#release-10-0-1-2022-10-28
2022-12-10 09:46:23 +03:00
Mikael Urankar
9bf6a99963 lang/rust: Bump revisions after 1.65.0
PR:		267622
2022-11-17 08:06:14 +01:00
Lars Herschke
e51fa36481 java/icedtea-web: Update to 1.8.8
PR:		259466
2022-11-03 23:54:54 -07:00
Greg Lewis
add6dd031a java/openjdk18: Use the distributed cacerts
PR:		266723
Reported by:	Michael Osipov <michael.osipov@siemens.com>
2022-11-03 23:43:18 -07:00
Greg Lewis
381f9126c0 java/openjdk17: Use the distributed cacerts
PR:		266723
Reported by:	Michael Osipov <michael.osipov@siemens.com>
2022-11-03 23:30:13 -07:00
Greg Lewis
34c45542f7 java/openjdk11: Use the distributed cacerts
PR:		266723
Reported by:	Michael Osipov <michael.osipov@siemens.com>
2022-11-03 23:13:16 -07:00
Greg Lewis
60e0223972 java/openjdk8: Use the distributed cacerts
PR:		266723
Reported by:	Michael Osipov <michael.osipov@siemens.com>
2022-11-03 22:52:56 -07:00
Greg Lewis
4f48011386 java/openjdk19: Add a port of OpenJDK 19 2022-10-30 11:42:20 -07:00
Mikael Urankar
afe651cf62 lang/rust: Bump revisions after 1.64.0
PR:		267173
2022-10-30 13:07:09 +01:00
Greg Lewis
6168584745 java/openjdk8: Update to 8u352 2022-10-29 15:22:52 -07:00
Greg Lewis
b87e44e535 java/openjdk11: Update to 11.0.17 2022-10-29 15:22:13 -07:00
Greg Lewis
0d0710f366 java/openjdk17: Update to 17.0.5 2022-10-29 15:21:06 -07:00
Jan Beich
dfe25d73e7 devel/icu: update to 72.1
Changes:	https://github.com/unicode-org/icu/releases/tag/release-72-1
Reported by:	GitHub (watch releases)
PR:		266582
Exp-run by:	antoine
2022-10-19 08:10:29 +00:00
Alex Dupre
4992a70b17 java/intellij-ultimate: update to 2022.2.3 release. 2022-10-10 10:50:02 +02:00
Alex Dupre
62d7e46721 java/intellij-ultimate: update to 2022.2.2 release. 2022-10-03 09:12:01 +02:00
Greg Lewis
9402cd04e3 cleanup: Remove expired java/bootstrap-openjdk6 port 2022-09-25 16:17:56 -07:00
Greg Lewis
19899c4999 java/openjdk17: Update to 17.0.4.1 2022-09-25 16:06:59 -07:00
Greg Lewis
749c57a8a8 java/openjdk11: Update to 11.0.16.1 2022-09-25 16:06:16 -07:00
Dimitry Andric
e0af091d6c java/openjdk8: Bump PORTREVISION for previous change
PR:		264065
MFH:		2022Q3
2022-09-14 12:46:26 +02:00
Dimitry Andric
a705af9bfc java/openjdk8: Restore workaround for aarch64 assertions
See also <https://bugs.openjdk.org/browse/JDK-8247766>.

Even though the upstream fix has been applied to this version of the
JDK, some users still report the assertion "guarantee(val < (1U <<
nbits)) failed: Field too big for insn" occurring, when it is built with
recent versions of clang.

Therefore, restore the workaround that uses clang 12 to build the JDK on
aarch64.

PR:		264065
MFH:		2022Q3
2022-09-14 10:52:48 +02:00
Daniel Engberg
e942e560c4 */*: Update path set in BUILD_DEPENDS for CMake
Commit b23ea4e2d2 changed its location to
devel/cmake-core

Approved by:	portmgr (blanket)
2022-09-09 22:32:24 +02:00
Stefan Eßer
ade2a047e0 Remove WWW lines that have been moved into Makefiles
Approved by:	portmgr (implicit)
2022-09-08 17:46:38 +02:00
Stefan Eßer
986beaaabc Move more WWW entries from pkg-descr files into Makefiles
The WWW: lines in the pkg-descr files of these ports where not at the
end of those files and have been missed in prior conversion runs.

Approved by:	portmgr (implicit)
2022-09-08 17:43:21 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Rene Ladan
a3bbdd76cd cleanup: Remove expired ports:
2022-09-03 java/openjdk7: EOLed since 31 July 2022
2022-09-03 java/openjdk7-jre: EOLed since 31 July 2022
2022-09-03 13:10:14 +02:00
Piotr Kubaj
e3f56d3c66 java/openjdk11: use LLVM 12 to build if the system compiler is LLVM 13 or newer
PR:	260319
Reported by:	jonc@chen.org.nz
Approved by:	java (maintainer timeout)
2022-08-31 01:02:10 +02:00
Stefan Eßer
3d41392b6e java/openjdk11: fix build on 13.1 and -CURRENT
Recent LLVM versions issue warnings for "|" being used with boolean
operands. Such operations exist in OpenJDK and the source lines are
marked with comments to not use logical operations instead.

This breaks the build on 13.1 and -CURRENT when building with LLVM-13
or newer due to the -Werror option being passed to the compiler.

Fix this issue by casting one of the boolean operands to int, as
suggested by the compiler in the error message for the case that the
"|" operation should actually be used on purpose.

I had submitted this patch as an attachment to PR 265687 on
2022-08-07, but it has been ignored by the maintainer (java team).

PR:		265687
Approved by:	portmgr (implicit)
2022-08-28 16:54:31 +02:00
Baptiste Daroussin
b9b250f912 rust: bring back update to 1.63
Revert back the revert of the update of rust and related commits

This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers

This reverts commit 8ecb1f8141.
This reverts commit 04d257baa1.
This reverts commit 2757c63bd0.
This reverts commit 75f4713de5.
This reverts commit e88e592111.
This reverts commit 783c056d7d.

With hat:	portmgr
2022-08-25 16:49:50 +02:00
Piotr Kubaj
783c056d7d Revert "lang/rust: Bump revisions after 1.63.0"
This reverts commit c7912d9775.

PR:	265915
2022-08-25 12:49:39 +02:00
Mikael Urankar
c7912d9775 lang/rust: Bump revisions after 1.63.0 2022-08-25 10:51:32 +02:00
Alex Dupre
8eead822c3 java/intellij-ultimate: update to 2022.2.1 release 2022-08-22 16:39:54 +02:00
Piotr Kubaj
5a8afa08c5 java/openjdk11: fix build on powerpc64*
Go back to using LLVM 12, bin/java built with LLVM 13 crashes with:
* For target jdk__packages_attribute.done:

 A fatal error has been detected by the Java Runtime Environment:

  SIGILL (0x4) at pc=0x0000000802e3d438, pid=28756, tid=149399

 JRE version:  (11.0.16+8) (build )
 Java VM: OpenJDK 64-Bit Server VM (11.0.16+8-1, mixed mode, tiered, compressed oops, serial gc, bsd-ppc64)
 Problematic frame:
 V  [libjvm.so+0xe3d438]  JVM_RaiseSignal+0x446bcc
2022-08-09 23:16:34 +02:00
Stefan Eßer
1cf12abc91 java/openjdk11: revert accidental commit 3d803e4460
Revert part of commit 3d803e4460 that should only have affected the
deskutils/calendar port.

This patch that has been committed by accident had already been
attached to PR 265687 to fix the build issue of openjdk11 on -CURRENT,
but it is up to the java@ team to apply this or some other fix.

Approved by:	portmgr (implicit)
2022-08-08 11:57:44 +02:00
Stefan Eßer
3d803e4460 deskutils/calendar: update to version 0.9.3
Update the man page to match the version the -CURRENT base system.

The only change is a better description of the // single line comment
syntax, i.e. that // is only considered to start a comment when it
appears at the start of the line or after white space. This allows to
embed URLs in calendar entries.
2022-08-08 09:58:14 +02:00
Dimitry Andric
591a784f32 java/openjdk{8,11}: Remove dependency on devel/llvm12 which is no longer necessary
The workarounds committed in aa1ca89826 and 846ff4e952 are no longer
necessary, as both the upstream commits for PR258954
(305a68a90c)
and PR264065 (https://hg.openjdk.java.net/jdk/jdk/rev/40c07de877ab) are
now merged into the distribution tarballs.

PR:		258954, 264065
Approved by:	maintainer timeout (1 month)
MFH:		2022Q3
2022-08-06 12:55:32 +02:00
Greg Lewis
bf637c3239 java/openjdk7: Mark as deprecated due to upstream EOL
Java 7 ceased extended support on July 31, 2022 and will no longer
receive any patches or updates.

PR:		264689
2022-08-02 19:41:56 -07:00
Greg Lewis
28b0ae0fe7 java/openjdk18: Update to 18.0.2 2022-08-02 19:27:22 -07:00
Greg Lewis
f20eed28f0 java/openjdk17: Update to 17.0.4 2022-08-02 06:14:11 -07:00
Greg Lewis
6ce6fe80a1 java/openjdk11: Update to 11.0.16 2022-08-01 22:03:55 -07:00