Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/kvm-kmod: ChangeLog kvm-kmod-2.6.33.3.ebuild kvm-kmod-2.6.32.12.ebuild
Date: Thu, 29 Apr 2010 01:59:20
Message-Id: 20100429015915.C61C72C04C@corvid.gentoo.org
1 cardoe 10/04/29 01:59:15
2
3 Modified: ChangeLog
4 Added: kvm-kmod-2.6.33.3.ebuild kvm-kmod-2.6.32.12.ebuild
5 Log:
6 bump versions to the latest versions. The goal is going to be to stabilize the 2.6.32.x series while maintaining 2.6.3x at the cutting edge to test with. Useful for people who don't want to constantly upgrade their kernel to get the latest KVM updates.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.10 app-emulation/kvm-kmod/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?r1=1.9&r2=1.10
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- ChangeLog 29 Apr 2010 01:55:05 -0000 1.9
23 +++ ChangeLog 29 Apr 2010 01:59:15 -0000 1.10
24 @@ -1,6 +1,16 @@
25 # ChangeLog for app-emulation/kvm-kmod
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v 1.9 2010/04/29 01:55:05 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v 1.10 2010/04/29 01:59:15 cardoe Exp $
29 +
30 +*kvm-kmod-2.6.33.3 (29 Apr 2010)
31 +*kvm-kmod-2.6.32.12 (29 Apr 2010)
32 +
33 + 29 Apr 2010; Doug Goldstein <cardoe@g.o>
34 + +kvm-kmod-2.6.32.12.ebuild, +kvm-kmod-2.6.33.3.ebuild:
35 + bump versions to the latest versions. The goal is going to be to stabilize
36 + the 2.6.32.x series while maintaining 2.6.3x at the cutting edge to test
37 + with. Useful for people who don't want to constantly upgrade their kernel
38 + to get the latest KVM updates.
39
40 29 Apr 2010; Doug Goldstein <cardoe@g.o> -kvm-kmod-2.6.32.2.ebuild,
41 -kvm-kmod-2.6.32.3.ebuild:
42
43
44
45 1.1 app-emulation/kvm-kmod/kvm-kmod-2.6.33.3.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.33.3.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.33.3.ebuild?rev=1.1&content-type=text/plain
49
50 Index: kvm-kmod-2.6.33.3.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.33.3.ebuild,v 1.1 2010/04/29 01:59:15 cardoe Exp $
55
56 EAPI="2"
57
58 inherit eutils linux-mod
59
60 SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
61
62 DESCRIPTION="Kernel-based Virtual Machine kernel modules"
63 HOMEPAGE="http://www.linux-kvm.org"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="-* ~amd64 ~x86"
68 IUSE=""
69 RESTRICT="test"
70
71 RDEPEND=""
72 DEPEND="${RDEPEND}"
73
74 pkg_setup() {
75 linux-info_pkg_setup
76 if ! linux_chkconfig_present KVM; then
77 eerror "KVM now needs CONFIG_KVM built into your kernel, even"
78 eerror "if you're using the external modules from this package."
79 eerror "Please enable KVM support in your kernel, found at:"
80 eerror
81 eerror " Virtualization"
82 eerror " Kernel-based Virtual Machine (KVM) support"
83 eerror
84 die "KVM support not detected!"
85 fi
86 BUILD_TARGETS="all"
87 MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
88 MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
89 MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
90 linux-mod_pkg_setup
91 }
92
93 src_configure() {
94 local conf_opts
95
96 conf_opts="--kerneldir=$KV_DIR"
97
98 if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
99 conf_opts="$conf_opts --arch=x86"
100 fi
101
102 ./configure ${conf_opts} || die "configure failed"
103 }
104
105 src_compile() {
106 linux-mod_src_compile
107 }
108
109 src_install() {
110 linux-mod_src_install
111 }
112
113 pkg_preinst() {
114 find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
115
116 linux-mod_pkg_preinst
117 }
118
119
120
121 1.1 app-emulation/kvm-kmod/kvm-kmod-2.6.32.12.ebuild
122
123 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.32.12.ebuild?rev=1.1&view=markup
124 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.32.12.ebuild?rev=1.1&content-type=text/plain
125
126 Index: kvm-kmod-2.6.32.12.ebuild
127 ===================================================================
128 # Copyright 1999-2010 Gentoo Foundation
129 # Distributed under the terms of the GNU General Public License v2
130 # $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.32.12.ebuild,v 1.1 2010/04/29 01:59:15 cardoe Exp $
131
132 EAPI="2"
133
134 inherit eutils linux-mod
135
136 SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
137
138 DESCRIPTION="Kernel-based Virtual Machine kernel modules"
139 HOMEPAGE="http://www.linux-kvm.org"
140
141 LICENSE="GPL-2"
142 SLOT="0"
143 KEYWORDS="-* ~amd64 ~x86"
144 IUSE=""
145 RESTRICT="test"
146
147 RDEPEND=""
148 DEPEND="${RDEPEND}"
149
150 pkg_setup() {
151 linux-info_pkg_setup
152 if ! linux_chkconfig_present KVM; then
153 eerror "KVM now needs CONFIG_KVM built into your kernel, even"
154 eerror "if you're using the external modules from this package."
155 eerror "Please enable KVM support in your kernel, found at:"
156 eerror
157 eerror " Virtualization"
158 eerror " Kernel-based Virtual Machine (KVM) support"
159 eerror
160 die "KVM support not detected!"
161 fi
162 BUILD_TARGETS="all"
163 MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
164 MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
165 MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
166 linux-mod_pkg_setup
167 }
168
169 src_configure() {
170 local conf_opts
171
172 conf_opts="--kerneldir=$KV_DIR"
173
174 if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
175 conf_opts="$conf_opts --arch=x86"
176 fi
177
178 ./configure ${conf_opts} || die "configure failed"
179 }
180
181 src_compile() {
182 linux-mod_src_compile
183 }
184
185 src_install() {
186 linux-mod_src_install
187 }
188
189 pkg_preinst() {
190 find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
191
192 linux-mod_pkg_preinst
193 }