Subject: misc/4205: Adding Netatalk support to /etc/services
To: None <>
From: Bill Studenmund <wrstuden@vespasia.Stanford.EDU>
List: netbsd-bugs
Date: 10/01/1997 22:39:58
>Number:         4205
>Category:       misc
>Synopsis:       Netatalk needs stuff in /etc/services which we can easily add
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct  1 22:50:02 1997
>Originator:     Bill Studenmund

>Release:        NetBSD-current from Fall 1997
System: NetBSD vespasia 1.2G NetBSD 1.2G (VESPASIA) #7: Wed Aug 20 20:15:06 PDT 1997 root@vespasia:/y2/ i386

	One of the patches needed to install the Userland part of Netatalk is
to add 4 lines to /etc/services (the other things are a kernel with options
NETATALK, and the userland code). Each time someone updates /etc, this patch
will need to be re-applied. As we support NETATALK in some GENERIC kernels
(mac68k for example), this re-patching is clumsy.
Patch /etc/services for Netatalk.
Update /etc
Re-patch /etc/services for Netatalk.

Patch the source for /etc/services to include the Netatalk-needed services.
I've included a patch below which tries to be a bit more helpful than the
normal one (though we still need a man atalk).

Index: src/etc/services
diff -c src/etc/services: src/etc/services:1.3
*** src/etc/services:	Wed Aug 13 09:25:55 1997
--- src/etc/services	Wed Oct  1 22:30:03 1997
*** 188,190 ****
--- 188,200 ----
  nfs		2049/udp	nfsd	# Sun NFS
  nfs		2049/tcp	nfsd	# Sun NFS
  ircd		6667/tcp		# Often used IRC port.
+ #
+ #
+ # Netatalk (in-kernel Appletalk) services
+ # Note: The running kernel must be configured with "options NETATALK"
+ # and software not included in NetBSD, such as Netatalk version 1.4b2
+ # or later, must be used to take advantage of these services.
+ rtmp		1/ddp		# Routing Table Maintenance Protocol
+ nbp		2/ddp		# Name Binding Protocol
+ echo		4/ddp		# AppleTalk Echo Protocol
+ zip		6/ddp		# Zone Information Protocol