xmw         14/07/22 00:13:06

  Modified:             ChangeLog
  Added:                phc-intel-0.3.2.12.14-r1.ebuild
                        phc-intel-0.3.2.12.15.1.ebuild
  Removed:              phc-intel-0.3.2.12.14.ebuild
                        phc-intel-0.3.199.11_pre.ebuild
                        phc-intel-0.3.2.12.12.ebuild
                        phc-intel-0.3.2.12.1-r5.ebuild
  Log:
  Version bump (bug 513692), remove old ebuilds, patch correct patch.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
62EEF090)

Revision  Changes    Path
1.17                 sys-power/phc-intel/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/ChangeLog?rev=1.17&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/ChangeLog?rev=1.17&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-power/phc-intel/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog   14 Apr 2014 00:27:54 -0000      1.16
+++ ChangeLog   22 Jul 2014 00:13:05 -0000      1.17
@@ -1,6 +1,28 @@
 # ChangeLog for sys-power/phc-intel
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/phc-intel/ChangeLog,v 1.16 
2014/04/14 00:27:54 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/phc-intel/ChangeLog,v 1.17 
2014/07/22 00:13:05 xmw Exp $
+
+*phc-intel-0.3.2.12.14-r1 (22 Jul 2014)
+*phc-intel-0.3.2.12.15.1 (22 Jul 2014)
+
+  22 Jul 2014; Michael Weber <[email protected]>
+  +files/phc-intel-0.3.2-rev12-trailing-space-3.5.patch,
+  +files/phc-intel-0.3.2-rev12-trailing-space-misc.patch,
+  +files/phc-intel-0.3.2-rev14-trailing-space-3.13.patch,
+  +files/phc-intel-0.3.2-rev14-trailing-space-3.14.patch,
+  +files/phc-intel-0.3.2-rev15-trailing-space-3.15.patch,
+  +files/phc-intel-0.3.2-rev15-trailing-space-3.5.patch,
+  +phc-intel-0.3.2.12.14-r1.ebuild, +phc-intel-0.3.2.12.15.1.ebuild,
+  -files/phc-intel-0.3.2.12.1-r5-2.6.35.patch,
+  -files/phc-intel-0.3.2.12.1-r5-2.6.36.patch,
+  -files/phc-intel-0.3.2.12.1-r5-2.6.37.patch,
+  -files/phc-intel-0.3.2.12.1-r5-3.7.patch,
+  -files/phc-intel-pack-rev12-trailing-space-r1.patch,
+  -files/phc-intel-pack-rev14-trailing-space-3.13.patch,
+  -files/phc-intel-pack-rev14-trailing-space-3.14.patch,
+  -phc-intel-0.3.199.11_pre.ebuild, -phc-intel-0.3.2.12.1-r5.ebuild,
+  -phc-intel-0.3.2.12.12.ebuild, -phc-intel-0.3.2.12.14.ebuild:
+  Version bump (bug 513692), remove old ebuilds, patch correct patch.
 
 *phc-intel-0.3.2.12.14 (14 Apr 2014)
 



1.1                  sys-power/phc-intel/phc-intel-0.3.2.12.14-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.14-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.14-r1.ebuild?rev=1.1&content-type=text/plain

Index: phc-intel-0.3.2.12.14-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.14-r1.ebuild,v 
1.1 2014/07/22 00:13:05 xmw Exp $

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=159 -> 
phc-intel-pack-rev14.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 14 ; 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-rev12-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

        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
}



1.1                  sys-power/phc-intel/phc-intel-0.3.2.12.15.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.15.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.15.1.ebuild?rev=1.1&content-type=text/plain

Index: phc-intel-0.3.2.12.15.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.15.1.ebuild,v 
1.1 2014/07/22 00:13:05 xmw Exp $

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
}




Reply via email to