From 93f940aaad58f071ef3b248d21b7440f54f0a2e0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Jul 07 2007 02:43:36 +0000 Subject: add lsb header to init script --- diff --git a/dbus-1.0.2-lsb.patch b/dbus-1.0.2-lsb.patch new file mode 100644 index 0000000..220a9df --- /dev/null +++ b/dbus-1.0.2-lsb.patch @@ -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 diff --git a/dbus.spec b/dbus.spec index be5759d..c7abcf7 100644 --- a/dbus.spec +++ b/dbus.spec @@ -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 - 1.1.1-3 +- Add LSB header to init script (#246902) + * Thu Jun 28 2007 Ray Strode - 1.1.1-2 - include session.d directory in package manifest