58 Commits

Author SHA1 Message Date
kurt
ce85110c65 Update to 8u262 GA:
* Contains many upstream bug fixes and security fixes which can be found
  in the release notes here:
  https://adoptopenjdk.net/release_notes.html#jdk8u262
  https://openjdk.java.net/groups/vulnerability/advisories/2020-07-14
* Remove reduction of the default compressed class space size now that
  PROT_NONE memory isn't included in RLIMIT_DATA.
2020-07-16 15:47:29 +00:00
kurt
ca9f97a686 Update to 8u252 GA:
* Contains many upstream bug fixes and security fixes which can be found
in the release notes here:
https://adoptopenjdk.net/release_notes.html#jdk8u252
https://openjdk.java.net/groups/vulnerability/advisories/2020-04-14
* Adjust build-bootjdk target to work with PORTS_PRIVSEP
2020-04-24 14:46:56 +00:00
naddy
d159f8d1ad Make use of "find -exec {} +" (which is POSIX) and "find -delete"
(which is not) throughout the ports Makefiles.

* Replace find|xargs with find -exec {} +
* Replace -exec {} \; with -exec {} + if applicable.
* Use the -delete operator to remove files and empty directories.
* Combine and tweak some find(1) invocations while here.

ok kn@ rsadowski@ espie@
2020-03-20 16:44:21 +00:00
kurt
2df46a14e2 Update to 8u242:
* Contains many upstream bug fixes and security fixes which can be found
in the release notes here:

https://adoptopenjdk.net/release_notes.html#jdk8u242
https://openjdk.java.net/groups/vulnerability/advisories/2020-01-14
2020-01-18 17:42:58 +00:00
sthen
e506a46e80 Treat DPB_PROPERTIES=parallel as a hint that a port is parallel-safe
for use in regular builds too; if that is present in a port, use
${PARALLEL_MAKE_JOBS} jobs in the build, defaulting to hw.ncpuonline.

Adjust PARALLEL_BUILD=No, this originally seemed intended to be a hint
that a port could NOT handle a parallel build, but current usage is
"don't pass make -jXX because this port has its own way to handle things",
instead change this to a slightly more understandable PARALLEL_MAKE_FLAGS
variable. This defaults to -j${PARALLEL_MAKE_JOBS} but can be reset for
build system requirements as needed (java/libreoffice have their own
mechanism) and is added automatically to MAKE_FLAGS where a build uses
>1 concurrent job.

Based on a diff from / ok espie@ - the default value may want revising
as hw.ncpuonline jobs will be too many in some cases (e.g. machines with
many cores or low RAM), but committing at this stage to avoid further
out-of-tree bikeshedding. If you need to restrict to a lower number of
jobs, set e.g. PARALLEL_MAKE_JOBS=2 in /etc/mk.conf, and please provide
feedback.
2019-12-05 21:18:08 +00:00
tb
be0bab9112 Fix file interaction: load libnio in BsdNativeDispatcher and export
getmntonname0 from libnio.  Fixes scala -howtorun:script breakage
reported by solene.

Patch from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241317

ok kurt
2019-11-21 17:39:08 +00:00
kurt
405d509bf8 Update to u232:
* Contains many upstream bug fixes and security fixes which can be mined
  from the release notes here:

https://adoptopenjdk.net/release_notes.html#jdk8u232
2019-10-26 17:03:11 +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
973854b9de Fix return value from closeDescriptors(). 2019-06-17 19:21:38 +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
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
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
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
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
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
kurt
fa446505dc - fix socket creation in with_ipv6 flavor by stopping the jdk from forcing
ipv4 to ipv6 address mapping on using the IPV6_V6ONLY socket option.
2017-02-23 13:11:42 +00:00
kurt
9626e97026 - Update to u121
Contains many upstream bug fixes and security fixes which
can be mined from u112-u121 release notes here:

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

- Update cacerts from freebsd repo
- Remove patch now upstream

okay sthen@
2017-02-07 16:56:51 +00:00
kurt
ba858a5a9a - switch bootstrap to bootjdk so that jdk 1.7 can be removed
- fix getOpenFileDescriptorCount() reported by Pavel Korovin
okay sthen@
2016-12-31 19:58:56 +00:00
kurt
90b685810e Update to u112.
Contains many upstream bug fixes and security fixes which
can be mined from u72-u112 release notes here:

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

Tested by naddy@ edd@ sthen@. okay sthen@
2016-12-16 17:27:45 +00:00
sthen
bfed43c14f use the centralized ld "wxneeded" wrapper for the jdk ports. 2016-08-18 12:29:32 +00:00
sthen
87ce503717 apply the same ld wrapper to jdk/1.8 as was done for jdk/1.7 to mark the
binaries as wxneeded.

this build is less complicated than 1.7 so a nicer fix than the wrapper
should be sanely possible, but committing the simpler one for now to
hopefully unbreak packages.
2016-08-17 21:58:36 +00:00
naddy
0df352d3a4 replace libiconv module 2016-08-01 21:45:30 +00:00