Package: release.debian.org
User: release.debian....@packages.debian.org
UserTags: unblock


This has just been uploaded to unstable

The main reason for this unblock request:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772188

It introduces a patch under debian/patches to remove bashisms from a
script in the package.

The debdiff is attached
diff -Nru avis-1.2.2/debian/changelog avis-1.2.2/debian/changelog
--- avis-1.2.2/debian/changelog 2014-09-14 21:20:39.000000000 +0200
+++ avis-1.2.2/debian/changelog 2014-12-07 08:56:49.000000000 +0100
@@ -1,3 +1,9 @@
+avis (1.2.2-4) unstable; urgency=medium
+
+  * Add patch for bashisms in avisd. (Closes: #772188)
+
+ -- Daniel Pocock <dan...@pocock.pro>  Sun, 07 Dec 2014 08:56:15 +0100
+
 avis (1.2.2-3) unstable; urgency=low
 
   * Update VCS URLs.
diff -Nru avis-1.2.2/debian/patches/0003-avis-no-bashisms.patch 
avis-1.2.2/debian/patches/0003-avis-no-bashisms.patch
--- avis-1.2.2/debian/patches/0003-avis-no-bashisms.patch       1970-01-01 
01:00:00.000000000 +0100
+++ avis-1.2.2/debian/patches/0003-avis-no-bashisms.patch       2014-12-07 
08:53:19.000000000 +0100
@@ -0,0 +1,36 @@
+diff --git a/server/bin/avisd b/server/bin/avisd
+index 0b76fdb..02bdfd2 100755
+--- a/server/bin/avisd
++++ b/server/bin/avisd
+@@ -20,20 +20,18 @@ fi
+ 
+ usage ()
+ {
+-  local NL=$'\x0a'
+-  local help="\
+-  Usage: $0 [-h] [-v] [-vv] [-p port] [-c file] $NL\
+-            [-daemon] [-pidfile file] [-logfile file] $NL\
++  cat <<EOF
++  Usage: $0 [-h] [-v] [-vv] [-p port] [-c file]
++            [-daemon] [-pidfile file] [-logfile file]
+ 
+-     -h               : This text$NL\
+-     -v and -vv       : Increase verbosity$NL\
+-     -p port          : Set port to listen on$NL\
+-     -c file          : Load config from file$NL\
+-     -daemon          : Run as daemon$NL\
+-     -pidfile file    : Output process ID to file$NL\
+-     -logfile file    : Log output to file (only with -daemon)$NL"
+- 
+-  echo "$help" >&2
++     -h               : This text
++     -v and -vv       : Increase verbosity
++     -p port          : Set port to listen on
++     -c file          : Load config from file
++     -daemon          : Run as daemon
++     -pidfile file    : Output process ID to file
++     -logfile file    : Log output to file (only with -daemon)
++EOF
+ }
+ 
+ while [ $# -gt 0 ]; do
diff -Nru avis-1.2.2/debian/patches/series avis-1.2.2/debian/patches/series
--- avis-1.2.2/debian/patches/series    2013-08-08 14:22:46.000000000 +0200
+++ avis-1.2.2/debian/patches/series    2014-12-07 08:54:38.000000000 +0100
@@ -1,2 +1,3 @@
 0001-Use-regular-Jar-task-instead-of-JarX.patch
 0002-Look-for-JAR-in-correct-location.patch
+0003-avis-no-bashisms.patch

Reply via email to