Package: ifupdown Version: 0.6.10 Severity: normal bashism in /examples/get-mac-address.sh has fixed patch is attached.
-- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ifupdown depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii net-tools 1.60-23 The NET-3 networking toolkit ifupdown recommends no packages. Versions of packages ifupdown suggests: ii dhcp3-client 3.1.3-2 DHCP client ii iproute 20100224-3 networking and traffic control too ii ppp 2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da -- no debconf information
diff -Nru ifupdown-0.6.10/debian/changelog ifupdown-0.6.10+nmu1/debian/changelog --- ifupdown-0.6.10/debian/changelog 2010-03-03 14:13:21.000000000 +0700 +++ ifupdown-0.6.10+nmu1/debian/changelog 2010-03-14 13:20:29.000000000 +0700 @@ -1,3 +1,10 @@ +ifupdown (0.6.10+nmu1) unstable; urgency=low + + * Non-maintainer upload. + * Fix bashism in /examples/get-mac-address.sh (Closes: #547751). + + -- Suriya Soutmun <[email protected]> Sun, 14 Mar 2010 13:17:48 +0700 + ifupdown (0.6.10) unstable; urgency=low * Try to load the ipv6 module when doing up on inet6 stansas except diff -Nru ifupdown-0.6.10/examples/get-mac-address.sh ifupdown-0.6.10+nmu1/examples/get-mac-address.sh --- ifupdown-0.6.10/examples/get-mac-address.sh 2009-09-06 15:59:10.000000000 +0700 +++ ifupdown-0.6.10+nmu1/examples/get-mac-address.sh 2010-03-14 13:13:44.000000000 +0700 @@ -10,7 +10,7 @@ while read testmac scheme; do if [ "$which" ]; then continue; fi - if [ "$mac" == "$(echo "$testmac" | sed -e 'y/ABCDEF/abcdef/')" ]; then which="$scheme"; fi + if [ "$mac" = "$(echo "$testmac" | sed -e 'y/ABCDEF/abcdef/')" ]; then which="$scheme"; fi done if [ "$which" ]; then echo $which; exit 0; fi

