Commit Graph

195 Commits

Author SHA1 Message Date
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
dacf31c5b4 make this work with motif > 2.1 too 2007-07-18 17:53:07 +00:00
kurt
f71ecfc678 regen patches 2007-07-18 15:09:52 +00:00
kurt
515f2a2739 regen patches 2007-07-18 14:19:27 +00:00
kurt
d46a2a67a5 - remove patch that should have been removed with last commit 2007-07-13 23:25:30 +00:00
kurt
6b86e4383e - update to build 15
- switch to the JRL licensed src. why? because it will allow me to complete
the port. OpenJDK/GPLv2 src isn't complete and the parts that we don't have
are only released in binary form with a defend and indemnify clause. When
all of the jdk is GPLv2 I will switch back to OpenJDK/GPLv2 src.
- copy the Linux src files for the rest of the jdk so i can begin to patch
them. One src file is based on solaris code since that suits us better as
a starting point.
2007-07-13 22:52:35 +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
01ba206cd1 expand BUILD_DEPENDS to allow building ports with jdk-1.5.0 update 11 2007-06-27 21:33:33 +00:00
steven
05565e86a6 linux-getcwd -> linux-__getcwd after the change in linux compat.
fixes build of jdk 1.4 with systrace.

"makes sense" sturm@
2007-06-06 04:33:33 +00:00
kurt
0d2c9182de . update to b12 sources (just building hotspot)
. adjust SIGRTMIN SIGRTMAX defines - from Jung-uk Kim <jkim@freebsd.org>
. use SIGSEGV || SIGBUS in amd64 signal handling code
2007-05-09 15:48:31 +00:00
kurt
a6b2a31df6 Initial import of jdk 1.7 (a.k.a. OpenJDK 7) work in progress. So far Sun
has released the hotspot portion of 1.7 under GPLv2. j2se and deploy
(plugin & webstart) will come later. No packages yet since j2se is copied
in from 1.5.

Note: hotspot for BSD in previous versions of the jdk were based on a
mixture of Solaris code and Linux code (for amd64). In this version I have
selected Linux as the base and only ported of small parts of the Solaris
code as needed. Using Linux code as the base has significantly reduced the
code divergence for BSD support and should make maintaining the port
easier.

okay ian@, go for it espie@
2007-05-08 17:06:18 +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
064d60b115 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.
2007-01-31 18:14:36 +00:00
kurt
10c96fb157 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.
2007-01-28 04:45:04 +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
kurt
80d3cd2c49 Change the default package for 1.3+ and 1.4+ ports to devel/jdk/1.5 on
i386. This fixed a 'FORCE_UPDATE=yes make install' issue noticed by brad@
and further encourages users to use the 1.5 jdk which works the best.
2007-01-16 02:47:14 +00:00
steven
b6d439743e use BASE_PKGPATH instead of homegrown variable, no bumps needed 2006-12-14 09:07:55 +00:00
kurt
f6da9a94ff On i386 all source built java ports will use the 1.5 jdk to build. Runtime
compatibility is preserved through the use of the javac -source and
-target arguments. These arguments are now required for any new source
built java ports.
2006-11-28 14:28:25 +00:00
steven
4db7fc3254 take flavors into account in @pkgpath 2006-11-24 21:35:29 +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
aa6ff6836d new MULTI_PACKAGES 2006-11-22 14:58:03 +00:00
espie
23011e3982 tweak for new MULTI_PACKAGES 2006-11-20 19:28:18 +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
kurt
1ec8b79489 fix ownership. okay steven@ 2006-11-16 15:06:18 +00:00
kurt
7a8823ecec use system libz instead of internal libz 2006-11-15 17:27:40 +00:00
steven
87a90c296d USE_X11 2006-11-11 21:04:27 +00:00
kurt
0f22d97d61 adjust depends so that 1.3+, 1.4 & 1.4+ level ports must use libz free
jdk/1.4 from now on.
2006-11-01 20:34:24 +00:00
kurt
7df1fb7f89 Back-port some jdk/1.5 changes:
- use system libz instead of internal one. internal libz conflicts with
system libz, for example apps using JNI & libz will fail (OOo).
- enable parallel hotspot compiles on mp systems (one per cpu). no pthreads
involved so its safe to do here.
- socket option corrections. may help Active MQ work.
2006-10-31 19:48:12 +00:00
sturm
6e3e04ec3b switch to fedora_base and adapt systrace.policy files accordingly 2006-10-19 09:39:58 +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
e7d3816ed9 expand RUN_DEPENDS to include kaffe and jamvm where appropriate so if
someone wants to run a java port with them they don't need to first build
one of Sun's jdks.  okay nikolay@
2006-08-05 16:38:20 +00:00
espie
057dd9afe4 new libspecs 2006-08-01 22:55:52 +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
15f1fe1f7e indent defines too so that this is more readable. 'looks sane' nikolay@ 2006-07-28 13:06:24 +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
kurt
bdb052bb9e add amd64 support. tested & ok ian@ 2006-05-28 00:14:39 +00:00