Bug 41003 - dev-java packages that lack digest entries (empty SRC_URI)
Bug#: 41003 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: java@gentoo.org Reported By: tom.gl@free.fr
Component: Development
URL: 
Summary: dev-java packages that lack digest entries (empty SRC_URI)
Keywords:  
Status Whiteboard: 
Opened: 2004-02-09 12:47 0000
Description:   Opened: 2004-02-09 12:47 0000
Many dev-java packages don't have there files specified in SRC_URI, thus have
empty digests. It makes impossible to detect download corruptions, and creates
false positive for distfiles cleaning scripts. I understand it's related to
there fetch restriction, but I don't think it is the right way to do it
(correct me if i'm wrong). I think a better example is sun-jdk for instance,
where file is in SRC_URI, and information about downloading it is in
pkg_nofetch() function. Digests are okay in this case.

This is the ebuilds list:

ibm-jdk/ibm-jdk-1.4.1.ebuild
ibm-jre/ibm-jre-1.3.0-r3.ebuild
ibm-jre/ibm-jre-1.3.1-r2.ebuild
ibm-jre/ibm-jre-1.4.1.ebuild
infobus/infobus-1.2.ebuild
jdbc2-oracle/jdbc2-oracle-8.1.7.ebuild
jdbc2-oracle/jdbc2-oracle-9.0.1.4.ebuild
jdbc2-oracle/jdbc2-oracle-9.0.1.ebuild
jdbc2-oracle/jdbc2-oracle-9.2.0.1.ebuild
jdbc2-oracle/jdbc2-oracle-9.2.0.3.ebuild
jdbc3-oracle/jdbc3-oracle-9.2.0.1.ebuild
jdbc3-oracle/jdbc3-oracle-9.2.0.3.ebuild
jrockit/jrockit-8.1.ebuild
sun-j2ee/sun-j2ee-1.3.1.ebuild
sun-j2ee/sun-j2ee-1.3.1-r1.ebuild
sun-j2sdk/sun-j2sdk-1.4.1.ebuild
sun-j2sdk/sun-j2sdk-1.4.1-r1.ebuild
sun-j2sdk/sun-j2sdk-1.4.2.ebuild

I will attach a patch for the first one to make clear what kind of modification
i think should be applied. (i may submit more patches later to help on this
boring task if you agree on the principle.)

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From TGL 2004-02-09 12:47:54 0000 -------
Created an attachment (id=25288) [details]
ibm-jdk-1.4.1.patch

A patch example.

------- Comment #2 From Adrian Almenar 2004-02-09 22:42:52 0000 -------
im working a lot on ibm-jdk to have it well supported on PPC and x86 and have
the digests of it fixed.

------- Comment #3 From Chris Aniszczyk (RETIRED) 2004-03-17 21:24:11 0000 -------
Note to self, took care of everything but jdbc and ibm, those are strider's :P
(I fear his ebuildfoo in jdbc src_uri ;P)

------- Comment #4 From Chris Aniszczyk (RETIRED) 2004-03-17 22:44:14 0000 -------
ibm is cleared out now, only jdbc crap left

------- Comment #5 From Adrian Almenar 2004-03-19 19:05:30 0000 -------
jdbc is not my package, ask absinthe, i think he put it in portage.

------- Comment #6 From Karl Trygve Kalleberg (RETIRED) 2004-05-28 06:51:44 0000 -------
Fixed this for dev-java/jrockit. Also, renamed that package to
dev-java/jrockit-jdk-bin, as it's full JDK.

------- Comment #7 From Thomas Matthijs (RETIRED) 2004-07-17 04:44:58 0000 -------
i fixed the jdbc's ones :\
all gone now