public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Räty" <betelgeuse@gentoo.org>
To: gentoo-java@lists.gentoo.org
Subject: [gentoo-java] 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	[thread overview]
Message-ID: <4398A52B.7090107@gentoo.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 449 bytes --]

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

[-- Attachment #1.2: sdk-docs.patch --]
[-- Type: text/plain, Size: 1133 bytes --]

--- 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

             reply	other threads:[~2005-12-08 21:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 21:27 Petteri Räty [this message]
2005-12-08 22:26 ` [gentoo-java] Solving bug 67266 ( java-sdk-docs-1.5.0 (jdk-1_5_0-doc.zip) has wrong md5-sum ) Greg Tassone
2005-12-11 18:10 ` Karl Trygve Kalleberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4398A52B.7090107@gentoo.org \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-java@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox