Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package laptop-mode-tools This upload fixes syntax errors related to the newer 'iw' wireless command. The issue is already fixed upstream. Attached is the debdiff unblock laptop-mode-tools/1.71-2 -- System Information: Debian Release: 9.0 Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.10.13+ (SMP w/4 CPU cores) Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru laptop-mode-tools-1.71/debian/changelog laptop-mode-tools-1.71/debian/changelog --- laptop-mode-tools-1.71/debian/changelog 2017-01-12 19:32:14.000000000 +0545 +++ laptop-mode-tools-1.71/debian/changelog 2017-05-22 02:20:16.000000000 +0545 @@ -1,3 +1,11 @@ +laptop-mode-tools (1.71-2) unstable; urgency=medium + + * Backport patch from upstream. fix-iw-txpower-issue.patch + This fixes syntax errors with the newer 'iw' command + Thanks: Rowan Thorpe (Closes: #862975) + + -- Ritesh Raj Sarraf <r...@debian.org> Mon, 22 May 2017 02:20:16 +0545 + laptop-mode-tools (1.71-1) unstable; urgency=medium [ Aurélien COUDERC ] diff -Nru laptop-mode-tools-1.71/debian/patches/disable-ethernet-e1000e.patch laptop-mode-tools-1.71/debian/patches/disable-ethernet-e1000e.patch --- laptop-mode-tools-1.71/debian/patches/disable-ethernet-e1000e.patch 2017-01-12 19:28:49.000000000 +0545 +++ laptop-mode-tools-1.71/debian/patches/disable-ethernet-e1000e.patch 2017-05-22 02:19:04.000000000 +0545 @@ -1,8 +1,6 @@ disable batt throttle as there have been many reports of breakage -Index: laptop-mode-tools/etc/laptop-mode/conf.d/ethernet.conf -=================================================================== ---- laptop-mode-tools.orig/etc/laptop-mode/conf.d/ethernet.conf 2014-06-19 12:02:10.950193044 +0530 -+++ laptop-mode-tools/etc/laptop-mode/conf.d/ethernet.conf 2014-06-19 12:03:24.134708022 +0530 +--- a/etc/laptop-mode/conf.d/ethernet.conf ++++ b/etc/laptop-mode/conf.d/ethernet.conf @@ -26,7 +26,7 @@ CONTROL_ETHERNET="auto" diff -Nru laptop-mode-tools-1.71/debian/patches/fix-iw-txpower-issue.patch laptop-mode-tools-1.71/debian/patches/fix-iw-txpower-issue.patch --- laptop-mode-tools-1.71/debian/patches/fix-iw-txpower-issue.patch 1970-01-01 05:30:00.000000000 +0530 +++ laptop-mode-tools-1.71/debian/patches/fix-iw-txpower-issue.patch 2017-05-22 02:19:52.000000000 +0545 @@ -0,0 +1,24 @@ +Closes: #862975 +Thanks: Rowan Thorpe +--- a/usr/share/laptop-mode-tools/modules/wireless-power ++++ b/usr/share/laptop-mode-tools/modules/wireless-power +@@ -66,17 +66,12 @@ + + if [ -n "$IW" ]; then + $IW dev $IF set power_save $ONOFF +- if [ $ONOFF = "ON" ]; then +- $IW dev $IF set txpower auto +- else +- $IW dev $IF set txpower fixed +- fi + else + $IWCONFIG $IF power $ONOFF +- if [ $ONOFF = "ON" ]; then ++ if [ $ONOFF = "on" ]; then + $IWCONFIG $IF txpower auto + else +- $IW dev $IF txpower fixed ++ $IWCONFIG dev $IF txpower fixed + fi + fi + } diff -Nru laptop-mode-tools-1.71/debian/patches/series laptop-mode-tools-1.71/debian/patches/series --- laptop-mode-tools-1.71/debian/patches/series 2017-01-12 19:32:14.000000000 +0545 +++ laptop-mode-tools-1.71/debian/patches/series 2017-05-22 02:18:59.000000000 +0545 @@ -1,2 +1,3 @@ gui-desktop-file.patch disable-ethernet-e1000e.patch +fix-iw-txpower-issue.patch