summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-10-01 10:57:44 +0000
committerRoy Marples <uberlord@gentoo.org>2007-10-01 10:57:44 +0000
commit87410281c9ebdfd5ea0930215d901d7a35b12fef (patch)
tree840f6402ddb7ed89a047dc54dc5e6b9694fe1d50 /sys-power
parentalpha/ia64/sparc stable wrt security #194039 (diff)
downloadhistorical-87410281c9ebdfd5ea0930215d901d7a35b12fef.tar.gz
historical-87410281c9ebdfd5ea0930215d901d7a35b12fef.tar.bz2
historical-87410281c9ebdfd5ea0930215d901d7a35b12fef.zip
Remove bashisms from init script, #194362 thanks to Peter Alfredsen
Package-Manager: portage-2.1.3.11 RepoMan-Options: --force
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/athcool/ChangeLog8
-rw-r--r--sys-power/athcool/Manifest33
-rw-r--r--sys-power/athcool/athcool-0.3.11-r1.ebuild38
-rwxr-xr-xsys-power/athcool/files/athcool10
-rw-r--r--sys-power/athcool/files/digest-athcool-0.3.11-r13
5 files changed, 68 insertions, 24 deletions
diff --git a/sys-power/athcool/ChangeLog b/sys-power/athcool/ChangeLog
index 550a06d21ea2..b91ad48e5a24 100644
--- a/sys-power/athcool/ChangeLog
+++ b/sys-power/athcool/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-power/athcool
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/ChangeLog,v 1.5 2007/01/24 10:06:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/ChangeLog,v 1.6 2007/10/01 10:57:44 uberlord Exp $
+
+*athcool-0.3.11-r1 (01 Oct 2007)
+
+ 01 Oct 2007; Roy Marples <uberlord@gentoo.org> files/athcool,
+ +athcool-0.3.11-r1.ebuild:
+ Remove bashisms from init script, #194362 thanks to Peter Alfredsen
24 Jan 2007; Mike Frysinger <vapier@gentoo.org>
files/athcool-0.3.11-build.patch:
diff --git a/sys-power/athcool/Manifest b/sys-power/athcool/Manifest
index cdffbf3cfa03..22c7e61f519a 100644
--- a/sys-power/athcool/Manifest
+++ b/sys-power/athcool/Manifest
@@ -1,23 +1,24 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX athcool 316 RMD160 23fdc65244ba404633fb123657f98a4a8991e435 SHA1 691b7321e3c7645a30602d819b6d606f5ff11141 SHA256 8c3e01fada720a317a57fb1fa24f059f05826f1e50c4ccc5617c70f5fc464b2d
-MD5 7976600589a68e11a2ac3e8e6bd94a97 files/athcool 316
-RMD160 23fdc65244ba404633fb123657f98a4a8991e435 files/athcool 316
-SHA256 8c3e01fada720a317a57fb1fa24f059f05826f1e50c4ccc5617c70f5fc464b2d files/athcool 316
+AUX athcool 287 RMD160 8fe3d571424f68028f3034b3c24253e220b1b4d5 SHA1 a1b77338eb7147d87747ffefcd046906e3b70617 SHA256 a58c9db58cd8cd54cfe5ec448a80d8e386f8c3abce1aa339db710b062df3d650
+MD5 56967557f4ff0b80fd99ecc4550593d8 files/athcool 287
+RMD160 8fe3d571424f68028f3034b3c24253e220b1b4d5 files/athcool 287
+SHA256 a58c9db58cd8cd54cfe5ec448a80d8e386f8c3abce1aa339db710b062df3d650 files/athcool 287
AUX athcool-0.3.11-build.patch 853 RMD160 9454661c118badbefb2ca4238fef6a8fd837d890 SHA1 e28f2f355bbbf20dfa9de4171698969b42b0cabb SHA256 240ead08541958a16e09eb79f0d06ac9d026654cd10e09b6b08dc36eb8a81bb2
MD5 f5193d0c30aa95ab0c2e485b49a15c2c files/athcool-0.3.11-build.patch 853
RMD160 9454661c118badbefb2ca4238fef6a8fd837d890 files/athcool-0.3.11-build.patch 853
SHA256 240ead08541958a16e09eb79f0d06ac9d026654cd10e09b6b08dc36eb8a81bb2 files/athcool-0.3.11-build.patch 853
DIST athcool-0.3.11.tar.gz 20761 RMD160 076ea6fac685415332e8f322edeae7003afbe57f SHA1 d0af97f84b438a18c8e452d7f414b38e16b1e8a7 SHA256 63359649d98430da4d552b92e8b66af08f8410171e9ff82edda3c796831b841a
+EBUILD athcool-0.3.11-r1.ebuild 1138 RMD160 0e5df423673aa5f2ab0107b9301f96742156aebb SHA1 a2fec7da60d911baffa0756a55d968997c6af5ae SHA256 339a6c378d6ddca5fd6ec58f2952b928c4b58c445fa5926a308f93e8899aa0ed
+MD5 eb4a8bbe8aaf29baffef4b9890d4801a athcool-0.3.11-r1.ebuild 1138
+RMD160 0e5df423673aa5f2ab0107b9301f96742156aebb athcool-0.3.11-r1.ebuild 1138
+SHA256 339a6c378d6ddca5fd6ec58f2952b928c4b58c445fa5926a308f93e8899aa0ed athcool-0.3.11-r1.ebuild 1138
EBUILD athcool-0.3.11.ebuild 1133 RMD160 9e2f41f989a4aa6523bc04e566b2b9445fb13800 SHA1 97fb792cb3f0d71f52b80de1f3a40ebd65ed2672 SHA256 7428da490f749ca0a71a3b5530f08703c3e39eb9d916139a18b79ba0196262b7
MD5 32eab4edf110afbc4e38768a3eed8504 athcool-0.3.11.ebuild 1133
RMD160 9e2f41f989a4aa6523bc04e566b2b9445fb13800 athcool-0.3.11.ebuild 1133
SHA256 7428da490f749ca0a71a3b5530f08703c3e39eb9d916139a18b79ba0196262b7 athcool-0.3.11.ebuild 1133
-MISC ChangeLog 2319 RMD160 cc7c6d1d4e65ccd6bb42207b3fd0e8b5c2a490f4 SHA1 8f0315516780c4a11ffb7dd90a540decab6244c2 SHA256 4590839bb04835106999dbc7147d96b5555ab22d50510c3ff0c6d484a1ae55cb
-MD5 982e6e22f99c7b2971b21b7f01baee8b ChangeLog 2319
-RMD160 cc7c6d1d4e65ccd6bb42207b3fd0e8b5c2a490f4 ChangeLog 2319
-SHA256 4590839bb04835106999dbc7147d96b5555ab22d50510c3ff0c6d484a1ae55cb ChangeLog 2319
+MISC ChangeLog 2519 RMD160 fec12662adb2efb66226c7e0c5e3e5e8866768d6 SHA1 12852d782a6676f5ce6b49eecdd0b973aea6645f SHA256 1b4662d02686f705ddc51abb8db004c989570887c5f665579a851c1346fc4274
+MD5 7a7ce1d9f243f2ab5081753d0fc5d2fe ChangeLog 2519
+RMD160 fec12662adb2efb66226c7e0c5e3e5e8866768d6 ChangeLog 2519
+SHA256 1b4662d02686f705ddc51abb8db004c989570887c5f665579a851c1346fc4274 ChangeLog 2519
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -25,10 +26,6 @@ SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata
MD5 d87808702ddd6243a2b3fc5eb023ce02 files/digest-athcool-0.3.11 241
RMD160 631fcf5c1b9ff7af38d5f9eeaaaa5a299d3ae0e9 files/digest-athcool-0.3.11 241
SHA256 a38df7a680c9576325476f1b0bcc05ea40f00a2b89437610f6a40d3aa9012b9b files/digest-athcool-0.3.11 241
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFty+08bi6rjpTunYRAqrMAKCk9paXTI9w61A7cWmz6q2D96LRygCg2tCv
-x9A0AHFK3vhZHlTPCvt3z1M=
-=8gLo
------END PGP SIGNATURE-----
+MD5 d87808702ddd6243a2b3fc5eb023ce02 files/digest-athcool-0.3.11-r1 241
+RMD160 631fcf5c1b9ff7af38d5f9eeaaaa5a299d3ae0e9 files/digest-athcool-0.3.11-r1 241
+SHA256 a38df7a680c9576325476f1b0bcc05ea40f00a2b89437610f6a40d3aa9012b9b files/digest-athcool-0.3.11-r1 241
diff --git a/sys-power/athcool/athcool-0.3.11-r1.ebuild b/sys-power/athcool/athcool-0.3.11-r1.ebuild
new file mode 100644
index 000000000000..1b6639ce30a8
--- /dev/null
+++ b/sys-power/athcool/athcool-0.3.11-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/athcool-0.3.11-r1.ebuild,v 1.1 2007/10/01 10:57:44 uberlord Exp $
+
+inherit eutils
+
+DESCRIPTION="small utility to toggle Powersaving mode for AMD Athlon/Duron processors"
+HOMEPAGE="http://members.jcom.home.ne.jp/jacobi/linux/softwares.html#athcool"
+SRC_URI="http://members.jcom.home.ne.jp/jacobi/linux/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE=""
+
+DEPEND="sys-apps/pciutils"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ doinitd "${FILESDIR}"/athcool
+ dodoc README ChangeLog
+}
+
+pkg_postinst() {
+ ewarn "WARNING: Depending on your motherboard and/or hardware components,"
+ ewarn "enabling powersaving mode may cause:"
+ ewarn " * noisy or distorted sound playback"
+ ewarn " * a slowdown in harddisk performance"
+ ewarn " * system locks or instability"
+ ewarn "If you met those problems, you should not use athcool. Please use"
+ ewarn "athcool AT YOUR OWN RISK!"
+}
diff --git a/sys-power/athcool/files/athcool b/sys-power/athcool/files/athcool
index c4f9bccd0276..dcf26e9537cf 100755
--- a/sys-power/athcool/files/athcool
+++ b/sys-power/athcool/files/athcool
@@ -1,15 +1,15 @@
#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/files/athcool,v 1.1 2005/03/14 22:56:32 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/files/athcool,v 1.2 2007/10/01 10:57:44 uberlord Exp $
start() {
- ebegin "Starting Athcool"
- /usr/sbin/athcool on &>/dev/null || return 1
+ ebegin "Starting ${SVCNAME}"
+ athcool on >/dev/null 2>&1
eend $?
}
stop() {
- ebegin "Stopping Athcool"
- /usr/sbin/athcool off &>/dev/null || return 1
+ ebegin "Stopping ${SVCNAME}"
+ athcool off >/dev/null 2>&1
eend $?
}
diff --git a/sys-power/athcool/files/digest-athcool-0.3.11-r1 b/sys-power/athcool/files/digest-athcool-0.3.11-r1
new file mode 100644
index 000000000000..a969695940b0
--- /dev/null
+++ b/sys-power/athcool/files/digest-athcool-0.3.11-r1
@@ -0,0 +1,3 @@
+MD5 0fdcc3e32f8e795ff95747e640710ce4 athcool-0.3.11.tar.gz 20761
+RMD160 076ea6fac685415332e8f322edeae7003afbe57f athcool-0.3.11.tar.gz 20761
+SHA256 63359649d98430da4d552b92e8b66af08f8410171e9ff82edda3c796831b841a athcool-0.3.11.tar.gz 20761