tags 530978 + patch
thanks

Dear maintainer,

I've prepared an NMU for ifscheme (versioned as 1.7-2.1) and
uploaded it to DELAYED/5. Please free to tell me if I should
delay it longer.

Regards.
diff -u ifscheme-1.7/debian/changelog ifscheme-1.7/debian/changelog
--- ifscheme-1.7/debian/changelog
+++ ifscheme-1.7/debian/changelog
@@ -1,3 +1,11 @@
+ifscheme (1.7-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix bashism. Closes: #530978
+  * Add watch file.
+
+ -- Raphael Geissert <[email protected]>  Tue, 07 Jul 2009 13:24:11 -0500
+
 ifscheme (1.7-2) unstable; urgency=low
 
   * Run init script at shutdown as well. Closes: #334585
diff -u ifscheme-1.7/debian/rules ifscheme-1.7/debian/rules
--- ifscheme-1.7/debian/rules
+++ ifscheme-1.7/debian/rules
@@ -65,12 +65,13 @@
        cp debian/bash_completion debian/ifscheme/etc/bash_completion.d/ifscheme
 
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
 
 # Build architecture-dependent files here.
 binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: build install
        dh_testdir
        dh_testroot
        dh_installchangelogs CHANGELOG 
only in patch2:
unchanged:
--- ifscheme-1.7.orig/ifscheme.8
+++ ifscheme-1.7/ifscheme.8
@@ -41,8 +41,8 @@
 .B --scheme newscheme
 Change to a new network configuration scheme.
 When the scheme is changed, network interfaces that were using the old scheme
-will be taken down and brought back up to use the new configuration scheme. -s
-or --scheme are mandatory if newscheme begins with a -.
+will be taken down and brought back up to use the new configuration scheme. \-s
+or \-\-scheme are mandatory if newscheme begins with a \-.
 .SH CONFIGURATION
 To make the program do anything useful when a scheme is selected, you must
 edit /etc/network/interfaces to add a mapping for the interface (or
only in patch2:
unchanged:
--- ifscheme-1.7.orig/ifscheme
+++ ifscheme-1.7/ifscheme
@@ -107,7 +107,7 @@
                # Second, extract from the state file any real interface
                # which liface either match the mapping above or is
                # appened by the old scheme name.
-               active_ifaces=$(grep -F -- "-$oldscheme"$'\n'"$old_mappings" 
$IFSTATE | cut -d = -f 1)
+               active_ifaces=$(grep -F -- "$(printf -- "-%s\n%s" "$oldscheme" 
"$old_mappings")" $IFSTATE | cut -d = -f 1)
 
                # Now, restart all those interfaces
                for iface in $active_ifaces ; do
only in patch2:
unchanged:
--- ifscheme-1.7.orig/debian/watch
+++ ifscheme-1.7/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html \
+    ifscheme[.-](.+)\.tar\.gz



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to