Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-java@g.o
From: Petteri R├Ąty <betelgeuse@g.o>
Subject: Solving bug 67266 ( java-sdk-docs-1.5.0 (jdk-1_5_0-doc.zip) has wrong md5-sum )
Date: Thu, 08 Dec 2005 23:27:07 +0200
So the upstream file has changed and now the md5sum verification failes.
Attached is a patch that I came up with. I personally have bookmarked
the sdk docs in my browser so that is why I did not want to change the
installation directory, I also did not want to change the md5sum of the
existing version. I will commit this tomorrow unless someone has a
better idea on how to fix this:

http://bugs.gentoo.org/show_bug.cgi?id=67266

Regards,
Petteri
--- java-sdk-docs-1.5.0.ebuild	2005-12-08 22:44:44.000000000 +0200
+++ java-sdk-docs-1.5.0-r1.ebuild	2005-12-08 23:23:09.000000000 +0200
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.5.0.ebuild,v 1.7 2004/10/02 17:32:53 axxo Exp $
 
-SRC_URI="jdk-1_5_0-doc.zip"
+SRC_URI="jdk-1_5_0-doc-r1.zip"
 DESCRIPTION="Javadoc for Java SDK version 1.5.0 Beta 2"
 HOMEPAGE="http://java.sun.com/j2se/1.5.0/"
 LICENSE="sun-j2sl"
@@ -17,16 +17,19 @@
 S="${WORKDIR}/docs"
 
 pkg_nofetch() {
-	einfo "Please download ${SRC_URI} from "
+	einfo "Please download jdk-1_5_0-doc.zip from "
 	einfo "${DOWNLOAD_URL}"
-	einfo "and move it to ${DISTDIR}"
+	einfo "and place it in ${DISTDIR} named as"
+	einfo "${SRC_URI}. Notice the r1. This is caused by a change in the"
+	einfo "upstream file Sun provides."
 }
 
 src_install(){
-	dohtml index.html
+	insinto /usr/share/doc/${P}/html
+	doins index.html
 
 	local dirs="api guide images relnotes tooldocs"
 	for i in $dirs ; do
-		cp -r $i ${D}/usr/share/doc/${P}/html
+		doins -r $i
 	done
 }
Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: Solving bug 67266 ( java-sdk-docs-1.5.0 (jdk-1_5_0-doc.zip) has wrong md5-sum )
-- Karl Trygve Kalleberg
Re: Solving bug 67266 ( java-sdk-docs-1.5.0 (jdk-1_5_0-doc.zip) has wrong md5-sum )
-- Greg Tassone
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
jdks/jres and revdep-rebuild
Next by thread:
Re: Solving bug 67266 ( java-sdk-docs-1.5.0 (jdk-1_5_0-doc.zip) has wrong md5-sum )
Previous by date:
Re: Java 1.5 - the Real Story [was: Re: Question about Sun-Jdk 1.4.2.10]
Next by date:
Re: jdks/jres and revdep-rebuild


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.