Fix rpm2cio sums
PATCH 1/1 Fix rpm2cio sums
Hello all.
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300 renamed from conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300 +2 -2
@@ -18931,8 +18931,8 @@ md5=b8f0661ac765ce1a2de66ca53e37af83 sha256=a8168b8884ab40aadebba0ba696b889e25020d32a88e646d4f4bc56f2236b184 [ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz] -md5=63f39118ea5ef7cda84a0638002ed6d2 -sha256=27ffe0392ae193eb04786a2159c099a00fe38ccdaebcebd72afc842c528bb6d3 +md5=cb0cabdac81b7171843427f32427ca84 +sha256=20f48aa3c1f950c224e844d3a7d28a679f41173a26a2d7095ef1da27bda42c2f [http://downloads.sourceforge.net/rpyc/rpyc-3.02.tar.gz] md5=4e855372c4a533b9ed605503156e6e04
Signature · 4 lines
Roman http://roman.khimov.ru mailto: [email protected] gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
Quoted 3 lines · Roman I Khimov
Hello all.
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
If they are wrong we want to see the diff between the old and new tarballs, replacing checksums as soon as upstream changes defeats the purpose of us adding them.
regards,
Koen
Quoted 23 lines
conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300 renamed from conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300 +2
-3@@ -18931,8 +18931,8 @@ md5=b8f0661ac765ce1a2de66ca53e37af83 sha256=a8168b8884ab40aadebba0ba696b889e25020d32a88e646d4f4bc56f2236b184 [ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz] -md5=63f39118ea5ef7cda84a0638002ed6d2 -sha256=27ffe0392ae193eb04786a2159c099a00fe38ccdaebcebd72afc842c528bb6d3 +md5=cb0cabdac81b7171843427f32427ca84 +sha256=20f48aa3c1f950c224e844d3a7d28a679f41173a26a2d7095ef1da27bda42c2f [http://downloads.sourceforge.net/rpyc/rpyc-3.02.tar.gz] md5=4e855372c4a533b9ed605503156e6e04 ------------------------------------------------------------------------_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 6 lines · Koen Kooi
Quoted 3 lines · Roman I Khimov
Hello all.
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
If they are wrong we want to see the diff between the old and new tarballs, replacing checksums as soon as upstream changes defeats the purpose of us adding them.
How can we find a copy of the tarball with the original checksum? I do not have it in my local source cache. The file date on the ftp server is March 1 2008. I'm surprised the FreeBSD crowd would change a tarball, without changing the version.
Philip
Quoted 38 lines
regards,
Koen
Quoted 21 lines
conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300 renamed from conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300 +0
-0@@ -18931,8 +18931,8 @@ md5=b8f0661ac765ce1a2de66ca53e37af83 sha256=a8168b8884ab40aadebba0ba696b889e25020d32a88e646d4f4bc56f2236b184[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz]
conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300 renamed from conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300 +2
-3-md5=63f39118ea5ef7cda84a0638002ed6d2 -sha256=27ffe0392ae193eb04786a2159c099a00fe38ccdaebcebd72afc842c528bb6d3 +md5=cb0cabdac81b7171843427f32427ca84 +sha256=20f48aa3c1f950c224e844d3a7d28a679f41173a26a2d7095ef1da27bda42c2f [http://downloads.sourceforge.net/rpyc/rpyc-3.02.tar.gz] md5=4e855372c4a533b9ed605503156e6e04 ------------------------------------------------------------------------Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 9 lines · Philip Balister
Quoted 6 lines · Koen Kooi
Quoted 3 lines · Roman I Khimov
Hello all.
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
If they are wrong we want to see the diff between the old and new tarballs, replacing checksums as soon as upstream changes defeats the purpose of us adding them.
How can we find a copy of the tarball with the original checksum? I do not have it in my local source cache. The file date on the ftp server is March 1 2008. I'm surprised the FreeBSD crowd would change a tarball, without changing the version.
I checked a couple of the files from this list:
http://dir.filewatcher.com/d/FreeBSD/5.4-release/alpha/rpm2cpio-1.2_2.tbz.3919.html
and the md5sum is 6759b9c029d0c20c657b88d60bc2e277
And yes, I am sort of testing patchwork :) [1]
Philip
[1] http://patchwork.openembedded.org/patch/6/
Quoted 50 lines
Philip
Quoted 27 lines
regards,
Koen
Quoted 22 lines
conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300 renamed from conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300 +0
-0@@ -18931,8 +18931,8 @@ md5=b8f0661ac765ce1a2de66ca53e37af83sha256=a8168b8884ab40aadebba0ba696b889e25020d32a88e646d4f4bc56f2236b184
[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz]
conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300 renamed from conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300 +2
-3-md5=63f39118ea5ef7cda84a0638002ed6d2 -sha256=27ffe0392ae193eb04786a2159c099a00fe38ccdaebcebd72afc842c528bb6d3 +md5=cb0cabdac81b7171843427f32427ca84 +sha256=20f48aa3c1f950c224e844d3a7d28a679f41173a26a2d7095ef1da27bda42c2f [http://downloads.sourceforge.net/rpyc/rpyc-3.02.tar.gz] md5=4e855372c4a533b9ed605503156e6e04 ------------------------------------------------------------------------Quoted 12 lines
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel------------------------------------------------------------------------
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 21 lines · Philip Balister
Quoted 7 lines · Philip Balister
Quoted 6 lines · Koen Kooi
Quoted 4 lines · Roman I Khimov
Hello all.
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
Quoted 8 lines
Quoted 3 lines
If they are wrong we want to see the diff between the old and new tarballs, replacing checksums as soon as upstream changes defeats the purpose of us adding them.
How can we find a copy of the tarball with the original checksum? I do not have it in my local source cache. The file date on the ftp server is March 1 2008. I'm surprised the FreeBSD crowd would change a tarball, without changing the version.
I checked a couple of the files from this list:
http://dir.filewatcher.com/d/FreeBSD/5.4-release/alpha/rpm2cpio-1.2_2.tbz.3919.html
Quoted 7 lines
and the md5sum is
6759b9c029d0c20c657b88d60bc2e277And yes, I am sort of testing patchwork :) [1]
Philip
I'm also using this rpm2cpio since previous one couldn't be located by me and this works quite fine. I personally support this patch.
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
Quoted 7 lines · Philip Balister
Quoted 6 lines · Koen Kooi
Quoted 4 lines · Roman I Khimov
Hello all.
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
Quoted 8 lines
Quoted 3 lines
If they are wrong we want to see the diff between the old and new tarballs, replacing checksums as soon as upstream changes defeats the purpose of us adding them.
How can we find a copy of the tarball with the original checksum? I do not have it in my local source cache. The file date on the ftp server is March 1 2008. I'm surprised the FreeBSD crowd would change a tarball, without changing the version.
It gets worse:
koen@dominion:/OE/build$ md5sum /OE/downloads/*rpm*tbz ; sha256sum /OE/downloads/*rpm*tbz cb0cabdac81b7171843427f32427ca84 rpm2cpio-1.2_2.tbz 20f48aa3c1f950c224e844d3a7d28a679f41173a26a2d7095ef1da27bda42c2f rpm2cpio-1.2_2.tbz
angstrom@serenity:~/website/unstable/sources$ md5sum *rpm* ; sha256sum *rpm* 76f8b7060500191c7cde078f831c7f0c rpm2cpio-1.2_2.tbz aac7daba6d805d87e62636f0af53ce4b532cacf00a29485d94b3a605f2ffdf6c rpm2cpio-1.2_2.tbz
git annotate:
0da69511 (Marcin Juszkiewicz 2007-10-24 13:09:31 +0000 18933)[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz] a7d0813d (Otavio Salvador 2008-11-18 12:21:08 -0200 18934)md5=63f39118ea5ef7cda84a0638002ed6d2 a7d0813d (Otavio Salvador 2008-11-18 12:21:08 -0200 18935)sha256=27ffe0392ae193eb04786a2159c099a00fe38ccdaebcebd72afc842c528bb6d3
The first commit is:
commit 0da695117f8a142e6d15601d8d7064ed5c35074a
Author: Marcin Juszkiewicz <[email protected]> Date: Wed Oct 24 13:09:31 2007 +0000
checksums.ini: sync with Poky
r2954 | hrw | 2007-10-24 14:29:57 +0200 (<C5><9A>r, 24 X 2007) | 1 line checksums.ini: added some new entries from OpenMoko build
------------------------------------------------------------------------
r2953 | hrw | 2007-10-24 14:28:03 +0200 (<C5><9A>r, 24 X 2007) | 1 line checksums.ini: sort by archive name (script for it will be pushed
into OE later)
------------------------------------------------------------------------
r2952 | hrw | 2007-10-24 13:39:13 +0200 (<C5><9A>r, 24 X 2007) | 1 line checksums.ini: sort alphabetically to make updates easier
This is a red herring, see the diff:
-[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz] -md5=d4950dc6918ca79a4abab306b6188512 -sha256=5ec970d34b4e22feea0333dae3b5f5ee0e38295d89e306b4929b910f4a2aae25
+[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz] +md5=d4950dc6918ca79a4abab306b6188512 +sha256=5ec970d34b4e22feea0333dae3b5f5ee0e38295d89e306b4929b910f4a2aae25
The second one:
commit a7d0813dd5c391183b1356c49bf082a647123985
Author: Otavio Salvador <[email protected]> Date: Tue Nov 18 12:21:08 2008 -0200
checksums.ini: fix rpm2cpio checksums
-md5=d4950dc6918ca79a4abab306b6188512 -sha256=5ec970d34b4e22feea0333dae3b5f5ee0e38295d89e306b4929b910f4a2aae25 +md5=63f39118ea5ef7cda84a0638002ed6d2 +sha256=27ffe0392ae193eb04786a2159c099a00fe38ccd
So it seems that freebsd people are replacing their files or that their server suffers massive disk corruption.
regards,
Koen
Koen Kooi <[email protected]> writes:
<...>
Quoted 11 lines
commit
a7d0813dd5c391183b1356c49bf082a647123985Author: Otavio Salvador <[email protected]> Date: Tue Nov 18 12:21:08 2008 -0200checksums.ini: fix rpm2cpio checksums
(quoted diff) +2
-2-md5=d4950dc6918ca79a4abab306b6188512 -sha256=5ec970d34b4e22feea0333dae3b5f5ee0e38295d89e306b4929b910f4a2aae25 +md5=63f39118ea5ef7cda84a0638002ed6d2 +sha256=27ffe0392ae193eb04786a2159c099a00fe38ccd
Quoted 2 lines
So it seems that freebsd people are replacing their files or that their server suffers massive disk corruption.
Indeed :(
Do someone has contact with FreeBSD people to ask about it and get more information?
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
Hello!
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio- 1.2_2.tbz]
This (ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz) is a freebsd precompiled package, not a source tarball. It can change checksum after rebuild. All files in 'packages' dir are precompiled packages.
Source tarballs are placed here (in 'distfiles' dir):
ftp://ftp.freebsd.org/pub/FreeBSD//ports/distfiles/
Signature · 1 line
Yuri Bushmelev
Hello!
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpi o- 1.2_2.tbz]
This (ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2 _2.tbz) is a freebsd precompiled package, not a source tarball. It can change checksum after rebuild. All files in 'packages' dir are precompiled packages.
Source tarballs are placed here (in 'distfiles' dir):
ftp://ftp.freebsd.org/pub/FreeBSD//ports/distfiles/
Ah, sorry, rpm2cpio have no source file. It is stored directly in ports:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/rpm2cpio/files/
We can grab it via cvs.
Signature · 1 line
Yuri Bushmelev
Koen Kooi:
Quoted 7 lines · Roman I Khimov
Quoted 2 lines
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
If they are wrong we want to see the diff between the old and new tarballs, replacing checksums as soon as upstream changes defeats the purpose of us adding them.
If I've had old one anywhere around, I'd show the diff, but the problem is I don't have it.
From what I see most probably it's some meta-data changes as we have ready-to-install FreeBSD tarball there with all
its "+COMMENT", "+CONTENTS", "+DESC", "+MTREE_DIRS" files. So the 'rpm2cpio.pl' itself should be the same.
Now another question is why OE package uses such tarball as source at all. So, probably we can change the source to something like
which is the only file we need and it's rev'd tagged should-be-non-volatile.
Signature · 4 lines
Roman http://roman.khimov.ru mailto: [email protected] gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
Quoted 16 lines · Roman I Khimov
Koen Kooi:
Quoted 6 lines · Roman I Khimov
Quoted 2 lines
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
If they are wrong we want to see the diff between the old and new tarballs, replacing checksums as soon as upstream changes defeats the purpose of us adding them.
If I've had old one anywhere around, I'd show the diff, but the problem is I don't have it.
From what I see most probably it's some meta-data changes as we have
ready-to-install FreeBSD tarball there with all
its "+COMMENT", "+CONTENTS", "+DESC", "+MTREE_DIRS" files. So the 'rpm2cpio.pl' itself should be the same.
Quoted 6 lines
Now another question is why OE package uses such tarball as source at all. So, probably we can change the source to something like
which is the only file we need and it's rev'd tagged should-be-non-volatile.
Seeing the current sitation with the freebsd people this would get my vote.
regards,
Koen
Koen Kooi <[email protected]> writes:
<...>
Quoted 8 lines
Quoted 6 lines
Now another question is why OE package uses such tarball as source at all. So, probably we can change the source to something like
which is the only file we need and it's rev'd tagged should-be-non-volatile.
Seeing the current sitation with the freebsd people this would get my vote.
<...>
I support this one too :(
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
Hello!
Quoted 7 lines
Quoted 7 lines
Now another question is why OE package uses such tarball as source at all. So, probably we can change the source to something like
http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/ports/archivers/rp
m2cpio/files/rpm2cpio?rev=1.2;content-type=text%2Fplain;only_with_tag=RELEASE_7_1_0
Quoted 5 lines
Quoted 2 lines
which is the only file we need and it's rev'd tagged should-be-non-volatile.
Seeing the current sitation with the freebsd people this would get my vote.
You can grab it via cvs. E.g. (from taiwan mirror):
$ cvs -d :pserver:[email protected]:/home/ncvs login Logging in to :pserver:[email protected]:2401/home/ncvs CVS password: $ cvs -d :pserver:[email protected]:/home/ncvs co rpm2cpio cvs checkout: Updating rpm2cpio cvs checkout: Updating rpm2cpio U rpm2cpio/Makefile U rpm2cpio/pkg-descr cvs checkout: Updating rpm2cpio/files U rpm2cpio/files/rpm2cpio
rpm2cpio/files/rpm2cpio is file you needed.
Or you can grab it from cvsweb as Roman says.
Or you cat grab precompiled package but from some release. It should not be changed anymore. E.g. from 7.1-RELEASE for i386 arch:
ftp://ftp6.ru.freebsd.org/pub/FreeBSD/ports/i386/packages-7.1-release/archivers/rpm2cpio-1.2_2.tbz
Signature · 1 line
Yuri Bushmelev
Yuri Bushmelev:
Quoted 13 lines
Hello!
Quoted 11 lines
Quoted 10 lines
Now another question is why OE package uses such tarball as source at all. So, probably we can change the source to something like
http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/ports/archivers/
rp m2cpio/files/rpm2cpio?rev=1.2;content-type=text%2Fplain;only_with_tag =RELEASE_7_1_0which is the only file we need and it's rev'd tagged should-be-non-volatile.
Quoted 8 lines
Quoted 2 lines
Seeing the current sitation with the freebsd people this would get my vote.
You can grab it via cvs. E.g. (from taiwan mirror):
...
Or you can grab it from cvsweb as Roman says.Or you cat grab precompiled package but from some release.
Hmmm. So, what is the preferred color of bikeshed this season? ;)
I don't think we can trust precompiled packages with this situation. And cvs checkout for one file... Well, maybe something like this:
conf/checksums.ini +3 -3
@@ -18682,9 +18682,9 @@ sha256=a515675401cc9aff33cf8fd48d23a177cb9385907758c0e29a1dab693f55efe2 md5=b8f0661ac765ce1a2de66ca53e37af83 sha256=a8168b8884ab40aadebba0ba696b889e25020d32a88e646d4f4bc56f2236b184 -[ftp://ftp.freebsd.org/pub/FreeBSD//ports/packages/archivers/rpm2cpio-1.2_2.tbz] -md5=63f39118ea5ef7cda84a0638002ed6d2 -sha256=27ffe0392ae193eb04786a2159c099a00fe38ccdaebcebd72afc842c528bb6d3 +[http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/ports/archivers/rpm2cpio/files/rpm2cpio?rev=1.2] +md5=07f64fa3dae6eb8b1b578d01473a5c07 +sha256=a98cb1d9903192c4fcf40d82c705e091a5c193f87327703217749a5f4cc6197d [http://downloads.sourceforge.net/rpyc/rpyc-3.02.tar.gz] md5=4e855372c4a533b9ed605503156e6e04
packages/rpm2cpio/rpm2cpio-native_1.2_2.bb +2 -2
@@ -4,7 +4,7 @@ DEPENDS="perl-native" LICENSE="BSD" -SRC_URI="${FREEBSD_MIRROR}/ports/packages/archivers/rpm2cpio-1.2_2.tbz" +SRC_URI="http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/ports/archivers/rpm2cpio/files/rpm2cpio?rev=1.2" inherit native
@@ -15,7 +15,7 @@ do_compile() { do_stage() { install -d ${STAGING_BINDIR} - sed -e '1,1s|${bindir}/|${bindir}/env |' bin/rpm2cpio.pl \ + sed -e '1,1s|${bindir}/|${bindir}/env |' "rpm2cpio?rev=1.2" \ > ${STAGING_BINDIR}/rpm2cpio.pl my_PERL="/usr/bin/env perl"
Signature · 4 lines
Roman http://roman.khimov.ru mailto: [email protected] gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
Quoted 2 lines · Roman I Khimov
I don't think we can trust precompiled packages with this situation. And cvs checkout for one file... Well, maybe something like this:
<...>
I liked this solution since it is a simple http request, we track the checksum and also avoid the freebsd packages.
+1
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
Quoted 10 lines · Otavio Salvador
Quoted 2 lines · Roman I Khimov
I don't think we can trust precompiled packages with this situation. And cvs checkout for one file... Well, maybe something like this:
<...>
I liked this solution since it is a simple http request, we track the checksum and also avoid the freebsd packages.
+1
+1