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

@ -12,7 +12,7 @@
# processname: ypbind # processname: ypbind
# config: /etc/yp.conf # config: /etc/yp.conf
# #
# See https://fedoraproject.org/wiki/Packaging:SysVInitScript for # See https://fedoraproject.org/wiki/Packaging:SysVInitScript for
# the guidelines document. # the guidelines document.
OTHER_YPBIND_OPTS="" OTHER_YPBIND_OPTS=""
@ -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
@ -187,7 +187,7 @@ case "$1" in
;; ;;
stop) stop)
rh_status_q || exit 0 rh_status_q || exit 0
$1 $1
;; ;;
restart) restart)
$1 $1

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
@ -97,10 +102,10 @@ fi
* Mon Jan 4 2010 Karel Klic <kklic@redhat.com> - 3:1.31-1 * Mon Jan 4 2010 Karel Klic <kklic@redhat.com> - 3:1.31-1
- Updated to version 1.31 from upstream - Updated to version 1.31 from upstream
- Removed signalstate patch because it was merged by upstream - Removed signalstate patch because it was merged by upstream
- Removed man-port patch, because it was rejected by - Removed man-port patch, because it was rejected by
the upstream. Option '-p' does not work in all cases, it the upstream. Option '-p' does not work in all cases, it
is not supported, intentionally not included in is not supported, intentionally not included in
the documentation, and it is also removed from the usage the documentation, and it is also removed from the usage
string in this version string in this version
* Fri Nov 19 2009 Karel Klic <kklic@redhat.com> - 3:1.29.91-2 * Fri Nov 19 2009 Karel Klic <kklic@redhat.com> - 3:1.29.91-2
@ -109,7 +114,7 @@ fi
* Mon Oct 26 2009 Karel Klic <kklic@redhat.com> - 3:1.29.91-1 * Mon Oct 26 2009 Karel Klic <kklic@redhat.com> - 3:1.29.91-1
- Updated to 1.29.91 from upstream - Updated to 1.29.91 from upstream
- Removed 1.19-port-leak patch because the upstream source code has - Removed 1.19-port-leak patch because the upstream source code has
been changed and the port leaks should not happen anymore been changed and the port leaks should not happen anymore
- Removed 1.20.4-smartwrite patch because it was merged by upstream - Removed 1.20.4-smartwrite patch because it was merged by upstream
- Removed 1.20.4-nm patch as the upstream merged the important part - Removed 1.20.4-nm patch as the upstream merged the important part