[Pkg-voip-commits] r10598 - in /yate/trunk/debian: changelog patches/series patches/yate-r5927.patch
tzafrir at alioth.debian.org
tzafrir at alioth.debian.org
Tue Dec 16 11:53:43 UTC 2014
Author: tzafrir
Date: Tue Dec 16 11:53:42 2014
New Revision: 10598
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=10598
Log:
yate-r5927.patch: fixes bashism in some scripts (Closes: #772400).
Added:
yate/trunk/debian/patches/yate-r5927.patch
Modified:
yate/trunk/debian/changelog
yate/trunk/debian/patches/series
Modified: yate/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/yate/trunk/debian/changelog?rev=10598&op=diff
==============================================================================
--- yate/trunk/debian/changelog (original)
+++ yate/trunk/debian/changelog Tue Dec 16 11:53:42 2014
@@ -1,3 +1,9 @@
+yate (5.4.0-1-2) UNRELEASED; urgency=medium
+
+ * yate-r5927.patch: fixes bashism in some scripts (Closes: #772400).
+
+ -- Tzafrir Cohen <tzafrir at debian.org> Tue, 16 Dec 2014 13:52:50 +0200
+
yate (5.4.0-1-1) unstable; urgency=low
* New upstream releases.
Modified: yate/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/yate/trunk/debian/patches/series?rev=10598&op=diff
==============================================================================
--- yate/trunk/debian/patches/series (original)
+++ yate/trunk/debian/patches/series Tue Dec 16 11:53:42 2014
@@ -2,3 +2,4 @@
warning-unknown-architecture.patch
0001-Fix-parallel-make-v2.patch
0002-Compile-daemon-as-PIE.patch
+yate-r5927.patch
Added: yate/trunk/debian/patches/yate-r5927.patch
URL: http://svn.debian.org/wsvn/pkg-voip/yate/trunk/debian/patches/yate-r5927.patch?rev=10598&op=file
==============================================================================
--- yate/trunk/debian/patches/yate-r5927.patch (added)
+++ yate/trunk/debian/patches/yate-r5927.patch Tue Dec 16 11:53:42 2014
@@ -0,0 +1,48 @@
+From: Paul Chitescu <paulc at voip.null.ro>
+Origin: http://yate.null.ro/websvn/revision.php?repname=yate&path=%2F&rev=5927
+Description: Fix bashish (automatic use of REPLY in read) in shell scripts
+
+--- a/share/scripts/noise.sh (revision 5926)
++++ b/share/scripts/noise.sh (working copy)
+@@ -22,7 +22,7 @@
+ # Generates 2 seconds of white noise
+ # To test add a route to: external/play/noise.sh
+
+-read
++read -r REPLY
+ echo "$REPLY" | sed 's/^[^:]*:\([^:]*\):.*$/%%<message:\1:true:/;'
+
+ echo "=================== noise ===================" >&2
+--- a/share/scripts/echo.sh (revision 5926)
++++ b/share/scripts/echo.sh (working copy)
+@@ -26,7 +26,7 @@ prompt=""
+ # put here a proper wave/play file to play before starting echoing
+ # prompt="share/sounds/tone.wav"
+
+-read
++read -r REPLY
+ echo "$REPLY" | sed 's/^[^:]*:\([^:]*\):.*$/%%<message:\1:true:/;'
+
+ if [ -n "$prompt" -a -f "$prompt" ]; then
+--- a/share/scripts/test.sh (revision 5926)
++++ b/share/scripts/test.sh (working copy)
+@@ -51,7 +51,7 @@ echo "============================================
+ $0 --generator &
+
+ echo "================= reporter ==================" >&2
+-while read; do
++while read -r REPLY; do
+ echo "Reporter: $REPLY" >&2
+ case "$REPLY" in
+ %%\>message:*)
+--- a/share/scripts/play.sh (revision 5926)
++++ b/share/scripts/play.sh (working copy)
+@@ -22,7 +22,7 @@
+ # Plays sound using the "play" program (from the sox package)
+ # To test add a route to: external/record/play.sh
+
+-read
++read -r REPLY
+ echo "$REPLY" | sed 's/^[^:]*:\([^:]*\):.*$/%%<message:\1:true:/;'
+
+ echo "=================== play ====================" >&2
More information about the Pkg-voip-commits
mailing list