420 Commits

Author SHA1 Message Date
kurt
b0fdb9e3f3 Update to 11.0.4+11:
* Contains many upstream bug fixes and security fixes which can be mined
  from the release notes here:

  https://adoptopenjdk.net/release_notes.html

* Remove patches merged into bsd-port upstream
* Add corrections for issues that didn't make the bsd-port release
2019-07-23 11:55:42 +00:00
kurt
f31adb89db Update to u222:
* Contains many upstream bug fixes and security fixes which can be mined
  from u212-u222 release notes here:

  https://adoptopenjdk.net/release_notes.html

* Removed patches merged upstream
2019-07-22 23:15:39 +00:00
sthen
f74b6c2d62 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:44:34 +00:00
kurt
25c0886858 Upstream fixes:
* Fix return value from closeDescriptors()
* Emulate waitid(2) with kqueue(2)
2019-06-17 19:23:40 +00:00
kurt
973854b9de Fix return value from closeDescriptors(). 2019-06-17 19:21:38 +00:00
kurt
6d05858b09 Adjust java module to ensure the correct build jdk is used:
* Add JAVA_HOME to MAKE_ENV and CONFIGURE_ENV for any port that uses
the java module and doesn't also contain NO_BUILD=yes. Previously
this was limited to just MODJAVA_BUILD=ant, but that is not sufficient
for ports that indirectly use ant via makefiles.

okay sthen@
2019-06-11 00:36:04 +00:00
kurt
c7ce025ffc Update to u212:
* Contains many upstream bug fixes and security fixes which can be mined
  from u202-u212 release notes here:

  https://adoptopenjdk.net/release_notes.html

* Also contains a series of FreeBSD corrections merged into upstream repo.
* Remove jre package since jre package support was removed from
  java.port.mk and javaPathHelper already.

okay sthen@, ian@, naddy@
2019-06-11 00:35:17 +00:00
kurt
6d2144d5d6 Use closefrom(2) after fork/vfork and before exec instead of
opendir/readdir on /dev/fd. opendir/readdir are not async-signal-
safe and may not be safely called after forking in a multi-threaded
program. Issue raised to my attention by deraadt@.

Also update to bsd release 2 of 11.0.3-7 which contains BsdSocketOptions
fix and other corrections that can be viewed here:

https://github.com/battleblow/openjdk-jdk11u/releases

Okay ian@
2019-05-28 17:39:55 +00:00
kurt
576cdcb0c6 Use closefrom(2) after fork/vfork and before exec instead of
opendir/readdir on /dev/fd. opendir/readdir are not async-signal-
safe and may not be safely called after forking in a multi-threaded
program. Issue raised to my attention by deraadt@. Okay ian@
2019-05-28 17:37:40 +00:00
sthen
22de3ff02c set png16 WANTLIB entries back to png following the change in soname
part done by portbump, part by hand (it is easily confused)
2019-05-17 16:45:25 +00:00
kurt
4362760bb0 Update to 11.0.3+7:
https://www.oracle.com/technetwork/java/javase/11-0-3-oracle-relnotes-5290048.html

okay sthen@, pvk@ solene@
2019-04-18 18:06:17 +00:00
pvk
f96bdb4815 Add stubs for missing com.sun.management.internal.OperatingSystemImpl.{getSystemCpuLoad0,getProcessCpuLoad0} methods ok kurt@ sthen@ 2019-04-05 14:41:47 +00:00
sthen
4d4ae31d8f simplify java.port.mk and handle jdk 11, ok kurt@ 2019-03-28 19:00:47 +00:00
kurt
748e52f30e Add jdk/11 to build. okay sthen@ 2019-03-28 17:48:56 +00:00
kurt
dba47609b0 import jdk-11.0.2.9.3v0
The OpenJDK SDK software includes tools useful for developing and
testing programs written in the Java programming language and
running on the Java platform.

okay sthen@
2019-03-28 17:47:53 +00:00
kurt
fc1f40e8a2 Update to u202 which includes upstream fix for jdb issue.
Also contains many upstream bug fixes and security fixes which
can be mined from u192-u202 release notes here:

https://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html

okay sthen@
2019-03-11 19:51:35 +00:00
kurt
78ae1b3660 - Restore bsd specific iconv make flags lost in upstream merge conflict.
Fixes missing libiconv_open symbol in libspashscreen.so.
2019-02-08 20:36:44 +00:00
kurt
63e6a59bbf - Update to u192
Contains many upstream bug fixes and security fixes which
can be mined from u172-u192 release notes here:

https://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html

okay sthen@
2019-01-24 17:20:14 +00:00
kurt
663f54bb54 Lower the max memory used for i386 build so that it reliably
detects that it can use it and then it sets the max size of the
object heap while building. Having the max size set works
out better because it allocates it all at once and limits
the jdk from growing it a piece at a time randomly into
limited VM space.
2019-01-21 15:54:59 +00:00
sthen
99a062f78b patch jdk to disable use of mincore(), approach suggested by / ok kurt@ jca@
switch to new bootstraps
2019-01-11 22:08:11 +00:00
sthen
417ee3b07d regen patches only, no pkg change 2019-01-11 17:21:38 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
kurt
2fa1af9aa7 - Update to u172
Contains many upstream bug fixes and security fixes which
can be mined from u144-u172 release notes here:

http://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html

- Many patches for clang 6.0 were already resolved upstream through the
  use of -std=gnu++98
- Includes alternate fix for memTracker placement new on read-only memory
  committed upstream
- Includes upstream fix for unsafe.o SIGSEGV reported by Mike Belopuhov
2018-06-04 17:03:35 +00:00
sthen
08215e0aa6 more whitespace around constants for clang6, in an i386-only file 2018-04-11 17:03:12 +00:00
sthen
fbb431dbe7 runtime fix for jdk with clang6, found by me, then forgotten about and
re-found by dcoppa@
2018-04-11 12:26:56 +00:00
sthen
26a6f3763d clang6 fixes from Matthew Martin, mostly spaces around constants, plus
some others.
2018-04-11 12:25:59 +00:00
sthen
a435785adf spaces around constants; part of what's needed for new clang 2018-04-07 12:08:18 +00:00
sthen
be6c5b49c7 regen, no real change 2018-04-07 11:05:13 +00:00
sthen
aac6ceb7be new i386 bootjdk 2018-03-07 11:04:24 +00:00
sthen
939902269a extra bit needed to use different dated bootjdk files between i386+amd64 2018-03-06 22:56:15 +00:00
sthen
ff1a0d0f7a regenerate amd64 bootstrap (will do i386 later) 2018-03-06 22:46:53 +00:00
kurt
d22e12141c - CONFIGURE_ENV/LD_LIBRARY_PATH is only needed for when !native_bootstrap
FLAVOR. okay naddy@
2017-09-05 23:49:07 +00:00
naddy
30a137f169 point LD_LIBRARY_PATH at the bootstrap libs for configure, too 2017-09-04 20:55:05 +00:00
kurt
e9831c959e - Update to u144
Contains upstream bug fixes and security fixes which can be viewed here:
http://www.oracle.com/technetwork/java/javase/8u144-relnotes-3838694.html

okay sthen@
2017-08-31 21:19:19 +00:00
kurt
29badc1fa1 - No longer connected to build since four months. okay sthen@ 2017-08-28 13:15:55 +00:00
kurt
1f3f8ccc4b - Update to u131
Contains upstream bug fixes and security fixes which can be viewed here:
http://www.oracle.com/technetwork/java/javase/8u131-relnotes-3565278.html

- Remove patches committed to upstream bsd-port repo.

okay sthen@
2017-08-26 14:05:55 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
schwarze
0a4de53161 Delete USE_GROFF to avoid noise when greping the ports tree,
even 1.8 works with mandoc now.
No need to bump because this is not even connected to the build.
2017-06-13 14:26:56 +00:00
schwarze
a7a87e1d55 Whitespace and unimportant font differences only,
so drop USE_GROFF and bump.

There are two tables in java(1) and jcmd(1) that look horrible
either way.  No point in keeping groff just for that.
2017-06-13 14:22:57 +00:00
espie
798b9a1d04 no longer hangs. make sure your ld.so is uptodate!!! 2017-05-08 17:52:46 +00:00
kurt
aec6c735a6 - fix clang + fastdebug issue in loopPredicate.cpp
- use HW_PHYSMEM64 to correct assert in fastdebug
2017-04-24 15:25:49 +00:00
espie
7d16fc98f7 prevent building on clang arch until someone figures out why it hangs 2017-04-23 02:32:34 +00:00
kurt
0ce7f70751 - Clean up makefile and fix MAKE_ENV as per espie@ guidance. okay espie@ 2017-04-23 00:29:22 +00:00
kurt
558715b919 - disconnect devel/jdk/1.7 from the build
- adjust java.port.mk so all 1.7 and lower ports now build with 1.8
- bump revision on affected ports
okay sthen@, ian@, landry@
2017-04-21 13:27:46 +00:00
kurt
5f69cd0166 - patches to allow build with clang 4.0
- uncomment MAKE_ENV+=USE_CLANG=true to build with clang
2017-04-21 02:30:40 +00:00
sthen
7b9fdbb2c9 use LIBCXX 2017-04-10 11:45:22 +00:00
kurt
c51b401d76 Eliminiate with_ipv6 FLAVOR. ipv6 will be included in the main package
by default now. However ipv4 will continue to be the default address
family in the package. To enable ipv6 (and disable ipv4 in the process),
see package README's. okay sthen@ with feedback from ajacoutot@
2017-03-10 02:21:22 +00:00
jca
7a37b45b32 Honour CC/CXX 2017-03-04 22:12:19 +00:00