From owner-freebsd-current Sat Sep 12 18:22:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04289 for freebsd-current-outgoing; Sat, 12 Sep 1998 18:22:29 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.camalott.com (mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04275 for ; Sat, 12 Sep 1998 18:22:22 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-97.camalott.com [208.229.74.97]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id UAA09351; Sat, 12 Sep 1998 20:24:01 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id UAA03396; Sat, 12 Sep 1998 20:22:01 -0500 (CDT) (envelope-from joelh) Date: Sat, 12 Sep 1998 20:22:01 -0500 (CDT) Message-Id: <199809130122.UAA03396@detlev.UUCP> To: Robert Watson CC: Studded , freebsd-current@FreeBSD.ORG In-reply-to: Subject: Re: Plans to upgrade /etc/services? From: Joel Ray Holveck Reply-to: joelh@gnu.org References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have taken the IANA port list and reformatted it a bit to use #'s for > comments and so on. There is a copy of it at > However, I wasn't sure what the formatting requirements for /etc/services > were. The IANA list has a number of entries like this: > 0/tcp #Reserved > 0/udp #Reserved > That is, with no actual service name. Will FreeBSD support libraries > care? Should I just comment them out in the style of the current services > file? (there are aroud 20 such instances in the IANA ports list) I would recommend doing so. > Also, the IANA ports list does not include the duplicate names for ports > -- for example, the current services file lists: > imap 143/tcp imap2 imap4 #Interim Mail Access Protocol v2 > IANA just has an entry in the form: > imap 143/tcp #Internet Message Access Protocol > There are a number of cases where IANA has two names for the same port, > and lists them on sequential lines instead of using the BSD extension > format with the additional names before the comment. It would appear to be fairly easy to write a Perl script to merge the two. Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message