Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158665 - Restore Java 1.3 support (dev-java/sun-jdk)
Summary: Restore Java 1.3 support (dev-java/sun-jdk)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-20 10:23 UTC by kevin
Modified: 2006-12-20 12:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kevin 2006-12-20 10:23:19 UTC
Following bug #140495 and  http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.3.1.17.ebuild?hideattic=0&rev=1.7&view=log the 1.3.* ebuilds have been removed due to security issues as reported in:
http://www.gentoo.org/security/en/glsa/glsa-200601-10.xml
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3906

Sun provided upgrades for the 1.3 branch:
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102003-1

Even though sun will end the 1.3 support (http://java.sun.com/j2se/1.3/download.html), removing the ebuilds as requested in bug #140495 doesn't solve the problem - actually I'm still with the buggy version b/c of that!

Java 1.3 is still required for some older projects, since the later SDKs are not 100% backward compatible.

Cheers
    Kevin
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 10:27:54 UTC
Nothing in the tree needs java 1.3; we are not restoring redundant stuff, sorry.
Comment 2 kevin 2006-12-20 10:34:47 UTC
Java 1.3 is not redundant for some Java developers!
Another one...
http://forums.gentoo.org/viewtopic-t-510615.html
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 10:39:48 UTC
So fix your code; sorry but we are not going to spend time on obsolete stuff that has never been compatible with the way how's Java managed in Gentoo.
Comment 4 kevin 2006-12-20 11:45:38 UTC
I guess the guy in the forum got the wrong file: bug #138694
That ebuild worked for me with the new Java management.
Comment 5 kevin 2006-12-20 12:35:51 UTC
Copying sun-jdk-1.3.1.17-r10.ebuild to sun-jdk-1.3.1.19.ebuild is nearly enough. At a first glance, just one line needs to be updated (taken from a 1.4 ebuild):
sun-jdk # diff sun-jdk-1.3.1.17-r10.ebuild sun-jdk-1.3.1.19.ebuild
57c57
<       testExp=`echo -e "\177\105\114\106\001\001\001"`
---
>       testExp=$'\177\105\114\106\001\001\001'

Just a single error message (seems to be an update of the java management environment):
/usr/local/portage/dev-java/sun-jdk/sun-jdk-1.3.1.19.ebuild: line 114: java_pkg_postinst: command not found

# java-check-environment
...  
 * Java environment is sane. Congratulations!

I re-open this as an enhancement, since it looks like 1.3 support is almost for free and was removed more or less by mistake (deleting ebuilds violating glsas is not a real reason...).
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 12:38:16 UTC
Already explained that we are not restoring stuff buried months ago that's not needed for anything in the tree. Stick it into your overlay if you really need it for some horribly obsolete code.

Thanks.