[oe] [PATCH] Fix rpm2cio sums

Roman I Khimov roman at khimov.ru
Thu Feb 12 13:56:50 UTC 2009


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 at khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090212/d36f1484/attachment-0002.sig>


More information about the Openembedded-devel mailing list