Blame SPECS/yp-tools.spec

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