public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* iana-etc
@ 2022-02-14 13:48 Adolf Belka
  2022-02-14 14:33 ` iana-etc Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Adolf Belka @ 2022-02-14 13:48 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

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.

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.

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.


Feedback on the best approach to use for this?


Regards,

Adolf.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iana-etc
  2022-02-14 13:48 iana-etc Adolf Belka
@ 2022-02-14 14:33 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2022-02-14 14:33 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]

Hello Adolf,

> On 14 Feb 2022, at 13:48, Adolf Belka <adolf.belka(a)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.html

> 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.
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-14 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 13:48 iana-etc Adolf Belka
2022-02-14 14:33 ` iana-etc Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox