2004-09-09 15:12:12 +00:00
|
|
|
|
Summary: The NIS daemon which binds NIS clients to an NIS domain.
|
|
|
|
|
Name: ypbind
|
2004-09-09 15:19:34 +00:00
|
|
|
|
Version: 1.17.2
|
2005-01-24 14:09:09 +00:00
|
|
|
|
Release: 5
|
2004-09-09 15:19:13 +00:00
|
|
|
|
License: GPL
|
2004-09-09 15:12:12 +00:00
|
|
|
|
Group: System Environment/Daemons
|
2004-09-09 15:15:48 +00:00
|
|
|
|
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.bz2
|
2004-09-09 15:17:31 +00:00
|
|
|
|
Url: http://www.linux-nis.org/nis/ypbind-mt/index.html
|
2004-09-09 15:12:12 +00:00
|
|
|
|
Source1: ypbind.init
|
2004-09-09 15:16:22 +00:00
|
|
|
|
Patch1: ypbind-1.11-broadcast.patch
|
2004-09-09 15:17:31 +00:00
|
|
|
|
Patch2: ypbind-1.11-gettextdomain.patch
|
2004-09-09 15:19:13 +00:00
|
|
|
|
Patch3: ypbind-mt-1.16-bindingrace.patch
|
|
|
|
|
Patch4: ypbind-mt-1.16-nullhandle.patch
|
2004-09-09 15:12:20 +00:00
|
|
|
|
Prereq: /sbin/chkconfig
|
|
|
|
|
Requires: portmap, yp-tools, bash >= 2.0
|
2004-09-09 15:12:12 +00:00
|
|
|
|
Epoch: 3
|
2004-09-09 15:12:20 +00:00
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
2004-09-09 15:12:12 +00:00
|
|
|
|
|
|
|
|
|
%description
|
2004-09-09 15:14:19 +00:00
|
|
|
|
The Network Information Service (NIS) is a system that provides
|
2004-09-09 15:12:12 +00:00
|
|
|
|
network information (login names, passwords, home directories, group
|
2004-09-09 15:14:19 +00:00
|
|
|
|
information) to all of the machines on a network. NIS can allow users
|
|
|
|
|
to log in 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).
|
2004-09-09 15:12:12 +00:00
|
|
|
|
|
2004-09-09 15:14:19 +00:00
|
|
|
|
This package provides the ypbind daemon. The ypbind daemon binds NIS
|
|
|
|
|
clients to an NIS domain. Ypbind must be running on any machines
|
|
|
|
|
running NIS client programs.
|
2004-09-09 15:12:12 +00:00
|
|
|
|
|
2004-09-09 15:14:19 +00:00
|
|
|
|
Install the ypbind package on any machines running NIS client programs
|
|
|
|
|
(included in the yp-tools package). If you need an NIS server, you
|
|
|
|
|
also need to install the ypserv package to a machine on your network.
|
2004-09-09 15:12:20 +00:00
|
|
|
|
|
2004-09-09 15:12:12 +00:00
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n ypbind-mt-%{version}
|
2004-09-09 15:16:22 +00:00
|
|
|
|
%patch1 -p1 -b .broadcast
|
2004-09-09 15:17:31 +00:00
|
|
|
|
%patch2 -p1 -b .fixit
|
2004-09-09 15:18:19 +00:00
|
|
|
|
%patch3 -p1 -b .race
|
2004-09-09 15:19:13 +00:00
|
|
|
|
%patch4 -p1 -b .nullhandle
|
2004-09-09 15:12:12 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2004-09-09 15:14:19 +00:00
|
|
|
|
%configure --sbindir=/sbin
|
2004-09-09 15:12:12 +00:00
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%makeinstall sbindir=$RPM_BUILD_ROOT/sbin
|
|
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d $RPM_BUILD_ROOT/var/yp/binding
|
|
|
|
|
install -m 644 etc/yp.conf $RPM_BUILD_ROOT/etc/yp.conf
|
|
|
|
|
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ypbind
|
|
|
|
|
|
2004-09-09 15:14:19 +00:00
|
|
|
|
%{find_lang} %{name}
|
|
|
|
|
|
2004-09-09 15:12:12 +00:00
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/chkconfig --add ypbind
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
if [ "$1" = 0 ] ; then
|
|
|
|
|
/sbin/service ypbind stop > /dev/null 2>&1
|
|
|
|
|
/sbin/chkconfig --del ypbind
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
if [ "$1" -ge 1 ]; then
|
|
|
|
|
/sbin/service ypbind condrestart > /dev/null 2>&1
|
|
|
|
|
fi
|
|
|
|
|
exit 0
|
|
|
|
|
|
2004-09-09 15:14:19 +00:00
|
|
|
|
%files -f %{name}.lang
|
2004-09-09 15:12:12 +00:00
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
/sbin/ypbind
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
%config /etc/rc.d/init.d/*
|
2004-09-09 15:18:19 +00:00
|
|
|
|
%config(noreplace) /etc/yp.conf
|
2004-09-09 15:13:42 +00:00
|
|
|
|
%dir /var/yp
|
2004-09-09 15:12:12 +00:00
|
|
|
|
%dir /var/yp/binding
|
|
|
|
|
%doc README NEWS
|
|
|
|
|
|
|
|
|
|
%changelog
|
2005-01-24 13:57:41 +00:00
|
|
|
|
* Mon Jan 24 2005 Steve Dickson <SteveD@RedHat.com> 1.17.2-4
|
|
|
|
|
- Changed the initscript to use the logger command instead
|
|
|
|
|
of initlog script, since the initlog script has gone away.
|
|
|
|
|
|
|
|
|
|
* Fri Oct 15 2004 Steve Dickson <SteveD@RedHat.com> 1.17.2-3
|
2004-10-15 16:01:32 +00:00
|
|
|
|
- Sped up the ypbind initscript by using fgrep
|
|
|
|
|
instead of grep (bz# 81247)
|
|
|
|
|
|
2004-09-09 15:19:54 +00:00
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-09-09 15:19:34 +00:00
|
|
|
|
* Tue Feb 24 2004 Phil Knirsch <pknirsch@redhat.com> 1.17.2-1
|
|
|
|
|
- Another updated to latest upstream version.
|
|
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2004-09-09 15:19:13 +00:00
|
|
|
|
* Mon Jan 19 2004 Phil Knirsch <pknirsch@redhat.com> 1.16-1
|
|
|
|
|
- Updated to latest upstream version.
|
|
|
|
|
|
|
|
|
|
* Thu Nov 20 2003 Steve Dickson <SteveD@RedHat.com>
|
|
|
|
|
- Added a NULL check to test_bindings() to make sure
|
|
|
|
|
clnt_call() is not called with a NULL pointer.
|
|
|
|
|
|
|
|
|
|
* Sat Oct 4 2003 Steve Dickson <SteveD@RedHat.com>
|
|
|
|
|
- Updated Release number for RHEL3 QU1
|
|
|
|
|
|
|
|
|
|
* Tue Sep 9 2003 Steve Dickson <SteveD@RedHat.com>
|
2004-09-09 15:18:19 +00:00
|
|
|
|
- Fixed a binding race where the wrong results were being returned.
|
|
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Wed May 21 2003 Bill Nottingham <notting@redhat.com> 1.12-1.10
|
|
|
|
|
- make yp.conf %config(noreplace)
|
|
|
|
|
|
2004-09-09 15:17:31 +00:00
|
|
|
|
* Thu Apr 24 2003 Steve Dickson <SteveD@RedHat.com>
|
|
|
|
|
- Updated to 1.12 from upstream.
|
|
|
|
|
- Removed ypbind-1.8-dos.patch since it
|
|
|
|
|
was already commented out
|
|
|
|
|
- Updated broadcast patch
|
|
|
|
|
|
2004-09-09 15:16:41 +00:00
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
|
|
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- build on all arches
|
|
|
|
|
|
2004-09-09 15:16:34 +00:00
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
2004-09-09 15:16:22 +00:00
|
|
|
|
* Tue Jun 11 2002 Alex Larsson <alexl@redhat.com> 1.11-1
|
|
|
|
|
- Updated to 1.11 from upstream.
|
|
|
|
|
- Removed patche that went in upstream.
|
|
|
|
|
- Updated broadcast patch
|
|
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
2004-09-09 15:15:54 +00:00
|
|
|
|
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 1.10-7
|
|
|
|
|
- Get failure message right in init script (#37463 again)
|
|
|
|
|
|
2004-09-09 15:15:48 +00:00
|
|
|
|
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 1.10-6
|
|
|
|
|
- Fix bugs in initscript. Should fix #37463 and #61857
|
|
|
|
|
|
|
|
|
|
* Mon Mar 25 2002 Alex Larsson <alexl@redhat.com> 1.10-5
|
|
|
|
|
- New config patch that handles failing gethostbynames even better
|
|
|
|
|
|
|
|
|
|
* Thu Mar 21 2002 Alex Larsson <alexl@redhat.com> 1.10-4
|
|
|
|
|
- Added patch to avoid hanging if gethostbyname fails. (#56322)
|
|
|
|
|
|
|
|
|
|
* Sun Mar 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- fixed #57393
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to version 1.10
|
|
|
|
|
|
2004-09-09 15:14:19 +00:00
|
|
|
|
* Mon Aug 13 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- eliminate potential DOS attack via ypwhich (#38637)
|
|
|
|
|
- install PO files
|
|
|
|
|
|
2004-09-09 15:13:42 +00:00
|
|
|
|
* Tue Jul 17 2001 Karsten Hopp <karsten@redhat.de>
|
|
|
|
|
- own /var/yp
|
|
|
|
|
|
|
|
|
|
* Fri Jun 29 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.8
|
|
|
|
|
|
|
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
|
2004-09-09 15:13:09 +00:00
|
|
|
|
* Fri Jun 4 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- small fixes for initscript. Sometimes had trouble on slower systems (#37463)
|
2004-09-09 15:12:22 +00:00
|
|
|
|
|
2004-09-09 15:12:20 +00:00
|
|
|
|
* Sat Mar 3 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
|
- much more sane ypbind init script for when networking is down.
|
|
|
|
|
|
|
|
|
|
* Wed Feb 7 2001 Trond Eivind Glomsr<EFBFBD>d <teg@redhat.com>
|
|
|
|
|
- fix "usage" string (use $0)
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- prepare for initscript translation
|
|
|
|
|
- do not prereq /etc/init.d
|
|
|
|
|
|
|
|
|
|
* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
|
- Start after netfs (#23526)
|
|
|
|
|
|
2004-09-09 15:12:15 +00:00
|
|
|
|
* Wed Nov 29 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- set NIS domain name if it's not already set
|
|
|
|
|
|
2004-09-09 15:12:20 +00:00
|
|
|
|
* Mon Oct 02 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- update to 1.7
|
|
|
|
|
|
|
|
|
|
* Thu Aug 31 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- add again automatic fallback to broadcast
|
|
|
|
|
|
2004-09-09 15:12:12 +00:00
|
|
|
|
* Sun Aug 20 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- fix condrestart #16615
|
|
|
|
|
- security fix for syslog() call
|
|
|
|
|
|
|
|
|
|
* Sun Aug 6 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- do not include broadcast fallback until it is more tested
|
|
|
|
|
|
|
|
|
|
* Sun Aug 6 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
|
- add automatic fallback to broadcast
|
|
|
|
|
- add "exit 0" to the scripts
|
|
|
|
|
|
|
|
|
|
* Wed Aug 2 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- turn off broadcast; authconfig will enable this...
|
|
|
|
|
- put the pid that's actually listening to signals in the pidfile
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- move initscript back
|
|
|
|
|
|
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 7 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
|
|
|
|
- prereq init.d
|
|
|
|
|
|
|
|
|
|
* Wed Jul 5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
|
|
|
|
- re-enable broadcasts
|
|
|
|
|
|
|
|
|
|
* Tue Jul 4 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
|
|
|
|
- fix scripts
|
|
|
|
|
|
|
|
|
|
* Mon Jul 3 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
|
- bump epoch
|
|
|
|
|
|
|
|
|
|
* Mon Jul 3 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
|
|
|
|
- switch from ypbind to ypbind-mt
|