Hello Release Team,
On Friday 13 January 2012 02:28 AM, Adam D. Barratt wrote:
On Mon, 2012-01-09 at 12:25 +0530, Ritesh Raj Sarraf wrote:
I'd like the release team's view on this request. I think this is a
fair request. If there is agreement, I will work on this for Squeeze.
[...]
laptop-mode-tools in squeeze has various tests for a kernel version that
begins with 2.6, and therefore operates incorrectly/partially on kernel 3.0
and later.
Assuming that all of the changes in question have already been made in
unstable and the overall diff isn't too intrusive then yes we'd
certainly consider such an update for stable.
Please review the attached diff. This change will fix bug 647563. The
same change is also present in the version in testing/unstable.
I will do the upload after your ack.
--
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
diff -Nru laptop-mode-tools-1.55/debian/changelog laptop-mode-tools-1.55/debian/changelog
--- laptop-mode-tools-1.55/debian/changelog 2010-06-05 13:55:34.000000000 +0530
+++ laptop-mode-tools-1.55/debian/changelog 2012-02-05 01:39:00.000000000 +0530
@@ -1,3 +1,9 @@
+laptop-mode-tools (1.55-2) stable-proposed-updates; urgency=low
+
+ * Fix compatiblity with 3.x kernels (Closes: #647563)
+
+ -- Ritesh Raj Sarraf <r...@debian.org> Sun, 05 Feb 2012 01:37:56 +0530
+
laptop-mode-tools (1.55-1) unstable; urgency=low
* Change address to my official Debian address
diff -Nru laptop-mode-tools-1.55/debian/patches/fix-version-compatibility.patch laptop-mode-tools-1.55/debian/patches/fix-version-compatibility.patch
--- laptop-mode-tools-1.55/debian/patches/fix-version-compatibility.patch 1970-01-01 05:30:00.000000000 +0530
+++ laptop-mode-tools-1.55/debian/patches/fix-version-compatibility.patch 2012-02-05 01:55:24.000000000 +0530
@@ -0,0 +1,22 @@
+Fix version compatibility with 3.x kernels
+Closes: #647563
+Index: laptop-mode-tools-1.55/usr/sbin/laptop_mode
+===================================================================
+--- laptop-mode-tools-1.55.orig/usr/sbin/laptop_mode 2010-05-26 21:24:44.000000000 +0530
++++ laptop-mode-tools-1.55/usr/sbin/laptop_mode 2012-02-04 21:39:57.635472415 +0530
+@@ -493,15 +493,6 @@
+ }
+ )"
+
+-case "$KLEVEL" in
+- "2.4" ) ;;
+- "2.6" ) ;;
+- *)
+- log "ERR" "Unhandled kernel version: $KLEVEL ('uname -r' = '$(uname -r)')" >&2
+- exit 1
+- ;;
+-esac
+-
+ # Stop exporting everything -- what we do from here is private.
+ set +a
+
diff -Nru laptop-mode-tools-1.55/debian/patches/series laptop-mode-tools-1.55/debian/patches/series
--- laptop-mode-tools-1.55/debian/patches/series 2010-06-05 13:55:35.000000000 +0530
+++ laptop-mode-tools-1.55/debian/patches/series 2012-02-05 01:37:28.000000000 +0530
@@ -1 +1,2 @@
debian-changes-1.55-1
+fix-version-compatibility.patch