Commit graph

72 commits

Author SHA1 Message Date
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Bernhard Froehlich
cd96d2aefb
java/openjdk11: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:30:45 +00:00
Mikael Urankar
8edf3dd02e java/openjdk11: Fix build on aarch64
Import upstream patch.

PR:		257643
Approved by:	portmgr (build fix blanket)
2021-08-18 17:58:15 +02:00
Greg Lewis
811345dd18 java/openjdk11: Update to 11.0.12 2021-07-30 19:43:33 -07:00
Dimitry Andric
a47b284421 java/openjdk11(-jre): fix build with clang 12
During an exp-run for llvm 12 (see bug 255570), it turned out that
java/openjdk11 and java/openjdk11-jre do not build with clang 12.0.0:

Creating interim jimage
Compiling 2 files for BUILD_DEMO_Notepad

This is due to a missing backport of an upstream commit:

commit c484d8904285652246c3af212a4211b9a8955149
Author: Thomas Stuefe <stuefe@openjdk.org>
Date:   Tue Mar 16 05:49:01 2021 +0000

    8263557: Possible NULL dereference in Arena::destruct_contents()

    Reviewed-by: kbarrett, coleenp

Approved by:	maintainer timeout (2 weeks)
PR:		255900
MFH:		2021Q2
2021-05-29 16:08:18 +02:00
Mikael Urankar
362eb92da2 java/openjdk11: Add armv6 / armv7 support
PR:		255662
Approved by:	portmgr (tier 2 blanket)
2021-05-18 17:57:36 +02:00
Greg Lewis
ae072ecd17 Update to 11.0.11 2021-05-04 22:23:35 -07:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Piotr Kubaj
c4cf57f581 java/openjdk11: enable dtrace on powerpc64 elfv2 2021-03-17 01:18:33 +00:00
Piotr Kubaj
9a40a712b9 java/openjdk11: enable dtrace on powerpc64le
Builds fine.
2021-03-15 13:08:30 +00:00
Greg Lewis
a7f3236bcd Update to 11.0.10 GA 2021-01-21 03:04:11 +00:00
Piotr Kubaj
89480f7d7e java/openjdk11: add powerpc64le support
This mostly adds powerpc64le in places where there's only powerpc64.

PR:		251263
Approved by:	java (maintainer timeout)
2020-12-03 23:46:20 +00:00
Greg Lewis
5401b1924d Fix a crash per https://bugs.openjdk.java.net/browse/JDK-8250861
This effectively upgrades us to 11.0.9.1
2020-11-07 22:02:32 +00:00
Greg Lewis
daaa2aa100 Enable the Shenandoah GC 2020-10-24 04:17:02 +00:00
Greg Lewis
7166661c68 Update to 11.0.9 2020-10-23 03:58:05 +00:00
Jung-uk Kim
a03cd74a5f Add a port to create JRE-only package for java/openjdk11. 2020-08-20 02:23:07 +00:00
Jung-uk Kim
93f31d551a Work around build a failure with Clang 11 on head.
/wrkdirs/usr/ports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.8-10-1/src/java.desktop/unix/native/libawt_xawt/xawt/XlibWrapper.c:2186:12:
error: cast to smaller integer type 'jint' (aka 'int') from 'int (*)(Display *)' (aka 'int (*)(struct _XDisplay *)')
[-Werror,-Wpointer-to-int-cast]
    return (jint) XSynchronize((Display*)jlong_to_ptr(display), (onoff == JNI_TRUE ? True : False));
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

It looks like a false-positive, though.
2020-08-20 01:21:36 +00:00
Jung-uk Kim
b3575ba0d1 Add upstream patches to build with "-fno-common".
This is default with Clang 11 and GCC 10.

https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/3660248422f4
https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/371bbe373ae0
2020-08-19 23:32:38 +00:00
Greg Lewis
8a4d4bc6cf Update to 11.0.8 2020-07-16 01:52:40 +00:00
Greg Lewis
0e8769531d More accurate vendor information
PR:		244634
2020-07-12 02:13:27 +00:00
Greg Lewis
5305eae5ec Add a runtime dependency on xorg-fonts-truetype
PR:		247786
Reported by:	phk@
2020-07-09 02:33:04 +00:00
Dmitri Goutnik
7d93186245 java/openjdk11: Add fontconfig support
PR:		247238
Approved by:	java (glewis)
2020-07-02 23:31:38 +00:00
Kyle Evans
5fb9edd6bd Multiple ports: improve regex compliance
These changes largely fall into just two categories:

1. Need textproc/gsed for GNU extensions
2. Extraneous escapes that can go away

For #1, there's a further subdivision into those that require autoconf magic
and those that can get away with BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed.
-CURRENT will soon gain GNU extensions, but these will take longer to get to
all supported releases; we must switch them to gsed to ensure we're actually
properly building them as intended.

For #2, I've fixed these as I can and we should upstream these fixes.

PORTREVISION is bumped for all of the above, because we will almost
certainly build these differently when the replacements actually start
working.

These were all detected by the below-referenced exp-run [1]. The patch
included forbids many ordinary characters from being escaped, since we'll
later imbue those with special meanings. This has had the nice side effect
of picking up various things that we didn't handle properly, e.g. \t and \r
for tab and carriage return.

PR:		229925 [1]
Approved by:	koobs (mentor)
Approved by:	portmgr (blanket: trivial build fixes)
MFH:		no (invasive risk)
Differential Revision:	https://reviews.freebsd.org/D25185
2020-06-08 04:41:31 +00:00
Greg Lewis
b65bbced16 Update to 11.0.7 GA 2020-04-16 00:11:22 +00:00
Kirill Ponomarev
e319ccdbf1 Fix build on HEAD.
PR:		244803
Submitted by:	Yasuhiro KIMURA <yasu_AT_utahime__dot__org>
2020-04-14 13:05:21 +00:00
Greg Lewis
4c18554694 Ignore ECONNRESET when closing a socket
See https://github.com/battleblow/openjdk-jdk11u/issues/94 for details
2020-02-26 00:07:14 +00:00
Greg Lewis
ace58503f3 Update to 11.0.6
Security:	https://openjdk.java.net/groups/vulnerability/advisories/2020-01-14
2020-01-16 19:58:03 +00:00
Piotr Kubaj
1159f09aca java/openjdk11: correctly patch openejdk11 for ppc64 elfv2
The previous patch didn't check for architecture.

PR:		243183
2020-01-16 13:52:16 +00:00
Antoine Brodin
44a4ff3829 Revert r523182, it breaks build on tier 1
With hat:	portmgr
2020-01-16 12:54:40 +00:00
Piotr Kubaj
16ba9aabc5 java/openjdk11: add bootstrap and fix compilation for powerpc64 elfv2
Add bootstrap for powerpc64 elfv2.

Because of issue with macros in precompiled.hpp, --disable-precompiled-headers is necessary.

Since openjdk compiles for elfv1 by default on big-endian ppc64, use a patch to compile for elfv2.

I assume here that GCC will be used exclusively on ELFv1 systems and Clang on ELFv2.

PR:		243182
Approved by:	glewis (maintainer)
2020-01-15 22:08:04 +00:00
Greg Lewis
47bbc35509 Reinstate guidance to have /proc mounted
* Having /proc mounted is not generally critical, but there is at least one
  piece of functionality that does rely on its presence at the moment
  (e.g. OperatingSystemMXBean)
2019-11-09 22:28:53 +00:00
Niclas Zeising
07e8e1c13c Add USES=xorg USES=gl, ports categories j
Add USES=xorg and USES=gl to ports in categories starting with 'j'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 18:03:34 +00:00
Greg Lewis
b9f03c4180 Fix build on FreeBSD 12.x/powerpc64 on POWER8+ machines
* Make sure has_mfdscr() returns false on these machines as using it on
  FreeBSD 12.x will cause problems (e.g. SIGILL).

PR:		239368
2019-11-06 17:21:58 +00:00
Greg Lewis
0f54bf6ebc Update to 11.0.5 GA 2019-10-16 19:07:18 +00:00
Greg Lewis
395ca6f9a8 Disable AoT except on amd64
This should be a no-op for all platforms except aarch64.  AoT is disabled
on aarch64 due to crashes in internal JDK tests for that feature.
2019-09-27 15:29:33 +00:00
Greg Lewis
d804e77edf Update to an 11.0.5 pre-release
This is mostly to pick up fixes that have gone into the BSD repo.
2019-09-20 02:26:34 +00:00
Greg Lewis
de71759143 Minor clean up
* Separate out compiler specifics from platform specifics.  This also
  removes a little duplication.
2019-09-03 19:39:00 +00:00
Greg Lewis
a8a4d62a92 Add support for aarch64
* Add aarch64 to ONLY_FOR_ARCHES on FreeBSD 12.0 and up.

PR:		239246
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
2019-08-30 21:52:50 +00:00
Greg Lewis
24a7e726a2 Prepare for aarch64 support
* Add necessary configure arguments for aarch64
* Add patches needed to compile on aarch64.  These have been upstreamed but
  are not in a release yet.
2019-08-30 04:24:53 +00:00
Greg Lewis
e4d88a10b0 Remove guidance about needing procfs
* Remove portions of pkg-message that mention needing /proc mounted.
  This hasn't been the case for a while afaik (I don't have it mounted
  and haven't observed any related problems).
2019-08-28 15:34:32 +00:00
Greg Lewis
c1c56f1796 Add support for powerpc64
PR:		237208
2019-08-25 20:28:47 +00:00
Greg Lewis
2a60da4a4a Pet portlint 2019-08-20 18:05:26 +00:00
Greg Lewis
9dac406b78 Update cacerts
* Use the latest cacerts file from Oracle's public distribution of 11.0.4.
2019-08-20 18:03:28 +00:00
Mathieu Arnold
3bd0ac0d72 Convert to UCL & cleanup pkg-message (categories h-k) 2019-08-13 22:22:35 +00:00
Greg Lewis
dda3f471cf Update to 11.0.4+11.2 2019-08-13 04:41:40 +00:00
Greg Lewis
89a5e6cd1a Fix the build on PowerPC64
PR:		239624
Submitted by:	Curtis Hamilton <hamiltcl@verizon.net>
2019-08-04 23:04:33 +00:00
Greg Lewis
5aac9afa48 Register openjdk11 as a java provider with javavm
PR:		238092
Submitted by:	Tommy P <tommyhp2@gmail.com>
2019-07-31 16:31:52 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Greg Lewis
93dbf94b5e * Add a dependency on xrandr, since the latest version uses Xrandr.h
* Set NO_CCACHE to match configure being passed --disable-ccache

Fixes the build in poudriere and for people trying to use ccache

PR:		239387
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
2019-07-24 22:41:40 +00:00