diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-06-20 22:45:56 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-06-20 22:45:56 +0000 |
commit | 8aa42b6fc63d74c05da04c74bbd88d135f24f05b (patch) | |
tree | c2ca109b2a7e51eb19913ae771d58043fced2046 /sys-power | |
parent | Keyworded ~sparc wrt #137192 (diff) | |
download | historical-8aa42b6fc63d74c05da04c74bbd88d135f24f05b.tar.gz historical-8aa42b6fc63d74c05da04c74bbd88d135f24f05b.tar.bz2 historical-8aa42b6fc63d74c05da04c74bbd88d135f24f05b.zip |
Version bump, thanks to Alon Bar-Lev in bug #137396.
Package-Manager: portage-2.1
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/cpufreqd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/cpufreqd/Manifest | 50 | ||||
-rw-r--r-- | sys-power/cpufreqd/cpufreqd-2.1.0.ebuild | 67 | ||||
-rw-r--r-- | sys-power/cpufreqd/files/cpufreqd-2.1.0-init.d | 38 | ||||
-rw-r--r-- | sys-power/cpufreqd/files/digest-cpufreqd-2.0.0 | 2 | ||||
-rw-r--r-- | sys-power/cpufreqd/files/digest-cpufreqd-2.1.0 | 6 |
6 files changed, 165 insertions, 6 deletions
diff --git a/sys-power/cpufreqd/ChangeLog b/sys-power/cpufreqd/ChangeLog index aff3262b2896..cad669346b33 100644 --- a/sys-power/cpufreqd/ChangeLog +++ b/sys-power/cpufreqd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-power/cpufreqd # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/ChangeLog,v 1.30 2006/05/11 20:48:39 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/ChangeLog,v 1.31 2006/06/20 22:45:56 brix Exp $ + +*cpufreqd-2.1.0 (20 Jun 2006) + + 20 Jun 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/cpufreqd-2.1.0-init.d, +cpufreqd-2.1.0.ebuild: + Version bump, thanks to Alon Bar-Lev in bug #137396. 11 May 2006; Henrik Brix Andersen <brix@gentoo.org> files/cpufreqd-2.0.0-init.d: diff --git a/sys-power/cpufreqd/Manifest b/sys-power/cpufreqd/Manifest index a3788ffdf872..d2becb10b916 100644 --- a/sys-power/cpufreqd/Manifest +++ b/sys-power/cpufreqd/Manifest @@ -1,9 +1,49 @@ -MD5 41b0bf9939a57e62ffd579235611b2e8 ChangeLog 7447 -MD5 ae4232c6e814691b97c24efa396281bf cpufreqd-1.2.3.ebuild 766 -MD5 99ac7bbb30ae8471a4dbc0d2621e9a48 cpufreqd-2.0.0.ebuild 2040 +AUX cpufreqd-2.0.0-init.d 914 RMD160 c5fd856ebeb3668c2029e3fb72160c7f6ab9fdb0 SHA1 c4c2bc9097abb400433c1f352c8d68ff0ba64a9b SHA256 89ce247b13862c1b0eb112e88d0b1f6d98bb86e082e09224b0a386a00719429b MD5 718e012d090ca47f05181836a7849a90 files/cpufreqd-2.0.0-init.d 914 -MD5 df90962c83f1f87437ad708213cfcd23 files/digest-cpufreqd-1.2.3 66 -MD5 1372bb5e64aa23aca573752c18ed503b files/digest-cpufreqd-2.0.0 310 +RMD160 c5fd856ebeb3668c2029e3fb72160c7f6ab9fdb0 files/cpufreqd-2.0.0-init.d 914 +SHA256 89ce247b13862c1b0eb112e88d0b1f6d98bb86e082e09224b0a386a00719429b files/cpufreqd-2.0.0-init.d 914 +AUX cpufreqd-2.1.0-init.d 914 RMD160 e8330ec66aa63fc09bfc53f1efbe30010b33780e SHA1 8d4070ec418ae17b5c647783e94e3ab54f9ba0ac SHA256 a3b897c1e17251f1798bf21acef35400241176c0016950f764c4b2e0ca5dfb6a +MD5 ad283dd4a745d4f8f247ffbe3ff0abf7 files/cpufreqd-2.1.0-init.d 914 +RMD160 e8330ec66aa63fc09bfc53f1efbe30010b33780e files/cpufreqd-2.1.0-init.d 914 +SHA256 a3b897c1e17251f1798bf21acef35400241176c0016950f764c4b2e0ca5dfb6a files/cpufreqd-2.1.0-init.d 914 +AUX nvclock0.8b-fd.patch 580 RMD160 a5db5cb4f0c0f3270e3f042b1033defd6c406376 SHA1 afd021a0144b6adb4dbb936f1a8181db609592fc SHA256 5dad49a3ce2a52b37c4711c497a46c373282bdf27b9b28834a0b5bd977066bf2 MD5 786c62ca107cb9bc4e67e4cc2af34409 files/nvclock0.8b-fd.patch 580 +RMD160 a5db5cb4f0c0f3270e3f042b1033defd6c406376 files/nvclock0.8b-fd.patch 580 +SHA256 5dad49a3ce2a52b37c4711c497a46c373282bdf27b9b28834a0b5bd977066bf2 files/nvclock0.8b-fd.patch 580 +AUX nvclock0.8b-fpic.patch 641 RMD160 08f803b690e1ebf69859b48604bc746a1ee3c0fd SHA1 57581e5b9201c57d811f5ebee61e7dc28bf2efad SHA256 c6dfdc3ecf84b7bd8f0eb7729aff4b3f9fde0bcce2ade0aa1765483bd486e159 MD5 233e02ceed7ba5fd68304bf19784a79e files/nvclock0.8b-fpic.patch 641 +RMD160 08f803b690e1ebf69859b48604bc746a1ee3c0fd files/nvclock0.8b-fpic.patch 641 +SHA256 c6dfdc3ecf84b7bd8f0eb7729aff4b3f9fde0bcce2ade0aa1765483bd486e159 files/nvclock0.8b-fpic.patch 641 +DIST cpufreqd-1.2.3.tar.gz 330993 +DIST cpufreqd-2.0.0.tar.bz2 256423 RMD160 97ae4ccf77f00db2aa2afebde4e5d0cb7dd24439 SHA1 40094db6432ca9638bcd14af331f476d2977e7f8 SHA256 c56e41a1c530cbb0648132660ace4861c9262d241753876c038697120f45fa8c +DIST cpufreqd-2.1.0.tar.bz2 281762 RMD160 7f4c8efea26f456ddda20092ebe954f366e8d633 SHA1 7e1c677f9a62531c97a4cfb34540bd2519fc40d8 SHA256 852efb0afecd62e848ede20490dd1bddc3d09dbf055d817ae052b5a5d299cb26 +DIST nvclock0.8b.tar.gz 353127 RMD160 66cac5993dc141d00efaa95d8f5ec38ed53854f6 SHA1 ff0a9fe81a8f3227338ffccae143310df1b18551 SHA256 a1fbdb82837c33869c0ebfcb95b6e11fc53b86919e8d1d17265d1af71eb04393 +EBUILD cpufreqd-1.2.3.ebuild 766 RMD160 090f8c94e097d2c00eeaf3d90b7cdb15b7984638 SHA1 e70b95d9c725901ca2b9cfe587a4a327b3845caa SHA256 abe5219bb83edaba4b1ea66dcbe6a924e6fa5bb29ed8f96cb9e39752c9cb1875 +MD5 ae4232c6e814691b97c24efa396281bf cpufreqd-1.2.3.ebuild 766 +RMD160 090f8c94e097d2c00eeaf3d90b7cdb15b7984638 cpufreqd-1.2.3.ebuild 766 +SHA256 abe5219bb83edaba4b1ea66dcbe6a924e6fa5bb29ed8f96cb9e39752c9cb1875 cpufreqd-1.2.3.ebuild 766 +EBUILD cpufreqd-2.0.0.ebuild 2040 RMD160 cab0dea3057fbb28b8a46b2eca10276e256423bb SHA1 3ca9940d80a7130b9ea74110ac90951150fb18a9 SHA256 68a7931a515417c7ca2a9e26b97336a27db9391241dd61bd040bb0e653c5d690 +MD5 99ac7bbb30ae8471a4dbc0d2621e9a48 cpufreqd-2.0.0.ebuild 2040 +RMD160 cab0dea3057fbb28b8a46b2eca10276e256423bb cpufreqd-2.0.0.ebuild 2040 +SHA256 68a7931a515417c7ca2a9e26b97336a27db9391241dd61bd040bb0e653c5d690 cpufreqd-2.0.0.ebuild 2040 +EBUILD cpufreqd-2.1.0.ebuild 1615 RMD160 f1d4f4d1aeb98d3e220be01a5c13c6e123697db0 SHA1 68d3173bad5f7fe07fb962eb6fc70e0c54b394ed SHA256 641692e7fe1cc957724671c884a3050f9c818d5f4c02bc3835438c6eab454d7d +MD5 311a1c16e07882c1a3424a1cd9f39daa cpufreqd-2.1.0.ebuild 1615 +RMD160 f1d4f4d1aeb98d3e220be01a5c13c6e123697db0 cpufreqd-2.1.0.ebuild 1615 +SHA256 641692e7fe1cc957724671c884a3050f9c818d5f4c02bc3835438c6eab454d7d cpufreqd-2.1.0.ebuild 1615 +MISC ChangeLog 7644 RMD160 0181c13bf0e041408ed276fe3037add717dcc218 SHA1 f10e7feb555c816ee377e4e7d018bbde193ae60c SHA256 015c53d0df771fe9f1c42f75cb81411a7c081347bdf58ee51d9c9cbe5775fa1e +MD5 a179da7456097f8d8fce8fe02da76b46 ChangeLog 7644 +RMD160 0181c13bf0e041408ed276fe3037add717dcc218 ChangeLog 7644 +SHA256 015c53d0df771fe9f1c42f75cb81411a7c081347bdf58ee51d9c9cbe5775fa1e ChangeLog 7644 +MISC metadata.xml 255 RMD160 e6f6333d659d443f0290a257c2b23772ab1cf526 SHA1 1258e0419f1fe7839c4db37602b5999d0e196bca SHA256 255c7b73ddde5e979b6b53de0f9f5b858e22e602e0495f484b2a33cd2987edf9 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 +RMD160 e6f6333d659d443f0290a257c2b23772ab1cf526 metadata.xml 255 +SHA256 255c7b73ddde5e979b6b53de0f9f5b858e22e602e0495f484b2a33cd2987edf9 metadata.xml 255 +MD5 df90962c83f1f87437ad708213cfcd23 files/digest-cpufreqd-1.2.3 66 +RMD160 5db365788fffe13c5528944cd7557da6a94e4976 files/digest-cpufreqd-1.2.3 66 +SHA256 81c6fc9016061a73e42ab43fdcb3e679d715f3479043fb7fba0ffa71aa7bbc2d files/digest-cpufreqd-1.2.3 66 +MD5 feb1a3dd585a9649628c30cd50223d18 files/digest-cpufreqd-2.0.0 482 +RMD160 b1a748c1b6bace3dc7fde90d4d0b73ed0e5b5c0f files/digest-cpufreqd-2.0.0 482 +SHA256 b99dfc226aa5abd0d9b10d42e823a8856cea1d212a1e2933d6e4ae3e233e4566 files/digest-cpufreqd-2.0.0 482 +MD5 86e51adb7cb145b0834c1888694a626d files/digest-cpufreqd-2.1.0 482 +RMD160 f96b453d269d0ce45d119fbed827fe5c5e973642 files/digest-cpufreqd-2.1.0 482 +SHA256 d0070d2db2de2754c0bf6fd5fd9ece5c5a0081886253b8ab56dbdaf2e9c9dbeb files/digest-cpufreqd-2.1.0 482 diff --git a/sys-power/cpufreqd/cpufreqd-2.1.0.ebuild b/sys-power/cpufreqd/cpufreqd-2.1.0.ebuild new file mode 100644 index 000000000000..161161497d2c --- /dev/null +++ b/sys-power/cpufreqd/cpufreqd-2.1.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/cpufreqd-2.1.0.ebuild,v 1.1 2006/06/20 22:45:56 brix Exp $ + +inherit eutils + +NVCLOCK_VERSION="0.8b" + +DESCRIPTION="CPU Frequency Daemon" +HOMEPAGE="http://cpufreqd.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 + nvidia? ( http://www.linuxhardware.org/nvclock/nvclock${NVCLOCK_VERSION}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +IUSE="acpi apm lm_sensors nforce2 nvidia pmu" +RDEPEND="sys-power/cpufrequtils + lm_sensors? ( sys-apps/lm_sensors )" +DEPEND="sys-apps/sed + ${RDEPEND}" + +src_unpack() { + unpack ${A} + + sed -i -e "s:acpi_event:acpi:" ${S}/cpufreqd.conf + + if use nvidia; then + cd ${WORKDIR}/nvclock${NVCLOCK_VERSION} + epatch ${FILESDIR}/nvclock${NVCLOCK_VERSION}-fd.patch + epatch ${FILESDIR}/nvclock${NVCLOCK_VERSION}-fpic.patch + fi +} + +src_compile() { + local config + + if use nvidia; then + cd ${WORKDIR}/nvclock${NVCLOCK_VERSION} + econf \ + --disable-gtk \ + --disable-qt \ + --disable-nvcontrol \ + || die "econf nvclock failed" + emake -j1 || die "emake nvclock failed" + config="--enable-nvclock=${WORKDIR}/nvclock${NVCLOCK_VERSION}" + fi + + cd "${S}" + econf \ + $(use_enable acpi) \ + $(use_enable apm) \ + $(use_enable lm_sensors sensors) \ + $(use_enable nforce2) \ + $(use_enable pmu) \ + ${config} \ + || die "econf failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog NEWS README TODO + + newinitd ${FILESDIR}/${P}-init.d ${PN} +} diff --git a/sys-power/cpufreqd/files/cpufreqd-2.1.0-init.d b/sys-power/cpufreqd/files/cpufreqd-2.1.0-init.d new file mode 100644 index 000000000000..5a9f4d91302c --- /dev/null +++ b/sys-power/cpufreqd/files/cpufreqd-2.1.0-init.d @@ -0,0 +1,38 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufreqd/files/cpufreqd-2.1.0-init.d,v 1.1 2006/06/20 22:45:56 brix Exp $ + +CONFIGFILE=/etc/cpufreqd.conf + +depend() { + need localmount + use logger lm_sensors +} + +checkconfig() { + if [[ ! -f ${CONFIGFILE} ]]; then + eerror "Configuration file ${CONFIGFILE} not found" + return 1 + fi + + if [[ ! -e /proc/cpufreq ]] && [[ ! -e /sys/devices/system/cpu/cpu0/cpufreq ]]; then + eerror "cpufreqd requires the kernel to be configured with CONFIG_CPU_FREQ" + return 1 + fi +} + +start() { + checkconfig || return 1 + + ebegin "Starting CPU Frequency Daemon" + start-stop-daemon --start --exec /usr/sbin/cpufreqd -- \ + -f ${CONFIGFILE} + eend ${?} +} + +stop() { + ebegin "Stopping CPU Frequency Daemon" + start-stop-daemon --stop --exec /usr/sbin/cpufreqd + eend ${?} +} diff --git a/sys-power/cpufreqd/files/digest-cpufreqd-2.0.0 b/sys-power/cpufreqd/files/digest-cpufreqd-2.0.0 index ee7bb19c007e..1f388f584a2b 100644 --- a/sys-power/cpufreqd/files/digest-cpufreqd-2.0.0 +++ b/sys-power/cpufreqd/files/digest-cpufreqd-2.0.0 @@ -2,3 +2,5 @@ MD5 26a6e0795624114cc15aa48ad8b6ca6b cpufreqd-2.0.0.tar.bz2 256423 RMD160 97ae4ccf77f00db2aa2afebde4e5d0cb7dd24439 cpufreqd-2.0.0.tar.bz2 256423 SHA256 c56e41a1c530cbb0648132660ace4861c9262d241753876c038697120f45fa8c cpufreqd-2.0.0.tar.bz2 256423 MD5 df36711124e08b3349692a8788755d14 nvclock0.8b.tar.gz 353127 +RMD160 66cac5993dc141d00efaa95d8f5ec38ed53854f6 nvclock0.8b.tar.gz 353127 +SHA256 a1fbdb82837c33869c0ebfcb95b6e11fc53b86919e8d1d17265d1af71eb04393 nvclock0.8b.tar.gz 353127 diff --git a/sys-power/cpufreqd/files/digest-cpufreqd-2.1.0 b/sys-power/cpufreqd/files/digest-cpufreqd-2.1.0 new file mode 100644 index 000000000000..ddfda53bc5da --- /dev/null +++ b/sys-power/cpufreqd/files/digest-cpufreqd-2.1.0 @@ -0,0 +1,6 @@ +MD5 3d0028502e7674b13f9318a20441f45d cpufreqd-2.1.0.tar.bz2 281762 +RMD160 7f4c8efea26f456ddda20092ebe954f366e8d633 cpufreqd-2.1.0.tar.bz2 281762 +SHA256 852efb0afecd62e848ede20490dd1bddc3d09dbf055d817ae052b5a5d299cb26 cpufreqd-2.1.0.tar.bz2 281762 +MD5 df36711124e08b3349692a8788755d14 nvclock0.8b.tar.gz 353127 +RMD160 66cac5993dc141d00efaa95d8f5ec38ed53854f6 nvclock0.8b.tar.gz 353127 +SHA256 a1fbdb82837c33869c0ebfcb95b6e11fc53b86919e8d1d17265d1af71eb04393 nvclock0.8b.tar.gz 353127 |