1 |
robbat2 09/11/04 05:21:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: x86info-1.25.ebuild |
5 |
Log: |
6 |
Version bump per bug #291446, also more parallel make fixes. |
7 |
(Portage version: 2.2_rc48/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.29 sys-apps/x86info/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/x86info/ChangeLog?rev=1.29&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/x86info/ChangeLog?rev=1.29&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/x86info/ChangeLog?r1=1.28&r2=1.29 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/x86info/ChangeLog,v |
19 |
retrieving revision 1.28 |
20 |
retrieving revision 1.29 |
21 |
diff -p -w -b -B -u -u -r1.28 -r1.29 |
22 |
--- ChangeLog 15 Aug 2009 23:41:13 -0000 1.28 |
23 |
+++ ChangeLog 4 Nov 2009 05:21:18 -0000 1.29 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-apps/x86info |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/x86info/ChangeLog,v 1.28 2009/08/15 23:41:13 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/x86info/ChangeLog,v 1.29 2009/11/04 05:21:18 robbat2 Exp $ |
29 |
+ |
30 |
+*x86info-1.25 (04 Nov 2009) |
31 |
+ |
32 |
+ 04 Nov 2009; Robin H. Johnson <robbat2@g.o> +x86info-1.25.ebuild, |
33 |
+ +files/x86info-1.25-parallel-make-cleanup.patch: |
34 |
+ Version bump per bug #291446, also more parallel make fixes. |
35 |
|
36 |
15 Aug 2009; Mike Frysinger <vapier@g.o> x86info-1.24-r2.ebuild, |
37 |
+files/x86info-1.24-pic.patch: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/x86info/x86info-1.25.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/x86info/x86info-1.25.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/x86info/x86info-1.25.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: x86info-1.25.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/x86info/x86info-1.25.ebuild,v 1.1 2009/11/04 05:21:18 robbat2 Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
inherit eutils toolchain-funcs |
54 |
|
55 |
DESCRIPTION="Dave Jones' handy, informative x86 CPU diagnostic utility" |
56 |
HOMEPAGE="http://www.codemonkey.org.uk/projects/x86info/" |
57 |
SRC_URI="http://www.codemonkey.org.uk/projects/x86info/${P}.tgz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="-* ~amd64 ~x86" |
62 |
IUSE="" |
63 |
|
64 |
RDEPEND="" |
65 |
DEPEND="sys-apps/sed" # used in the makefile |
66 |
|
67 |
src_prepare() { |
68 |
epatch "${FILESDIR}"/1.21-pic.patch |
69 |
epatch "${FILESDIR}"/${PN}-1.24-pic.patch #270388 |
70 |
epatch "${FILESDIR}"/${PN}-1.25-parallel-make-cleanup.patch |
71 |
} |
72 |
|
73 |
src_compile() { |
74 |
emake deps \ |
75 |
|| die "emake deps failed" |
76 |
emake x86info lsmsr \ |
77 |
CC="$(tc-getCC)" \ |
78 |
CFLAGS="${CFLAGS} ${CPPFLAGS}" \ |
79 |
LDFLAGS="${LDFLAGS}" \ |
80 |
|| die "emake failed" |
81 |
} |
82 |
|
83 |
src_install() { |
84 |
dobin x86info lsmsr || die |
85 |
|
86 |
insinto /etc/modprobe.d |
87 |
newins "${FILESDIR}"/x86info-modules.conf-rc x86info.conf |
88 |
|
89 |
dodoc TODO README |
90 |
doman x86info.1 lsmsr.8 |
91 |
insinto /usr/share/doc/${PF} |
92 |
doins -r results |
93 |
prepalldocs |
94 |
} |
95 |
|
96 |
pkg_preinst() { |
97 |
if [ -a "${ROOT}"/etc/modules.d/x86info ] && [ ! -a "${ROOT}"/etc/modprobe.d/x86info ] ; then |
98 |
elog "Moving x86info from /etc/modules.d/ to /etc/modprobe.d/" |
99 |
mv "${ROOT}"/etc/{modules,modprobe}.d/x86info |
100 |
fi |
101 |
if [ -a "${ROOT}"/etc/modprobe.d/x86info ] && [ ! -a "${ROOT}"/etc/modprobe.d/x86info.conf ] ; then |
102 |
elog "Adding .conf suffix to x86info in /etc/modprobe.d/" |
103 |
mv "${ROOT}"/etc/modprobe.d/x86info{,.conf} |
104 |
fi |
105 |
} |
106 |
|
107 |
pkg_postinst() { |
108 |
ewarn "Your kernel must be built with the following options" |
109 |
ewarn "set to Y or M" |
110 |
ewarn " Processor type and features ->" |
111 |
ewarn " [*] /dev/cpu/*/msr - Model-specific register support" |
112 |
ewarn " [*] /dev/cpu/*/cpuid - CPU information support" |
113 |
} |