[yum-cvs] 4 commits - docs/yum-updatesd.conf.5 etc/yum-updatesd.init Makefile yum-updatesd.spec

Jeremy Katz katzj at linux.duke.edu
Wed Oct 10 20:34:03 UTC 2007


 Makefile                 |    2 +-
 docs/yum-updatesd.conf.5 |    2 +-
 etc/yum-updatesd.init    |   18 +++++++++++++++---
 yum-updatesd.spec        |    6 +++++-
 4 files changed, 22 insertions(+), 6 deletions(-)

New commits:
commit b7f19018c0c67e76f5547957f15ea2d91617cce5
Author: Jeremy Katz <katzj at redhat.com>
Date:   Wed Oct 10 16:32:00 2007 -0400

    bump version

diff --git a/Makefile b/Makefile
index f3588b0..1e40270 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
 # James Bowes <jbowes at redhat.com>
 
 NAME = yum-updatesd
-VERSION = 0.5
+VERSION = 0.6
 
 PREFIX = /usr
 MANDIR = $(PREFIX)/share/man
diff --git a/yum-updatesd.spec b/yum-updatesd.spec
index 5679509..03ead6a 100644
--- a/yum-updatesd.spec
+++ b/yum-updatesd.spec
@@ -1,7 +1,7 @@
 Summary: Update notification daemon
 Name: yum-updatesd
 Epoch: 1
-Version: 0.5
+Version: 0.6
 Release: 1%{?dist}
 License: GPLv2
 Group: System Environment/Base
@@ -61,6 +61,10 @@ exit 0
 
 
 %changelog
+* Wed Oct 10 2007 Jeremy Katz <katzj at redhat.com> - 1:0.6-1
+- add lsb initscript header (#247106)
+- overly simplistic service start speed-up
+
 * Wed Sep  5 2007 Jeremy Katz <katzj at redhat.com> - 1:0.5-1
 - add option for configurable SMTP server
 - fix email sending (Rich Fearn, #251196)
commit 25c0bb8f270af77c468058fe940c616d63dd39a2
Author: Jeremy Katz <katzj at redhat.com>
Date:   Wed Oct 10 16:30:17 2007 -0400

    simple stupid way to make the service start faster at the cost of not knowing
    when it fails to start accurately

diff --git a/etc/yum-updatesd.init b/etc/yum-updatesd.init
index 3914642..2b166c4 100755
--- a/etc/yum-updatesd.init
+++ b/etc/yum-updatesd.init
@@ -32,7 +32,7 @@ RETVAL=0
 
 start() {
 	echo -n $"Starting yum-updatesd: "
-	daemon +19 yum-updatesd
+	daemon +19 'yum-updatesd &'
 	RETVAL=$?
 	echo
 	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/yum-updatesd
commit 8aa161c27378495ab11fa953379e3aa7adfd7d5e
Author: Jeremy Katz <katzj at redhat.com>
Date:   Thu Sep 13 14:52:04 2007 -0400

    add lsb initscript header (#247106)

diff --git a/etc/yum-updatesd.init b/etc/yum-updatesd.init
index 55f166d..3914642 100755
--- a/etc/yum-updatesd.init
+++ b/etc/yum-updatesd.init
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# yum           This shell script enables the yum-updates daemon
+# yum           Update notification daemon
 #
 # Author:       Jeremy Katz <katzj at redhat.com>
 #
@@ -13,6 +13,18 @@
 # pidfile: /var/run/yum-updatesd.pid
 #
 
+### BEGIN INIT INFO
+# Provides: yum-updatesd
+# Required-Start: $syslog $local_fs messagebus
+# Required-Stop: $syslog $local_fs messagebus
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Update notification daemon
+# Description: Daemon which notifies about available updates via mail, dbus or
+#     syslog.  Can also be configured to automatically apply updates.
+### END INIT INFO
+
+
 # source function library
 . /etc/rc.d/init.d/functions
 
@@ -48,7 +60,7 @@ case "$1" in
   restart|force-reload|reload)
 	restart
 	;;
-  condrestart)
+  condrestart|try-restart)
 	[ -f /var/lock/subsys/yum-updatesd ] && restart
 	;;
   status)
commit f92186ea7720f335d6d23ceb2ebf6279dbac3a4a
Author: Jeremy Katz <katzj at redhat.com>
Date:   Thu Sep 13 14:23:35 2007 -0400

    fix to be accurate

diff --git a/docs/yum-updatesd.conf.5 b/docs/yum-updatesd.conf.5
index 9b801f3..0978f3c 100644
--- a/docs/yum-updatesd.conf.5
+++ b/docs/yum-updatesd.conf.5
@@ -34,7 +34,7 @@ List of ways to emit update notification.  Valid values are `email',
 Boolean option to decide whether or not updates should be
 automatically applied.  Defaults to False.
 
-.IP \fBdo_download_deps\fR
+.IP \fBdo_download\fR
 Boolean option to decide whether or not updates should be
 automatically downloaded.  Defaults to False.
 



More information about the Yum-cvs-commits mailing list