auto-import changelog data from ypbind-1.10-6.src.rpm
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
This commit is contained in:
parent
eba5d84954
commit
a2190fbbc2
@ -1 +1 @@
|
|||||||
ypbind-mt-1.8.tar.gz
|
ypbind-mt-1.10.tar.bz2
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
1c4a813fced112c5584bd5ea0e585911 ypbind-mt-1.8.tar.gz
|
48acfe5dcbd39bbc802cffcfe55b9e71 ypbind-mt-1.10.tar.bz2
|
||||||
|
17
ypbind.init
17
ypbind.init
@ -33,15 +33,17 @@ start() {
|
|||||||
fi
|
fi
|
||||||
echo -n $"Binding to the NIS domain: "
|
echo -n $"Binding to the NIS domain: "
|
||||||
daemon ypbind $OTHER_YPBIND_OPTS
|
daemon ypbind $OTHER_YPBIND_OPTS
|
||||||
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
|
if [ $RETVAL -ne 0 ]; then
|
||||||
|
return $RETVAL
|
||||||
|
fi
|
||||||
# the following fixes problems with the init scripts continuing
|
# the following fixes problems with the init scripts continuing
|
||||||
# even when we are really not bound yet to a server, and then things
|
# even when we are really not bound yet to a server, and then things
|
||||||
# that need NIS fail.
|
# that need NIS fail.
|
||||||
pid=`pidofproc ypbind`
|
|
||||||
if [ -n "$pid" ]; then
|
|
||||||
echo -n $"Listening for an NIS domain server."
|
echo -n $"Listening for an NIS domain server."
|
||||||
for (( times = 1; times < 5; times++ )); do
|
for (( times = 1; times < 20; times++ )); do
|
||||||
ypwhich > /dev/null 2>&1
|
/usr/sbin/rpcinfo -p | grep ypbind > /dev/null 2>&1 && ypwhich > /dev/null 2>&1
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
if [ $RETVAL -eq 0 ]; then
|
if [ $RETVAL -eq 0 ]; then
|
||||||
break;
|
break;
|
||||||
@ -49,13 +51,16 @@ start() {
|
|||||||
sleep 1
|
sleep 1
|
||||||
echo -n "."
|
echo -n "."
|
||||||
done
|
done
|
||||||
fi
|
|
||||||
if [ $RETVAL -eq 0 ]; then
|
if [ $RETVAL -eq 0 ]; then
|
||||||
initlog -n ypbind -s "bound to NIS server `ypwhich 2> /dev/null`"
|
initlog -n ypbind -s "bound to NIS server `ypwhich 2> /dev/null`"
|
||||||
touch /var/lock/subsys/ypbind
|
touch /var/lock/subsys/ypbind
|
||||||
else
|
else
|
||||||
failure "attempting to contact yp server"
|
failure "attempting to contact yp server"
|
||||||
kill $pid
|
killproc ypbind
|
||||||
|
# if we used brute force (like kill -9) we don't want those around
|
||||||
|
if [ x$(domainname) != x ] ; then
|
||||||
|
rm -f /var/yp/binding/$(domainname)*
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
return $RETVAL
|
return $RETVAL
|
||||||
|
34
ypbind.spec
34
ypbind.spec
@ -1,14 +1,15 @@
|
|||||||
Summary: The NIS daemon which binds NIS clients to an NIS domain.
|
Summary: The NIS daemon which binds NIS clients to an NIS domain.
|
||||||
Name: ypbind
|
Name: ypbind
|
||||||
Version: 1.8
|
Version: 1.10
|
||||||
Release: 1
|
Release: 6
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.gz
|
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.bz2
|
||||||
Source1: ypbind.init
|
Source1: ypbind.init
|
||||||
Patch1: ypbind-mt-1.6-broadcast.patch
|
Patch1: ypbind-mt-1.6-broadcast.patch
|
||||||
Patch2: ypbind-1.8-dos.patch
|
Patch2: ypbind-1.8-dos.patch
|
||||||
Patch3: ypbind-1.8-no_mt.patch
|
Patch3: ypbind-1.10-no_mt.patch
|
||||||
|
Patch4: ypbind-1.10-config.patch
|
||||||
Prereq: /sbin/chkconfig
|
Prereq: /sbin/chkconfig
|
||||||
Requires: portmap, yp-tools, bash >= 2.0
|
Requires: portmap, yp-tools, bash >= 2.0
|
||||||
Epoch: 3
|
Epoch: 3
|
||||||
@ -33,9 +34,10 @@ also need to install the ypserv package to a machine on your network.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ypbind-mt-%{version}
|
%setup -q -n ypbind-mt-%{version}
|
||||||
%patch1 -p0 -b .broadcast
|
%patch1 -p0
|
||||||
%patch2 -p1 -b .dos
|
#%patch2 -p1
|
||||||
%patch3 -p1 -b .no_mt
|
%patch3 -p1 -b .fixit
|
||||||
|
%patch4 -p1 -b .config
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --sbindir=/sbin
|
%configure --sbindir=/sbin
|
||||||
@ -81,6 +83,24 @@ exit 0
|
|||||||
%doc README NEWS
|
%doc README NEWS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Mon Aug 13 2001 Preston Brown <pbrown@redhat.com>
|
* Mon Aug 13 2001 Preston Brown <pbrown@redhat.com>
|
||||||
- eliminate potential DOS attack via ypwhich (#38637)
|
- eliminate potential DOS attack via ypwhich (#38637)
|
||||||
- install PO files
|
- install PO files
|
||||||
|
Loading…
Reference in New Issue
Block a user