Commit graph

169 commits

Author SHA1 Message Date
asau
cc2b5c855f Enable OpenJDK 7 and 8 on Linux. Add builtin support.
Tested on openSUSE 11-42.
2016-12-16 16:27:23 +00:00
wiz
56661f0075 Recursive bump for cups openssl -> gnutls change. 2016-09-20 11:12:22 +00:00
abs
42532db73f Add jcmd to JAVA_WRAPPERS, bump PKGREVISION 2016-08-11 15:34:29 +00:00
jperkin
d1795121ea Skip some more shared libraries, noticed in the 32-bit SunOS build. 2016-07-22 09:40:00 +00:00
tnn
85b998f9b0 skip the SHLIBS check for libjawt.so
It is a dlopened library and needs libmawt.so, but that can be provided by
either xawt/libmawt.so or headless/libmawt.so. The JVM will pick and load
the correct implementation to use so an explicit run path is neither
appropriate nor required.
2016-03-11 09:09:57 +00:00
tnn
fb6ddbb0a3 mark NetBSD-*-*arm* explicitly as needing floating point workarounds
The awk(1) test previously used is not sufficiently comprehensive
2016-03-08 20:03:52 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
jperkin
db1332a441 Use OPSYSVARS. 2016-02-25 14:42:55 +00:00
asau
4bea9fab73 Bring build dependency on "mozilla-rootcerts" back.
(It is easily confused with "mozilla-rootcerts-openssl" though...)
2015-12-14 23:05:11 +00:00
asau
0f4ac94313 Don't depend on mozilla-rootcerts. 2015-12-13 16:08:26 +00:00
tnn
a718d885a3 add SHA512 sums 2015-11-03 22:59:10 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +00:00
jperkin
751913c191 Set JDK_MICRO_VERSION so that the update number is reflected in version
output, going from this:

  openjdk version "1.7.0-internal"

to this:

  openjdk version "1.7.0_80-internal"

This matches the behaviour of sun-jre, and fixes software such as Logstash
and Jira which expect it to be included.  Bump PKGREVISION.
2015-11-03 16:41:55 +00:00
jperkin
ae4a085aa9 Reduce SunOS optimisation to -O2, avoiding alignment faults in 32-bit builds
of libverify with certain compilers.
2015-10-07 10:07:11 +00:00
joerg
79c51de91f Avoid UB by left shift of negative values. 2015-09-12 16:56:47 +00:00
rodent
1a40408d59 Unset TOOLS_PLATFORM.unzip on FreeBSD too, to allow the build to use system
unzip.
2015-06-17 20:54:42 +00:00
tnn
cb3a34af15 Disable use of C++ precompiled headers.
My benchmark shows that they make the build at least 10% slower.
2015-06-13 14:55:52 +00:00
tnn
f8e8c2aaa1 Update to OpenJDK7, Update 80.
This is a maintenance release that fixes ~100 bugs in the following subsystems:

client-libs: 2d, java.awt, javax.swing
core-libs: Support, java.lang, java.lang.class_loading, java.lang:reflect
           java.net, java.nio, java.nio.charsets, java.util.jar, java.util:i18n
core-svc: javax.management
deploy: deployment_toolkit, plugin, webstart
globalization: locale-data, translation
hotspot: compiler, gc, jvmti, runtime, svc
security-libs: java.security, javax.crypto, javax.crypto:pkcs11, javax.net.ssl,
               org.ietf.jgss:krb5
tools: javac
xml: jaxp
2015-06-09 15:03:43 +00:00
abs
6eba02b93c Add FOO-jps to PLIST, missed in last commit 2015-05-05 17:07:39 +00:00
abs
d5bc53d7d3 Add jps to the list of wrapped java binaries. Bump PKGREVISION 2015-05-05 16:20:08 +00:00
jperkin
99951a4aa5 Find iconv and zlib correctly. Problem masked by legacy wrappers, and
not seen with cwrappers due to the package specifically using the legacy
wrappers through accidental WRAPPER_DIR usage.  The latter will be fixed
in upcoming infrastructure changes.
2015-04-27 19:24:17 +00:00
joerg
11e9df11e8 Don't mess with __sync_*, clang disallows it this way. Failing at link
time is good enough anyway.
2015-03-31 15:45:40 +00:00
tnn
b97bb19837 Enable the package for NetBSD-7.*-earmv[67]hf.
Build time on RPI is ~2 days so I won't bother with support for older ARM.
2015-03-06 12:11:54 +00:00
tnn
769595616b adjust ARM float hacks: use binary IEEE encoding of subnormal literals 2015-03-05 13:02:38 +00:00
tnn
eca3f43059 change clang dependency to libLLVM for zeroshark option
(doesn't work because it only supports llvm 3.4 and we have 3.6)
2015-03-04 17:01:02 +00:00
tnn
e06a77d20a - put -D__STDC_LIMIT_MACROS on command line instead of patching it everywhere
- don't use ALT_JDK_IMPORT_PATH on SunOS, just build like on other platforms
- regen all bootstraps to facilitate removal of the +UseSerialGC hacks
- bootstrap binaries on FTP are now PGP signed
- remove a handful of obsolete patches
2015-03-02 03:53:26 +00:00
tnn
7ab9a7286c Rototil include order so stdint doesn't get included without the necessary
feature test macros. Should fix "UINTPTR_MAX not declared" error.
2015-03-01 21:43:50 +00:00
tnn
ebb709828b Provide a mapfile for arm. mapfile-i586 seems to work fine so symlink that. 2015-03-01 16:57:05 +00:00
tnn
2541d3ecd6 Workaround incorrect constant folding of subnormals in javac when the FPU
does not handle subnormal arithmetic, like on ARM in Flush-to-zero mode.
These workarounds avoid underflow conditions during the bootstrap so the
JDK can correctly build itself. Compiling or running programs other than
openjdk itself on such hardware may still cause unexpected behaviour.
2015-02-28 14:30:56 +00:00
tnn
f80aea35d2 Remove icedtea-web stuff from the base runtime.
It seems to not be needed by www/icedtea-web any longer.
Bump PKGREVISION.
2015-02-23 13:34:56 +00:00
tnn
3504680753 SpinPause() needs to return a proper value, or we can apparently crash.
Already fixed in upstream openjdk8, but not in openjdk7.
2015-02-22 14:46:40 +00:00
tnn
251a08b9b6 Documentation of procedure and requirements for making bootstrap toolchains 2015-02-22 08:40:07 +00:00
tnn
2923dc7360 regen 2015-02-21 20:24:57 +00:00
tnn
e15cf615aa Fix more ARM defines 2015-02-21 20:21:56 +00:00
tnn
7edf5e282f Extend the OpenBSD ifdef for os::pd_commit_memory() to include NetBSD.
For now, this should fix the spurious JVM initialization error:
"Unable to allocate XXX KB card tables for parallel garbage collection
for the requested YYY KB heap."

XXX: remember to remove all +UseSerialGC hacks after the bootstrap kits
have had a refresh.
2015-02-21 20:20:03 +00:00
tnn
3af82abf92 Sync ARM fixes from lang/openjdk8 2015-02-21 10:44:14 +00:00
tnn
4e9ee84787 add bootstrap jvm binaries for NetBSD 7.* / sparc64,
built in 7.0_BETA chroot with libkver.
2015-02-13 10:47:40 +00:00
tnn
8c1d4cd2fd - Add basic support for NetBSD/sparc64
- drop obsolete patch; libgcc_s linking is handled by the package
- can use either cups-1.5 or cups-2.0 headers for build
2015-02-12 06:18:17 +00:00
tnn
672e032e0c Let the build find intermediate libs when it wants to run intermediate rmic. 2015-02-10 19:31:53 +00:00
tnn
d2b649cd49 Fix error observed in SmartOS bulk build.
Note: PLIST.SunOS should list only files unique to SunOS, not duplicates.
XXX why does it bundle libfreetype.so.6? looks wrong.
2015-02-10 14:57:35 +00:00
tnn
ba20782665 drop stray X11 runtime dependencies from headless build 2015-02-10 00:26:49 +00:00
tnn
39a9ca1cbd Clean up +UseSerialGC handling and ensure it is set for the entire build.
(has anyone analyzed the concurrent GC memory allocation problem?)
Bump PKGREVISION for this and previous changes.
2015-02-09 00:42:17 +00:00
tnn
e884b5bcba Optionalize debug, X11 and ZeroVM similar to lang/openjdk8 + minor cleanups 2015-02-08 23:40:09 +00:00
tnn
ce9caed38a g/c comment, no longer applies 2015-02-08 07:57:55 +00:00
tnn
2acd3ad6bc Fix inconsistency between _WRAP_EXTRA_ARGS and CWRAPPERS_APPEND 2015-02-08 07:32:15 +00:00
tnn
2d6ff54b74 Don't need to set -DDEFAULT_LIBPATH on compiler command line when it's
handled in a patch already.
2015-02-08 05:55:29 +00:00
tnn
2af6b40e01 netbsd -> ${LOWER_OPSYS} 2015-02-08 04:13:23 +00:00
tnn
c0b8e75c6b No reason to keep netbsd-4 hacks when we don't have it in ONLY_FOR_PLATFORM 2015-02-07 22:35:24 +00:00
tnn
ecec529b17 Replace the old cacert bundle from 2009 with security/mozilla-rootcerts.
Change the keystore password to the one used by official binary releases.
Bump PKGREVISION.
2015-02-03 16:50:30 +00:00
abs
4e341b1432 Add in missing bootstrap distinfo. 2015-01-30 09:43:52 +00:00