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

Bug#774831: unblock: pbbuttonsd/0.7.9-5



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

Please unblock package pbbuttonsd

This upload fixes 711685, I took the liberty to also fix a lintian error (dpkg-dev version in B-D).
It also fixes an issue with an incorrect entry in d/control when package was adopted, see #774688

unblock pbbuttonsd/0.7.9-5

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'stable-updates'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru pbbuttonsd-0.7.9/debian/changelog pbbuttonsd-0.7.9/debian/changelog
--- pbbuttonsd-0.7.9/debian/changelog	2014-01-22 13:08:34.000000000 +0100
+++ pbbuttonsd-0.7.9/debian/changelog	2015-01-08 09:01:18.000000000 +0100
@@ -1,3 +1,16 @@
+pbbuttonsd (0.7.9-5) unstable; urgency=low
+
+  * Really adopt package (#774688).
+
+ -- Mathieu Malaterre <malat@debian.org>  Thu, 08 Jan 2015 09:01:14 +0100
+
+pbbuttonsd (0.7.9-4) unstable; urgency=low
+
+  * Adopt package. Closes: #422162
+  * Fix for linux kernel 3.x. Closes: #711685
+
+ -- Mathieu Malaterre <malat@debian.org>  Tue, 06 Jan 2015 10:12:35 +0100
+
 pbbuttonsd (0.7.9-3) unstable; urgency=low
 
   * QA upload.
diff -Nru pbbuttonsd-0.7.9/debian/control pbbuttonsd-0.7.9/debian/control
--- pbbuttonsd-0.7.9/debian/control	2014-01-22 13:05:01.000000000 +0100
+++ pbbuttonsd-0.7.9/debian/control	2015-01-08 09:00:35.000000000 +0100
@@ -1,8 +1,8 @@
 Source: pbbuttonsd
 Section: admin
 Priority: optional
-Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 9), bison, gettext, libasound2-dev, libglib2.0-dev, pkg-config
+Maintainer: Mathieu Malaterre <malat@debian.org>
+Build-Depends: debhelper (>= 9), bison, gettext, libasound2-dev, libglib2.0-dev, pkg-config, dpkg-dev (>= 1.16.1~)
 Standards-Version: 3.9.5
 
 Package: pbbuttonsd
diff -Nru pbbuttonsd-0.7.9/debian/patches/cpufreq.patch pbbuttonsd-0.7.9/debian/patches/cpufreq.patch
--- pbbuttonsd-0.7.9/debian/patches/cpufreq.patch	1970-01-01 01:00:00.000000000 +0100
+++ pbbuttonsd-0.7.9/debian/patches/cpufreq.patch	2015-01-05 12:19:16.000000000 +0100
@@ -0,0 +1,28 @@
+Description: pbbuttonsd is not rewritten for kernel 3.2
+Author: Mathieu Malaterre <malat@debian.org>
+Origin: https://bugs.gentoo.org/show_bug.cgi?id=429306#c1
+Bug-Debian: http://bugs.debian.org/711685
+Reviewed-by: Mathieu Malaterre <malat@debian.org>
+
+Index: pbbuttonsd-0.7.9/scripts/scripts.d/cpufreq
+===================================================================
+--- pbbuttonsd-0.7.9.orig/scripts/scripts.d/cpufreq	2015-01-05 12:05:46.542701600 +0100
++++ pbbuttonsd-0.7.9/scripts/scripts.d/cpufreq	2015-01-05 12:05:50.220539855 +0100
+@@ -18,7 +18,7 @@
+ case "$1" in
+   powersave|custom)
+     case "$KVER" in
+-      2.6.*)
++      "2.6."*|"3."*)
+         if [ -d /sys ]; then
+           echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
+           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
+@@ -41,7 +41,7 @@
+    ;;
+   performance)
+      case "$KVER" in
+-      2.6.*)
++      "2.6."*|"3."*)
+         if [ -d /sys ]; then
+           echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
+           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
diff -Nru pbbuttonsd-0.7.9/debian/patches/laptopmode.patch pbbuttonsd-0.7.9/debian/patches/laptopmode.patch
--- pbbuttonsd-0.7.9/debian/patches/laptopmode.patch	1970-01-01 01:00:00.000000000 +0100
+++ pbbuttonsd-0.7.9/debian/patches/laptopmode.patch	2015-01-05 12:19:18.000000000 +0100
@@ -0,0 +1,37 @@
+Description: pbbuttonsd is not rewritten for kernel 3.2
+Author: Mathieu Malaterre <malat@debian.org>
+Origin: https://bugs.gentoo.org/show_bug.cgi?id=429306#c2
+Bug-Debian: http://bugs.debian.org/711685
+Reviewed-by: Mathieu Malaterre <malat@debian.org>
+
+Index: pbbuttonsd-0.7.9/scripts/scripts.d/laptopmode.sh
+===================================================================
+--- pbbuttonsd-0.7.9.orig/scripts/scripts.d/laptopmode.sh	2006-10-01 17:34:12.000000000 +0200
++++ pbbuttonsd-0.7.9/scripts/scripts.d/laptopmode.sh	2015-01-05 12:12:09.217970623 +0100
+@@ -122,7 +122,7 @@
+ 	     )
+ 	 )
+ case "$KLEVEL" in
+-	"2.4"|"2.6")
++	"2.4"|"2.6"|"3."*)
+ 		true
+ 		;;
+ 	*)
+@@ -222,7 +222,7 @@
+ 				echo "1"				> /proc/sys/vm/laptop_mode
+ 				echo "30 500 0 0 $AGE $AGE 60 20 0"	> /proc/sys/vm/bdflush
+ 				;;
+-			"2.6")
++			"2.6"|"3."*)
+ 				echo "5"				> /proc/sys/vm/laptop_mode
+ 				echo "$AGE"				> /proc/sys/vm/dirty_writeback_centisecs
+ 				echo "$AGE"				> /proc/sys/vm/dirty_expire_centisecs
+@@ -268,7 +268,7 @@
+ 			"2.4")
+ 				echo "30 500 0 0 $U_AGE $B_AGE 60 20 0"	> /proc/sys/vm/bdflush
+ 				;;
+-			"2.6")
++			"2.6"|"3."*)
+ 				echo "$U_AGE"				> /proc/sys/vm/dirty_writeback_centisecs
+ 				echo "$B_AGE"				> /proc/sys/vm/dirty_expire_centisecs
+ 				echo "$DEF_DIRTY_RATIO"			> /proc/sys/vm/dirty_ratio
diff -Nru pbbuttonsd-0.7.9/debian/patches/series pbbuttonsd-0.7.9/debian/patches/series
--- pbbuttonsd-0.7.9/debian/patches/series	2014-01-22 12:19:09.000000000 +0100
+++ pbbuttonsd-0.7.9/debian/patches/series	2015-01-05 12:04:43.000000000 +0100
@@ -1 +1,3 @@
 01-no-ftbfs-format-security.diff
+cpufreq.patch
+laptopmode.patch

Reply to: