Bug#266273: Idea for solving JDK 1.5.0 problem

Alex Owen Alex Owen <rao3@leicester.ac.uk>, 266273@bugs.debian.org
Sat Nov 13 17:24:03 2004


The problem is that the shell script stub on the self extracting binary
does the wrong thing!

The only way I can see to solve the problem is to patch that shell script
stub and move all the setup it does to either the sun-j2sdk1.5debian
package (or the postinst of the generated package).

Just before running the binary installer we would have to check the md5sum
of the *.bin and then patch it to do the right thing and only then run it!

Someone should read the License closely to see if this is allowd!

The alternative is to deal with the RPM version (an RPM file wrapped in a
self extracting bin). We could then override the self-extractin shell stub
when it calls rpm to install the package... We just arrange for a fake rpm
to be earlier on the PATH. Then we could use the patch feature of alien to
fixup the RPM and turn it into a deb.

Just some ideas?!?

Alex Owen