Jeremy Huntwork wrote:
Sounds good to me. :) Thanks, Justin.
Ok, here is the text for what I do for ftp updates. I don't know how useful it will be, since all these changes are made on the osuosl ftp server and only Tim Jackson and myself have access.
If anyone has any better ideas/methods I would be glad to hear of them.
Justin R. Knierim LFS FTP Maintainer
---------------------------------------
The LFS ftp repository is currently hosted on the Oregon State Univerity Open Source Lab rsync server (rsync.osuosl.org) because we needed a centralized server with a fast connection to syncronize the growing number of LFS ftp mirrors. The LFS ftp maintainers, Tim Jackson and Justin Knierim, have access to this server to update the packages.
The structure of the ftp repository is optimized for space saving, as not all servers have room more than two gigabytes of files. All packages are stored in the <ftp dir>/pub/lfs/lfs-packages/conglomeration/<package name, version omitted> directory. Each version of LFS, as well as development, testing or unstable, has a directory under <ftp dir>/pub/lfs/lfs-packages. The packages for the specific version are symlinked to the conglomeration directory and package file. Afterwards all files will be md5sum'ed and a tarball of all files in the versions directory made, and placed in <ftp dir>/pub/lfs/lfs-packages/ for easier downloading.
The process of updating a file is as follows. We will update package bash-2.05a.tar.bz2 to bash-2.05b.tar.bz2 in version development as an example.
1. Download the new source file bash-2.05b.tar.bz2 to your home directory and check for integrity. Now copy the file to the <ftp dir>/pub/lfs/lfs-packages/conglomeration/bash directory.
2. Change to the <ftp dir>/pub/lfs/lfs-packages/development directory. Remove all symlinks for the old bash version, for example "rm bash-2.05a.tar.bz2".
3. Create a new symlink to the new version. For example, "ln -sf ../conglomeration/bash/bash-2.05b.tar.bz2".
4. Update the MD5SUMS file that resides in <ftp dir>/pub/lfs/lfs-packages/conglomeration by running the following commands:
cd <ftp dir>/pub/lfs/lfs-packages/conglomeration rm MD5SUMS
for i in `find . -type f` do echo $i md5sum $i >> MD5SUMS done
5. Create a new tarball by running the following commands (this is specific to development version):
rm <ftp dir>/pub/lfs/lfs-packages/lfs-packages-development*.tar
mkdir <tmp dir>
cp <ftp dir>/pub/lfs/lfs-packages/development/* <tmp dir>
cd <tmp dir>
tar --create --file=lfs-packages-development-`date "+%Y%m%d"`.tar *
cp lfs-packages-development-`date "+%Y%m%d"`.tar <ftp dir>/pub/lfs/lfs-packages
rm <tmp dir>/* rmdir <tmp dir>
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page