[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857258: unblock: ifupdown2/1.0~git20170308-1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package ifupdown2

Hi,

This release fixes a bug due to a localized string in a grep filter.

Following up on the comments received during last unblock request. I've added
the LC_ALL directive to the pre,post inst and postrm files.

diff -Nru ifupdown2-1.0~git20170223/debian/changelog ifupdown2-1.0~git20170308/debian/changelog
--- ifupdown2-1.0~git20170223/debian/changelog	2017-02-23 11:24:37.000000000 +0100
+++ ifupdown2-1.0~git20170308/debian/changelog	2017-03-08 18:39:02.000000000 +0100
@@ -1,3 +1,15 @@
+ifupdown2 (1.0~git20170308-1) unstable; urgency=medium
+
+  * debian: add LC_ALL=C.UTF-8 directive in prestinst, postinst, postrm files
+
+ -- Julien Fortin <julien@cumulusnetworks.com>  Wed, 08 Mar 2017 18:39:02 +0100
+
+ifupdown2 (1.0~git20170307-1) unstable; urgency=medium
+
+  * preinst: remove english word from grep filter (closes: #856970)
+
+ -- Julien Fortin <julien@cumulusnetworks.com>  Tue, 07 Mar 2017 11:24:37 +0100
+
 ifupdown2 (1.0~git20170223-1) unstable; urgency=medium
 
   * drop the dependency to pkg_resources, hardcode version number (closes: #855401)
diff -Nru ifupdown2-1.0~git20170223/debian/ifupdown2.postinst ifupdown2-1.0~git20170308/debian/ifupdown2.postinst
--- ifupdown2-1.0~git20170223/debian/ifupdown2.postinst	2017-02-23 11:24:37.000000000 +0100
+++ ifupdown2-1.0~git20170308/debian/ifupdown2.postinst	2017-03-08 18:39:02.000000000 +0100
@@ -5,6 +5,8 @@
 
 set -e
 
+LC_ALL=C.UTF-8
+
 # summary of how this script can be called:
 #        * <postinst> `configure' <most-recently-configured-version>
 #        * <old-postinst> `abort-upgrade' <new version>
diff -Nru ifupdown2-1.0~git20170223/debian/ifupdown2.postrm ifupdown2-1.0~git20170308/debian/ifupdown2.postrm
--- ifupdown2-1.0~git20170223/debian/ifupdown2.postrm	2017-02-23 11:24:37.000000000 +0100
+++ ifupdown2-1.0~git20170308/debian/ifupdown2.postrm	2017-03-08 18:39:02.000000000 +0100
@@ -5,6 +5,8 @@
 
 set -e
 
+LC_ALL=C.UTF-8
+
 # summary of how this script can be called:
 #        * <postrm> `remove'
 #        * <postrm> `purge'
diff -Nru ifupdown2-1.0~git20170223/debian/ifupdown2.preinst ifupdown2-1.0~git20170308/debian/ifupdown2.preinst
--- ifupdown2-1.0~git20170223/debian/ifupdown2.preinst	2017-02-23 11:24:37.000000000 +0100
+++ ifupdown2-1.0~git20170308/debian/ifupdown2.preinst	2017-03-08 18:39:02.000000000 +0100
@@ -2,12 +2,14 @@
 
 MYNAME="${0##*/}"
 
+LC_ALL=C.UTF-8
+
 report() { echo "${MYNAME}: $*" ; }
 report_err() { report "Error: $*" >&2 ; exit 1; }
 
 preinst_divert()
 {
-    diversions=$(dpkg-divert --list | grep "$1" | grep -v 'by ifupdown2$'  | wc -l 2> /dev/null)
+    diversions=$(dpkg-divert --list | grep "$1" | grep -v 'ifupdown2$'  | wc -l 2> /dev/null)
     if [ "$diversions" -gt 0 ];
     then
         report_err "existing diversion for $1"
diff -Nru ifupdown2-1.0~git20170223/sbin/ifupdown2 ifupdown2-1.0~git20170308/sbin/ifupdown2
--- ifupdown2-1.0~git20170223/sbin/ifupdown2	2017-02-23 11:32:43.000000000 +0100
+++ ifupdown2-1.0~git20170308/sbin/ifupdown2	2017-03-08 19:07:19.000000000 +0100
@@ -18,7 +18,7 @@
 from ifupdown.ifupdownmain import *
 from ifupdown.utils import *
 
-IFUPDOWN2_VERSION = '1.1-cl3u9'
+IFUPDOWN2_VERSION = '20170308'
 
 lockfile="/run/network/.lock"
 configfile="/etc/network/ifupdown2/ifupdown2.conf"

unblock ifupdown2/1.0~git20170308-1

-- System Information:
Debian Release: 9.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: