[Pkg-voip-commits] r3844 - in asterisk/trunk/debian: . patches

msp at alioth.debian.org msp at alioth.debian.org
Thu Jul 26 15:36:38 UTC 2007


Author: msp
Date: 2007-07-26 15:36:37 +0000 (Thu, 26 Jul 2007)
New Revision: 3844

Added:
   asterisk/trunk/debian/patches/basim-safeasterisk.dpatch
Modified:
   asterisk/trunk/debian/asterisk.init
   asterisk/trunk/debian/changelog
   asterisk/trunk/debian/patches/00list
Log:
* New upstream release.
* ASA-2007-018 - DoS Resource Exhaustion vulnerability in IAX2
* Include asterisk.init changes from Martin
  - Asterisk does not create /var/run/asterisk directory if not existent
  (Closes: #413541)
* Upstream fixes from 1.4.x branch:
  - Multiple security flaws in Asterisk (Closes: #421467)
  - Debug switch wrong in /etc/default/asterisk (Closes: #413544)
  - Upgrading destroys astdb (Closes: #354132)
  - Upgrading destroys astdb (Closes: #354132)
  - asterisk bindaddr in sip and iax config is to fixed ip not
    Interfaces (Closes: #316443)
  - Incorrect callerid syntax in sip.conf causes incorrect error
  (Closes: #323275)
  - dropouts (Closes: #335079)
  - Does not include cdr_sqlite userfield support by default (Closes:
  #344097)
  - Asterisk crashes on sparc when playing 'demo-moreinfo'
  (Closes: #344484)
  - fresh install - crash after dialing IAX test (Closes: #350001)
  - asterisk_fix script fails to set variables for adduser, user
  creation fails (Closes: #383075)
  - Debug switch wrong in /etc/default/asterisk (Closes: #413544)
  - When using L option on Dial, instead of warning asterisk disconnects
  the call (Closes: #419894)
* add debian/patches/basim-safeasterisk.dpatch
  - contrib/scripts/safe_asterisk should explicitly link to a cli
  (Closes: #413543)
* Adding a restart when convenient in Asterisk (Closes: #413816)

Modified: asterisk/trunk/debian/asterisk.init
===================================================================
--- asterisk/trunk/debian/asterisk.init	2007-07-26 12:35:59 UTC (rev 3843)
+++ asterisk/trunk/debian/asterisk.init	2007-07-26 15:36:37 UTC (rev 3844)
@@ -110,6 +110,11 @@
 
 set -e
 
+if [ ! -e `dirname $PIDFILE` ];then
+	mkdir `dirname $PIDFILE`
+	chown $USER.$GROUP `dirname $PIDFILE`
+fi
+
 if [ "$UMASK" != '' ]
 then
 	umask $UMASK
@@ -202,6 +207,9 @@
 	echo "Reloading $DESC configuration files."
 	asterisk_rx 'extensions reload'
 	;;
+  restart-convenient)
+	asterisk_rx 'restart when convenient'
+	;;
   restart|force-reload)
 	$0 stop
 	$0 start
@@ -222,7 +230,7 @@
 	;; 	 
   *)
 	N=/etc/init.d/$NAME
-	echo "Usage: $N {start|stop|restart|reload|status|debug|logger-reload|extensions-reload|force-reload}" >&2
+	echo "Usage: $N {start|stop|restart|reload|status|debug|logger-reload|extensions-reload|restart-convenient|force-reload}" >&2
 	exit 1
 	;;
 esac

Modified: asterisk/trunk/debian/changelog
===================================================================
--- asterisk/trunk/debian/changelog	2007-07-26 12:35:59 UTC (rev 3843)
+++ asterisk/trunk/debian/changelog	2007-07-26 15:36:37 UTC (rev 3844)
@@ -1,7 +1,5 @@
-asterisk (1:1.4.9~dfsg-1) UNRELEASED; urgency=high
+asterisk (1:1.4.9~dfsg-1) unstable; urgency=high
 
-  * NOT RELEASED YET
-
   [ Faidon Liambotis ]
   * Add myself to Uploaders.
   * Fix "debian/rules clean" to cleanup correctly the tree by calling "make
@@ -14,17 +12,43 @@
   * Remove Conflicts/Replaces/Depends to pre-sarge versions, they're useless
     even for backports.
 
+  [ Tzafrir Cohen ]
+  * New upstream release.
+  * ASA-2007-018 - DoS Resource Exhaustion vulnerability in IAX2
+
   [ Mark Purcell ]
+  * Include asterisk.init changes from Martin
+    - Asterisk does not create /var/run/asterisk directory if not existent
+    (Closes: #413541)
   * Backout asterisk-h323 Suggests:/ Recommends: asterisk-oh323. The former
     works, the latter does not with asterisk-1.4.x
+  * Upstream fixes from 1.4.x branch:
+    - Multiple security flaws in Asterisk (Closes: #421467)
+    - Debug switch wrong in /etc/default/asterisk (Closes: #413544)
+    - Upgrading destroys astdb (Closes: #354132)
+    - Upgrading destroys astdb (Closes: #354132)
+    - asterisk bindaddr in sip and iax config is to fixed ip not
+      Interfaces (Closes: #316443)
+    - Incorrect callerid syntax in sip.conf causes incorrect error
+    (Closes: #323275)
+    - dropouts (Closes: #335079)
+    - Does not include cdr_sqlite userfield support by default (Closes:
+    #344097)
+    - Asterisk crashes on sparc when playing 'demo-moreinfo'
+    (Closes: #344484)
+    - fresh install - crash after dialing IAX test (Closes: #350001)
+    - asterisk_fix script fails to set variables for adduser, user
+    creation fails (Closes: #383075)
+    - Debug switch wrong in /etc/default/asterisk (Closes: #413544)
+    - When using L option on Dial, instead of warning asterisk disconnects
+    the call (Closes: #419894)
+  * add debian/patches/basim-safeasterisk.dpatch
+    - contrib/scripts/safe_asterisk should explicitly link to a cli
+    (Closes: #413543)
+  * Adding a restart when convenient in Asterisk (Closes: #413816)
 
-  [ Tzafrir Cohen ]
-  * New upstream release. 
-  * [ Fill in advisory details from
-    ftp://ftp.digium.com/pub/asa/ASA-2007-018.html ]
+ -- Mark Purcell <msp at debian.org>  Thu, 26 Jul 2007 16:36:27 +0100
 
- -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Wed, 25 Jul 2007 09:09:50 +0300
-
 asterisk (1:1.4.8~dfsg-2) unstable; urgency=low
 
   * Add patch from Faidon debian/patches/dbug433884.dpatch:

Modified: asterisk/trunk/debian/patches/00list
===================================================================
--- asterisk/trunk/debian/patches/00list	2007-07-26 12:35:59 UTC (rev 3843)
+++ asterisk/trunk/debian/patches/00list	2007-07-26 15:36:37 UTC (rev 3844)
@@ -2,3 +2,4 @@
 pubkey_jnctn
 dbug433884
 make-clean-fixes
+basishm-safeasterisk

Added: asterisk/trunk/debian/patches/basim-safeasterisk.dpatch
===================================================================
--- asterisk/trunk/debian/patches/basim-safeasterisk.dpatch	                        (rev 0)
+++ asterisk/trunk/debian/patches/basim-safeasterisk.dpatch	2007-07-26 15:36:37 UTC (rev 3844)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## basim-safeasterisk.dpatch by  <mark at d620.purcell.homeip.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad asterisk-1.4.9~dfsg~/contrib/scripts/safe_asterisk asterisk-1.4.9~dfsg/contrib/scripts/safe_asterisk
+--- asterisk-1.4.9~dfsg~/contrib/scripts/safe_asterisk	2007-06-18 18:46:40.000000000 +0100
++++ asterisk-1.4.9~dfsg/contrib/scripts/safe_asterisk	2007-07-26 16:31:34.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ # vim:textwidth=80:tabstop=4:shiftwidth=4:smartindent:autoindent
+ 
+ CLIARGS="$*"				# Grab any args passed to safe_asterisk


Property changes on: asterisk/trunk/debian/patches/basim-safeasterisk.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-voip-commits mailing list