Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3371 - new version of sun jdk 1.4.0
Summary: new version of sun jdk 1.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-04 04:12 UTC by Paul de Vrieze (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A new ebuild for this version (sun-jdk-1.4.0.01.ebuild,2.13 KB, text/plain)
2002-06-04 05:20 UTC, Paul de Vrieze (RETIRED)
Details
updated ebuild file (sun-jdk-1.4.0.01.ebuild,2.12 KB, text/plain)
2002-06-04 05:48 UTC, Paul de Vrieze (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul de Vrieze (RETIRED) gentoo-dev 2002-06-04 04:12:39 UTC
There is a new version of sun jdk 1.4.0 that fixes some bugs
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2002-06-04 05:20:13 UTC
Created attachment 1331 [details]
A new ebuild for this version

I adapted the existing ebuild to work with the new jdk
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2002-06-04 05:48:22 UTC
Created attachment 1332 [details]
updated ebuild file

New version, the plugin name changed to the old one, and I didn't check yet
Comment 3 heuermh 2002-06-06 19:22:38 UTC
Hello Paul,

I didn't do a diff of your updated ebuild file to mine, but they appear to be
identical.

Don't forget to add the files

/usr/portage/dev-java/sun-jdk/files/digest-sun-jdk-1.4.0.01
/usr/portage/dev-java/sun-jdk/files/sun-jdk-1.4.0.01

adapted from the 1.4.0-r2 versions so the environment is set up correctly.

   michael
Comment 4 Maik Schreiber 2002-06-14 15:04:46 UTC
The src_unpack() procedure uses a mechanism that seems to break if used for
1.4.0_01. Better use the following:

src_unpack() {
	if [ ! -f ${DISTDIR}/${At} ] ; then
		die "Please download ${At} from ${HOMEPAGE} (select the \"Linux GNUZIP Tar shell
script\" package format of the SDK) and move it to ${DISTDIR}"
	fi

	sed <${DISTDIR}/${At} >install.bin \
		-e 's|^more <<"EOF"$|cat >/dev/null <<"EOF"|'
	yes | sh ./install.bin >/dev/null
}
Comment 5 Maik Schreiber 2002-06-14 15:12:32 UTC
It seems the "yes" construct results in a "Broken pipe" error message. Better
use this src_unpack() instead:

src_unpack() {
	if [ ! -f ${DISTDIR}/${At} ] ; then
		die "Please download ${At} from ${HOMEPAGE} (select the \"Linux GNUZIP Tar shell
script\" package format of the SDK) and move it to ${DISTDIR}"
	fi

	sed <${DISTDIR}/${At} >install.bin \
		-e 's|^more <<"EOF"$|cat >/dev/null <<"EOF"|' \
		-e 's|read reply leftover|reply=y|'
	sh ./install.bin >/dev/null
}
Comment 6 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-06-24 15:12:26 UTC
Here you are Matthew, the nightmare is all yours :)
Comment 7 Matthew Kennedy (RETIRED) gentoo-dev 2002-06-27 09:15:56 UTC
thanks karl, I asked for it of course :)