Summary: | new version of sun jdk 1.4.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul de Vrieze (RETIRED) <pauldv> |
Component: | New packages | Assignee: | Matthew Kennedy (RETIRED) <mkennedy> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
A new ebuild for this version
updated ebuild file |
Description
Paul de Vrieze (RETIRED)
2002-06-04 04:12:39 UTC
Created attachment 1331 [details]
A new ebuild for this version
I adapted the existing ebuild to work with the new jdk
Created attachment 1332 [details]
updated ebuild file
New version, the plugin name changed to the old one, and I didn't check yet
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 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 } 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 } Here you are Matthew, the nightmare is all yours :) thanks karl, I asked for it of course :) |