pkg://yp-clients-2.2-8.src.rpm:31685/yp-clients-2.2.spec
info downloads
Summary: NIS (YP) clients
Name: yp-clients
Version: 2.2
Release: 8
Copyright: distributable
Group: Networking/Utilities
Source0: sunsite.unc.edu:/pub/Linux/system/Network/admin/yp-clients-2.2.tar.gz
Source1: libc-5.0.9/nyx/yp/clients/ypcat.c
Source2: libc-5.0.9/nyx/yp/clients/ypmatch.c
Patch0: yp-clients-2.2-make.patch
Patch1: yp-clients-2.2-ping.patch
Patch2: yp-clients-2.2-clients.patch
ExcludeArch: alpha
%description
This implementation of NIS for linux is based on the YP stuff for
NetBSD from Theo Deraadt and an independend port of H.J. Lu.
This implementation only provides NIS _clients_. You must already have
a NIS server running somewhere. You can find one for linux on
ftp://ftp.lysator.liu.se/pub/NYS. Please read the NIS-HOWTO, too.
%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
make CC=gcc
#make 'SUBDIR=ypbind ypwhich yppoll ypset yppasswd'
#cp $RPM_SOURCE_DIR/ypcat.c .
#cp $RPM_SOURCE_DIR/ypmatch.c .
#gcc -O2 ypcat.c -o ypcat.bin
#gcc -O2 ypmatch.c -o ypmatch.bin
%install
make install
#make 'SUBDIR=ypbind ypwhich yppoll ypset yppasswd' install
#install -m755 ypcat.bin /usr/bin/ypcat
#install -m755 ypmatch.bin /usr/bin/ypmatch
%files
%doc README yp.conf.example
/usr/bin/ypwhich
/usr/bin/ypcat
/usr/bin/ypmatch
/usr/sbin/ypbind
/usr/man/man8/ypbind.8
/usr/sbin/yppoll
/usr/sbin/ypset