[pkg-boinc-commits] r473 - branches/sarge/boinc/debian tags/boinc/5.4.10-0bpo1/debian

Frank S. Thomas fst-guest at costa.debian.org
Sun Jul 2 20:26:02 UTC 2006


Author: fst-guest
Date: 2006-07-02 20:26:01 +0000 (Sun, 02 Jul 2006)
New Revision: 473

Modified:
   branches/sarge/boinc/debian/boinc-client.init
   branches/sarge/boinc/debian/changelog
   branches/sarge/boinc/debian/compat
   branches/sarge/boinc/debian/control
   tags/boinc/5.4.10-0bpo1/debian/boinc-client.init
   tags/boinc/5.4.10-0bpo1/debian/changelog
   tags/boinc/5.4.10-0bpo1/debian/compat
   tags/boinc/5.4.10-0bpo1/debian/control
Log:
Follow Daniel Baumann's suggestions: http://lists.backports.org/lurker/message/20060702.194404.53cd12c8.en.html


Modified: branches/sarge/boinc/debian/boinc-client.init
===================================================================
--- branches/sarge/boinc/debian/boinc-client.init	2006-07-02 18:51:01 UTC (rev 472)
+++ branches/sarge/boinc/debian/boinc-client.init	2006-07-02 20:26:01 UTC (rev 473)
@@ -23,6 +23,8 @@
 
 ENABLED=0
 
+. /lib/lsb/init-functions
+
 # Source defaults file. Edit that file to configure this script.
 if [ -e /etc/default/boinc-client ]; then
   . /etc/default/boinc-client
@@ -32,18 +34,19 @@
 test "$ENABLED" != "0" || exit 0
 
 if [ ! -x "$BOINC_CLIENT" ]; then
-  echo "BOINC client '$BOINC_CLIENT' does not exist or is not executable." >&2
+  log_failure_msg "BOINC client '$BOINC_CLIENT' does not exist or is not " \
+    "executable."
   exit 5
 fi
 
 if [ ! -d "$BOINC_DIR" ]; then
-  echo "BOINC data directory '$BOINC_DIR' does not exist." >&2
+  log_failure_msg "BOINC data directory '$BOINC_DIR' does not exist."
   exit 6
 fi
 
 if [ -z "$BOINC_USER" ]; then
-  echo "BOINC_USER variable is empty. Set it to a user to run " \
-    "the BOINC core client." >&2
+  log_failure_msg "BOINC_USER variable is empty. Set it to a user to run " \
+    "the BOINC core client."
   exit 6
 fi
 
@@ -67,22 +70,22 @@
 
 start()
 {
-  echo -n "Starting $DESC: $NAME"
+  log_begin_msg "Starting $DESC: $NAME"
   if is_running; then
-    echo -n " already running"
+    log_progress_msg "already running"
   else
     start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
       --make-pidfile --user $BOINC_USER --chuid $BOINC_USER --chdir $BOINC_DIR \
       --exec $BOINC_CLIENT -- $BOINC_OPTS
   fi
-  echo "."
+  log_end_msg 0
 }
 
 stop()
 {
-  echo -n "Stopping $DESC: $NAME"
+  log_begin_msg "Stopping $DESC: $NAME"
   if ! is_running; then
-    echo -n " not running"
+    log_progress_msg "not running"
   else
     start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE \
       --user $BOINC_USER --exec $BOINC_CLIENT
@@ -90,16 +93,16 @@
 
   rm -f "$BOINC_DIR/lockfile"
   rm -f $PIDFILE
-  echo "."
+  log_end_msg 0
 }
 
 status()
 {
   STATUS="Status of $DESC:"
   if is_running; then
-    echo "$STATUS running."
+    log_success_msg "$STATUS running."
   else
-    echo "$STATUS stopped."
+    log_success_msg "$STATUS stopped."
   fi
 }
 
@@ -123,7 +126,7 @@
     ;;
 
   *)
-    echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2
+    log_success_msg "Usage: $0 {start|stop|restart|force-reload|status}" >&2
     exit 1
     ;;
 esac

Modified: branches/sarge/boinc/debian/changelog
===================================================================
--- branches/sarge/boinc/debian/changelog	2006-07-02 18:51:01 UTC (rev 472)
+++ branches/sarge/boinc/debian/changelog	2006-07-02 20:26:01 UTC (rev 473)
@@ -5,11 +5,8 @@
     - Removed boinc-manager package, since it needs a newer wxWidgets.
     - boinc-dev: Depend on libmysqlclient14-dev instead of
       libmysqlclient15-dev.
-    - boinc-client: Removed dependency on lsb-base (>= 3.0-6) and don't use
-      LSB init functions.
-    - Use debhelper compatibility level 4.
 
- -- Frank S. Thomas <frank at thomas-alfeld.de>  Thu, 22 Jun 2006 01:11:47 +0200
+ -- Frank S. Thomas <frank at thomas-alfeld.de>  Sun,  2 Jul 2006 22:18:22 +0200
 
 boinc (5.4.10-1) unstable; urgency=low
 

Modified: branches/sarge/boinc/debian/compat
===================================================================
--- branches/sarge/boinc/debian/compat	2006-07-02 18:51:01 UTC (rev 472)
+++ branches/sarge/boinc/debian/compat	2006-07-02 20:26:01 UTC (rev 473)
@@ -1 +1 @@
-4
+5

Modified: branches/sarge/boinc/debian/control
===================================================================
--- branches/sarge/boinc/debian/control	2006-07-02 18:51:01 UTC (rev 472)
+++ branches/sarge/boinc/debian/control	2006-07-02 20:26:01 UTC (rev 473)
@@ -4,12 +4,12 @@
 Maintainer: Debian BOINC Maintainers <pkg-boinc-devel at lists.alioth.debian.org>
 Uploaders: Steffen Moeller <steffen_moeller at gmx.de>, Frank S. Thomas <frank at thomas-alfeld.de>, Christoph Martin <christoph.martin at uni-mainz.de>, Greg Norris <adric at debian.org>
 Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 4.2.21), dpatch, zlib1g-dev, libssl-dev, libcurl3-dev (>= 7.13.2) | libcurl-ssl-dev, freeglut3-dev, libsm-dev, libice-dev, libxmu-dev, libxi-dev, libx11-dev, libjpeg62-dev, automake1.9 (>= 1.9.3), autoconf (>= 2.59), autotools-dev, docbook2x, docbook-xml, dh-buildinfo
+Build-Depends: debhelper (>= 5), dpatch, zlib1g-dev, libssl-dev, libcurl3-dev (>= 7.13.2) | libcurl-ssl-dev, freeglut3-dev, libsm-dev, libice-dev, libxmu-dev, libxi-dev, libx11-dev, libjpeg62-dev, automake1.9 (>= 1.9.3), autoconf (>= 2.59), autotools-dev, docbook2x, docbook-xml, dh-buildinfo
 
 Package: boinc-client
 Section: net
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.3), adduser
+Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.3), adduser, lsb-base (>= 3.0-6)
 Suggests: kboincspy
 Description: core client for the BOINC distributed computing infrastructure
  The Berkeley Open Infrastructure for Network Computing (BOINC) is a

Modified: tags/boinc/5.4.10-0bpo1/debian/boinc-client.init
===================================================================
--- tags/boinc/5.4.10-0bpo1/debian/boinc-client.init	2006-07-02 18:51:01 UTC (rev 472)
+++ tags/boinc/5.4.10-0bpo1/debian/boinc-client.init	2006-07-02 20:26:01 UTC (rev 473)
@@ -23,6 +23,8 @@
 
 ENABLED=0
 
+. /lib/lsb/init-functions
+
 # Source defaults file. Edit that file to configure this script.
 if [ -e /etc/default/boinc-client ]; then
   . /etc/default/boinc-client
@@ -32,18 +34,19 @@
 test "$ENABLED" != "0" || exit 0
 
 if [ ! -x "$BOINC_CLIENT" ]; then
-  echo "BOINC client '$BOINC_CLIENT' does not exist or is not executable." >&2
+  log_failure_msg "BOINC client '$BOINC_CLIENT' does not exist or is not " \
+    "executable."
   exit 5
 fi
 
 if [ ! -d "$BOINC_DIR" ]; then
-  echo "BOINC data directory '$BOINC_DIR' does not exist." >&2
+  log_failure_msg "BOINC data directory '$BOINC_DIR' does not exist."
   exit 6
 fi
 
 if [ -z "$BOINC_USER" ]; then
-  echo "BOINC_USER variable is empty. Set it to a user to run " \
-    "the BOINC core client." >&2
+  log_failure_msg "BOINC_USER variable is empty. Set it to a user to run " \
+    "the BOINC core client."
   exit 6
 fi
 
@@ -67,22 +70,22 @@
 
 start()
 {
-  echo -n "Starting $DESC: $NAME"
+  log_begin_msg "Starting $DESC: $NAME"
   if is_running; then
-    echo -n " already running"
+    log_progress_msg "already running"
   else
     start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
       --make-pidfile --user $BOINC_USER --chuid $BOINC_USER --chdir $BOINC_DIR \
       --exec $BOINC_CLIENT -- $BOINC_OPTS
   fi
-  echo "."
+  log_end_msg 0
 }
 
 stop()
 {
-  echo -n "Stopping $DESC: $NAME"
+  log_begin_msg "Stopping $DESC: $NAME"
   if ! is_running; then
-    echo -n " not running"
+    log_progress_msg "not running"
   else
     start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE \
       --user $BOINC_USER --exec $BOINC_CLIENT
@@ -90,16 +93,16 @@
 
   rm -f "$BOINC_DIR/lockfile"
   rm -f $PIDFILE
-  echo "."
+  log_end_msg 0
 }
 
 status()
 {
   STATUS="Status of $DESC:"
   if is_running; then
-    echo "$STATUS running."
+    log_success_msg "$STATUS running."
   else
-    echo "$STATUS stopped."
+    log_success_msg "$STATUS stopped."
   fi
 }
 
@@ -123,7 +126,7 @@
     ;;
 
   *)
-    echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2
+    log_success_msg "Usage: $0 {start|stop|restart|force-reload|status}" >&2
     exit 1
     ;;
 esac

Modified: tags/boinc/5.4.10-0bpo1/debian/changelog
===================================================================
--- tags/boinc/5.4.10-0bpo1/debian/changelog	2006-07-02 18:51:01 UTC (rev 472)
+++ tags/boinc/5.4.10-0bpo1/debian/changelog	2006-07-02 20:26:01 UTC (rev 473)
@@ -5,11 +5,8 @@
     - Removed boinc-manager package, since it needs a newer wxWidgets.
     - boinc-dev: Depend on libmysqlclient14-dev instead of
       libmysqlclient15-dev.
-    - boinc-client: Removed dependency on lsb-base (>= 3.0-6) and don't use
-      LSB init functions.
-    - Use debhelper compatibility level 4.
 
- -- Frank S. Thomas <frank at thomas-alfeld.de>  Thu, 22 Jun 2006 01:11:47 +0200
+ -- Frank S. Thomas <frank at thomas-alfeld.de>  Sun,  2 Jul 2006 22:18:22 +0200
 
 boinc (5.4.10-1) unstable; urgency=low
 

Modified: tags/boinc/5.4.10-0bpo1/debian/compat
===================================================================
--- tags/boinc/5.4.10-0bpo1/debian/compat	2006-07-02 18:51:01 UTC (rev 472)
+++ tags/boinc/5.4.10-0bpo1/debian/compat	2006-07-02 20:26:01 UTC (rev 473)
@@ -1 +1 @@
-4
+5

Modified: tags/boinc/5.4.10-0bpo1/debian/control
===================================================================
--- tags/boinc/5.4.10-0bpo1/debian/control	2006-07-02 18:51:01 UTC (rev 472)
+++ tags/boinc/5.4.10-0bpo1/debian/control	2006-07-02 20:26:01 UTC (rev 473)
@@ -4,12 +4,12 @@
 Maintainer: Debian BOINC Maintainers <pkg-boinc-devel at lists.alioth.debian.org>
 Uploaders: Steffen Moeller <steffen_moeller at gmx.de>, Frank S. Thomas <frank at thomas-alfeld.de>, Christoph Martin <christoph.martin at uni-mainz.de>, Greg Norris <adric at debian.org>
 Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 4.2.21), dpatch, zlib1g-dev, libssl-dev, libcurl3-dev (>= 7.13.2) | libcurl-ssl-dev, freeglut3-dev, libsm-dev, libice-dev, libxmu-dev, libxi-dev, libx11-dev, libjpeg62-dev, automake1.9 (>= 1.9.3), autoconf (>= 2.59), autotools-dev, docbook2x, docbook-xml, dh-buildinfo
+Build-Depends: debhelper (>= 5), dpatch, zlib1g-dev, libssl-dev, libcurl3-dev (>= 7.13.2) | libcurl-ssl-dev, freeglut3-dev, libsm-dev, libice-dev, libxmu-dev, libxi-dev, libx11-dev, libjpeg62-dev, automake1.9 (>= 1.9.3), autoconf (>= 2.59), autotools-dev, docbook2x, docbook-xml, dh-buildinfo
 
 Package: boinc-client
 Section: net
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.3), adduser
+Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.3), adduser, lsb-base (>= 3.0-6)
 Suggests: kboincspy
 Description: core client for the BOINC distributed computing infrastructure
  The Berkeley Open Infrastructure for Network Computing (BOINC) is a




More information about the pkg-boinc-commits mailing list