Package: rpld
Version: 1.8beta1-8.1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix init script to properly stop (LP: #1077).

We thought you might be interested in doing the same.
diff -u rpld-1.8beta1/debian/init.d rpld-1.8beta1/debian/init.d
--- rpld-1.8beta1/debian/init.d
+++ rpld-1.8beta1/debian/init.d
@@ -36,14 +36,12 @@
 case "$1" in
   start)
        echo -n "Starting $DESC: $NAME"
-       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
+       start-stop-daemon --start --quiet --exec $DAEMON
        echo "."
        ;;
   stop)
        echo -n "Stopping $DESC: $NAME"
-       start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
+       start-stop-daemon --oknodo --stop --quiet --exec $DAEMON
        echo "."
        ;;
   #reload)
@@ -55,8 +53,7 @@
        #       directly anyway, make this a do-nothing entry.
        #
        # echo "Reloading $DESC configuration files."
-       # start-stop-daemon --stop --signal 1 --quiet --pidfile \
-       #       /var/run/$NAME.pid --exec $DAEMON
+       # start-stop-daemon --stop --signal 1 --quiet --exec $DAEMON
   #;;
   restart|force-reload)
        #
@@ -65,11 +62,9 @@
        #       just the same as "restart".
        #
        echo -n "Restarting $DESC: $NAME"
-       start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
+       start-stop-daemon --oknodo --stop --quiet --exec $DAEMON
        sleep 1
-       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
+       start-stop-daemon --start --quiet --exec $DAEMON
        echo "."
        ;;
   *)
diff -u rpld-1.8beta1/debian/changelog rpld-1.8beta1/debian/changelog
--- rpld-1.8beta1/debian/changelog
+++ rpld-1.8beta1/debian/changelog
@@ -1,3 +1,10 @@
+rpld (1.8beta1-8.1ubuntu1) intrepid; urgency=low
+
+  * Merge from debian unstable, remaining changes (LP: #240297):
+    - Fix init script to properly stop (LP: #1077).
+
+ -- Nathan Handler <[EMAIL PROTECTED]>  Thu, 19 Jun 2008 12:01:02 -0500
+
 rpld (1.8beta1-8.1) unstable; urgency=low
 
   * Non-maintainer upload to solve release goal.
@@ -5,6 +12,14 @@
 
  -- Petter Reinholdtsen <[EMAIL PROTECTED]>  Fri,  4 Apr 2008 20:44:25 +0200
 
+rpld (1.8beta1-8ubuntu1) gutsy; urgency=low
+
+  * Merge from Debian unstable. Remaining Ubuntu changes:
+    - Fix init script to properly stop (LP: #1077).
+    - Change Maintainer/XSBC-Original-Maintainer field.
+
+ -- William Lima <[EMAIL PROTECTED]>  Tue,  3 Jul 2007 17:28:39 -0300
+
 rpld (1.8beta1-8) unstable; urgency=low
 
   * Use local cdbs snippet for invoking dh-buildinfo.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to