summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-10-22 10:39:37 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-10-22 10:39:37 +0000
commitb3805fc9f83fc1c74e0451b53c2e2dfd9b116947 (patch)
tree53789a63b17bb2d31497a3789f36726c71c7001f /app-laptop/laptop-mode-tools
parentVersion bump. (diff)
downloadgentoo-2-b3805fc9f83fc1c74e0451b53c2e2dfd9b116947.tar.gz
gentoo-2-b3805fc9f83fc1c74e0451b53c2e2dfd9b116947.tar.bz2
gentoo-2-b3805fc9f83fc1c74e0451b53c2e2dfd9b116947.zip
Pruned old versions.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'app-laptop/laptop-mode-tools')
-rw-r--r--app-laptop/laptop-mode-tools/ChangeLog6
-rw-r--r--app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.051
-rw-r--r--app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.05.init25
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.05.ebuild74
4 files changed, 5 insertions, 101 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog
index d646009532e3..62a65940614a 100644
--- a/app-laptop/laptop-mode-tools/ChangeLog
+++ b/app-laptop/laptop-mode-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-laptop/laptop-mode-tools
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.16 2005/10/21 15:50:58 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.17 2005/10/22 10:37:55 brix Exp $
+
+ 22 Oct 2005; Henrik Brix Andersen <brix@gentoo.org>
+ -files/laptop-mode-tools-1.05.init, -laptop-mode-tools-1.05.ebuild:
+ Pruned old versions.
21 Oct 2005; Henrik Brix Andersen <brix@gentoo.org>
laptop-mode-tools-1.10.ebuild:
diff --git a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.05 b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.05
deleted file mode 100644
index 11dc83ea8f00..000000000000
--- a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.05
+++ /dev/null
@@ -1 +0,0 @@
-MD5 61cf06849c3340ba965fc14091a25c82 laptop-mode-tools_1.05.tar.gz 33645
diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.05.init b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.05.init
deleted file mode 100644
index 6fb6a1765702..000000000000
--- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.05.init
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 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-tools-1.05.init,v 1.1 2005/04/11 19:22:58 brix Exp $
-
-checkconfig() {
- if [ ! -f /proc/sys/vm/laptop_mode ]; then
- eerror "Kernel does not support laptop_mode"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting laptop_mode"
- touch /var/run/laptop-mode-enabled && /usr/sbin/laptop_mode auto &> /dev/null
- eend $?
-}
-
-stop() {
- ebegin "Stopping laptop_mode"
- /usr/sbin/laptop_mode stop &> /dev/null && rm -f /var/run/laptop-mode-enabled
- eend $?
-}
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.05.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.05.ebuild
deleted file mode 100644
index 5e2a0fc88caa..000000000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.05.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2005 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.05.ebuild,v 1.4 2005/07/09 04:08:51 josejx Exp $
-
-inherit linux-info
-
-MY_P=${PN}_${PV}
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-
-HOMEPAGE="http://www.xs4all.nl/~bsamwel/laptop_mode/tools/"
-SRC_URI="http://www.xs4all.nl/~bsamwel/laptop_mode/tools/downloads/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-
-IUSE="acpi apm"
-
-DEPEND="acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )"
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if [ ${KV_MAJOR} -eq 2 -a ${KV_MINOR} -eq 6 -a ${KV_PATCH} -lt 6 ]; then
- eerror "${P} requires kernel version 2.6.6 or newer."
- die "${P} requires kernel version 2.6.6 or newer"
- elif [ ${KV_MAJOR} -eq 2 -a ${KV_MINOR} -eq 4 -a ${KV_PATCH} -lt 23 ]; then
- eerror "${P} requires kernel version 2.4.23 or newer."
- die "${P} requires kernel version 2.4.23 or newer"
- fi
-}
-
-src_install() {
- dosbin usr/sbin/laptop_mode
-
- insinto /etc/laptop-mode
- doins etc/laptop-mode/laptop-mode.conf
-
- newinitd ${FILESDIR}/${P}.init laptop_mode
-
- doman man/*
-
- dodoc Documentation/laptop-mode.txt README
-
- if useq acpi; then
- insinto /etc/acpi/events/
- doins etc/acpi/events/*
-
- exeinto /etc/acpi/actions/
- doexe etc/acpi/actions/*
- fi
-
- if useq apm; then
- exeinto /etc/apm/event.d/
- doexe etc/apm/event.d/*
- fi
-}
-
-pkg_postinst() {
- if ! useq acpi && ! useq apm; then
- ewarn
- ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
- ewarn "automatically disable laptop_mode on low battery."
- ewarn
- ewarn "This means you can lose up to 10 minutes of work if running"
- ewarn "out of battery while laptop_mode is enabled."
- ewarn
- ewarn "Please see /usr/share/doc/${PF}/laptop-mode.txt.gz for further"
- ewarn "information."
- ewarn
- fi
-}