* [PATCH] Fix rpm2cio sums
@ 2009-02-12 11:26 Roman I Khimov
2009-02-12 11:52 ` Koen Kooi
0 siblings, 1 reply; 16+ messages in thread
From: Roman I Khimov @ 2009-02-12 11:26 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 929 bytes --]
Hello all.
Don't know why, but rpm2cpio tarball checksums are wrong, so here is the fix:
--- a/conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300
+++ b/conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300
@@ -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
--
Roman
http://roman.khimov.ru
mailto: roman@khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 204 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 11:26 [PATCH] Fix rpm2cio sums Roman I Khimov
@ 2009-02-12 11:52 ` Koen Kooi
2009-02-12 12:16 ` Philip Balister
2009-02-12 12:41 ` Roman I Khimov
0 siblings, 2 replies; 16+ messages in thread
From: Koen Kooi @ 2009-02-12 11:52 UTC (permalink / raw)
To: openembedded-devel
On 12-02-09 12:26, Roman I Khimov wrote:
> 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
>
> --- a/conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300
> +++ b/conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300
> @@ -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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 11:52 ` Koen Kooi
@ 2009-02-12 12:16 ` Philip Balister
2009-02-12 12:31 ` Philip Balister
` (2 more replies)
2009-02-12 12:41 ` Roman I Khimov
1 sibling, 3 replies; 16+ messages in thread
From: Philip Balister @ 2009-02-12 12:16 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1903 bytes --]
Koen Kooi wrote:
> On 12-02-09 12:26, Roman I Khimov wrote:
>> 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
>
> regards,
>
> Koen
>
>>
>> --- a/conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300
>> +++ b/conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300
>> @@ -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
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:16 ` Philip Balister
@ 2009-02-12 12:31 ` Philip Balister
2009-02-12 13:16 ` Otavio Salvador
2009-02-12 12:35 ` Koen Kooi
2009-02-12 12:47 ` Yuri Bushmelev
2 siblings, 1 reply; 16+ messages in thread
From: Philip Balister @ 2009-02-12 12:31 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2589 bytes --]
Philip Balister wrote:
> Koen Kooi wrote:
>> On 12-02-09 12:26, Roman I Khimov wrote:
>>> 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/
>
> Philip
>
>
>>
>> regards,
>>
>> Koen
>>
>>>
>>> --- a/conf/checksums.ini 2009-02-12 14:23:11.655542059 +0300
>>> +++ b/conf/checksums.ini 2009-02-12 14:23:50.520780173 +0300
>>> @@ -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
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:16 ` Philip Balister
2009-02-12 12:31 ` Philip Balister
@ 2009-02-12 12:35 ` Koen Kooi
2009-02-12 13:18 ` Otavio Salvador
2009-02-12 12:47 ` Yuri Bushmelev
2 siblings, 1 reply; 16+ messages in thread
From: Koen Kooi @ 2009-02-12 12:35 UTC (permalink / raw)
To: openembedded-devel
On 12-02-09 13:16, Philip Balister wrote:
> Koen Kooi wrote:
>> On 12-02-09 12:26, Roman I Khimov wrote:
>>> 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.
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 <hrw@openembedded.org>
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 <otavio@ossystems.com.br>
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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 11:52 ` Koen Kooi
2009-02-12 12:16 ` Philip Balister
@ 2009-02-12 12:41 ` Roman I Khimov
2009-02-12 12:51 ` Koen Kooi
1 sibling, 1 reply; 16+ messages in thread
From: Roman I Khimov @ 2009-02-12 12:41 UTC (permalink / raw)
To: Koen Kooi; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1177 bytes --]
Koen Kooi:
> On 12-02-09 12:26, Roman I Khimov wrote:
> > 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
http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/ports/archivers/rpm2cpio/files/rpm2cpio?rev=1.2;content-type=text%2Fplain;only_with_tag=RELEASE_7_1_0
which is the only file we need and it's rev'd tagged should-be-non-volatile.
--
Roman
http://roman.khimov.ru
mailto: roman@khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 204 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:16 ` Philip Balister
2009-02-12 12:31 ` Philip Balister
2009-02-12 12:35 ` Koen Kooi
@ 2009-02-12 12:47 ` Yuri Bushmelev
2009-02-12 12:57 ` Yuri Bushmelev
2 siblings, 1 reply; 16+ messages in thread
From: Yuri Bushmelev @ 2009-02-12 12:47 UTC (permalink / raw)
To: openembedded-devel
Hello!
> >> [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/
--
Yuri Bushmelev
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:41 ` Roman I Khimov
@ 2009-02-12 12:51 ` Koen Kooi
2009-02-12 13:20 ` Otavio Salvador
2009-02-12 13:24 ` Yuri Bushmelev
0 siblings, 2 replies; 16+ messages in thread
From: Koen Kooi @ 2009-02-12 12:51 UTC (permalink / raw)
To: openembedded-devel
On 12-02-09 13:41, Roman I Khimov wrote:
> Koen Kooi:
>> On 12-02-09 12:26, Roman I Khimov wrote:
>>> 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
>
> http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/ports/archivers/rpm2cpio/files/rpm2cpio?rev=1.2;content-type=text%2Fplain;only_with_tag=RELEASE_7_1_0
>
> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:47 ` Yuri Bushmelev
@ 2009-02-12 12:57 ` Yuri Bushmelev
0 siblings, 0 replies; 16+ messages in thread
From: Yuri Bushmelev @ 2009-02-12 12:57 UTC (permalink / raw)
To: openembedded-devel
Hello!
> > >> [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.
--
Yuri Bushmelev
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:31 ` Philip Balister
@ 2009-02-12 13:16 ` Otavio Salvador
0 siblings, 0 replies; 16+ messages in thread
From: Otavio Salvador @ 2009-02-12 13:16 UTC (permalink / raw)
To: openembedded-devel
Philip Balister <philip@balister.org> writes:
> Philip Balister wrote:
>> Koen Kooi wrote:
>>> On 12-02-09 12:26, Roman I Khimov wrote:
>>>> 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/
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.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org 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."
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:35 ` Koen Kooi
@ 2009-02-12 13:18 ` Otavio Salvador
0 siblings, 0 replies; 16+ messages in thread
From: Otavio Salvador @ 2009-02-12 13:18 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
Koen Kooi <k.kooi@student.utwente.nl> writes:
<...>
> commit a7d0813dd5c391183b1356c49bf082a647123985
> Author: Otavio Salvador <otavio@ossystems.com.br>
> 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.
Indeed :(
Do someone has contact with FreeBSD people to ask about it and get more
information?
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org 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."
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:51 ` Koen Kooi
@ 2009-02-12 13:20 ` Otavio Salvador
2009-02-12 13:24 ` Yuri Bushmelev
1 sibling, 0 replies; 16+ messages in thread
From: Otavio Salvador @ 2009-02-12 13:20 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
Koen Kooi <k.kooi@student.utwente.nl> writes:
<...>
>> 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/rpm2cpio/files/rpm2cpio?rev=1.2;content-type=text%2Fplain;only_with_tag=RELEASE_7_1_0
>>
>> 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 :(
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org 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."
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 12:51 ` Koen Kooi
2009-02-12 13:20 ` Otavio Salvador
@ 2009-02-12 13:24 ` Yuri Bushmelev
2009-02-12 13:56 ` Roman I Khimov
1 sibling, 1 reply; 16+ messages in thread
From: Yuri Bushmelev @ 2009-02-12 13:24 UTC (permalink / raw)
To: openembedded-devel
Hello!
> > 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=RE
> >LEASE_7_1_0
> >
> > 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:anoncvs@anoncvs.tw.FreeBSD.org:/home/ncvs login
Logging in to :pserver:anoncvs@anoncvs.tw.freebsd.org:2401/home/ncvs
CVS password:
$ cvs -d :pserver:anoncvs@anoncvs.tw.FreeBSD.org:/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
--
Yuri Bushmelev
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 13:24 ` Yuri Bushmelev
@ 2009-02-12 13:56 ` Roman I Khimov
2009-02-12 15:51 ` Otavio Salvador
0 siblings, 1 reply; 16+ messages in thread
From: Roman I Khimov @ 2009-02-12 13:56 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2531 bytes --]
Yuri Bushmelev:
> Hello!
>
> > > 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
> > >=RE LEASE_7_1_0
> > >
> > > 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):
> ...
> 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:
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -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
--- a/packages/rpm2cpio/rpm2cpio-native_1.2_2.bb
+++ b/packages/rpm2cpio/rpm2cpio-native_1.2_2.bb
@@ -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"
--
Roman
http://roman.khimov.ru
mailto: roman@khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 204 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 13:56 ` Roman I Khimov
@ 2009-02-12 15:51 ` Otavio Salvador
2009-02-12 16:34 ` Koen Kooi
0 siblings, 1 reply; 16+ messages in thread
From: Otavio Salvador @ 2009-02-12 15:51 UTC (permalink / raw)
To: openembedded-devel
Roman I Khimov <roman@khimov.ru> writes:
> 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
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org 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."
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] Fix rpm2cio sums
2009-02-12 15:51 ` Otavio Salvador
@ 2009-02-12 16:34 ` Koen Kooi
0 siblings, 0 replies; 16+ messages in thread
From: Koen Kooi @ 2009-02-12 16:34 UTC (permalink / raw)
To: openembedded-devel
On 12-02-09 16:51, Otavio Salvador wrote:
> Roman I Khimov<roman@khimov.ru> writes:
>
>> 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
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2009-02-12 16:36 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12 11:26 [PATCH] Fix rpm2cio sums Roman I Khimov
2009-02-12 11:52 ` Koen Kooi
2009-02-12 12:16 ` Philip Balister
2009-02-12 12:31 ` Philip Balister
2009-02-12 13:16 ` Otavio Salvador
2009-02-12 12:35 ` Koen Kooi
2009-02-12 13:18 ` Otavio Salvador
2009-02-12 12:47 ` Yuri Bushmelev
2009-02-12 12:57 ` Yuri Bushmelev
2009-02-12 12:41 ` Roman I Khimov
2009-02-12 12:51 ` Koen Kooi
2009-02-12 13:20 ` Otavio Salvador
2009-02-12 13:24 ` Yuri Bushmelev
2009-02-12 13:56 ` Roman I Khimov
2009-02-12 15:51 ` Otavio Salvador
2009-02-12 16:34 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.