[Pkg-voip-commits] r7457 - in /asterisk/trunk/debian: asterisk.init changelog control

paravoid at alioth.debian.org paravoid at alioth.debian.org
Mon Jul 27 19:13:35 UTC 2009


Author: paravoid
Date: Mon Jul 27 19:13:34 2009
New Revision: 7457

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7457
Log:
* Re-enable and port to 1.6 the h323 segfault patches, apparently they're
  still needed.
* Use the lsb-base standard way of gathering and reporting status in the
  init script. Thanks Dustin Kirkland and Ubuntu! (Closes: #506453)

Modified:
    asterisk/trunk/debian/asterisk.init
    asterisk/trunk/debian/changelog
    asterisk/trunk/debian/control

Modified: asterisk/trunk/debian/asterisk.init
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/asterisk.init?rev=7457&op=diff
==============================================================================
--- asterisk/trunk/debian/asterisk.init (original)
+++ asterisk/trunk/debian/asterisk.init Mon Jul 27 19:13:34 2009
@@ -33,6 +33,8 @@
 UMASK=007 # by default
 #MAXFILES=1024 # (the system default)
 
+. /lib/lsb/init-functions
+
 # by default: use real-time priority
 PARAMS=""
 CHDIR_PARM=""
@@ -111,14 +113,7 @@
 fi
 
 status() {
-	plist=`ps ax | awk "{ if (\\$5 == \"$DAEMON\") print \\$1 }"`
-	if [ "$plist" = "" ]; then
-		echo "$DESC is stopped"
-		return 1
-	else
-		echo "$DESC is running: $plist"
-		return 0
-	fi
+	status_of_proc "$DAEMON" "$DESC" && return 0 || return $?
 }
 
 asterisk_rx() {

Modified: asterisk/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/changelog?rev=7457&op=diff
==============================================================================
--- asterisk/trunk/debian/changelog (original)
+++ asterisk/trunk/debian/changelog Mon Jul 27 19:13:34 2009
@@ -21,12 +21,14 @@
     by the init script (thanks lintian).
   * Remove asterisk-progdocs: it is of very limited use but a) is enormous in
     size and b) takes too long to build.
+  * Re-enable and port to 1.6 the h323 segfault patches, apparently they're
+    still needed.
   * Fix astgenkey to respect system's umask. Thanks Jonas Smedegaard.
     (Closes: #531730) 
   * Create /var/log/asterisk/* directories if non-existent, for /var/log on
     tmpfs scenarios. Thanks martin f krafft! (Closes: #524015)
-  * Re-enable and port to 1.6 the h323 segfault patches, apparently they're
-    still needed.
+  * Use the lsb-base standard way of gathering and reporting status in the
+    init script. Thanks Dustin Kirkland and Ubuntu! (Closes: #506453)
 
   [ Tzafrir Cohen ]
   * New upstream release.
@@ -38,7 +40,7 @@
   [ Lionel Elie Mamane ]
   * Install UPGRADE-1.6.txt, useful for people upgrading from lenny
 
- -- Faidon Liambotis <paravoid at debian.org>  Mon, 27 Jul 2009 22:06:40 +0300
+ -- Faidon Liambotis <paravoid at debian.org>  Mon, 27 Jul 2009 22:13:15 +0300
 
 asterisk (1:1.6.1.0~dfsg-1) unstable; urgency=low
 

Modified: asterisk/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/control?rev=7457&op=diff
==============================================================================
--- asterisk/trunk/debian/control (original)
+++ asterisk/trunk/debian/control Mon Jul 27 19:13:34 2009
@@ -5,6 +5,7 @@
 Uploaders: Mark Purcell <msp at debian.org>, Tzafrir Cohen <tzafrir.cohen at xorcom.com>, Faidon Liambotis <paravoid at debian.org>
 Build-Depends: quilt, 
  debhelper (>= 6.0.7),
+ lsb-base (>= 3.2-14),
  libreadline5-dev, 
  libgsm1-dev,
  libssl-dev,




More information about the Pkg-voip-commits mailing list