Blame SPECS/yp-tools.spec

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