Hello Adolf,
On 14 Feb 2022, at 13:48, Adolf Belka adolf.belka@ipfire.org wrote:
Hi all,
I have noticed that iana-etc on IPFire was last updated in 2011.
It appears that iana no longer provided a versioned form of their data. However I have found a github location that has setup an automated versioning script to automatically create a versioned source file roughly every week.
This is https://github.com/Mic92/iana-etc and the source file has the /etc/services and /etc/protocols files ready available to copy to the installation locations.
Yes, it looks like this is the source for LFS as well:
https://www.linuxfromscratch.org/lfs/view/development/chapter03/packages.htm...
Another alternative is Arch Linux who run a process once a month to download the .xml files and then run some gawk scripts to strip all the stuff that is not required for a list of the services and protocols. Arch Linux stores both the text versions and the xml versions of the services and protocols in the OS.
Since the project you linked is releasing tarballs on a regular basis, I would just go with those.
Looking at the two above options the one from Mic92 seems to be the easier options as that provides both the text and xml versions and so the LFS file would only need to copy the text versions to the correct location.
Agreed.
-Michael
Feedback on the best approach to use for this?
Regards,
Adolf.