Subject: pkg/20535: Sun's JDK 1.4.1 is now up to rev _02.
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@vash.cel.plethora.net>
List: netbsd-bugs
Date: 03/01/2003 02:56:04
>Number:         20535
>Category:       pkg
>Synopsis:       Sun's JDK has been updated
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 01 00:57:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     seebs
>Release:        NetBSD 1.6P
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 1.6P NetBSD 1.6P (VASH) #1: Fri Feb 28 22:14:13 CST 2003 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	Sun's JDK for J2SE has been updated to 1.4.1_02.  This means that it
	may be hard to find _01 - but it also probably fixes a couple hundred
	bugs.
>How-To-Repeat:
	Check Sun's downloads page.
>Fix:
Here's the patches I made, two sets; one for sun-jdk14, one for sun-jre14.
I've tested this as far as "install appears to succeed, and I can compile
and run java apps".  No idea whether it fixes anything.

sun-jdk14:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sun-jdk14/Makefile,v
retrieving revision 1.6
diff -c -r1.6 Makefile
*** Makefile	2003/02/13 01:19:07	1.6
--- Makefile	2003/03/01 08:53:43
***************
*** 1,13 ****
  # $NetBSD: Makefile,v 1.6 2003/02/13 01:19:07 hubertf Exp $
  
! DISTNAME=	j2sdk-1_4_1_01-linux-i586
! PKGNAME=	sun-jdk14-1.0.1
! WRKSRC=		${WRKDIR}/j2sdk1.4.1_01
  MASTER_SITES=	# empty
  
  COMMENT=	Sun's Java(tm) 2 SDK, Standard Edition 1.4.1
  
! DEPENDS=	sun-jre14>=1.0.1:../../lang/sun-jre14
  
  # Remove parts that are in common with the JRE
  #
--- 1,13 ----
  # $NetBSD: Makefile,v 1.6 2003/02/13 01:19:07 hubertf Exp $
  
! DISTNAME=	j2sdk-1_4_1_02-linux-i586
! PKGNAME=	sun-jdk14-1.0.2
! WRKSRC=		${WRKDIR}/j2sdk1.4.1_02
  MASTER_SITES=	# empty
  
  COMMENT=	Sun's Java(tm) 2 SDK, Standard Edition 1.4.1
  
! DEPENDS=	sun-jre14>=1.0.2:../../lang/sun-jre14
  
  # Remove parts that are in common with the JRE
  #
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sun-jdk14/distinfo,v
retrieving revision 1.2
diff -c -r1.2 distinfo
*** distinfo	2003/01/29 11:13:29	1.2
--- distinfo	2003/03/01 08:53:44
***************
*** 1,4 ****
  $NetBSD: distinfo,v 1.2 2003/01/29 11:13:29 jlam Exp $
  
! SHA1 (j2sdk-1_4_1_01-linux-i586.bin) = 24afb3c549071db467697384189784d262f1f574
! Size (j2sdk-1_4_1_01-linux-i586.bin) = 42129700 bytes
--- 1,4 ----
  $NetBSD: distinfo,v 1.2 2003/01/29 11:13:29 jlam Exp $
  
! SHA1 (j2sdk-1_4_1_02-linux-i586.bin) = 20062e03479ed5935d3193ffc0e0d7067b0f2326
! Size (j2sdk-1_4_1_02-linux-i586.bin) = 42250657 bytes


sun-jre14:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sun-jre14/Makefile,v
retrieving revision 1.5
diff -c -r1.5 Makefile
*** Makefile	2003/02/13 01:22:06	1.5
--- Makefile	2003/03/01 08:53:47
***************
*** 1,8 ****
  # $NetBSD: Makefile,v 1.5 2003/02/13 01:22:06 hubertf Exp $
  
! DISTNAME=	j2re-1_4_1_01-linux-i586
! PKGNAME=	sun-jre14-1.0.1
! WRKSRC=		${WRKDIR}/j2re1.4.1_01
  MASTER_SITES=	# empty
  
  COMMENT=	Sun's Java(tm) 2 Runtime Environment 1.4.1
--- 1,8 ----
  # $NetBSD: Makefile,v 1.5 2003/02/13 01:22:06 hubertf Exp $
  
! DISTNAME=	j2re-1_4_1_02-linux-i586
! PKGNAME=	sun-jre14-1.0.2
! WRKSRC=		${WRKDIR}/j2re1.4.1_02
  MASTER_SITES=	# empty
  
  COMMENT=	Sun's Java(tm) 2 Runtime Environment 1.4.1
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sun-jre14/PLIST,v
retrieving revision 1.5
diff -c -r1.5 PLIST
*** PLIST	2003/01/29 11:13:30	1.5
--- PLIST	2003/03/01 08:53:48
***************
*** 20,26 ****
  bin/rmiregistry
  bin/servertool
  bin/tnameserv
! javaws-1_2_0_01-linux-i586-i.zip
  lib/audio/soundbank.gm
  lib/charsets.jar
  lib/cmm/CIEXYZ.pf
--- 20,26 ----
  bin/rmiregistry
  bin/servertool
  bin/tnameserv
! javaws-1_2_0_02-linux-i586-i.zip
  lib/audio/soundbank.gm
  lib/charsets.jar
  lib/cmm/CIEXYZ.pf
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/sun-jre14/distinfo,v
retrieving revision 1.2
diff -c -r1.2 distinfo
*** distinfo	2003/01/29 11:13:30	1.2
--- distinfo	2003/03/01 08:53:48
***************
*** 1,4 ****
  $NetBSD: distinfo,v 1.2 2003/01/29 11:13:30 jlam Exp $
  
! SHA1 (j2re-1_4_1_01-linux-i586.bin) = d65557e9be05ad551065225b967cea42d7ad04e4
! Size (j2re-1_4_1_01-linux-i586.bin) = 22839295 bytes
--- 1,4 ----
  $NetBSD: distinfo,v 1.2 2003/01/29 11:13:30 jlam Exp $
  
! Size (j2re-1_4_1_02-linux-i586.bin) = 22954988 bytes
! SHA1 (j2re-1_4_1_02-linux-i586.bin) = 019ec63626767b4a4917c4fe4f4c7e364d32ec8f
>Release-Note:
>Audit-Trail:
>Unformatted: