summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2008-01-27 16:44:29 +0000
committerJakub Moc <jakub@gentoo.org>2008-01-27 16:44:29 +0000
commit2a1d4130827e73e1d47d8f146f14b8aa0b709146 (patch)
tree925dadc57f556c786a1bce96813da1da71f2cb99 /app-laptop
parentapp-cdr/acetoneiso2: Version bump, remove old (diff)
downloadsunrise-2a1d4130827e73e1d47d8f146f14b8aa0b709146.tar.gz
sunrise-2a1d4130827e73e1d47d8f146f14b8aa0b709146.tar.bz2
sunrise-2a1d4130827e73e1d47d8f146f14b8aa0b709146.zip
Remove, just dies since 2.6.20 kernels
svn path=/sunrise/; revision=5538
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/linux-phc/ChangeLog36
-rw-r--r--app-laptop/linux-phc/Manifest5
-rw-r--r--app-laptop/linux-phc/files/linux-phc-0.2.9-msr_h-fix.patch20
-rw-r--r--app-laptop/linux-phc/linux-phc-0.2.9.ebuild116
-rw-r--r--app-laptop/linux-phc/metadata.xml5
5 files changed, 0 insertions, 182 deletions
diff --git a/app-laptop/linux-phc/ChangeLog b/app-laptop/linux-phc/ChangeLog
deleted file mode 100644
index 47bfda57c..000000000
--- a/app-laptop/linux-phc/ChangeLog
+++ /dev/null
@@ -1,36 +0,0 @@
-# ChangeLog for app-laptop/linux-phc
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 26 Jan 2008; Jakub Moc <jakub@gentoo.org> linux-phc-0.2.9.ebuild:
- Fix autotools handling
-
- 18 Apr 2007; Markus Ullmann <jokey@gentoo.org> -linux-phc-0.2.8.ebuild,
- linux-phc-0.2.9.ebuild:
- Drop old and some cosmetics
-
- 09 Apr 2007; Jakub Moc <jakub@gentoo.org> linux-phc-0.2.8.ebuild,
- linux-phc-0.2.9.ebuild:
- Fix broken collision-protect check
-
- 07 Apr 2007; Ali Polatel (hawking) <polatel@gmail.com>
- +linux-phc-0.2.9.ebuild, +files/linux-phc-0.2.9-msr_h-fix.patch:
- version bump adding support for kernel-2.6.20
-
- 14 Mar 2007; Konrad Korzec <korzec@gmail.com> linux-phc-0.2.8.ebuild:
- adjusted copying back to kernel tree, now it works
-
- 05 Feb 2007; Konrad Korzec <korzec@gmail.com> linux-phc-0.2.8.ebuild:
- removed 'ge' after kernel_is to make it install with more kernels
-
- 23 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
- linux-phc-0.2.8.ebuild:
- adjusted DESCRIPTION
-
- 22 Dec 2006; Jakub Moc <jakub@gentoo.org> linux-phc-0.2.8.ebuild:
- Do not waste time and die in pkg_setup if collision-protect is on
-
- 19 Dec 2006; Ali Polatel (hawking) <polatel@nerdshack.com>
- +linux-phc-0.2.8.ebuild, +metadata.xml:
- New ebuild for bug 158579
-
diff --git a/app-laptop/linux-phc/Manifest b/app-laptop/linux-phc/Manifest
deleted file mode 100644
index 8312ab438..000000000
--- a/app-laptop/linux-phc/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX linux-phc-0.2.9-msr_h-fix.patch 582 RMD160 ae6d1c11d6315b338c521e028e98e8be0399d313 SHA1 0409144009027c500e497f1b18e325df462ece20 SHA256 5bd050c990dbc85d8ba4eeee8ca4953d7f6a531b791bdd337fc9e0960d1e16fe
-DIST linux-phc-0.2.9.tar.gz 379295 RMD160 b5cb5648747ed84ea6c0ca7d5979a36cd9e55a99 SHA1 dceef12ecc2583f6280413ce0677c8161d5451d0 SHA256 457347b8c2d71a68c15dcb9bf21871771fa0b222a8997bf91f93920f29e3aacf
-EBUILD linux-phc-0.2.9.ebuild 2890 RMD160 b9954d09788c47fcd58319e560148a0dc9cdd33c SHA1 8bc5a3035069d751f8c299797830c6e893a9e0ca SHA256 318fe4263d8a79385e0018dc740a69c6c09d69a03bd0b06a4bcfe9cfe1270a1d
-MISC ChangeLog 1292 RMD160 fe93e4e583cf931a479fdd4a5a4260d049bdc4ad SHA1 5e98edce9c37144b4f5c8d4b97f521d615134e96 SHA256 9050186698fde89f0d2da95e88a1a208af5e15d14e724df61c46582831a87eca
-MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-laptop/linux-phc/files/linux-phc-0.2.9-msr_h-fix.patch b/app-laptop/linux-phc/files/linux-phc-0.2.9-msr_h-fix.patch
deleted file mode 100644
index c3df0d117..000000000
--- a/app-laptop/linux-phc/files/linux-phc-0.2.9-msr_h-fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- linux-phc-0.2.9-orig/utils/measurefreq/src/measurefreq.cpp 2006-07-15 08:25:57.000000000 +0300
-+++ linux-phc-0.2.9/utils/measurefreq/src/measurefreq.cpp 2007-04-07 21:56:24.000000000 +0300
-@@ -25,7 +25,6 @@
-
- #include <iostream>
- #include <cstdlib>
--#include <asm/msr.h>
- #include <sys/time.h>
- #include <unistd.h>
- #include <math.h>
-@@ -38,6 +37,9 @@
- #define DEFAULT_MEASURE_TIME 1000000
- #define BUSY_LOOP_COUNT 10000000
-
-+// Define rdtsc() which was in asm/msr.h
-+#define rdtsc(low,high) \
-+ __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high))
-
- enum WaitType
- {
diff --git a/app-laptop/linux-phc/linux-phc-0.2.9.ebuild b/app-laptop/linux-phc/linux-phc-0.2.9.ebuild
deleted file mode 100644
index 1b261be6f..000000000
--- a/app-laptop/linux-phc/linux-phc-0.2.9.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-WANT_AUTOCONF=2.5
-WANT_AUTOMAKE=1.9
-inherit linux-info eutils autotools
-
-DESCRIPTION="A kernel patch to change the voltage/frequency pairs of processors from userspace."
-HOMEPAGE="https://www.dedigentoo.org/trac/linux-phc/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-which_patch() {
- if kernel_is 2 6 20
- then
- PATCH="kernel-patch/${P}-kernel-vanilla-2.6.20.patch"
- elif kernel_is 2 6 19
- then
- PATCH="kernel-patch/${P}-kernel-vanilla-2.6.19.patch"
- elif kernel_is 2 6 18
- then
- PATCH="kernel-patch/${P}-kernel-vanilla-2.6.18.patch"
- elif kernel_is 2 6 17
- then
- PATCH="kernel-patch/${P}-kernel-vanilla-2.6.17.patch"
- elif kernel_is 2 6 16
- then
- PATCH="kernel-patch/${P}-kernel-vanilla-2.6.16.patch"
- elif kernel_is 2 6 15
- then
- PATCH="kernel-patch/${P}-kernel-vanilla-2.6.15.patch"
- else
- die "No ${PN} patch for kernel version ${KV_FULL} -- sorry not supported"
- fi
-}
-
-collision_check() {
- if has collision-protect ${FEATURES}; then
- ewarn "Collisions are expected as this patches kernel code. Disable"
- ewarn "FEATURES=collision-protect before use"
- die 'incompatible FEATURES=collision-protect'
- fi
-}
-
-pkg_setup() {
- linux-info_pkg_setup
- collision_check
-}
-
-src_unpack() {
- which_patch
-
- if egrep -q 'linux-phc' \
- "${KV_DIR}"/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
- then
- ewarn "already installed ${PN} for kernel ${KV_FULL}"
- ewarn "If this is an upgrade attempt, reemerge your kernel sources"
- ewarn "and try emerging this package again."
- die
- fi
-
- unpack ${A}
- cd "${S}"
-
- # linux-headers-2.6.20 doesn't have asm/msr.h
- epatch "${FILESDIR}"/${P}-msr_h-fix.patch || die "epatch failed"
-
- local mydir="arch/i386/kernel/cpu/cpufreq"
- mkdir -p "${S}"/${mydir}
-
- cp -P "${KV_DIR}"/${mydir}/Kconfig "${S}"/${mydir}/
- cp -P "${KV_DIR}"/${mydir}/Makefile "${S}"/${mydir}/
- cp -P "${KV_DIR}"/${mydir}/speedstep-centrino.c "${S}"/${mydir}/
-
- epatch "${S}"/${PATCH}
-
- cd "${S}"/utils/measurefreq
- eautoconf
- eautomake
-}
-
-src_compile() {
- cd "${S}"/utils/measurefreq
- econf
- emake || die "emake failed"
-}
-
-src_install() {
- insinto "$(/bin/readlink -f ${KV_DIR})"
- doins -r arch
- dodoc README
- doinitd gentoo/etc/init.d/undervolt
- doconfd gentoo/etc/conf.d/undervolt
- cd "${S}"/utils/measurefreq
- emake DESTDIR="${D}" install || die "emake failed"
-}
-
-pkg_preinst() {
- collision_check
-}
-
-pkg_postinst() {
- elog "Please read https://www.dedigentoo.org/trac/linux-phc/#Documentation before using linux-phc"
- elog "You can use the utility measurefreq to find appropriate voltage values."
- ewarn "Edit /etc/conf.d/undervolt before using the initscript"
-}
-
-pkg_postrm() {
- ewarn "Unmerging this ebuild won't revert the patches in your kernel"
- ewarn "Reemerge your kernel if you want that"
-}
diff --git a/app-laptop/linux-phc/metadata.xml b/app-laptop/linux-phc/metadata.xml
deleted file mode 100644
index 7e3286984..000000000
--- a/app-laptop/linux-phc/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>maintainer-wanted</herd>
-</pkgmetadata>