diff --git a/.cvsignore b/.cvsignore index e69de29..6c6d7cd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +yp-tools-2.4.tar.gz diff --git a/sources b/sources index e69de29..3ced43a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +eb8923bc0966e25d536189e4f6664617 yp-tools-2.4.tar.gz diff --git a/yp-tools.spec b/yp-tools.spec new file mode 100644 index 0000000..6d14628 --- /dev/null +++ b/yp-tools.spec @@ -0,0 +1,116 @@ +Summary: NIS (or YP) client programs. +Name: yp-tools +Version: 2.4 +Release: 4 +License: GPL +Group: System Environment/Base +Source: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/yp-tools-%{version}.tar.gz +Patch: yp-tools-2.4-defaults.patch +Url: http://www-vt.uni-paderborn.de/~kukuk/linux/nis.html +Obsoletes: yppasswd, yp-clients +Requires: ypbind +Buildroot: %{_tmppath}/%{name}-root + +%description +The Network Information Service (NIS) is a system which provides +network information (login names, passwords, home directories, group +information) to all of the machines on a network. NIS can enable +users to login on any machine on the network, as long as the machine +has the NIS client programs running and the user's password is +recorded in the NIS passwd database. NIS was formerly known as Sun +Yellow Pages (YP). + +This package's NIS implementation is based on FreeBSD's YP and is a +special port for glibc 2.x and libc versions 5.4.21 and later. This +package only provides the NIS client programs. In order to use the +clients, you'll need to already have an NIS server running on your +network. An NIS server is provided in the ypserv package. + +Install the yp-tools package if you need NIS client programs for machines +on your network. You will also need to install the ypbind package on +every machine running NIS client programs. If you need an NIS server, +you'll need to install the ypserv package on one machine on the network. + +%prep +%setup -q +%patch -p1 -b .defaults + +%build +%configure --disable-domainname +make + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR="$RPM_BUILD_ROOT" install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING README ChangeLog NEWS etc/nsswitch.conf +%doc THANKS TODO +/usr/bin/* +%{_mandir}/*/* +/usr/sbin/* +/usr/share/locale/*/*/* +/var/yp/nicknames + +%changelog +* Tue Aug 15 2000 Nalin Dahyabhai +- change License from GNU to GPL +- fix handling of defaults in ypchfn (#13830) + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Sun Jun 18 2000 Matt Wilson +- use %%{_mandir} + +* Thu Feb 03 2000 Cristian Gafton +- man pages are compressed +- version 2.4 + +* Tue Oct 26 1999 Bill Nottingham +- get rid of bogus messages. + +* Fri Aug 27 1999 Preston Brown +- patched /var/yp/nicknames so that hosts resolves to hosts.byname, +- not hosts.byaddr (bug # 2389) + +* Sun May 30 1999 Jeff Johnson +- update to 2.3. + +* Fri Apr 16 1999 Cristian Gafton +- version 2.2 +- make it obsolete older yp-clients package + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 3) + +* Thu Dec 17 1998 Cristian Gafton +- build for glibc 2/1 +- version 2.1 +- require ypbind + +* Fri Jun 12 1998 Aron Griffis +- upgraded to 2.0 + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Mon Apr 13 1998 Cristian Gafton +- upgraded to 1.4.1 + +* Thu Dec 04 1997 Cristian Gafton +- put yppasswd again in the package, 'cause it is the right thing to do + (sorry djb!) +- obsoletes old, unmaintained yppasswd package + +* Sat Nov 01 1997 Donnie Barnes +- removed yppasswd from this package. + +* Fri Oct 31 1997 Donnie Barnes +- pulled from contrib into distribution (got fresh sources). Thanks + to Thorsten Kukuk for the original. +- used fresh sources