Patchwork lynx: fix checksums

login
register
mail settings
Submitter Paul Menzel
Date June 1, 2011, 12:07 p.m.
Message ID <1306930030.4315.63.camel@mattotaupa>
Download mbox | patch
Permalink /patch/5201/
State Superseded
Commit 60dce4afbc68565e487651bc628487f4af2b5ea3
Headers show

Comments

Paul Menzel - June 1, 2011, 12:07 p.m.
Date: Wed, 1 Jun 2011 13:41:59 +0200

This is a fixup for commit 06d31dc0 [1]

	commit 06d31dc06beb85a28ca3c2c2c0c2787267a24ff5
	Author: Stanislav Brabec <utx@penguin.cz>
	Date:   Tue May 31 22:28:20 2011 +0000

		  lynx: New recipe, version 2.8.7.

		  Signed-off-by: Stanislav Brabec <utx@penguin.cz>

	 recipes/lynx/lynx_2.8.7.bb |   40 ++++++++++++++++++++++++++++++++++++++++
	 1 files changed, 40 insertions(+), 0 deletions(-)

where task fetch failed with the following error message.

	ERROR: The checksums for "/oe/downloads/lynx2.8.7.tar.bz2" did not match.
		MD5: expected "cb936aef812e4e463ab86cbbe14d4db9", got "493af4c77ef6761e3f0157cd1be033a0"
		SHA256: expected "301bda96ad3cd5032805e8d5315a42061a11e472e3d3a7baee3a2879517ef627", got "40ec9774deb4a7acf69e1bcfb5e272a3857ccc17e20d923255d64cb5dbe55dad"

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=06d31dc06beb85a28ca3c2c2c0c2787267a24ff5

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
CC: Stanislav Brabec <utx@penguin.cz>
---
Dear Stanislav,


I did not push this patch, because I find it strange that the checksums
are incorrect when you did not copy it. Do you have an idea what might
have gone wrong?


Thanks,

Paul
---
 recipes/lynx/lynx_2.8.7.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Stanislav Brabec - June 1, 2011, 2:52 p.m.
Paul Menzel wrote:
> Date: Wed, 1 Jun 2011 13:41:59 +0200
> 
> This is a fixup for commit 06d31dc0 [1]

> 	ERROR: The checksums for "/oe/downloads/lynx2.8.7.tar.bz2" did not match.
> 		MD5: expected "cb936aef812e4e463ab86cbbe14d4db9", got "493af4c77ef6761e3f0157cd1be033a0"
> 		SHA256: expected "301bda96ad3cd5032805e8d5315a42061a11e472e3d3a7baee3a2879517ef627", got "40ec9774deb4a7acf69e1bcfb5e272a3857ccc17e20d923255d64cb5dbe55dad"

> I did not push this patch, because I find it strange that the checksums
> are incorrect when you did not copy it. Do you have an idea what might
> have gone wrong?

wget -N http://lynx.isc.org/lynx2.8.7/lynx2.8.7.tar.bz2
md5sum lynx2.8.7.tar.bz2
493af4c77ef6761e3f0157cd1be033a0  lynx2.8.7.tar.bz2
ls -al lynx2.8.7.tar.bz2
-rw-r--r-- 1 sbrabec users 2432045 Jul  6  2009 lynx2.8.7.tar.bz2

For comparison with my copy:
ls -al ~/sources/lynx2.8.7.tar.bz2
-rw-r--r-- 1 sbrabec users 2436801 Jun 21  2010 /OE/home/sources/lynx2.8.7.tar.bz2

I had this recipe in my experimental repo for some time and it seems
that they silently changed (downgraded?) the main tarball in time
between. I can confirm your checksum with the fresh download.

It looks pretty strange. The new tarball misses one security update.
Maybe they did a mistake.

My (byte-to-byte equal) copy is now available as
http://lynx.isc.org/current/lynx2.8.7rel.2.tar.bz2
Stanislav Brabec - June 2, 2011, 12:29 p.m.
Stanislav Brabec wrote:

> I had this recipe in my experimental repo for some time and it seems
> that they silently changed (downgraded?) the main tarball in time
> between. I can confirm your checksum with the fresh download.
> 
> It looks pretty strange. The new tarball misses one security update.
> Maybe they did a mistake.

Here is the answer:
http://lists.nongnu.org/archive/html/lynx-dev/2011-06/msg00003.html

Patch

diff --git a/recipes/lynx/lynx_2.8.7.bb b/recipes/lynx/lynx_2.8.7.bb
index 77434d1..1d63e89 100644
--- a/recipes/lynx/lynx_2.8.7.bb
+++ b/recipes/lynx/lynx_2.8.7.bb
@@ -37,5 +37,5 @@  do_configure() {
 	ac_cv_path_INSTALL=${bindir}/install
 }
 
-SRC_URI[md5sum] = "cb936aef812e4e463ab86cbbe14d4db9"
-SRC_URI[sha256sum] = "301bda96ad3cd5032805e8d5315a42061a11e472e3d3a7baee3a2879517ef627"
+SRC_URI[md5sum] = "493af4c77ef6761e3f0157cd1be033a0"
+SRC_URI[sha256sum] = "40ec9774deb4a7acf69e1bcfb5e272a3857ccc17e20d923255d64cb5dbe55dad"