summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2009-03-17 02:16:16 +0000
committerRyan Hill <dirtyepic@gentoo.org>2009-03-17 02:16:16 +0000
commit091a3f9e3d7cea315c995abfcb151f74fc3d9674 (patch)
treed484c899bf36e604879633d1231c89a245467234 /app-laptop/laptop-mode-tools
parentFix Manifest, omp slacks (diff)
downloadgentoo-2-091a3f9e3d7cea315c995abfcb151f74fc3d9674.tar.gz
gentoo-2-091a3f9e3d7cea315c995abfcb151f74fc3d9674.tar.bz2
gentoo-2-091a3f9e3d7cea315c995abfcb151f74fc3d9674.zip
Fix bug #195940 (bashism in init script) and bug #261662 (need to start
after hald) (Portage version: 2.2_rc25/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop/laptop-mode-tools')
-rw-r--r--app-laptop/laptop-mode-tools/ChangeLog9
-rw-r--r--app-laptop/laptop-mode-tools/files/laptop_mode.init-1.47
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.47-r1.ebuild (renamed from app-laptop/laptop-mode-tools/laptop-mode-tools-1.47.ebuild)2
3 files changed, 13 insertions, 5 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog
index f2c365a69292..420f020d10bc 100644
--- a/app-laptop/laptop-mode-tools/ChangeLog
+++ b/app-laptop/laptop-mode-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-laptop/laptop-mode-tools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.40 2009/02/28 18:56:31 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.41 2009/03/17 02:16:16 dirtyepic Exp $
+
+*laptop-mode-tools-1.47-r1 (17 Mar 2009)
+
+ 17 Mar 2009; Ryan Hill <dirtyepic@gentoo.org> files/laptop_mode.init-1.4,
+ -laptop-mode-tools-1.47.ebuild, +laptop-mode-tools-1.47-r1.ebuild:
+ Fix bug #195940 (bashism in init script) and bug #261662 (need to start
+ after hald)
28 Feb 2009; Ryan Hill <dirtyepic@gentoo.org>
+files/laptop-mode-tools-1.47-install.patch,
diff --git a/app-laptop/laptop-mode-tools/files/laptop_mode.init-1.4 b/app-laptop/laptop-mode-tools/files/laptop_mode.init-1.4
index 08fae65adfd6..a3d4e9062752 100644
--- a/app-laptop/laptop-mode-tools/files/laptop_mode.init-1.4
+++ b/app-laptop/laptop-mode-tools/files/laptop_mode.init-1.4
@@ -1,17 +1,18 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop_mode.init-1.4,v 1.1 2009/02/28 06:49:37 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop_mode.init-1.4,v 1.2 2009/03/17 02:16:16 dirtyepic Exp $
opts="${opts} reload"
depend() {
- use localmount
+ need localmount
+ use acpid hald
after bootmisc
}
checkconfig() {
- if [[ ! -f /proc/sys/vm/laptop_mode ]] ; then
+ if [ ! -f /proc/sys/vm/laptop_mode ] ; then
eerror "Kernel does not support laptop_mode"
return 1
fi
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.47.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.47-r1.ebuild
index fd33b4167294..4893a1f62471 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.47.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.47-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.47.ebuild,v 1.2 2009/02/28 18:56:31 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.47-r1.ebuild,v 1.1 2009/03/17 02:16:16 dirtyepic Exp $
inherit eutils