verify build files for LFS

Mike McCarty Mike.McCarty at sbcglobal.net
Fri Mar 20 08:10:39 PDT 2009


Mike McCarty wrote:

[...]

> $ grep inetutils-1.5.tar.gz SHA1SUMS
> 825834b94cd387b2d088ef1cfe727de824b9589e  inetutils-1.5.tar.gz
> 
> 
> $ sha1sum lfs-site/inetutils-1.5.tar.gz
> 825834b94cd387b2d088ef1cfe727de824b9589e  lfs-site/inetutils-1.5.tar.gz
> $ sha1sum gnu-site/inetutils-1.5.tar.gz
> 825834b94cd387b2d088ef1cfe727de824b9589e  gnu-site/inetutils-1.5.tar.gz
> 
> Perhaps the SHA1SUMS file is incorrect?

No one cared to comment? Perhaps I didn't state it quite
as strongly as I should. The SHA1SUMS file is incorrect.

Using the URL you provided...

$ mkdir development
$ cd development
$ wget -N -c -nv 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/development/SHA1SUMS
09:00:21 URL: 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/development/SHA1SUMS 
[11,512] -> ".listing" [1]
09:00:22 URL: 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/development/SHA1SUMS 
[5,543] -> "SHA1SUMS" [1]

$ grep inetutils-1.5.tar.gz SHA1SUMS 
f2dc4d7fa5f5590ea71260c464f60eb3b1fc7505  ./inetutils-1.5.tar.gz

However, using the stable URL

$ cd ..
$ mkdir stable
$ cd stable
$ wget -N -c -nv 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/stable/SHA1SUMS
09:02:57 URL: 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/stable/SHA1SUMS [11,704] 
-> ".listing" [1]
09:02:57 URL: 
ftp://ftp.lfs-matrix.net/pub/lfs/lfs-packages/stable/SHA1SUMS [5,653] -> 
"SHA1SUMS" [1]

$ grep inetutils-1.5.tar.gz SHA1SUMS 
825834b94cd387b2d088ef1cfe727de824b9589e  inetutils-1.5.tar.gz

They can't both be correct. The one in "stable" seems to match
the actual source file. The one in "development" seems wrong.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!



More information about the lfs-support mailing list