New version and homepage.
authorRoy Marples <uberlord@gentoo.org>
Tue, 5 Dec 2006 15:17:03 +0000 (15:17 +0000)
committerRoy Marples <uberlord@gentoo.org>
Tue, 5 Dec 2006 15:17:03 +0000 (15:17 +0000)
Package-Manager: portage-2.1.2_rc2-r5

app-laptop/laptop-mode-tools/ChangeLog
app-laptop/laptop-mode-tools/Manifest
app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.32 [new file with mode: 0644]
app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild
app-laptop/laptop-mode-tools/laptop-mode-tools-1.32.ebuild [new file with mode: 0644]

index 9a3e8956764565b870fe419697893d9020cd38c8..43bcb8c8d5f81b59a51064220f385062b1552f36 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-laptop/laptop-mode-tools
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.33 2006/11/14 08:05:50 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.34 2006/12/05 15:17:03 uberlord Exp $
+
+*laptop-mode-tools-1.32 (05 Dec 2006)
+
+  05 Dec 2006; Roy Marples <uberlord@gentoo.org>
+  laptop-mode-tools-1.31.ebuild, +laptop-mode-tools-1.32.ebuild:
+  New version and homepage.
 
   14 Nov 2006; Roy Marples <uberlord@gentoo.org> files/laptop_mode.init:
   Add a depend fuction to the init script so it starts up properly when going
index e5323cb54e5ba550c851bae21d5bf4bfdd071cda..2f8ebfaafe1475db6f86be8c3f4b677042698fe9 100644 (file)
@@ -3,14 +3,19 @@ MD5 72f610f37f0d62b38254f87ee24f3546 files/laptop_mode.init 970
 RMD160 36e4f0ac62ca43f25689fe7c1eec6e0f8594dcd9 files/laptop_mode.init 970
 SHA256 aa8ee3b3f89c95c154243bae2c5b99a0db3915f0d50807637c271acddbbdcfad files/laptop_mode.init 970
 DIST laptop-mode-tools_1.31.tar.gz 86554 RMD160 042b15337a365c6efd1d60ea74c4412fed7949df SHA1 4a2630818a3e30095d2339ab09aa2fb5a4213adf SHA256 cc2475a237c6d1b95667d464ebece1fbf5a518262fc9a74363ef820ba168d29e
-EBUILD laptop-mode-tools-1.31.ebuild 2325 RMD160 a1d9356686dc6125f83553ac57ee82e4e5f9e54a SHA1 e52c0853897859505bba0c2deafe76039915b934 SHA256 1370a0ba6b368948bbb6560b0f7e66ae37af34f303a6bdfc59e1565a59d96a7f
-MD5 08d6d21fa27263ae42262962f763bf09 laptop-mode-tools-1.31.ebuild 2325
-RMD160 a1d9356686dc6125f83553ac57ee82e4e5f9e54a laptop-mode-tools-1.31.ebuild 2325
-SHA256 1370a0ba6b368948bbb6560b0f7e66ae37af34f303a6bdfc59e1565a59d96a7f laptop-mode-tools-1.31.ebuild 2325
-MISC ChangeLog 6075 RMD160 f8d22e938b2f14b0a28cc45caa3ae27a5d96b4ea SHA1 dff29998d63f71b1729a16b3a87632bfec6c9ccb SHA256 16336766fcd7d35379a93ec3ee4aa7612209e67ea7ab0da63f17f4260d68f589
-MD5 2459ca74e21a4e6c0b3c766444e6c1cc ChangeLog 6075
-RMD160 f8d22e938b2f14b0a28cc45caa3ae27a5d96b4ea ChangeLog 6075
-SHA256 16336766fcd7d35379a93ec3ee4aa7612209e67ea7ab0da63f17f4260d68f589 ChangeLog 6075
+DIST laptop-mode-tools_1.32.tar.gz 87843 RMD160 45952d396ea540ee3f1c48b1aff5c1acb2d13ae2 SHA1 ab1d2546307453a2c7f1c54c082de9344eed5955 SHA256 15d645a9ce81be02db3b9df646880906024416666ef9b3dfb133bb6be608f967
+EBUILD laptop-mode-tools-1.31.ebuild 2311 RMD160 b180b08519e8419709aa44e1ecfbb2e752de34fa SHA1 e6e36e73f00b611e7b24078ddb6d5d83fcd0cdfa SHA256 20dba0f232ab8a1f02ae2f95dd74cb82f1538f078cfe59356a73d3fbb021be49
+MD5 0b697bfb9374bf968c2d52d10b0dc583 laptop-mode-tools-1.31.ebuild 2311
+RMD160 b180b08519e8419709aa44e1ecfbb2e752de34fa laptop-mode-tools-1.31.ebuild 2311
+SHA256 20dba0f232ab8a1f02ae2f95dd74cb82f1538f078cfe59356a73d3fbb021be49 laptop-mode-tools-1.31.ebuild 2311
+EBUILD laptop-mode-tools-1.32.ebuild 2312 RMD160 2d8c9fe4359566641e926f82bbba95269f1ac41b SHA1 91ca7c60c7a29e9b2a050820c6f28f4f715f96f4 SHA256 04c11512654ebbdcdca1a483dfb3ae3d03bfdd254a5877ec909f654eb55afe96
+MD5 d17c14d884cbdab29ed2abee7343aaac laptop-mode-tools-1.32.ebuild 2312
+RMD160 2d8c9fe4359566641e926f82bbba95269f1ac41b laptop-mode-tools-1.32.ebuild 2312
+SHA256 04c11512654ebbdcdca1a483dfb3ae3d03bfdd254a5877ec909f654eb55afe96 laptop-mode-tools-1.32.ebuild 2312
+MISC ChangeLog 6257 RMD160 cbcd43248957358bc8eb89ab04d2ffe561c0af73 SHA1 cf061a693c25051687320198ed450496d9cc159f SHA256 3416192ff0c987c32a0688cb555182b4e8a0a0065e93370c51b9bc82ce55c2f6
+MD5 08d0d182792693546a3d57a7f892ed56 ChangeLog 6257
+RMD160 cbcd43248957358bc8eb89ab04d2ffe561c0af73 ChangeLog 6257
+SHA256 3416192ff0c987c32a0688cb555182b4e8a0a0065e93370c51b9bc82ce55c2f6 ChangeLog 6257
 MISC metadata.xml 250 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e SHA1 60f90e59de723ec974b5e2d8c3a952c3ea378f6f SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e
 MD5 672d42771a5a69fdbc5ba1648d133812 metadata.xml 250
 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e metadata.xml 250
@@ -18,3 +23,6 @@ SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e metadata
 MD5 2e18e3322300b28d9c74f6834d2331c2 files/digest-laptop-mode-tools-1.31 265
 RMD160 cb42f46c45b157347f4f9943adf514e1b9de36c8 files/digest-laptop-mode-tools-1.31 265
 SHA256 744bbe53a3baea9d164005caac681a20b72789507aebeeb397df9796df504bb4 files/digest-laptop-mode-tools-1.31 265
+MD5 92e13379d96c4688d64a4c9fbd705128 files/digest-laptop-mode-tools-1.32 265
+RMD160 5027dc1b1677d7583ea304808db2061435dd624b files/digest-laptop-mode-tools-1.32 265
+SHA256 4648bb12dc38c79bc971a642f430aff1be942f301666675be47b06406d4553f7 files/digest-laptop-mode-tools-1.32 265
diff --git a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.32 b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.32
new file mode 100644 (file)
index 0000000..4a9f879
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 120723749b1a067fa6dec1c767ad2786 laptop-mode-tools_1.32.tar.gz 87843
+RMD160 45952d396ea540ee3f1c48b1aff5c1acb2d13ae2 laptop-mode-tools_1.32.tar.gz 87843
+SHA256 15d645a9ce81be02db3b9df646880906024416666ef9b3dfb133bb6be608f967 laptop-mode-tools_1.32.tar.gz 87843
index 4a260d3bacbb8a2d0632f4e42d5bccad360a357d..309b5e3e45230bf470743d83def358ad6a52cbd0 100644 (file)
@@ -1,14 +1,14 @@
 # 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/laptop-mode-tools-1.31.ebuild,v 1.3 2006/07/19 11:16:26 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild,v 1.4 2006/12/05 15:17:03 uberlord Exp $
 
 inherit fixheadtails 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"
+HOMEPAGE="http://www.samwel.tk/laptop_mode/index.html"
+SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.32.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.32.ebuild
new file mode 100644 (file)
index 0000000..dac434e
--- /dev/null
@@ -0,0 +1,94 @@
+# 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/laptop-mode-tools-1.32.ebuild,v 1.1 2006/12/05 15:17:03 uberlord Exp $
+
+inherit fixheadtails linux-info
+
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="http://www.samwel.tk/laptop_mode/index.html"
+SRC_URI="http://www.samwel.tk/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 kernel_is 2 6 && kernel_is lt 2 6 6; then
+               eerror
+               eerror "${P} requires kernel version 2.6.6 or newer."
+               eerror
+               die "${P} requires kernel version 2.6.6 or newer"
+       elif kernel_is 2 4 && kernel_is lt 2 4 23; then
+               eerror
+               eerror "${P} requires kernel version 2.4.23 or newer."
+               eerror/eti
+               die "${P} requires kernel version 2.4.23 or newer"
+       fi
+}
+
+src_unpack() {
+       unpack ${A}
+
+       ht_fix_file "${S}"/usr/sbin/lm-profiler
+}
+
+src_install() {
+       dosbin usr/sbin/laptop_mode
+       dosbin usr/sbin/lm-profiler
+       dosbin usr/sbin/lm-syslog-setup
+
+       insinto /etc/laptop-mode
+       doins etc/laptop-mode/laptop-mode.conf
+       doins etc/laptop-mode/lm-profiler.conf
+
+       newinitd "${FILESDIR}"/laptop_mode.init laptop_mode
+
+       keepdir /etc/laptop-mode/batt-start
+       keepdir /etc/laptop-mode/batt-stop
+       keepdir /etc/laptop-mode/lm-ac-start
+       keepdir /etc/laptop-mode/lm-ac-stop
+       keepdir /etc/laptop-mode/nolm-ac-start
+       keepdir /etc/laptop-mode/nolm-ac-stop
+       keepdir /etc/laptop-mode/scripts
+
+       doman man/*
+
+       dodoc Documentation/*.txt README
+
+       if use acpi; then
+               insinto /etc/acpi/events/
+               doins etc/acpi/events/*
+
+               exeinto /etc/acpi/actions/
+               doexe etc/acpi/actions/*
+       fi
+
+       if use apm; then
+               exeinto /etc/apm/event.d/
+               doexe etc/apm/event.d/*
+       fi
+}
+
+pkg_postinst() {
+       if ! use acpi && ! use 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
+}