I am getting ready to change the iana file installation in LFS.  The 
procedure will be to download:

http://anduin.linuxfromscratch.org/sources/LFS/lfs-packages/conglomeration/iana-etc/iana-files-1.0.tar.xz

After unpacking the install will be:

install -m644 -u root -g root services protocols /etc
install -m744 -u root -g root update* /usr/sbin

Two executable scripts are installed, update-iana-protocols and 
update-iana-services.  These scripts create /usr/share/iana-etc if it 
does not exist and use wget (not available in LFS) to get the upstream 
xml files.  The scripts then parse the xml files and update 
/etc/protocols and /etc/services as appropriate.

As I write this, I'm thinking that the header of the installed files 
should perhaps also read:

# To update this file, use the update-iana-<file> script.

We might also want to just number the tarball iana-files-1.tar.xz and 
increment the number as needed without major/minor versions.

Other tweaks can be made. Please let me know what you think.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to