summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-07-19 11:16:26 +0000
committerRoy Marples <uberlord@gentoo.org>2006-07-19 11:16:26 +0000
commit26cc3293aa07f93429238a2f0c499325f1e44a06 (patch)
tree201fc83ea09ccf94b6b462087ba576d0d1ccbe39 /app-laptop
parentAdd sys-libs/db-4 dependency, required by session helper (#140993). (diff)
downloadhistorical-26cc3293aa07f93429238a2f0c499325f1e44a06.tar.gz
historical-26cc3293aa07f93429238a2f0c499325f1e44a06.tar.bz2
historical-26cc3293aa07f93429238a2f0c499325f1e44a06.zip
Fix some potential quoting issues. Init script now checks if we are started before allowing a reload.
Package-Manager: portage-2.1.1_pre3-r1
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/laptop-mode-tools/ChangeLog7
-rw-r--r--app-laptop/laptop-mode-tools/Manifest27
-rw-r--r--app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.312
-rw-r--r--app-laptop/laptop-mode-tools/files/laptop_mode.init42
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild8
-rw-r--r--app-laptop/laptop-mode-tools/metadata.xml4
-rw-r--r--app-laptop/radeontool/Manifest26
7 files changed, 101 insertions, 15 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog
index a791027a7d72..bb44656b7e48 100644
--- a/app-laptop/laptop-mode-tools/ChangeLog
+++ b/app-laptop/laptop-mode-tools/ChangeLog
@@ -1,6 +1,11 @@
# 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.31 2006/05/28 12:08:22 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.32 2006/07/19 11:16:26 uberlord Exp $
+
+ 19 Jul 2006; Roy Marples <uberlord@gentoo.org> +files/laptop_mode.init,
+ metadata.xml, laptop-mode-tools-1.31.ebuild:
+ Fix some potential quoting issues.
+ Init script now checks if we are started before allowing a reload.
28 May 2006; Henrik Brix Andersen <brix@gentoo.org>
-files/laptop-mode-tools-1.11-cpu-governor.patch,
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index 185816cf0efc..6e4d58b2835f 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,5 +1,24 @@
-MD5 7f8fd0703527d11bb6cb87774696fb65 ChangeLog 5643
-MD5 6e7da4b22b8209b27e4f991503c6eab8 files/digest-laptop-mode-tools-1.31 73
+AUX laptop-mode-tools-1.31-init.d 860 RMD160 e5f96f4d0272a1a064819a610363de0240645f79 SHA1 52ca263fc4ee679bbdeb9a592b8e9b99d6fa7b22 SHA256 82b20b32c5ff91f6edefd9ab2f643c373623ac002c744725cba9e01924a37095
MD5 37fd300b2d6b8b4ffe40621172c4816a files/laptop-mode-tools-1.31-init.d 860
-MD5 b1f2c8212e1cb7b5ce5905295b61a428 laptop-mode-tools-1.31.ebuild 2310
-MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
+RMD160 e5f96f4d0272a1a064819a610363de0240645f79 files/laptop-mode-tools-1.31-init.d 860
+SHA256 82b20b32c5ff91f6edefd9ab2f643c373623ac002c744725cba9e01924a37095 files/laptop-mode-tools-1.31-init.d 860
+AUX laptop_mode.init 924 RMD160 7587e9725ca20164e0f5942eb16fbdf743d51ca8 SHA1 0f0170b16715ebe1519b3bb8ef0d027b8c1b3f7c SHA256 f645221a1790ae719405859e7be91076947a82ea938cf5d1a1e94c70ab70a694
+MD5 3203ed4af7ea39da501e1bf1dee1265b files/laptop_mode.init 924
+RMD160 7587e9725ca20164e0f5942eb16fbdf743d51ca8 files/laptop_mode.init 924
+SHA256 f645221a1790ae719405859e7be91076947a82ea938cf5d1a1e94c70ab70a694 files/laptop_mode.init 924
+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 5875 RMD160 fadec24861ebe8b24d68e630df17a4bcb44092ba SHA1 2edb0530ea1fba39e111cf26c573ba43a7b42b9d SHA256 e59cdc4a216f022832dee84195890b1bbf84ff948f92382917ef01b13193f14e
+MD5 4dc58f95872b8c2ebe5183370fd34608 ChangeLog 5875
+RMD160 fadec24861ebe8b24d68e630df17a4bcb44092ba ChangeLog 5875
+SHA256 e59cdc4a216f022832dee84195890b1bbf84ff948f92382917ef01b13193f14e ChangeLog 5875
+MISC metadata.xml 250 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e SHA1 60f90e59de723ec974b5e2d8c3a952c3ea378f6f SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e
+MD5 672d42771a5a69fdbc5ba1648d133812 metadata.xml 250
+RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e metadata.xml 250
+SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e metadata.xml 250
+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
diff --git a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.31 b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.31
index f041c68ad7fa..1ba9b9650669 100644
--- a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.31
+++ b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.31
@@ -1 +1,3 @@
MD5 a332179ae046292b232234eb444b2122 laptop-mode-tools_1.31.tar.gz 86554
+RMD160 042b15337a365c6efd1d60ea74c4412fed7949df laptop-mode-tools_1.31.tar.gz 86554
+SHA256 cc2475a237c6d1b95667d464ebece1fbf5a518262fc9a74363ef820ba168d29e laptop-mode-tools_1.31.tar.gz 86554
diff --git a/app-laptop/laptop-mode-tools/files/laptop_mode.init b/app-laptop/laptop-mode-tools/files/laptop_mode.init
new file mode 100644
index 000000000000..d02cdcc2e3af
--- /dev/null
+++ b/app-laptop/laptop-mode-tools/files/laptop_mode.init
@@ -0,0 +1,42 @@
+#!/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,v 1.1 2006/07/19 11:16:26 uberlord Exp $
+
+opts="${opts} reload"
+
+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 init >/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping laptop_mode"
+ rm -f /var/run/laptop-mode-enabled
+ /usr/sbin/laptop_mode stop init >/dev/null
+ eend $?
+}
+
+reload() {
+ if ! service_started "${SVCNAME}" ; then
+ eerror "${SVCNAME} has not yet been started"
+ return 1
+ fi
+
+ ebegin "Reloading laptop_mode"
+ /usr/sbin/laptop_mode auto init force >/dev/null
+ eend $?
+}
+
+# vim: set ts=4 :
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild
index d50e8627e189..4a260d3bacbb 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.31.ebuild
@@ -1,10 +1,10 @@
# 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.2 2006/05/26 12:10:59 brix Exp $
+# $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 $
inherit fixheadtails linux-info
-MY_P=${PN}_${PV}
+MY_P="${PN}_${PV}"
DESCRIPTION="Linux kernel laptop_mode user-space utilities"
HOMEPAGE="http://www.xs4all.nl/~bsamwel/laptop_mode/tools/"
@@ -38,7 +38,7 @@ pkg_setup() {
src_unpack() {
unpack ${A}
- ht_fix_file ${S}/usr/sbin/lm-profiler
+ ht_fix_file "${S}"/usr/sbin/lm-profiler
}
src_install() {
@@ -50,7 +50,7 @@ src_install() {
doins etc/laptop-mode/laptop-mode.conf
doins etc/laptop-mode/lm-profiler.conf
- newinitd ${FILESDIR}/${P}-init.d laptop_mode
+ newinitd "${FILESDIR}"/laptop_mode.init laptop_mode
keepdir /etc/laptop-mode/batt-start
keepdir /etc/laptop-mode/batt-stop
diff --git a/app-laptop/laptop-mode-tools/metadata.xml b/app-laptop/laptop-mode-tools/metadata.xml
index cfbdff13bd61..8cc674ef58f5 100644
--- a/app-laptop/laptop-mode-tools/metadata.xml
+++ b/app-laptop/laptop-mode-tools/metadata.xml
@@ -3,7 +3,7 @@
<pkgmetadata>
<herd>mobile</herd>
<maintainer>
- <email>brix@gentoo.org</email>
- <name>Henrik Brix Andersen</name>
+ <email>uberlord@gentoo.org</email>
+ <name>Roy Marples</name>
</maintainer>
</pkgmetadata>
diff --git a/app-laptop/radeontool/Manifest b/app-laptop/radeontool/Manifest
index 687f4ad180a8..d1677a4a0a99 100644
--- a/app-laptop/radeontool/Manifest
+++ b/app-laptop/radeontool/Manifest
@@ -1,6 +1,24 @@
-MD5 9b1a264a7f371fbf92823bd7b4052ed2 ChangeLog 2486
-MD5 354913651b0e6e37c53069e84329bde4 files/digest-radeontool-1.5-r3 65
+AUX radeontool-1.5-mmap.patch 502 RMD160 7c0bfe4204f6759687ea719767f0baf22ebf184b SHA1 a480a87279ee247f1914c346c46eeac534c171ec SHA256 27d14db7d811636a66ca6a3ea5d468a56cfce83b10e1087fc0fed81027b3a542
MD5 322e4f9536fffd2172a01583f65d46ca files/radeontool-1.5-mmap.patch 502
+RMD160 7c0bfe4204f6759687ea719767f0baf22ebf184b files/radeontool-1.5-mmap.patch 502
+SHA256 27d14db7d811636a66ca6a3ea5d468a56cfce83b10e1087fc0fed81027b3a542 files/radeontool-1.5-mmap.patch 502
+AUX radeontool-1.5-vga-ati.patch 612 RMD160 945544cf8c1a18301a207e28b3084d21510a17a2 SHA1 1bc0ee963fabc7adb7a1af2638140cd77ab0d907 SHA256 16ae055e6d6cebd8c38bdd71066857099d85492d872a20d4a271d27ee1e09a98
MD5 2d97b579ecca328f1be6a1c0c3be9edf files/radeontool-1.5-vga-ati.patch 612
-MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
-MD5 c49d8702c2bebac9ea30f9c1c4daf637 radeontool-1.5-r3.ebuild 867
+RMD160 945544cf8c1a18301a207e28b3084d21510a17a2 files/radeontool-1.5-vga-ati.patch 612
+SHA256 16ae055e6d6cebd8c38bdd71066857099d85492d872a20d4a271d27ee1e09a98 files/radeontool-1.5-vga-ati.patch 612
+DIST radeontool-1.5.tar.gz 20869 RMD160 1cdeeb7ad379afa7bc03e1cd79adbb09f6a9cb85 SHA1 bd9096d5b18b31a1f1addbea80e6debfc707abf6 SHA256 598190677279001fd8d2724ac28aae11820d3c01f850bc167ec0030c21577361
+EBUILD radeontool-1.5-r3.ebuild 878 RMD160 f84b3463f18fd7ee950f3f9ebb282f56099bee23 SHA1 9219c08091da5997e513c170f9ede96c05fc7671 SHA256 e3faede314939785f803f0a3465372220219237a988d6bbf5e20dd41c9779b22
+MD5 08feb487556c84caffef96870234b7c6 radeontool-1.5-r3.ebuild 878
+RMD160 f84b3463f18fd7ee950f3f9ebb282f56099bee23 radeontool-1.5-r3.ebuild 878
+SHA256 e3faede314939785f803f0a3465372220219237a988d6bbf5e20dd41c9779b22 radeontool-1.5-r3.ebuild 878
+MISC ChangeLog 2619 RMD160 6caddb65dea79f856a93ea4a7559069bcdace81b SHA1 fa1a4fc9a61991c3e7198ee16e8d4e0be34d8c6a SHA256 014c88d396363eabc29f1723925c4b0d0cf7dc3cbb1b778c395a45e4d89c28f3
+MD5 55fc26dec7a2dd0cb25e68324a818fe6 ChangeLog 2619
+RMD160 6caddb65dea79f856a93ea4a7559069bcdace81b ChangeLog 2619
+SHA256 014c88d396363eabc29f1723925c4b0d0cf7dc3cbb1b778c395a45e4d89c28f3 ChangeLog 2619
+MISC metadata.xml 250 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e SHA1 60f90e59de723ec974b5e2d8c3a952c3ea378f6f SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e
+MD5 672d42771a5a69fdbc5ba1648d133812 metadata.xml 250
+RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e metadata.xml 250
+SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e metadata.xml 250
+MD5 a76a1213b7532a414379a79507c623f4 files/digest-radeontool-1.5-r3 241
+RMD160 7b1400b2ab218521a3dccc8e8e8823944dcd1e17 files/digest-radeontool-1.5-r3 241
+SHA256 1b3f8877873c494a5b31133a8dc8e62a0e7ebb3160ccc5ad390cf9436098b7f0 files/digest-radeontool-1.5-r3 241