Moved /sbin/ypbind to /usr/sbin/ypbind

This commit is contained in:
Karel Klíč 2010-05-21 12:27:21 +00:00
parent 08f5328450
commit 5ef5dbff4c
2 changed files with 17 additions and 12 deletions

View File

@ -34,7 +34,7 @@ OTHER_YPBIND_OPTS=""
# Check that networking is configured. # Check that networking is configured.
[ "${NETWORKING}" = "no" ] && exit 0 [ "${NETWORKING}" = "no" ] && exit 0
exec="/sbin/ypbind" exec="/usr/sbin/ypbind"
prog="ypbind" prog="ypbind"
lockfile=/var/lock/subsys/$prog lockfile=/var/lock/subsys/$prog

View File

@ -1,7 +1,7 @@
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.31 Version: 1.31
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Daemons Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2 Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
@ -9,7 +9,6 @@ Url: http://www.linux-nis.org/nis/ypbind-mt/index.html
Source1: ypbind.init Source1: ypbind.init
Source2: nis.sh Source2: nis.sh
Patch1: ypbind-1.11-gettextdomain.patch Patch1: ypbind-1.11-gettextdomain.patch
Requires(post): chkconfig Requires(post): chkconfig
Requires(preun): chkconfig Requires(preun): chkconfig
# This is for /sbin/service # This is for /sbin/service
@ -41,7 +40,7 @@ also need to install the ypserv package to a machine on your network.
%patch1 -p1 -b .gettextdomain %patch1 -p1 -b .gettextdomain
%build %build
%configure --sbindir=/sbin --enable-dbus-nm %configure --enable-dbus-nm
make make
%install %install
@ -71,7 +70,7 @@ fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
/sbin/ypbind %{_sbindir}/*
%{_mandir}/*/* %{_mandir}/*/*
%{_initrddir}/* %{_initrddir}/*
/etc/dhcp/dhclient.d/* /etc/dhcp/dhclient.d/*
@ -80,6 +79,12 @@ fi
%doc README NEWS COPYING %doc README NEWS COPYING
%changelog %changelog
* Fri May 21 2010 Karel Klic <kklic@redhat.com> - 3:1.31-5
- Moved /sbin/ypbind to /usr/sbin/ypbind, as the package
depends on several utilities from /usr (selinuxenabled,
rpcinfo, ypwhich), and /usr/lib/libdbus-glib-1.so
- Removed trailing whitespaces from ChangeLog
* Wed May 19 2010 Karel Klic <kklic@redhat.com> - 3:1.31-4 * Wed May 19 2010 Karel Klic <kklic@redhat.com> - 3:1.31-4
- Update SELinux context of /etc/yp.conf in nis.sh (rhbz#593278) - Update SELinux context of /etc/yp.conf in nis.sh (rhbz#593278)
- nis.sh: use condrestart instead of pidfile checking - nis.sh: use condrestart instead of pidfile checking