jhalfs download function

Bruce Dubbs bdubbs at swbell.net
Mon Nov 14 21:48:10 PST 2005


Justin R. Knierim wrote:
> Bruce Dubbs wrote:
> 
>> Now I'd like to check the files manually, but the MD5SUMS file has 300
>> entries and there are 82 files in the directory (counting MD5SUMS).  Do
>> you think it would be worthwhile to have (or generate) a MD5SUMS.LFS
>> file?
>>  
>>
> I haven't looked how jhalfs does it in a few weeks, but I think it just
> greps out the necessary file from the main MD5SUMS file. 

Right now, yes.

 There are a
> few different MD5SUMS files in the ftp repo which could be used, but
> then more if's and versions will need to be checked.
> 
> Master:  http://ftp.lfs-matrix.net/pub/lfs/conglomeration/MD5SUMS
> LFS Development:  http://ftp.lfs-matrix.net/pub/lfs/conglomeration/MD5SUMS
> LFS 6.1.1:  http://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.1.1/MD5SUMS
> LFS 6.1:  http://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.1/MD5SUMS

Well looking at LFS Development MD5SUMS, there are multiple bz2 files
for many packages.  A quick look has:

5b8773b4965618279277b05cd811e7b3  bzip2-1.0.2.tar.bz2
daa86e5a449a60d1017938bef1d4bb9f  bzip2-1.0.3.tar.bz2

b9e9bce5501f0a929023da79bcae557a  bison-2.0.tar.bz2
ef3110077462b1140b2ae612626e8486  bison-2.1.tar.bz2

a239811e56d31db86e79c6e4b5de1670  expect-5.42.1.tar.bz2
e6aaab98967f6410099b40f2b3ddebb4  expect-5.43.0.tar.bz2

etc.

There are also files that are not applicable to the standard x86 book:
aboot, hlfs patchs, mips patchs, sparc patches, gcc-3.4.x, nALFS,
uClibc, etc.

I wonder if there would be a way to pull all the files from a book and
generate custom MD5SUMS files specific for each book.

What would be ideal is to be able to download the files and do:

md5sum -C MD5SUMS.LFS.X86

and check all the files.

Perhaps all this is not really necessary.  Perhaps a script or Makefile
target that uses the jhalfs files "packages" and "patches" to do a check
of the files is all that I would like.  I know that the jhalfs script
already dows this upon download, but some kind of separate integrity
check would be useful.

  -- Bruce


  -- Bruce



More information about the alfs-discuss mailing list