Commit Graph

47 Commits

Author SHA1 Message Date
kurt
c347040e92 - update to BSD patchset 7 based off Sun's JRL licensed Update 13 source:
http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_13
- Do a better job respecting Sun's JRL license by using interactive
  license verification, installing the correct license and include a
  license blurb in the pkg MESSAGEs. (Interactive license verification
  script from FreeBSD/Greg Lewis)
- fix a packing problem with the no_web FLAVOR.

NOTE: This port is now IS_INTERACTIVE=Yes. After agreeing to the JRL
license, users can put ACCEPT_JRL_LICENSE=Yes into /etc/mk.conf to
automatically accept the license and make the port IS_INTERACTIVE=No.
Bulk builders will need to do this so things like OpenOffice get built.
okay naddy@
2007-10-25 20:51:41 +00:00
merdely
376b75df06 Remove quotes surrounding COMMENT*/PERMIT_*/BROKEN 2007-09-16 02:52:56 +00:00
kurt
c882a87b87 - upgrade to Update 12 srcs which fixes the following bugs:
http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_12
- remove patches I committed into patchset 6
2007-07-27 19:29:51 +00:00
kurt
ca0e01e493 - don't link jvmti demo native libs with $ORIGIN in RPATH since ld.so
does not support it yet.
- fix writes to HOME complaints
- clean up post-build target
2007-07-06 01:35:57 +00:00
kurt
ff364b1c3b - actually enable version scripts on libjvm which fixes a symbol conflict
with recent xulrunner which is used by eclipse's internal swt-browser.
(patch missed in last update)
- adjust url to update 11 download which has been move to the archive.
2007-07-01 20:34:02 +00:00
ian
614ac9a90a Better url in FETCH_MANUALLY, ok kurt@ 2007-06-28 03:20:20 +00:00
kurt
450f231ad4 - update port to be based of Sun's 1.5.0 Update 11 src which includes many
bug fixes since the initial release of the 1.5 jdk. I'm sure some of the
fixes are security related but I wasn't able to find a concise list. All
the bugs fixes listed here from update 11 and lower should be fixed by
this update: http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_11
- NOTE: License change: used to be SCSL, now is JRL (Java Research
License). Still no packages with this license but at least we get the bug
fixes and security fixes now: https://tiger.dev.java.net/
- enable version scripts on libjvm which fixes a symbol conflict with
recent xulrunner which is used by eclipse's internal swt-browser.
2007-06-27 21:51:09 +00:00
kurt
7083038c36 fix bug in the filtering of corrupt environment vars 2007-05-01 02:05:46 +00:00
kurt
3cb2b7ac3b - work-around libpthread limitations in javaForkAndExec() by adjusting the
child process to not set file descriptors back to blocking when closing
  them. This fixes the netbeans build failure since a libpthread fix is not
  evident.
- update the North America time zone file to account for the tz changes
  (from ian@)
- use X11BASE
- SHARED_ONLY=Yes
2007-04-13 00:29:48 +00:00
kurt
3a2afa990f - fix the build for good on systems with >= 4G memory by limiting
the jdk's view of physical memory to datasize rlimit max
- remove and adjust old memory adjustments for OpenBSD
- shrink overhead on amd64 making more memory available for use
ok wilfried@
2007-04-08 12:43:06 +00:00
espie
470294650d base64 distinfo with SHA256 2007-04-05 15:37:40 +00:00
kurt
d26de13317 install javaws man page for amd64 too. fixes a packaging problem on amd64
found by wilfried@. okay wilfried@
2007-02-04 15:57:06 +00:00
kurt
9203a7311b - fix mistake that broke OOo build. the jdk needs to search ${PREFIX}/lib
by default.
- regen plist and move javaws man page to no-no_web PFRAG files where it
belongs.
2007-02-01 21:00:52 +00:00
kurt
a5d5e8fec5 distfile rerolled with milestone bumped. 2007-01-24 21:05:10 +00:00
kurt
20ef89247d Update to patchset 4 which includes a security fix for CVE-2007-0243
Buffer overflow allows applets to gain privileges via a GIF image with a
block with a 0 width field, which triggers memory corruption and possible
execution of arbitrary code.

Also included in patchset 4 are corrections for building the jdk on amd64
systems with 4G+ memory and the inclusion of the mozilla headers needed to
build the plugin without an external dependency on the old mozilla suite.
2007-01-23 14:14:37 +00:00
steven
b6d439743e use BASE_PKGPATH instead of homegrown variable, no bumps needed 2006-12-14 09:07:55 +00:00
steven
330f0193b5 take flavors into account in @pkgpath
ok espie@
2006-11-24 21:30:13 +00:00
kurt
d3fbad8b83 new MULTI_PACKAGES 2006-11-22 19:42:54 +00:00
kurt
3ebfead8e1 - attempt to fully send/receive packets in socketTransport.c by handling
EINTR and continue to send/receive the rest of the packet. corrects:
"ERROR: transport error 202: recv error: Interrupted system call
["transport.c",L41]" seen while debugging large projects in eclipse.
from niklas@
- Prevent problems opening RandomAccessFile with "rws" as the mode by
defining O_SYNC and O_DSYNC if they aren't defined.  In particular we
were previously defining O_SYNC bogusly to the same value as O_EXCL.
from FreeBSD
- close two more pthread_addr leaks
2006-11-17 20:19:33 +00:00
steven
87a90c296d USE_X11 2006-11-11 21:04:27 +00:00
kurt
545e82d800 - remove disabling J malloc option now that pthreads stacks are mmap'ed
this is no longer a concern upon forking.
- use closefrom(2) after forking instead of less efficient heursitics
approach.
2006-10-03 13:36:28 +00:00
kurt
0f8014e857 - Fix jdk build when timezone is GMT+0. Reported by Schöberle Dániel
<Schoeberle.Daniel at aamtech.hu>
- Fix short Thread.sleep() issue. Reported by Mr David SH Rosenthal
<dshr at stanford.edu>
2006-09-26 17:48:19 +00:00
kurt
e8329de2c0 Prevent the jvm from crashing when it encounters a font with an
illegal glyph name (like in x11/freefonts). Problem reported by Jan Zach.
2006-07-28 13:18:45 +00:00
kurt
aa74a6e1f4 - speed up builds on mp systems by using parallel compiles (one per cpu)
- increase default thread stack size on amd64
- filter out corrupt env vars with no name
- Properly deal with error cases in transferTo0(). Corrects non-blocking
IO case.
All but first one from FreeBSD
2006-07-10 13:17:39 +00:00
steven
4db61bb851 add client vm files in jre package. this unbreaks the browser plugin.
ok kurt@
2006-07-01 09:06:00 +00:00
kurt
4b5dcd0f44 - use /dev/srandom in NativePRNG replacing /dev/random.
/dev/random use noticed by Sigfred Håversen.
2006-06-20 02:02:48 +00:00
kurt
7209ade622 - fix reoccurance of KOI8_U charset NPE's for ALT_BOOTSTRAP (default).
since KOI8_U doesn't come with the Solaris class files, make sure it is
built in the recompile stage. Reported by Matt Jibson.
- add a useable cacerts file and use that instead of current empty one.
charset portions tested by and okay ian@.
2006-06-06 03:02:42 +00:00
steven
dbd3e01ddf add a missing man page, update-plist, bump PKGNAME. okay kurt@ 2006-05-26 17:32:21 +00:00
ian
a5b4364f7f Remove extra line committed in error, unbreaks JRE packaging 2006-05-16 03:39:41 +00:00
ian
31e312eb64 Enable JDK/JRE build on amd64. Switch to bootstrapping using Kaffe + Solaris JDK binary,
obviating need to build with JDK Linux compat (which was i386 only anyway).
Add native_bootstrap pseudo-flavor so you can build with a native Sun JDK if you
have one (tested by building this way using JDK built with default Kaffe-based build).
Work by kurt@, tested by him on i386 and me on amd64. OK kurt@.
2006-05-15 18:11:22 +00:00
ian
7b0be3a97d fix typo; 'ok kurt@; no pkg bump needed' 2006-04-28 22:57:11 +00:00
kurt
d5dbd1d194 - add a new pseudo flavor called alt_bootstrap which uses kaffe, Xalan and
solaris class files to bootstrap the jdk build. this avoids the need for
devel/jdk/1.4 to bootstrap and will provide a way to bootstrap the jdk on
amd64 and sparc64 when kaffe runs there.
- fix a keyboard entry problem when numlock is on
- fixup socket option code similar to FreeBSD & NetBSD
2006-04-28 20:56:15 +00:00
kurt
d20d578fd8 Update to patchset 3. Patchset 3 includes several bug fixes that improve
compatiabily and stability which came from work sponsored by the FreeBSD
Foundation.
2006-04-11 00:45:41 +00:00
kurt
1fe7cb2239 stablity fix for os_sleep. patchset 2 introduced a buggy version of
os_sleep based on nanosleep(). revert to patchset 1 version based on
poll(). fixes issues with large sleep values. okay pvalchev@
2006-02-22 22:52:44 +00:00
david
9e2fccfe54 typo in DESCR; bump PKGNAME; ok kurt@ 2006-02-16 05:46:21 +00:00
kurt
e7551ce9e3 jlong isn't defined in all cases java_md.h is included. how did this
slip by me?
2006-01-23 05:49:50 +00:00
kurt
88736cd656 - fix a series of datatype assumptions in i486/hotspot (intptr_t != int
on OpenBSD)
- fix implicit declaration's by adding headers or prototypes as needed.
2006-01-22 22:46:30 +00:00
kurt
bf8f82ebbc Disable Junk malloc option for java. java mprotects portions of the thread
stack. When forking, the child process deallocates the threads stacks it
inheritated from the parent. The junk malloc option then attempts to write
to the deallocated memory and segfaults because its not all writable. The
child proc stays in a SIGSEGV loop when this happens.  okay ian@
2006-01-02 03:48:40 +00:00
kurt
56509860b6 - fix build for systems with > 2G physical memory (signed int value was
assigned to uint64).
- set some fall-back max-memory values to reasonable values for OpenBSD.
Problem reported and update tested by Douglas Santos.
2005-11-30 02:21:32 +00:00
kurt
a174f4d822 - add plugin and javaws support. disable with no_web flavor.
Demos all work but deadlocking the vm under load has been
noted. Both MToolkit and XToolkit work ok so far.
- fix segfault with MToolkit where processTree was called
with to==NULL.
- fix NPE in plugin paintGrayBox where g==null
- fix javaws startup (from FreeBSD)
- forgot to mention in last commit: Forte Peformance Tools
collector is no longer disabled.
2005-11-23 19:39:13 +00:00
kurt
d616aeb0d0 forgot to bump pkgname in last commit 2005-11-22 14:48:07 +00:00
kurt
7f5e5f0bdf - update to patchset 2. mostly removing patches now included in patchset.
- link awt_robot with -pthread
- disable a runtime Motif version check that incorrectly thought we were
using Motif 1.2 based on Xm major version. problem reported by Laurence
Tratt
- plugin and webstart comming later
2005-11-22 14:43:05 +00:00
espie
0031945c6e Fix a buglet in bsd.port.mk where the PSEUDO_FLAVORS get encoded into
the FULLPKGPATH, thus providing changes to packing-lists which shouldn't
happen, and making update more difficult.

Accordingly, bump all pkgnames with PSEUDO_FLAVORS, and provide an
update @pkgpath for the bug for most of them (left out the ones with 3
or 4 pseudo flavors for space constraints...)
2005-09-16 09:51:25 +00:00
kurt
afc1343d11 Add PREFIX/lib to the default java.library.path. Noticed, testing and
okay by ian@
2005-08-09 04:38:01 +00:00
kurt
7d765564c2 - Ensure that when files are extracted that their fully resolved path lies
in or below the current working directory.  Fixes a security problem with
  jar. From FreeBSD.
- Fix timezone issues. Allow /etc/localtime to be a symlink and fix the case
  where /etc/localtime points to a tz that the jdk doesn't know about.
- timezone is a function on BSD, not a variable, so move the timezone
  == 0 check to the non-BSD section. from millert@
2005-06-03 20:36:07 +00:00
espie
66b1717b38 tsk, tsk, distibution 2005-05-27 09:34:00 +00:00
kurt
599fca9561 initial import of 1.5 2005-05-25 17:27:53 +00:00