add lsb header to init script

This commit is contained in:
Matthias Clasen 2007-07-07 02:43:36 +00:00
parent c69d0da7e8
commit 93f940aaad
2 changed files with 28 additions and 1 deletions

21
dbus-1.0.2-lsb.patch Normal file
View File

@ -0,0 +1,21 @@
diff -up dbus-1.0.2/bus/messagebus.in.lsb dbus-1.0.2/bus/messagebus.in
--- dbus-1.0.2/bus/messagebus.in.lsb 2007-07-06 22:13:15.000000000 -0400
+++ dbus-1.0.2/bus/messagebus.in 2007-07-06 22:15:54.000000000 -0400
@@ -9,6 +9,17 @@
# processname: dbus-daemon
# pidfile: @DBUS_SYSTEM_PID_FILE@
#
+### BEGIN INIT INFO
+# Provides: messagebus
+# Required-Start: $syslog $local_fs
+# Required-Stop: $syslog $local_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: The D-Bus systemwide message bus
+# Description: This is a daemon which broadcasts notifications of system
+# events and other messages. See http://www.freedesktop.org/software/dbus
+### END INIT INFO
+
# Sanity checks.
[ -x /bin/dbus-daemon ] || exit 0

View File

@ -8,7 +8,7 @@
Summary: D-BUS message bus
Name: dbus
Version: 1.1.1
Release: 2%{?dist}
Release: 3%{?dist}
URL: http://www.freedesktop.org/software/dbus/
Source0: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz
Source1: doxygen_to_devhelp.xsl
@ -34,6 +34,8 @@ Conflicts: cups < 1:1.1.20-4
Patch0: dbus-0.60-start-early.patch
Patch1: dbus-1.0.1-generate-xml-docs.patch
# https://bugs.freedesktop.org/show_bug.cgi?id=11491
Patch2: dbus-1.0.2-lsb.patch
%description
@ -67,6 +69,7 @@ in this separate package so server systems need not install X.
%patch0 -p1 -b .start-early
%patch1 -p1 -b .generate-xml-docs
%patch2 -p1 -b .lsb
autoreconf -f -i
@ -177,6 +180,9 @@ fi
%{_datadir}/devhelp/books/dbus
%changelog
* Fri Jul 6 2007 Matthias Clasen <mclasen@redhat.com> - 1.1.1-3
- Add LSB header to init script (#246902)
* Thu Jun 28 2007 Ray Strode <rstrode@redhat.com> - 1.1.1-2
- include session.d directory in package manifest