Commit graph

47 commits

Author SHA1 Message Date
jmmv
da5adc365e Convert the Java related packages to use the alternatives system. To do
this, we only need some simple logic in java-env.mk to automatically
generate an ALTERNATIVES file for us.

There are two exceptions, though: fastjar and jikes (pointed out by tv@),
which do not use this file; they have to be handled manually.

Bump PKGREVISION for all affected packages.

While doing this, remove the java-wrapper package, obsoleted by the new
functionality provided by pkg_alternatives.
2005-01-30 23:18:37 +00:00
jschauma
ac9381558a Update sun-j*13 to version 1.0.15.
Changes according to http://java.sun.com/j2se/1.3/ReleaseNotes.html

Incorrect clsid is registered in windows registry for jre 1.3.1_14 release

NullPointerException with no stack trace
Focus disappears after deiconifying frame
Runtime exec hangs if ulimit nofiles is unlimite
CTW assertion at srcsharevmoptolock.cpp, 379
A bug of javax.swing.JTextField
GregorianCalendar uses wrong ERA value in non-lenient mode
Application crashes using :XX+UseTLE and -server on Windows
REGRESSION: 4789981 fails for 1.3.1_13-b01 on Solaris for Mozilla 1.0.1
java.lang.IllegalArgumentException: Signal already used by VM: SIGHUP
JCK: QuickSilver api test fails with -Xprof flag
2005-01-25 18:06:44 +00:00
jschauma
da2058677c Update to version 1.3.1_13.
Addresses security issue
  http://sunsolve.sun.com/search/document.do?assetkey=1-26-57591-1

Changes since _12 according to
  http://java.sun.com/j2se/1.3/ReleaseNotes.html

Can't display localized exception messages of the native method correctly
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
2004-11-23 16:56:33 +00:00
tv
85570525d2 Fix the "jre" symlink in the various Sun-based JDK packages; it was wrong
for quite some time after the ${PREFIX}/java migration.  Since pkgsrc now
has proper symlink handling in pkg_install, this can now be a simple
PLIST entry rather than an @exec/@unexec pair.
2004-10-11 14:07:36 +00:00
tv
136f803cfe Expand the JAVA_WRAPPERS definitions for the sun-j{re,dk}* packages.
This adds many commonly used tools to $PREFIX/bin, such as keytool,
rmiregistry, rmic, idlj, etc.
2004-10-05 22:09:23 +00:00
wiz
f1d962502c Unused. 2004-07-02 22:13:09 +00:00
wiz
c05bb42d1e Add appropriate CPPFLAGS and PASSTHRU_DIRS variables so that packages
depending on this one can find the header files. Noted broken by snj.
2004-07-02 12:51:57 +00:00
jschauma
0f7bb0d5a1 Update Sun's JDK version 1.3 to latest release 1.3.1_12, making this
sun-jre13-1.0.12 and sun-jdk13-1.0.12 respectively.  Patches provided by
Hauke Fath in PR pkg/25870 and PR pkg/25871.  This update done during the
freeze as Sun removes the older distfiles when they release a new version.

Changes since latest version, according to
http://java.sun.com/j2se/1.3/ReleaseNotes.html:

- stack yellow zone not re-enabled after a StackOverflowError
- Gregorian calendar gives a java.lang.Illegal ArgumentException only on 12-31-00
- [server] stack yellow zone not re-enabled after a StackOverflowError
- compilation results in stack overflow while unrolling loop
- rmic uses AWT ?!
- -Xcheck:jni uses oop directly in _thread_in_native state
- Loop related Hotspot crash
- internal Error occurs during offet conversion of byte code in rewrite/relocate
- [1.3.1_09]JVM crashes when big number is specified in fillRect()
- Japanese characters not converting correctly from Codepage 930 to Codepage 943
- JVM crash with error "Fatal: null exception in compiled code"
- Client blocks on getInputStream even after server completes its response
- Error ID: e:\ws\1.3.1\hotspot\src\share \vm\ci\ciInstanceKlass.cpp, 121
- 5 JCK tests failing with -Xcheck:jni flag
2004-06-08 14:52:38 +00:00
jmmv
5443ed1bac Convert sun-{jre,jdk}13 to use java-env.mk. This implies that the
package now install several wrappers under ${PREFIX}/bin to run the
binaries installed under ${JAVA_HOME}/bin easily.  While here, drop
the direct modification of PREFIX.  No revision bump since these
packages were updated just some minutes ago.
2004-05-22 21:22:59 +00:00
jmmv
04459b0fe8 Update sun-{jre,jdk}13 to 1.3.1_11. Bugs fixed since 1.3.1_10:
- GetCurrentThreadCpuTime returns wrong information
- infinite loop in sun.net.www.http. KeepAliveStream [due to skip()]
- fatal error handler enhancements
- RFE: DNS-related functions in PAC file support do not support foward DNS
  lookups
- Reading entries from certain zipped files causes JVM death (native exception)
- Missing encoding conversion in PlainSocketImpl.socketCreate
- in with J2se1.3 in multithread situation, socket reads data unexpectly
- REGRESSION 1.4: PropertyDescriptors do not find the most specific methods
- C2 crash in adjust_check
- Null Pointer in creating Window
- Signature timestamps in signed jar files break forward compatibility
- java.sql.TimeStamp results in wrong time for some timezones when dates are
  in BC
- (thread) Thread.interrupt() is not executed after first try
- REGRESSION:Ctor IndexedPropertyDescriptor works incorrectly
- Netscape hang situation
2004-05-22 20:20:06 +00:00
xtraeme
43f76bf354 bl3ify 2004-05-05 17:20:29 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jschauma
bf4808d0ad Update sun-j*13 to latest version 1.3.1_10. Bugs fixed since 1.3.1_09
according to http://java.sun.com/j2se/1.3/ReleaseNotes.html:

- J# Compiler silently generates bytecode that exceeds VM limits.
- BigDecimal String constructor throws StringIndexOutOfBounds.
- URL constructor throws java.lang.StringIndexOutOfBoundsException
- VM crashes if a run method throws an expection in a finally block
- JVM crash in java.net.ServerSocket.implAccept
- -Xcheck:jni overly strict in JNI method IsSameObject
- JVM hangs up with C++ std lib because of mutex deadlock in 1.3.1_03/1.4.0_0X
- jvm crashes without any error message
- java.util.Date(int,int,int,int,int,int) is unable to give hour information
- 1.3.1_09: JVM process size grows after every JVMPI heap dump request.
2004-01-02 17:07:21 +00:00
jschauma
0dcde9d835 Same as for 1.4:
Don't duplicate the FETCH_MESSAGE, move it to Makefile.common instead.
 Found a URL for older distfiles, so make that known.
2004-01-02 16:56:01 +00:00
jschauma
8f03bdf914 Update Sun's JRE and JDK 1.3.1 to latest 1.3.1_09 (or, as we call it,
sun-jre13-1.0.9 and sun-jdk13-1.0.9).  A complete list of changes is
available at http://java.sun.com/j2se/1.3/ReleaseNotes.html
Bugs fixed in this release:

readObject in java.net.URL fails to restore transient fields
java_g -version throws Segmentation Fault in Linux
Solaris/Intel: Synch test hangs trying to get to compiled code safepoint
LINUX: process reaping is broken
BigInteger(String, int) does not fail on multiple minus signs
JCK1.4, api/java_net/... tests hang in "-Xprof -verbose -verify" mode, linux
JVMPI_MONITOR_WAITED value returned is wrong
Java HotSpot(TM) Client VM warning: Attempt to allocate stack guard pages failed
JDK Downgrade Install: Java Plugin 1.4 Fatal Error
incorrect localization for javac diagnostic in J2SE 1.3.1
JDK 1.3.1_07/1.4.1_02 - New ORBs create new threads forever
1.3.1_03] Infinite loop seems to happen in phaseX.cpp with -server
JNI GetArrayElements fails with zero length arrays.
1.3.1 Escalation: JFileChooser: Access key Alt+o doesn't work for "ok" button
1.3.1 Escalation: JFileChooser:  Key not working
1.3.1: Fix CDRInputStream.java optimization code to avoid chunk overflow errors
Right borders missing in JMenuItem and JScrollbar in 1.3.1_0x
behaviour of method changes after dynamic compilation occurs
JVM crashes w/ SEGV when trying to execute Java code > 64 kB
JVM crash while reading FVD described class
JVM crashes trying to draw very small Arc2D pie fraction when antialiasing is on
Backward compatibility - jni apps need to dereference bogus returned reference
[1.3.1_04] JVM Crashes
Bottom border missing in JComboBox.
Applies to 1.3.1 only - ServerSocket's accept() throws unexpected SocketException
2003-08-12 16:37:04 +00:00
tron
4535d356ca Correct distribution file checksum. 2003-05-03 18:26:58 +00:00
abs
7fd76d35cd Update sun-jdk13 and sun-jre13 to sun-jdk13-1.0.8 and sun-jre13-1.0.8
Changes since 13-1.0.7:

  - A de-serialized GregorianCalendar did not correctly handle the
    Calendar.set(int field, int value) method.
  - Java Plug-in Security Warning dialog did not show buttons.
  - java.beans.Introspector returned results depending on the order
    that classes were loaded by the Virtual Machine.
  - A help viewer search would sometimes yield NullPointerExceptions,
    and search hit highlighting was unstable.
  - The "~" character was not properly displayed in an HTML file
    using the SJIS character set.
  - There was a system crash generating a Fatal: unhandled ci exception.
  - Plugin regional locale parameters were incorrectly displayed.
  - The VM crashed while running a large application.
  - An application ignored the nohup(1) command, caught and processed
    the SIGHUP signal, resulting in application exit with a return code
    of 129.
  - In some cases, the text field caret did not return when window
    focus was moved and then restored.
  - SIGSEGV during C2 compilation of a method.
  - System crashed with hotspot errors.
  - Plug-in crashed when the ethernet cable was unplugged.
  - Signed applet failed only on JRE 1.3.1_06.
  - System crashed when attempting to widen the range check of an IF
    node during compilation.
  - The background color of a Menu was different from that of the
    MenuBar for classic style.
  - Application crashed due to problems in JVM/plug-in/Mozilla.
  - Serviceability is improved by exposing VM version and flags to
    Serviceability Agent.
  - Double primitive lost value when using -client.
  - White background persisted when applet exited to a different web
    page.
  - An applet could access a local resource without permission on
    IE60+JRE1.3.1_06.
2003-05-02 08:42:05 +00:00
jlam
30d00c3cf8 Bump PKGREVISIONs for:
lang/blackdown-jdk13
	lang/jdk
	lang/sun-jdk13
	lang/sun-jdk14

Create a symlink from ${JAVA_HOME} to ${JAVA_HOME}/jre so that the proper
JDK hierarchy is found.  This addresses PR 20269 by Todd Vierling
<tv at pobox dot com>.  This makes misc/openoffice-linux find the Java2
installation again.
2003-02-11 04:23:14 +00:00
wiz
fd83bf2d0a And a semi-colon, too. 2003-02-09 16:02:11 +00:00
wiz
b6cc7b7bb5 Add line continuation for last. 2003-02-09 16:00:08 +00:00
wiz
8d8efc29c8 Improve manual download-instructions a bit. 2003-02-09 14:42:08 +00:00
jlam
6c24b78518 Update sun-jre13 and sun-jdk13 to 1.0.7. These are bug fix releases from
Sun for JDK 1.3.1.  Pkgsrc changes include noting that some of the installed
files are config files and using bsd.pkg.install.mk to handle the file
copying and directory handling, and using a more scalable method to remove
files shared between the JRE and JDK during the JDK installation.

This closes PR 18942 by Urban Boquist <urban at boquist.net>.
2003-01-29 11:10:19 +00:00
jlam
f3a5c9ced2 Default to a build dependency as usually packages that need Java will only
need a full dependency on the JRE, not the JDK.
2002-10-13 08:19:54 +00:00
jlam
5c4953978d Add buildlink2.mk files for use by other package Makefiles. Each JVM
buildlink2.mk file creates a public variable "BUILDLINK_JAVA_PREFIX.<pkg>"
that may be used as the JAVA_HOME for that package.
2002-10-13 07:51:34 +00:00
jlam
ff8f367197 * Use buildlink2.
* Minor improvements to the package Makefiles.
* Correct the PLIST.
2002-10-13 07:45:30 +00:00
jlam
b24f715c50 Cosmetic changes to MESSAGE files for JVMs for readability. 2002-10-13 07:29:32 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
schmonz
d27772cc04 Format paragraphs. Normalize indentation. Apostrophize. Spell "your"
using only 7-bit ASCII.
2002-07-28 14:53:24 +00:00
jschauma
5bdab19434 We allow several JDKs/JREs to coexist, installing them in separate
subdirectories under ${PREFIX}/java/ -- Change IV of many.

Thus install this JDK into ${PREFIX}/java/sun-1.3.1 and remove
CONFLICTS with other JDKs/JREs.  Rename package from sun-jdk-1.3.1.0.2
to sun-jdk13-1.0.2 (avoids conflict with sun-jdk14).

Include lang/sun-jre13/Makefile.common for shared info.

Add informative MESSAGE and finally bump PKGREVISION.
2002-07-27 22:01:33 +00:00
schmonz
bcc48e8a45 Register lang/sun{jre,jdk}13 as stub packages on Darwin, pointing
to the included 1.3.1 JDK. Teach USE_JAVA about this. Approved by
jwise and agc.
2002-06-30 15:01:47 +00:00
tron
9234c060b2 Update "sun-jre13" and "sun-jdk13" packages to version 1.3.1.0.2. The
update fixes an bug in the Bytecode Verifier which may be exploited by an
untrusted applet to escalate privileges.
2002-03-19 16:33:58 +00:00
abs
c90ffd0d11 If we find ourself on Linux-*-i686, deal with it. 2002-03-01 01:58:35 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
tron
a140a6e910 Don't overwrite "java/bin/java" which is installed by the "sun-jre"
package.
2001-10-15 16:05:00 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
c5b06f0986 Update sun-jre and sun-jdk to 1.3.1.0.1, which represents the version
1.3.1_01 build of the Sun JRE and JDK for Linux.  No list of changes was
provided, but this has been tested to work with Konqueror to correctly
display the Yahoo! Bridge game applet.
2001-09-22 04:12:37 +00:00
abs
159880625f Install ${PREFIX}/java/bin/java in jre rather than jdk. Now JAVA_HOME can
be set to ${PREFIX}/java and runtime jre and buildtime jdk both work
2001-09-14 10:19:10 +00:00
skrll
50458a545b Update to 1.3.1
Changes can be viewed at http://java.sun.com/j2se/1.3/relnotes.html
2001-06-12 16:31:45 +00:00
abs
a24a657f7b Skip the patches and suse_x11 on Linux 2001-06-11 21:58:03 +00:00
jlam
dc6eadbf21 Use ${XARGS} instead of invoking xargs directly. 2001-05-19 03:56:23 +00:00
abs
74dbc5ed42 Enable for Linux-*-i386 2001-05-17 15:03:00 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
skrll
8173324c3c Update sun-jre13 and sun-jdk13 to 1.3.0.2.
From Martti Kuparinen <martti.kuparinen@iki.fi> in pkg/12522.

This still doesn't work with konqueror, but they did warn me...
2001-04-03 13:37:40 +00:00
tv
51502b4378 Make the Sun JDK/JRE 1.3 noninteractive for extract, and add license file
to "jdk13-license" with corresponding LICENSE attribute.  Closes pkg/12207
(and a past thread from tech-pkg).
2001-03-16 14:32:36 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
tv
9c34a49cdd Packages for the Sun [Linux, for now] port of the JDK/JRE 1.3.0. 2000-11-18 00:36:55 +00:00