Author: eandry Date: Sun Dec 3 03:41:31 2006 New Revision: 90182 Added: packages/cooker/laptop-mode-tools/current/SOURCES/laptop-mode-tools-1.11-lsb.patch packages/cooker/laptop-mode-tools/current/SOURCES/laptop-mode-tools-1.32.tar.bz2 (contents, props changed) Removed: packages/cooker/laptop-mode-tools/current/SOURCES/laptop-mode-tools-1.11-lsb.patch.bz2 packages/cooker/laptop-mode-tools/current/SOURCES/laptop-mode-tools-1.27-subsys.patch.bz2 packages/cooker/laptop-mode-tools/current/SOURCES/laptop-mode-tools_1.31.tar.bz2 Modified: packages/cooker/laptop-mode-tools/current/SPECS/laptop-mode-tools.spec
Log: New version 1.2 bunzipped patches drop patch0 Added: packages/cooker/laptop-mode-tools/current/SOURCES/laptop-mode-tools-1.11-lsb.patch ============================================================================== --- (empty file) +++ packages/cooker/laptop-mode-tools/current/SOURCES/laptop-mode-tools-1.11-lsb.patch Sun Dec 3 03:41:31 2006 @@ -0,0 +1,19 @@ +--- laptop-mode-tools-1.11/etc/init.d/laptop-mode.lsb 2006-01-09 13:13:42.000000000 +0100 ++++ laptop-mode-tools-1.11/etc/init.d/laptop-mode 2006-01-09 13:15:33.000000000 +0100 +@@ -5,6 +5,16 @@ + # to extend battery life. + # + # config: /etc/laptop-mode/laptop-mode.conf ++# ++### BEGIN INIT INFO ++# Provides: laptop-mode ++# Should-Start: acpi cpufreq ++# Should-Stop: acpi cpufreq ++# Default-Start: 2 3 4 5 ++# Short-Description: Control laptop mode ++# Description: Starts and stops "laptop-mode" - tweaks system behavior ++# to extend battery life. ++### END INIT INFO + + test -f /usr/sbin/laptop_mode || exit 0 + Added: packages/cooker/laptop-mode-tools/current/SOURCES/laptop-mode-tools-1.32.tar.bz2 ============================================================================== Binary file. No diff available. Modified: packages/cooker/laptop-mode-tools/current/SPECS/laptop-mode-tools.spec ============================================================================== --- packages/cooker/laptop-mode-tools/current/SPECS/laptop-mode-tools.spec (original) +++ packages/cooker/laptop-mode-tools/current/SPECS/laptop-mode-tools.spec Sun Dec 3 03:41:31 2006 @@ -1,11 +1,11 @@ Summary: Userland scripts to control "laptop mode" Name: laptop-mode-tools -Version: 1.31 -Release: %mkrel 2 +Version: 1.32 +Release: %mkrel 1 -Source0: http://www.xs4all.nl/~bsamwel/laptop_mode/tools/downloads/%{name}_%{version}.tar.bz2 -Patch0: laptop-mode-tools-1.27-subsys.patch.bz2 -Patch1: laptop-mode-tools-1.11-lsb.patch.bz2 +Source0: http://www.xs4all.nl/~bsamwel/laptop_mode/tools/downloads/%{name}-%{version}.tar.bz2 +#Patch0: laptop-mode-tools-1.27-subsys.patch +Patch1: laptop-mode-tools-1.11-lsb.patch License: GPL Group: System/Kernel and hardware Url: http://www.xs4all.nl/~bsamwel/laptop_mode/tools/index.html @@ -25,7 +25,7 @@ %prep %setup -q -%patch0 -p1 -b .subsys +#%patch0 -p1 -b .subsys %patch1 -p1 -b .lsb perl -pi -e 's|LM_AC_HD_IDLE_TIMEOUT_SECONDS=5|LM_AC_HD_IDLE_TIMEOUT_SECONDS=120||g' etc/laptop-mode/laptop-mode.conf perl -pi -e 's|LM_BATT_HD_IDLE_TIMEOUT_SECONDS=5|LM_BATT_HD_IDLE_TIMEOUT_SECONDS=120||g' etc/laptop-mode/laptop-mode.conf
