head	1.41;
access;
symbols
	pkgsrc-2013Q2:1.41.0.8
	pkgsrc-2013Q2-base:1.41
	pkgsrc-2012Q4:1.41.0.6
	pkgsrc-2012Q4-base:1.41
	pkgsrc-2011Q4:1.41.0.4
	pkgsrc-2011Q4-base:1.41
	pkgsrc-2011Q2:1.41.0.2
	pkgsrc-2011Q2-base:1.41
	pkgsrc-2009Q4:1.40.0.18
	pkgsrc-2009Q4-base:1.40
	pkgsrc-2009Q3:1.40.0.16
	pkgsrc-2009Q3-base:1.40
	pkgsrc-2009Q2:1.40.0.14
	pkgsrc-2009Q2-base:1.40
	pkgsrc-2009Q1:1.40.0.12
	pkgsrc-2009Q1-base:1.40
	pkgsrc-2008Q4:1.40.0.10
	pkgsrc-2008Q4-base:1.40
	pkgsrc-2008Q3:1.40.0.8
	pkgsrc-2008Q3-base:1.40
	cube-native-xorg:1.40.0.6
	cube-native-xorg-base:1.40
	pkgsrc-2008Q2:1.40.0.4
	pkgsrc-2008Q2-base:1.40
	cwrapper:1.40.0.2
	pkgsrc-2008Q1:1.39.0.2
	pkgsrc-2008Q1-base:1.39
	pkgsrc-2007Q4:1.37.0.4
	pkgsrc-2007Q4-base:1.37
	pkgsrc-2007Q3:1.37.0.2
	pkgsrc-2007Q3-base:1.37
	pkgsrc-2007Q2:1.35.0.2
	pkgsrc-2007Q2-base:1.35
	pkgsrc-2007Q1:1.34.0.2
	pkgsrc-2007Q1-base:1.34
	pkgsrc-2006Q4:1.33.0.2
	pkgsrc-2006Q4-base:1.33
	pkgsrc-2006Q3:1.31.0.2
	pkgsrc-2006Q3-base:1.31
	pkgsrc-2006Q2:1.29.0.2
	pkgsrc-2006Q2-base:1.29
	pkgsrc-2006Q1:1.27.0.4
	pkgsrc-2006Q1-base:1.27
	pkgsrc-2005Q4:1.27.0.2
	pkgsrc-2005Q4-base:1.27
	pkgsrc-2005Q3:1.26.0.2
	pkgsrc-2005Q3-base:1.26
	pkgsrc-2005Q2:1.25.0.2
	pkgsrc-2005Q2-base:1.25
	pkgsrc-2005Q1:1.23.0.4
	pkgsrc-2005Q1-base:1.23
	pkgsrc-2004Q4:1.23.0.2
	pkgsrc-2004Q4-base:1.23
	pkgsrc-2004Q3:1.22.0.2
	pkgsrc-2004Q3-base:1.22
	pkgsrc-2004Q2:1.20.0.2
	pkgsrc-2004Q2-base:1.20
	pkgsrc-2004Q1:1.17.0.2
	pkgsrc-2004Q1-base:1.17
	pkgsrc-2003Q4:1.14.0.2
	pkgsrc-2003Q4-base:1.14
	netbsd-1-6-1:1.8.0.2
	netbsd-1-6-1-base:1.8
	netbsd-1-6:1.2.0.4
	netbsd-1-6-RELEASE-base:1.2;
locks; strict;
comment	@# @;


1.41
date	2010.02.10.17.42.32;	author joerg;	state dead;
branches;
next	1.40;

1.40
date	2008.05.26.02.13.21;	author joerg;	state Exp;
branches;
next	1.39;

1.39
date	2008.01.21.01.39.02;	author tnn;	state Exp;
branches;
next	1.38;

1.38
date	2008.01.09.02.54.39;	author ghen;	state Exp;
branches;
next	1.37;

1.37
date	2007.08.22.14.03.48;	author jlam;	state Exp;
branches;
next	1.36;

1.36
date	2007.07.29.05.19.29;	author jlam;	state Exp;
branches;
next	1.35;

1.35
date	2007.04.21.20.26.13;	author rillig;	state Exp;
branches;
next	1.34;

1.34
date	2007.01.28.11.31.05;	author obache;	state Exp;
branches;
next	1.33;

1.33
date	2006.10.18.12.53.54;	author obache;	state Exp;
branches;
next	1.32;

1.32
date	2006.10.09.07.24.06;	author joerg;	state Exp;
branches;
next	1.31;

1.31
date	2006.07.20.06.52.16;	author wiz;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2006.07.18.23.27.14;	author jlam;	state Exp;
branches;
next	1.29;

1.29
date	2006.04.22.09.22.10;	author rillig;	state Exp;
branches;
next	1.28;

1.28
date	2006.04.02.23.07.06;	author jschauma;	state Exp;
branches;
next	1.27;

1.27
date	2005.12.12.14.43.25;	author joerg;	state Exp;
branches;
next	1.26;

1.26
date	2005.08.14.10.15.55;	author dillo;	state Exp;
branches;
next	1.25;

1.25
date	2005.05.10.01.51.13;	author jschauma;	state Exp;
branches;
next	1.24;

1.24
date	2005.04.11.21.46.16;	author tv;	state Exp;
branches;
next	1.23;

1.23
date	2004.10.14.14.32.32;	author jschauma;	state Exp;
branches;
next	1.22;

1.22
date	2004.07.06.11.32.49;	author abs;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	2004.07.02.14.40.21;	author jschauma;	state Exp;
branches;
next	1.20;

1.20
date	2004.06.15.12.00.09;	author abs;	state Exp;
branches;
next	1.19;

1.19
date	2004.05.22.21.32.34;	author jmmv;	state Exp;
branches;
next	1.18;

1.18
date	2004.05.05.17.20.29;	author xtraeme;	state Exp;
branches;
next	1.17;

1.17
date	2004.03.22.03.39.00;	author kristerw;	state Exp;
branches;
next	1.16;

1.16
date	2003.12.12.17.17.20;	author jschauma;	state Exp;
branches;
next	1.15;

1.15
date	2003.12.12.15.38.16;	author jschauma;	state Exp;
branches;
next	1.14;

1.14
date	2003.08.23.15.14.02;	author jschauma;	state Exp;
branches;
next	1.13;

1.13
date	2003.08.13.10.22.56;	author seb;	state Exp;
branches;
next	1.12;

1.12
date	2003.08.13.03.29.55;	author jschauma;	state Exp;
branches;
next	1.11;

1.11
date	2003.07.17.21.45.27;	author grant;	state Exp;
branches;
next	1.10;

1.10
date	2003.03.26.04.05.42;	author jschauma;	state Exp;
branches;
next	1.9;

1.9
date	2003.03.17.18.29.58;	author jschauma;	state Exp;
branches;
next	1.8;

1.8
date	2003.02.05.03.37.45;	author jlam;	state Exp;
branches;
next	1.7;

1.7
date	2003.01.29.11.13.30;	author jlam;	state Exp;
branches;
next	1.6;

1.6
date	2002.11.07.00.22.54;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2002.10.15.14.06.56;	author jschauma;	state Exp;
branches;
next	1.4;

1.4
date	2002.10.13.07.45.34;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2002.09.30.23.56.55;	author jlam;	state Exp;
branches;
next	1.2;

1.2
date	2002.07.28.11.58.48;	author schmonz;	state Exp;
branches;
next	1.1;

1.1
date	2002.07.27.22.17.45;	author jschauma;	state Exp;
branches;
next	;

1.31.2.1
date	2006.10.13.10.48.59;	author ghen;	state Exp;
branches;
next	;

1.22.2.1
date	2004.12.01.06.58.38;	author snj;	state Exp;
branches;
next	;


desc
@@


1.41
log
@Retire jdk, jdk-openjit, sun-jdk14, sun-jdk15, sun-jre14, sun-jre15.
@
text
@# $NetBSD: Makefile.common,v 1.40 2008/05/26 02:13:21 joerg Exp $

CATEGORIES=	lang java
EXTRACT_SUFX=	.bin

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://java.sun.com/
DOWNLOAD=	http://java.sun.com/j2se/1.4.2/download.html
ARCHIVE=	http://java.sun.com/products/archive/index.html

RESTRICTED=	Redistribution of repackaged binaries not permitted
NO_SRC_ON_CDROM=${RESTRICTED}
NO_SRC_ON_FTP=	${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP=	${RESTRICTED}

PKG_DESTDIR_SUPPORT=	user-destdir

EMUL_PLATFORMS=		linux-i386

.include "../../mk/bsd.prefs.mk"

EMUL_MODULES.linux=	compat locale x11

DIST_ARCH.i386=		i586
.if defined(DIST_ARCH.${EMUL_ARCH})
DIST_ARCH=		${DIST_ARCH.${EMUL_ARCH}}
.else
DIST_ARCH=		${EMUL_ARCH}
.endif

INTERACTIVE_STAGE=	fetch
BUILD_DIRS=		# empty

JAVA_HOME=	${LOCALBASE}/java/sun-1.4
JAVA_NAME=	sun14
JAVA_UNLIMIT=	datasize

MESSAGE_SUBST+=	JAVA_HOME="${JAVA_HOME}"

FETCH_MESSAGE= 								\
	"The file ${DISTNAME}${EXTRACT_SUFX} containing:"		\
	"    ${COMMENT}"						\
	"must be fetched into:" 					\
	"    ${DISTDIR}"						\
	"from:" 							\
	"    ${DOWNLOAD}" 						\
	"    or ${ARCHIVE}" 						\
	""								\
	"Click 'Download J2SE ${SHORT}', read and accept the"		\
	"license, then choose 'Linux self-extracting file'."		\
	${END_MESSAGE}

EXTRACT_ENV+=	HOME=${WRKDIR}/fake_home

post-fetch:
	@@if [ ! -x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then	\
		${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX};	\
	fi

do-install:
	${INSTALL_PROGRAM_DIR} ${DESTDIR}${JAVA_HOME}
	cd ${WRKSRC} && pax -rwp ma . ${DESTDIR}${JAVA_HOME}

.include "../../mk/java-env.mk"
@


1.40
log
@Second round of explicit pax dependencies. As reminded by tnn@@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.39 2008/01/21 01:39:02 tnn Exp $
@


1.39
log
@- Update to sun-jdk14-2.16 and sun-jre14-2.16.
    Update 16 adds a GlobalSign root certificate.
    Update 15 is a bugfix release, see
      http://java.sun.com/j2se/1.4.2/ReleaseNotes.html#142_15
- Add the appropriate license files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.38 2008/01/09 02:54:39 ghen Exp $
d63 1
a63 1
	cd ${WRKSRC} && ${PAX} -rwp ma . ${DESTDIR}${JAVA_HOME}
@


1.38
log
@Full DESTDIR support for sun-{jre|jdk}14.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.37 2007/08/22 14:03:48 jlam Exp $
a10 1
LICENSE=	jdk13-license
@


1.37
log
@Fix error that happened during conversion to the emulator framework:
the Sun JDK/JRE packages require the "compat" Linux module, so make
that a hard requirement in EMUL_MODULES.linux.

Bump the PKGREVISION for sun-{jdk,jre}{13,14,15,6}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.36 2007/07/29 05:19:29 jlam Exp $
d18 2
d63 2
a64 2
	${INSTALL_PROGRAM_DIR} ${JAVA_HOME}
	cd ${WRKSRC} && ${PAX} -rwp ma . ${JAVA_HOME}
@


1.36
log
@* Add new emulator framework in pkgsrc/mk/emulator that handles all
  binary-only packages that require binary "emulation" on the native
  operating system.  Please see pkgsrc/mk/emulator/README for more
  details.

* Teach the plist framework to automatically use any existing
  PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.

* Convert all of the binary-only packages in pkgsrc to use the
  emulator framework.  Most of them have been tested to install and
  deinstall correctly.  This involves the following cleanup actions:

    * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
      more consistently.

    * Simplify packages by using default INSTALL and DEINSTALL scripts
      instead of custom INSTALL/DEINSTALL code.

    * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
      Packages only need to state exactly which emulations they support,
      and the framework handles any i386-on-x86_64 or sparc-on-sparc64
      uses.

    * Remove "USE_NATIVE_LINUX" from pkgsrc.  The framework will
      automatically detect when the package is installing on Linux.

  Specific changes to packages include:

    * Bump the PKGREVISIONs for all of the suse100* and suse91* packages
      due to changes in the +INSTALL/+DEINSTALL scripts used in all
      of the packages.

    * Remove pkgsrc/emulators/suse_linux, which is unused by any
      packages.

    * cad/lc -- remove custom code to create the distinfo file for
	all supported platforms; just use "emul-fetch" and "emul-distinfo"
	instead.

    * lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
	instead of ${PREFIX}/lib so that compiled programs will find
	the shared libraries.

    * mail/thunderbird-bin-nightly -- update to latest binary
	distributions for supported platforms.

    * multimedia/ns-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.

    * security/uvscan -- set LD_LIBRARY_PATH explicitly so that
	it's not necessary to install library symlinks into
	${EMULDIR}/usr/local/lib.

    * www/firefox-bin-flash -- update Linux version to 9.0.48 as the
	older version is no longer available for interactive fetch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.35 2007/04/21 20:26:13 rillig Exp $
d22 1
a22 4
EMUL_MODULES.linux=	locale x11
.if !empty(EMUL_DISTRO:Msuse-[0-9].*)
EMUL_MODULES.linux+=	compat
.endif
@


1.35
log
@Added a missing $.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.34 2007/01/28 11:31:05 obache Exp $
d18 1
a18 1
INTERACTIVE_STAGE=	fetch
d22 15
a42 15
NO_MTREE=	yes	# since we change PREFIX
LDD=		${TRUE}

ONLY_FOR_PLATFORM=	*-*-i386

.include "../../emulators/suse_linux/Makefile.application"

.if !defined(USE_NATIVE_LINUX)
.  if ${SUSE_DIR_PREFIX} == "suse91"
DEPENDS+=	suse_locale-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_locale
.  endif
DEPENDS+=	suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+=	suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif

a57 10
.if !empty(PKG_OPTIONS:Msun-jre-jce)
END_MESSAGE=								\
	""								\
	"The file jce_policy-1_4_2.zip must be fetched into:"		\
	"    ${DISTDIR}/jce_policy-1_4_2.zip"				\
	""								\
	"Under 'Other Downloads' / 'Java Cryptography Extension'"	\
	"click 'Download' and choose the .zip file."
.endif

a62 2
do-build:	# nothing

a67 1
.include "../../mk/bsd.pkg.mk"
@


1.34
log
@Add missing backslash.
Pointed out in PR 35504 by Ryo HAYASAKA.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.33 2006/10/18 12:53:54 obache Exp $
d47 1
a47 1
	"    {DISTDIR}"							\
@


1.33
log
@Change _FETCH_MESSAGE to FETCH_MESSAGE so that don't try to fetch from
MASTER_SITE_BACKUP.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.32 2006/10/09 07:24:06 joerg Exp $
d63 1
a63 1
	""
@


1.32
log
@Set HOME in the extract environment to prevent creation
of ${HOME}/.mailcap and resulting breakage of it is
not writeable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.31 2006/07/20 06:52:16 wiz Exp $
d43 1
a43 1
_FETCH_MESSAGE= 							\
d48 1
a48 1
	"from:"; 							\
@


1.31
log
@pkgsrc-users, not tech-pkg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.30 2006/07/18 23:27:14 jlam Exp $
d56 2
@


1.31.2.1
log
@Pullup ticket 1852 - requested by joerg
build fix for sun-jre14 and -jdk14

Revisions pulled up:
- pkgsrc/lang/sun-jre14/Makefile.common		1.32

   Module Name:	pkgsrc
   Committed By:	joerg
   Date:		Mon Oct  9 07:24:06 UTC 2006

   Modified Files:
	pkgsrc/lang/sun-jre14: Makefile.common

   Log Message:
   Set HOME in the extract environment to prevent creation
   of ${HOME}/.mailcap and resulting breakage of it is
   not writeable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.32 2006/10/09 07:24:06 joerg Exp $
a55 2
EXTRACT_ENV+=	HOME=${WRKDIR}/fake_home

@


1.30
log
@Convert _FETCH_MESSAGE to plain old FETCH_MESSAGE.  Remove _FETCH_MESSAGE
processing from mk/fetch/*.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.29 2006/04/22 09:22:10 rillig Exp $
d6 1
a6 1
MAINTAINER=	tech-pkg@@NetBSD.org
@


1.29
log
@Removed the superfluous "quotes" and 'quotes' from variables that don't
need them, for example RESTRICTED and SUBST_MESSAGE.*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.28 2006/04/02 23:07:06 jschauma Exp $
d44 11
a54 14
	${ECHO} "======================================================================"; \
	${ECHO} ; 							\
	${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing"; 	\
	${ECHO} " ${COMMENT} must be fetched";				\
	${ECHO} " into:"; 						\
	${ECHO} "	${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; 	\
	${ECHO} " from:"; 						\
	${ECHO} "	${DOWNLOAD}"; 					\
	${ECHO} "	or ${ARCHIVE}"; 				\
	${ECHO} ; \
	${ECHO} " Click 'Download J2SE ${SHORT}', read and accept the"; \
	${ECHO} " license, then choose 'Linux self-extracting file'."; 	\
	${ECHO} -e ${END_MESSAGE};					\
	${ECHO} "======================================================================"
d57 7
a63 4
END_MESSAGE="\n The file jce_policy-1_4_2.zip must be fetched into:\n"	\
		"    ${DISTDIR}/jce_policy-1_4_2.zip\n\n"		\
		"Under 'Other Downloads' / 'Java Cryptography Extension'\n" \
		"click 'Download' and choose the .zip file.\n"
@


1.28
log
@drop maintainership;  these have long outgrown me
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.27 2005/12/12 14:43:25 joerg Exp $
d12 1
a12 1
RESTRICTED=	"Redistribution of repackaged binaries not permitted"
@


1.27
log
@First step at reworking Linux binary packages.

Change most pkgs to depend on either
emulators/suse_linux/Makefile.application (normal pkgs) or
Makefile.common (suse91 and suse themselves) to filter out Operating
Systems without Linux ABI support. Use CPU masks to limit the pkg to
supported platforms.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.26 2005/08/14 10:15:55 dillo Exp $
d6 1
a6 1
MAINTAINER=	jschauma@@NetBSD.org
@


1.26
log
@Convert remaining instances of SUN_JRE1?_USE_JCE to options framework.
Noted by wiz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.25 2005/05/10 01:51:13 jschauma Exp $
d31 11
a41 2
ONLY_FOR_PLATFORM=	NetBSD-1.6[U-Z]*-i386 NetBSD-[2-9]*-i386
ONLY_FOR_PLATFORM+=	Linux-*-i[3-6]86
a76 9
.if ${OPSYS} == "NetBSD"
.  include "../../emulators/suse_linux/Makefile.application"
.  if ${SUSE_DIR_PREFIX} == "suse91"
DEPENDS+=	suse_locale-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_locale
.  endif
DEPENDS+=	suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+=	suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif

@


1.25
log
@add a dependency on suse_locale.
This is a light enough dependency to justify adding even if only necessary
for non-plain-english languages.
As per PR pkg/20824.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.24 2005/04/11 21:46:16 tv Exp $
d50 1
a50 1
.if !empty(SUN_JRE14_USE_JCE:M[Yy][Ee][Ss])
@


1.24
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.23 2004/10/14 14:32:32 jschauma Exp $
a27 5
.if ${OPSYS} == "NetBSD"
DEPENDS+=	suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+=	suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif

d70 5
@


1.23
log
@Tell people to fetch the JCE file if necessary.
Update sun-j*4 to 14-2.6 (aka sun-jdk/jre version 1.4.2_06).
Bugs fixed since last according to http://java.sun.com/j2se/1.4.2/ReleaseNotes.html:
- jResourceBundle holds ClassLoader references using SoftReference (not weak)
- enablev006: JVMPI_EVENT_ OBJECT_ALLOC request crashes Server VM
- Update cacerts with new VeriSign ca certs
- (so) Selector.select() throws CancelledKeyException
- Internal Error occurs during offet conversion of byte code in rewrite/relocate
- SEGV in MapLoops test
-  	REGRESSION 1.4: PropertyDescriptors do not find the most specific methods
- REGRESSION 1.5: Introspector.getBeanInfo throws NPE if a primitive type is passe d
- CMS: vtest died with tiger b26
- JVM crashes during deoptimization phase
- CMS thread/SLT deadlock problem
- Unable to create Logger during JVM shutdown
- 64bit j2sdk1.4.2_01 and j2sdk1.4.2_03 dump core with oracle 64bit jdbc oci driver
- Cannot set different runtime parameters for different 1.4.2_x versions
- "java_g -version" dies on an assertion on RH9.0 and RHEL 3.0
- 1.4.2_05: 3 JCK tests failing with -Xcheck:jni flag on Linux
- RH Enterprise 3 and Suse Ent 8 server / desktop asian font properties needed
- Clent VM crash while compiling a large JSP generated method
- NullPointerException in reading an rtf-file into a javax.swing.text.rtf.RTFEdito
- RTFEditorKit wrongly parses rtf if fontname has unicode characters
- 1.4.2_04 Server VM - C2 crash in PhaseCFG::ScheduleLate on Solaris
- bf) Direct memory cannot be unreserved while reserving thread sleeps
- Hotspot compiler changes behaviour of program
- VM segv's running jvmti/jvmpi profiler
- J2SE 1.4.2 cannot display certain awt components in Asian characters in RH2.1 AS
- exception thows from jconsole when run any GUI which works fine with jdk1.4.x
- Can not eliminate implicit null checks for method invocations based on profile
- Regression 1.4.2_06b1 4937429 failing. cacerts in javaws and security dirs diffe
- /api/javax_swing/ SwingUtilities/descriptions.html fails for JCK14a, 1.4.2_06b1
- Regression:4683022 fails for 1.4.2_06-b01
- REGRESSION: ResourceBundle.getBundle(String, Locale) is broken in jdk 1.4.2_05
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.22 2004/07/06 11:32:49 abs Exp $
a32 1
USE_BUILDLINK3=	yes
@


1.22
log
@Add SUN_JRE14_USE_JCE which pulls in Sun's Unlimited Strength
Java Cryptography Extension. Implemented as a variable rather than
as an additional package as it needs to replace JRE jar files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.21 2004/07/02 14:40:21 jschauma Exp $
d53 1
a53 1
	${ECHO} ; 							\
d56 6
@


1.22.2.1
log
@Pullup ticket 161 - Requested by Jan Schaumann
security fix for sun-jre14 and sun-jdk14

Module Name:	pkgsrc
Committed By:	tv
Date:		Tue Oct  5 22:09:23 UTC 2004

Modified Files:
	pkgsrc/lang/sun-jdk13: Makefile PLIST
	pkgsrc/lang/sun-jdk14: Makefile PLIST pkgsrc/lang/sun-jdk15: Makefile PLIST
	pkgsrc/lang/sun-jre13: Makefile PLIST
	pkgsrc/lang/sun-jre14: Makefile PLIST
	pkgsrc/lang/sun-jre15: Makefile PLIST

Log Message:
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.
---
Module Name:	pkgsrc
Committed By:	tv
Date:		Mon Oct 11 14:07:38 UTC 2004

Modified Files:
	pkgsrc/lang/blackdown-jdk13: Makefile PLIST
	pkgsrc/lang/jdk: Makefile PLIST
	pkgsrc/lang/sun-jdk13: Makefile PLIST
	pkgsrc/lang/sun-jdk14: Makefile PLIST
	pkgsrc/lang/win32-jdk: PLIST

Log Message:
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.
---
Committed By:   jschauma
Date:           Thu Oct 14 14:32:32 UTC 2004

Modified Files:
        pkgsrc/lang/sun-jdk14: Makefile distinfo
        pkgsrc/lang/sun-jre14: Makefile Makefile.common PLIST distinfo

Log Message:
Tell people to fetch the JCE file if necessary.
Update sun-j*4 to 14-2.6 (aka sun-jdk/jre version 1.4.2_06).
Bugs fixed since last according to
http://java.sun.com/j2se/1.4.2/ReleaseNotes.html:
- jResourceBundle holds ClassLoader references using SoftReference (not weak)
- enablev006: JVMPI_EVENT_ OBJECT_ALLOC request crashes Server VM
- Update cacerts with new VeriSign ca certs
- (so) Selector.select() throws CancelledKeyException
- Internal Error occurs during offet conversion of byte code in rewrite/relocate
- SEGV in MapLoops test
- REGRESSION 1.4: PropertyDescriptors do not find the most specific methods
- REGRESSION 1.5: Introspector.getBeanInfo throws NPE if a primitive type is passed
- CMS: vtest died with tiger b26
- JVM crashes during deoptimization phase
- CMS thread/SLT deadlock problem
- Unable to create Logger during JVM shutdown
- 64bit j2sdk1.4.2_01 and j2sdk1.4.2_03 dump core with oracle 64bit jdbc oci driver
- Cannot set different runtime parameters for different 1.4.2_x versions
- "java_g -version" dies on an assertion on RH9.0 and RHEL 3.0
- 1.4.2_05: 3 JCK tests failing with -Xcheck:jni flag on Linux
- RH Enterprise 3 and Suse Ent 8 server / desktop asian font properties needed
- Clent VM crash while compiling a large JSP generated method
- NullPointerException in reading an rtf-file into a javax.swing.text.rtf.RTFEdito
- RTFEditorKit wrongly parses rtf if fontname has unicode characters
- 1.4.2_04 Server VM - C2 crash in PhaseCFG::ScheduleLate on Solaris
- bf) Direct memory cannot be unreserved while reserving thread sleeps
- Hotspot compiler changes behaviour of program
- VM segv's running jvmti/jvmpi profiler
- J2SE 1.4.2 cannot display certain awt components in Asian characters in RH2.1 AS
- exception thows from jconsole when run any GUI which works fine with jdk1.4.x
- Can not eliminate implicit null checks for method invocations based on profile
- Regression 1.4.2_06b1 4937429 failing. cacerts in javaws and security dirs diffe
- /api/javax_swing/ SwingUtilities/descriptions.html fails for JCK14a, 1.4.2_06b1
- Regression:4683022 fails for 1.4.2_06-b01
- REGRESSION: ResourceBundle.getBundle(String, Locale) is broken in jdk 1.4.2_05
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.23 2004/10/14 14:32:32 jschauma Exp $
d53 1
a53 1
	${ECHO} -e ${END_MESSAGE};					\
a55 6
.if !empty(SUN_JRE14_USE_JCE:M[Yy][Ee][Ss])
END_MESSAGE="\n The file jce_policy-1_4_2.zip must be fetched into:\n"	\
		"    ${DISTDIR}/jce_policy-1_4_2.zip\n\n"		\
		"Under 'Other Downloads' / 'Java Cryptography Extension'\n" \
		"click 'Download' and choose the .zip file.\n"
.endif
@


1.21
log
@Update sun-jdk14 and sun-jre14 to latest version 1.4.2_05

Changes and bugs fixed since 1.4.2_04 according to
http://java.sun.com/j2se/1.4.2/ReleaseNotes.html:

- NullPointerException with no stack trace
- java.util.zip.ZipFile. getInputStream(name). available() returns incorrect value
- Codepage aliases for EURO codepages missing
- JCK1.4a-runtime api/java_awt/interactive /FrameStateTests.html #FrameStateTests fa
- new warning "finally cannot complete normally" should not be enabled by default
- Intermittent assertion failure running appserver 7 with mantis-beta on solsparc
- Assertion as (peek() == null()), "what's left behind is null" at parseHelper.cpp
- Introspector doesn't synchronize its caches
- (cs) Default charsets must be hardwired
- default CompilerThreadStackSize computation too small in 64bit sparc VM
- CMS/Train: soft refs not cleared as intended
- demo: FileChooserDemo: ShowPlainJFileChooser doesn't open empty dir correctly
- CMS: CL options MaxTenuringThreshold, MaxNewSize and SurvivorRatio are ignored
- (bf) Allocating direct buffers causes OutOfMemoryError
- JTable: Weird column resizing behavior in auto resize modes
- Hard coded version string in ConverterHelp*.java
- JAVA program hangs with XInitThreads call with JDK1.4, but works with JDK1.3.1
- CTW assertion at type.hpp, 349
- deep recursion into PhaseIdealLoop::spinup: atg core dumped with fastdebug build
- Cannot deploy Java Web Start 1.4.2 in enterprise deployment
- JDK 1.4.2 LDAP Library leaves worker threads orphaned
- Japanese characters not converting correctly from Codepage 930 to Codepage 943
- Win: Server VM crashes with test/java/util/Date/ DateGregorian CalendarTest.java
- JVM Server Crash on Solaris
- JVM crash with error "Fatal: null exception in compiled code"
- VM/C2 crashes when running a java program on amd64 (and sparc v9)
- Printing not working on mercury b12 with jdk 1.4.2_04 Build 01
- AMD64: Hotspot crashes with Suse 2.4.21 beta kernel
- JIT Compiler crashes c2/opto/server VM on 1.4.2 ( Windows + Solaris )
- Only in 1.4.2, URLEncoder outputs exception in Japanese locale
- Same jni code causes jvm to crash after upgrading from 141 to 142_03
- Incompatibility in https behaviour between 1.3.1 (with jsse 1.0.3) and 1.4
- [1.4.2_05] cjk font.properties files for quicksilver needs to be updated
- C2 compiler crash in const Type*TypeInstPtr::xmeet
- printing text using Courier New bold results in incorrect spacing
- 1.4.2_03-b02 Crashes during Concurrent collections
- Java 1.4.2_03 C2 Compiler Crash with SIGBUS on Solaris
- Frame. setExtendedState(int state) may work incorrect with misleading WM's
- l10n for 4938868/4912570: GTK L&F: Behaviour in JFileChooser unlike mercury
- 1.4.2 certificate dialog "Scary text"
- 1.4.2_03 client JIT compiler optimization causing JVM to core
- 142_04: wrong copyright year in about dialog on HtmlConverter
- Sun JDK 1.4.2 JWS does not recognize OS architecture "x86"; not compatible with
- compute_compiled _exc_handler() called with pending exception
- 1.4.2_04 fails to recognize the jar cache contents for versions <_04
- VM crashes on deoptimization
- Korean: Java Web Start-add entry, buttons are stuck to the bottom of the page
- JVM 1.4.2_04 Linux SLES8 Itanium crash
- [1.4.2_x] some AWT components show garbled characters using font.properties for
- Object integrity maybe changing using ParallelGC when a Full GC occurs
- REGRESSION: test java/nio/charset/coders/ IsSupported.java fails,1.4.2_05b01
- problem affecting xalan 2.4.1 as supplied with jdk 1.4.2
- REG: Text not rendered properly on vertical progressbar for some locale strings
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.20 2004/06/15 12:00:09 abs Exp $
a10 2
EXTRACT_CMD=	${ECHO} yes | ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} >/dev/null

@


1.20
log
@When sugggesting the URL from which to download make the first choice easier
to cut and paste:	${DOWNLOAD}
			or ${ARCHIVE}
rather than		${DOWNLOAD} or
			${ARCHIVE}
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.19 2004/05/22 21:32:34 jmmv Exp $
d53 2
a54 3
	${ECHO} " Choose '32-bit/64-bit for Windows/Linux/Solaris SPARC' from"; \
	${ECHO} " the '${SHORT}' column, accept the license, then choose 'Linux ";\
	${ECHO} " self-extracting file'."; 				\
@


1.19
log
@Convert sun-{jre,jdk}14 to use java-env.mk.  This implies that the
packages 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.  Bump PKGREVISION to 1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.18 2004/05/05 17:20:29 xtraeme Exp $
d50 2
a51 2
	${ECHO} "	${DOWNLOAD} or"; 				\
	${ECHO} "	${ARCHIVE}"; 					\
@


1.18
log
@bl3ify
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.17 2004/03/22 03:39:00 kristerw Exp $
d24 5
a28 1
JVM_HOME=	${LOCALBASE}/java/sun-1.4
d68 2
a69 2
	${INSTALL_PROGRAM_DIR} ${PREFIX}
	cd ${WRKSRC} && ${PAX} -rwp ma . ${PREFIX}
d75 1
@


1.17
log
@Let ONLY_FOR_PLATFORM recognize NetBSD 2.0 and future versions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.16 2003/12/12 17:17:20 jschauma Exp $
d31 1
a31 1
USE_BUILDLINK2=	yes
@


1.16
log
@Don't duplicate the FETCH_MESSAGE, move it to Makefile.common instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.15 2003/12/12 15:38:16 jschauma Exp $
d35 1
a35 1
ONLY_FOR_PLATFORM=	NetBSD-1.6[U-Z]*-i386
@


1.15
log
@Found a URL for older distfiles, so make that known.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.14 2003/08/23 15:14:02 jschauma Exp $
d37 18
@


1.14
log
@Put these packages into a new pseudo-category called 'java'.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.13 2003/08/13 10:22:56 seb Exp $
d9 1
@


1.13
log
@Fix download URL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.12 2003/08/13 03:29:55 jschauma Exp $
d3 1
a3 1
CATEGORIES=	lang
@


1.12
log
@Update sun-j*14 to Sun 1.4.2.  This version of the JDK requires a
-current kernel from at least 2003-08-09.  Previous 1.4.1 versions
never really worked all that well and needed special kernel options
as well as a -current kernel from that date, so updating to 1.4.2
is better than keeping both.

A complete list of changes from previous 1.4 JDKs is available at
http://java.sun.com/j2se/1.4.2/changes.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.11 2003/07/17 21:45:27 grant Exp $
d8 1
a8 1
DOWNLOAD=	http://java.sun.com/j2se/1.4.1/download.html
@


1.11
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.10 2003/03/26 04:05:42 jschauma Exp $
d34 1
a34 1
ONLY_FOR_PLATFORM=	NetBSD-1.5Z[A-Z]-i386 NetBSD-1.[6-9]*-i386
@


1.10
log
@De-confusify:  Let emulators/suse_*/Makefile.* _not_ include bsd.pkg.mk, but rather
make all packages that use linux emulation include bsd.pkg.mk as the
last files just like any normal package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.9 2003/03/17 18:29:58 jschauma Exp $
d6 1
a6 1
MAINTAINER=	jschauma@@netbsd.org
@


1.9
log
@Update sun-jdk14 and sun-jre14 to 1.4.1_02.  Who knows what's new in this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.8 2003/02/05 03:37:45 jlam Exp $
d48 1
a48 3
.if ${OPSYS} != "NetBSD"
.  include "../../mk/bsd.pkg.mk"
.else
d51 2
@


1.8
log
@Mark these as having interactive fetch stages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.7 2003/01/29 11:13:30 jlam Exp $
d46 1
a46 1
	cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}
@


1.7
log
@Update sun-jre14 and sun-jdk14 to 1.0.1.  These are bug fix releases from
Sun for JDK 1.4.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.  Also,
the JDK 1.4.x series are now installed into ${LOCALBASE}/java/sun-1.4 so
that future updates of this package won't require a new JDK directory.

This closes PR 19853 by FUKAUMI Naoki <naoki at fukaumi.org>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.6 2002/11/07 00:22:54 jlam Exp $
d18 2
@


1.6
log
@Don't try to chmod the distfile if the permissions are already correct.
Addresses pkg/18941 by Robert Elz.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.5 2002/10/15 14:06:56 jschauma Exp $
d8 1
a9 1
FETCH_BEFORE_ARGS=-o ${DISTNAME}${EXTRACT_SUFX}
d21 1
a21 1
JVM_HOME=	${LOCALBASE}/java/sun-1.4.0
d28 2
a29 4
USE_BUILDLINK2=	# defined
NO_CONFIGURE=	# defined
NO_BUILD=	# defined
NO_MTREE=	# defined, since we change PREFIX
d39 2
@


1.5
log
@We need the suse-Makefile when we _are_ on NetBSD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.4 2002/10/13 07:45:34 jlam Exp $
d38 3
a40 1
	@@${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@


1.4
log
@* Use buildlink2.
* Minor improvements to the package Makefiles.
* Correct the PLIST.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.3 2002/09/30 23:56:55 jlam Exp $
d44 1
a44 1
.if ${OPSYS} == "NetBSD"
@


1.3
log
@Trivially use buildlink2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.2 2002/07/28 11:58:48 schmonz Exp $
d21 1
a21 4
# We need to overwrite JDK_HOME, since JRE and JDK need to be
# installed in the same directory
JDK_HOME:=	${LOCALBASE}/java/sun-1.4.0
MESSAGE_SUBST+= JDK_HOME=${JDK_HOME}
d23 4
a26 2
# since we change PREFIX:
NO_MTREE=	yes
d28 4
a31 1
ONLY_FOR_PLATFORM= NetBSD-1.5Z[A-Z]-i386 NetBSD-1.[6-9]*-i386 Linux-*-i[3-6]86
d34 2
a35 2
NO_BUILD=	# defined
USE_BUILDLINK2=	# defined
d43 6
@


1.2
log
@Entab (not as serious as previous).
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.1 2002/07/27 22:17:45 jschauma Exp $
d33 1
@


1.1
log
@We allow several JDKs/JREs to coexist, installing them in separate
subdirectories under ${PREFIX}/java/ -- Change V of many.

Thus install this JRE into ${PREFIX}/java/sun-1.4.0 and remove
CONFLICTS with other JDKs/JREs.  Rename package from sun-jre-1.4.0
to sun-jre14-0 (avoids conflict with sun-jre13).

Split Makefile into Makefile and Makefile.common, to allow reusing
of some of the stuff in lang/sun-jdk14 (commit coming up).

Add informative MESSAGE and finally bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2002/05/14 18:00:56 jschauma Exp $
d3 1
a3 1
CATEGORIES=     lang
@

