Patch-ID# 102159-01
Keywords: make.script, getservbyname, nis, yp, services, services.byservicename
Synopsis: SunOS 4.1.3: modifications to create services.byservicename nis map
Date: Dec/06/94

Solaris Release: 1.1

SunOS Release: 4.1.3 4.1.3C

Unbundled Product: 

Unbundled Release: 

Relevant Architectures: sparc

BugId's fixed with this patch: 1180937

Changes incorporated in this version: 

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

   make.script

Problem Description: 

1180937: /var/yp/Makefile does not create services.byservicename map.
The lack of the services.byservicename map reduces the performance of
getservbyname nis lookups.


Patch Installation Instructions: 

Perform all commands as root.

Make a copy of the existing make.script.
cp /var/yp/make.script /var/yp/make.script.FCS
cp /usr/lib/NIS.Makefile /usr/lib/NIS.Makefile.FCS

Install the patched file:
Note that /var/yp/Makefile is a symbolic link to /var/yp/make.script.
cp make.script /var/yp/make.script
cp make.script /usr/lib/NIS.Makefile

Modify /var/yp/make.script to reflect site specific changes.
Use the saved make.script as a reference.

Build the new services.byservicename map.
cd /var/yp
touch $DIR/services where $DIR is the yp source directory defined in Makefile.
make services

