b588fa
Summary: NIS (or YP) client programs
b588fa
Name: yp-tools
b588fa
Version: 2.14
036199
Release: 5%{?dist}
b588fa
License: GPLv2
b588fa
Group: System Environment/Base
b588fa
Source: http://www.linux-nis.org/download/yp-tools/yp-tools-%{version}.tar.bz2
b588fa
# Not sent to upstream
b588fa
Patch0: yp-tools-2.11-shadow.patch
b588fa
Patch3: yp-tools-2.12-hash.patch
b588fa
Patch4: yp-tools-2.12-crypt.patch
b588fa
Patch5: yp-tools-2.12-adjunct.patch
b588fa
Url: http://www.linux-nis.org/nis/yp-tools/index.html
b588fa
BuildRequires: autoconf, automake, gettext-devel
b588fa
Requires: ypbind
b588fa
b588fa
%description
b588fa
The Network Information Service (NIS) is a system which provides
b588fa
network information (login names, passwords, home directories, group
b588fa
information) to all of the machines on a network.  NIS can enable
b588fa
users to login on any machine on the network, as long as the machine
b588fa
has the NIS client programs running and the user's password is
b588fa
recorded in the NIS passwd database.  NIS was formerly known as Sun
b588fa
Yellow Pages (YP).
b588fa
b588fa
This package's NIS implementation is based on FreeBSD's YP and is a
b588fa
special port for glibc 2.x and libc versions 5.4.21 and later.  This
b588fa
package only provides the NIS client programs.  In order to use the
b588fa
clients, you'll need to already have an NIS server running on your
b588fa
network. An NIS server is provided in the ypserv package.
b588fa
b588fa
Install the yp-tools package if you need NIS client programs for machines
b588fa
on your network.  You will also need to install the ypbind package on
b588fa
every machine running NIS client programs.  If you need an NIS server,
b588fa
you'll need to install the ypserv package on one machine on the network.
b588fa
b588fa
%prep
b588fa
%setup -q
b588fa
%patch0 -p1 -b .shadow
b588fa
%patch3 -p1 -b .hash
b588fa
%patch4 -p1 -b .crypt
b588fa
%patch5 -p1 -b .adjunct
b588fa
autoreconf -i -f
b588fa
b588fa
%build
b588fa
%configure --disable-domainname
b588fa
make
b588fa
b588fa
%install
b588fa
make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install
b588fa
b588fa
%find_lang %name
b588fa
b588fa
%files -f %{name}.lang
b588fa
%doc AUTHORS COPYING README ChangeLog NEWS etc/nsswitch.conf
b588fa
%doc THANKS TODO
b588fa
%{_bindir}/*
b588fa
%{_mandir}/*/*
b588fa
%{_sbindir}/*
b588fa
/var/yp/nicknames
b588fa
b588fa
%changelog
036199
* Mon Jun 05 2017 Petr Kubat <pkubat@redhat.com> - 2.14-5
036199
- Properly fix adjunct check in yppasswd (#1401432)
036199
036199
* Tue Jan 17 2017 Petr Kubat <pkubat@redhat.com> - 2.14-4
036199
- Fix adjunct and shadow password checks in yppasswd (#1401432)
036199
d5eba1
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.14-3
d5eba1
- Mass rebuild 2014-01-24
d5eba1
d5eba1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.14-2
d5eba1
- Mass rebuild 2013-12-27
d5eba1
b588fa
* Mon May 06 2013 Honza Horak <hhorak@redhat.com> - 2.14-1
b588fa
- New upstream version 2.14
b588fa
b588fa
* Mon Mar 25 2013 Honza Horak <hhorak@redhat.com> - 2.12-13
b588fa
- Fix build for aarch64
b588fa
b588fa
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-12
b588fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b588fa
b588fa
* Mon Sep 24 2012 Honza Horak <hhorak@redhat.com> - 2.12-12
b588fa
- Minor spec file fixes
b588fa
b588fa
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-11
b588fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b588fa
b588fa
* Wed Jul 11 2012 Honza Horak <hhorak@redhat.com> - 2.12-10
b588fa
- Minor spec file fixes
b588fa
b588fa
* Mon Apr 23 2012 Honza Horak <hhorak@redhat.com> - 2.12-9
b588fa
- Do not check old passwords using passwd.adjunct feature
b588fa
- Patch from Paul Wouters to handle crypt() returning NULL
b588fa
  Resolves: #814803
b588fa
b588fa
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-8
b588fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b588fa
b588fa
* Fri Sep 09 2011 Honza Horak <hhorak@redhat.com> - 2.12-7
b588fa
- Added YP_PASSWD_HASH environment variable to set default
b588fa
  algorithm for hashing a new password
b588fa
  Resolves: #699666
b588fa
b588fa
* Wed May 04 2011 Honza Horak <hhorak@redhat.com> - 2.12-6
b588fa
- Applied -gethost patch to check return value
b588fa
  (rhbz#698619)
b588fa
b588fa
* Fri Mar 18 2011 Honza Horak <hhorak@redhat.com> - 2.12-5
b588fa
- Applied -typo patch to fix a grammar mistake
b588fa
  (rhbz#668743)
b588fa
b588fa
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-4
b588fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b588fa
b588fa
* Tue Nov 23 2010 Karel Klic <kklic@redhat.com> - 2.12-3
b588fa
- Reverted previous change
b588fa
b588fa
* Tue Nov 23 2010 Karel Klic <kklic@redhat.com> - 2.12-2
b588fa
- Added patch that removes ypclnt.c from being compiled into
b588fa
  ypmatch (rhbz#546149)
b588fa
b588fa
* Fri Nov 19 2010 Karel Klic <kklic@redhat.com> - 2.12-1
b588fa
- New upstream version
b588fa
b588fa
* Fri Nov 19 2010 Karel Klic <kklic@redhat.com> - 2.11-2
b588fa
- Added patch to fix yppasswd utility when used with shadow
b588fa
  passwords (rhbz#653921)
b588fa
- Removed %%clean section
b588fa
b588fa
* Tue Apr 20 2010 Karel Klic <kklic@redhat.com> - 2.11-1
b588fa
- New upstream release
b588fa
- MD5, SHA-2 passwords patch merged by upstream
b588fa
- Removed BuildRoot tag
b588fa
b588fa
* Thu Apr 15 2010 Karel Klic <kklic@redhat.com> - 2.10-3
b588fa
- Added a new patch -passwords, which merges -md5 and -sha-2 patches
b588fa
  together, and adds proper MD5/SHA support to verifypassword()
b588fa
  #514061
b588fa
b588fa
* Mon Mar 01 2010 Karel Klic <kklic@redhat.com> - 2.10-2
b588fa
- /var/yp is owned by the filesystem package (#569383)
b588fa
b588fa
* Thu Dec 10 2009 Karel Klic <kklic@redhat.com> - 2.10-1
b588fa
- Updated to new version
b588fa
- Removed unnecessary obsoletes
b588fa
b588fa
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.9-8
b588fa
- Convert specfile to UTF-8.
b588fa
b588fa
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-7
b588fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b588fa
b588fa
* Wed Mar  4 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.9-6
b588fa
- Add SHA-2 password hashes support
b588fa
  Resolves: #487607
b588fa
b588fa
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9-5
b588fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b588fa
b588fa
* Mon Aug 11 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.9-4
b588fa
- Fix license tag.
b588fa
b588fa
* Mon Feb 11 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.9-3
b588fa
- Fix Buildroot
b588fa
b588fa
* Tue Jul 31 2007 Steve Dickson <steved@redhat.com> 2.9-1
b588fa
- Changed install process to create an useful debuginfo package (bz 249961) 
b588fa
b588fa
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.9-0.1
b588fa
- rebuild
b588fa
b588fa
* Mon Feb 13 2006 Chris Feist <cfeist@redhat.com> - 2.9-0
b588fa
- bump again for double-long bug on ppc(64)
b588fa
b588fa
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.8-8.2
b588fa
- rebuilt for new gcc4.1 snapshot and glibc changes
b588fa
b588fa
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
b588fa
- rebuilt
b588fa
b588fa
* Fri Jun 18 2004 Alan Cox <alan@redhat.com>
b588fa
- Fix buffer overflow (non security) thanks to D Binderman
b588fa
b588fa
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
b588fa
- rebuilt
b588fa
b588fa
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
b588fa
- rebuilt
b588fa
b588fa
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
b588fa
- rebuilt
b588fa
b588fa
* Wed Apr 23 2003 Steve Dickson <SteveD@RedHat.com>
b588fa
- Update to 2.7 from upstream
b588fa
- Updated yppasswd md5 patch
b588fa
b588fa
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
b588fa
- rebuilt
b588fa
b588fa
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
b588fa
- rebuild on all arches
b588fa
b588fa
* Wed Aug 28 2002 Nalin Dahyabhai <nalin@redhat.com> 2.7-3
b588fa
- properly terminate an alloca'ed string in yppasswd which would lead to
b588fa
  improper rejection of the request if the user's pw_passwd was visible
b588fa
b588fa
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
b588fa
- automated rebuild
b588fa
b588fa
* Tue Jun 11 2002 Alexander Larsson <alexl@redhat.com>
b588fa
- Update to 2.7 from upstream
b588fa
- Updated yppasswd md5 patch
b588fa
b588fa
* Thu May 23 2002 Tim Powers <timp@redhat.com>
b588fa
- automated rebuild
b588fa
b588fa
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 2.6-4
b588fa
- Updated passwd patch with Nalins comments
b588fa
b588fa
* Fri Mar 22 2002 Alex Larsson <alexl@redhat.com> 2.6-3
b588fa
- Add patch that handles MD5 passwords and HPU/X password aging.
b588fa
- This should hopefully fix #19045 and #22667
b588fa
b588fa
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
b588fa
- automated rebuild
b588fa
b588fa
* Tue Jul 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
b588fa
- own /var/yp
b588fa
b588fa
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
b588fa
- Bump release + rebuild.
b588fa
b588fa
* Mon Feb 26 2001 Trond Eivind Glomsrød <teg@redhat.com>
b588fa
- langify
b588fa
b588fa
* Wed Sep 27 2000 Florian La Roche <Florian.LaRoche@redhat.de>
b588fa
- add another security patch
b588fa
b588fa
* Sun Aug 20 2000 Florian La Roche <Florian.LaRoche@redhat.com>
b588fa
- allow passwords up to 128 characters
b588fa
b588fa
* Tue Aug 15 2000 Nalin Dahyabhai <nalin@redhat.com>
b588fa
- change License from GNU to GPL
b588fa
- fix handling of defaults in ypchfn (#13830)
b588fa
b588fa
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
b588fa
- automatic rebuild
b588fa
b588fa
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
b588fa
- use %%{_mandir}
b588fa
b588fa
* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
b588fa
- man pages are compressed
b588fa
- version 2.4
b588fa
b588fa
* Tue Oct 26 1999 Bill Nottingham <notting@redhat.com>
b588fa
- get rid of bogus messages.
b588fa
b588fa
* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
b588fa
- patched /var/yp/nicknames so that hosts resolves to hosts.byname,
b588fa
- not hosts.byaddr (bug # 2389)
b588fa
b588fa
* Sun May 30 1999 Jeff Johnson <jbj@redhat.com>
b588fa
- update to 2.3.
b588fa
b588fa
* Fri Apr 16 1999 Cristian Gafton <gafton@redhat.com>
b588fa
- version 2.2
b588fa
- make it obsolete older yp-clients package
b588fa
b588fa
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
b588fa
- auto rebuild in the new build environment (release 3)
b588fa
b588fa
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
b588fa
- build for glibc 2/1
b588fa
- version 2.1
b588fa
- require ypbind
b588fa
b588fa
* Fri Jun 12 1998 Aron Griffis <agriffis@coat.com>
b588fa
- upgraded to 2.0
b588fa
b588fa
* Thu May 07 1998 Prospector System <bugs@redhat.com>
b588fa
- translations modified for de, fr, tr
b588fa
b588fa
* Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com>
b588fa
- upgraded to 1.4.1
b588fa
b588fa
* Thu Dec 04 1997 Cristian Gafton <gafton@redhat.com>
b588fa
- put yppasswd again in the package, 'cause it is the right thing to do
b588fa
  (sorry djb!)
b588fa
- obsoletes old, unmaintained yppasswd package
b588fa
b588fa
* Sat Nov 01 1997 Donnie Barnes <djb@redhat.com>
b588fa
- removed yppasswd from this package.
b588fa
b588fa
* Fri Oct 31 1997 Donnie Barnes <djb@redhat.com>
b588fa
- pulled from contrib into distribution (got fresh sources).  Thanks
b588fa
  to Thorsten Kukuk <kukuk@vt.uni-paderborn.de> for the original.
b588fa
- used fresh sources