diff options
-rw-r--r-- | sys-power/phc-intel/Manifest | 2 | ||||
-rw-r--r-- | sys-power/phc-intel/phc-intel-0.3.2.12.15.1.ebuild | 69 | ||||
-rw-r--r-- | sys-power/phc-intel/phc-intel-0.3.2.12.16.ebuild | 71 |
3 files changed, 0 insertions, 142 deletions
diff --git a/sys-power/phc-intel/Manifest b/sys-power/phc-intel/Manifest index 5b62edfe928c..e9f713829965 100644 --- a/sys-power/phc-intel/Manifest +++ b/sys-power/phc-intel/Manifest @@ -1,4 +1,2 @@ -DIST phc-intel-pack-rev15.1.tar.bz2 97762 BLAKE2B e2acf8bbd1fbbb4226be2a46d08a61ceb1d7508f41a9e492aeffade76a2708180719a99ddaa4ac17b228fa64df0ef988c129c92e4d817fa3fcd93919e0ff7c23 SHA512 e0163f315343bb34dde57cb806d99b6ea6586b54827142a49532d862cbe02689d581e221ebd6466d1992107e4d98456989402ba4172e85b9e9f24405f27d28f1 -DIST phc-intel-pack-rev16.tar.bz2 100320 BLAKE2B 64501132883cf2c894b011c30f8cae25d2b830f36d52b040ef594b0cb0210fb282bddc008df243972ea884b7fb99d6284e7f31b533076a3cb11e27d2bf99d57d SHA512 bfe502e67f68ec7b4dbae77f0e2b57876928c6d5047697842c397a1d622978c270b85d0c5f83d22ca74a48942da60ab2b78e405ba866f55ee937f5b530f5165e DIST phc-intel-pack-rev17.tar.bz2 100565 BLAKE2B e9209b8530cc7eebd045c874766ae63116b3b112e21100d88b9e676894f0e72a3f63150abd6b5e85e964b7380439e9843ea3273f622e14a2532bdaac5ce99201 SHA512 0db84ae3e366ff95577ee89b2e1cb22778fdba76783aa2606b6b5925e46c6e5daf80a7365eba6f3f806a017daa98d7b20828c644a3967f180c612e7c92a94871 DIST phc-intel-pack-rev21.tar.bz2 111951 BLAKE2B 77c469b897500bd7c7196b6f6869dba71514bad15a0ff21a3c2cc9a7871a718bedf06a3f93a61dd70ba4269405f8b9a7043bba134c0db003f519dd52c7d6fb6c SHA512 4aaa7beffe107d31bd9006f658b9a280ef0ace3d81ac88ef281b958803ac9e551ed4a33d5f25c0ec28d3d80349cfd4f81bcfcf708767dae133b4389b6d2348a0 diff --git a/sys-power/phc-intel/phc-intel-0.3.2.12.15.1.ebuild b/sys-power/phc-intel/phc-intel-0.3.2.12.15.1.ebuild deleted file mode 100644 index d304743498ac..000000000000 --- a/sys-power/phc-intel/phc-intel-0.3.2.12.15.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit linux-info linux-mod eutils - -DESCRIPTION="Processor Hardware Control for Intel CPUs" -HOMEPAGE="http://www.linux-phc.org/ - http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267" -#no automatic filenames here, sorry -SRC_URI="http://www.linux-phc.org/forum/download/file.php?id=161 -> phc-intel-pack-rev15.1.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -CONFIG_CHECK="~!X86_ACPI_CPUFREQ" -ERROR_X86_ACPI_CPUFREQ="CONFIG_X86_ACPI_CPUFREQ has to be configured to Module to enable the replacement of acpi-cpufreq with phc-intel." - -MODULE_NAMES="phc-intel(misc:)" -BUILD_PARAMS="KERNELSRC=\"${KERNEL_DIR}\" -j1" -BUILD_TARGETS="all" - -S=${WORKDIR}/${A/.tar.bz2} - -pkg_setup() { - if kernel_is lt 2 6 27 ; then - eerror "Your kernel version is no longer supported by this version of ${PN}." - eerror "Please use a previous version of ${PN} or a newer kernel." - die - fi - if kernel_is gt 3 15 ; then - eerror "Your kernel version is not yet supported by this version of ${PN}." - eerror "Please use a newer version of ${PN} or an older kernel." - die - fi - linux-mod_pkg_setup -} - -src_prepare() { - epatch \ - "${FILESDIR}"/phc-intel-0.3.2-rev12-trailing-space-misc.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev15-trailing-space-3.5.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev14-trailing-space-3.13.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev14-trailing-space-3.14.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev15-trailing-space-3.15.patch - - sed -e '/^all:/s:prepare::' \ - -i Makefile || die - - local my_sub=arch/x86/kernel/cpu - if kernel_is gt 2 6 39 ; then - my_sub=drivers - fi - cp -v "${KERNEL_DIR}"/${my_sub}/cpufreq/acpi-cpufreq.c . || die - if kernel_is lt 3 12 ; then - cp -v "${KERNEL_DIR}"/${my_sub}/cpufreq/mperf.h . || die - fi - - if kernel_is lt 3 0 ; then - epatch inc/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}/linux-phc-0.3.2.patch - else - epatch inc/${KV_MAJOR}.${KV_MINOR}/linux-phc-0.3.2.patch - fi - - mv acpi-cpufreq.c phc-intel.c || die -} diff --git a/sys-power/phc-intel/phc-intel-0.3.2.12.16.ebuild b/sys-power/phc-intel/phc-intel-0.3.2.12.16.ebuild deleted file mode 100644 index 1a5be9e0ac5c..000000000000 --- a/sys-power/phc-intel/phc-intel-0.3.2.12.16.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit linux-info linux-mod eutils - -DESCRIPTION="Processor Hardware Control for Intel CPUs" -HOMEPAGE="http://www.linux-phc.org/ - http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267" -#no automatic filenames here, sorry -SRC_URI="http://www.linux-phc.org/forum/download/file.php?id=162 -> phc-intel-pack-rev16.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -CONFIG_CHECK="~!X86_ACPI_CPUFREQ" -ERROR_X86_ACPI_CPUFREQ="CONFIG_X86_ACPI_CPUFREQ has to be configured to Module to enable the replacement of acpi-cpufreq with phc-intel." - -MODULE_NAMES="phc-intel(misc:)" -BUILD_PARAMS="KERNELSRC=\"${KERNEL_DIR}\" -j1" -BUILD_TARGETS="all" - -S=${WORKDIR}/${A/.tar.bz2} - -pkg_setup() { - if kernel_is lt 2 6 27 ; then - eerror "Your kernel version is no longer supported by this version of ${PN}." - eerror "Please use a previous version of ${PN} or a newer kernel." - die - fi - if kernel_is gt 3 19 ; then - eerror "Your kernel version is not yet tested with this version of ${PN}." - eerror "It might not build or expose runtime problems." - fi - linux-mod_pkg_setup -} - -src_prepare() { - epatch \ - "${FILESDIR}"/phc-intel-0.3.2-rev12-trailing-space-misc.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev15-trailing-space-3.5.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev14-trailing-space-3.13.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev14-trailing-space-3.14.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev15-trailing-space-3.15.patch \ - "${FILESDIR}"/phc-intel-0.3.2-rev16-trailing-space-3.16.patch - - sed -e '/^all:/s:prepare::' \ - -i Makefile || die - - local my_sub=arch/x86/kernel/cpu - if kernel_is gt 2 6 39 ; then - my_sub=drivers - fi - cp -v "${KERNEL_DIR}"/${my_sub}/cpufreq/acpi-cpufreq.c . || die - if kernel_is lt 3 12 ; then - cp -v "${KERNEL_DIR}"/${my_sub}/cpufreq/mperf.h . || die - fi - - if kernel_is lt 3 0 ; then - epatch inc/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}/linux-phc-0.3.2.patch - elif kernel_is lt 3 17 ; then - epatch inc/${KV_MAJOR}.${KV_MINOR}/linux-phc-0.3.2.patch - else - epatch inc/3.16/linux-phc-0.3.2.patch - fi - - mv acpi-cpufreq.c phc-intel.c || die -} |