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: kvm-kmod-3.8.ebuild kvm-kmod-3.10.1.ebuild kvm-kmod-3.6.ebuild ChangeLog kvm-kmod-2.6.32.27.ebuild
Date: Fri, 02 Aug 2013 13:33:45
Message-Id: 20130802133338.25D222171C@flycatcher.gentoo.org
1 cardoe 13/08/02 13:33:38
2
3 Modified: ChangeLog
4 Added: kvm-kmod-3.8.ebuild kvm-kmod-3.10.1.ebuild
5 kvm-kmod-3.6.ebuild
6 Removed: kvm-kmod-2.6.32.27.ebuild
7 Log:
8 Version bumps to provide more options. bug #451718
9
10 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!)
11
12 Revision Changes Path
13 1.25 app-emulation/kvm-kmod/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?rev=1.25&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?rev=1.25&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/ChangeLog?r1=1.24&r2=1.25
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v
22 retrieving revision 1.24
23 retrieving revision 1.25
24 diff -u -r1.24 -r1.25
25 --- ChangeLog 14 Jun 2012 05:26:46 -0000 1.24
26 +++ ChangeLog 2 Aug 2013 13:33:37 -0000 1.25
27 @@ -1,6 +1,14 @@
28 # ChangeLog for app-emulation/kvm-kmod
29 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v 1.24 2012/06/14 05:26:46 cardoe Exp $
31 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
32 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/ChangeLog,v 1.25 2013/08/02 13:33:37 cardoe Exp $
33 +
34 +*kvm-kmod-3.10.1 (02 Aug 2013)
35 +*kvm-kmod-3.6 (02 Aug 2013)
36 +*kvm-kmod-3.8 (02 Aug 2013)
37 +
38 + 02 Aug 2013; Doug Goldstein <cardoe@g.o> +kvm-kmod-3.10.1.ebuild,
39 + +kvm-kmod-3.6.ebuild, +kvm-kmod-3.8.ebuild, -kvm-kmod-2.6.32.27.ebuild:
40 + Version bumps to provide more options. bug #451718
41
42 *kvm-kmod-3.4 (13 Jun 2012)
43 *kvm-kmod-3.3.6 (13 Jun 2012)
44 @@ -143,4 +151,3 @@
45 28 Apr 2009; Daniel Gryniewicz <dang@g.o> +metadata.xml,
46 +kvm-kmod-85.ebuild:
47 New kvm modules package; upstream split them up
48 -
49
50
51
52 1.1 app-emulation/kvm-kmod/kvm-kmod-3.8.ebuild
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.8.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.8.ebuild?rev=1.1&content-type=text/plain
56
57 Index: kvm-kmod-3.8.ebuild
58 ===================================================================
59 # Copyright 1999-2013 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.8.ebuild,v 1.1 2013/08/02 13:33:37 cardoe Exp $
62
63 EAPI="2"
64
65 inherit eutils linux-mod
66
67 SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
68
69 DESCRIPTION="Kernel-based Virtual Machine kernel modules"
70 HOMEPAGE="http://www.linux-kvm.org"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 KEYWORDS="-* ~amd64 ~x86"
75 IUSE=""
76 RESTRICT="test"
77
78 RDEPEND=""
79 DEPEND="${RDEPEND}"
80
81 pkg_setup() {
82 linux-mod_pkg_setup
83
84 linux_config_exists || die "Your kernel sources are unconfigured"
85
86 if ! linux_chkconfig_present KVM; then
87 eerror "KVM now needs CONFIG_KVM built into your kernel, even"
88 eerror "if you're using the external modules from this package."
89 eerror "Please enable KVM support in your kernel, found at:"
90 eerror
91 eerror " Virtualization"
92 eerror " Kernel-based Virtual Machine (KVM) support"
93 eerror
94 die "KVM support not detected!"
95 fi
96 BUILD_TARGETS="all"
97 MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
98 MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
99 MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
100 }
101
102 src_configure() {
103 local conf_opts
104
105 conf_opts="--kerneldir=$KV_DIR"
106
107 if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
108 conf_opts="$conf_opts --arch=x86"
109 fi
110
111 ./configure ${conf_opts} || die "configure failed"
112 }
113
114 src_compile() {
115 linux-mod_src_compile
116 }
117
118 src_install() {
119 linux-mod_src_install
120 }
121
122 pkg_preinst() {
123 find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
124
125 linux-mod_pkg_preinst
126 }
127
128
129
130 1.1 app-emulation/kvm-kmod/kvm-kmod-3.10.1.ebuild
131
132 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.10.1.ebuild?rev=1.1&view=markup
133 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.10.1.ebuild?rev=1.1&content-type=text/plain
134
135 Index: kvm-kmod-3.10.1.ebuild
136 ===================================================================
137 # Copyright 1999-2013 Gentoo Foundation
138 # Distributed under the terms of the GNU General Public License v2
139 # $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.10.1.ebuild,v 1.1 2013/08/02 13:33:37 cardoe Exp $
140
141 EAPI="2"
142
143 inherit eutils linux-mod
144
145 SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
146
147 DESCRIPTION="Kernel-based Virtual Machine kernel modules"
148 HOMEPAGE="http://www.linux-kvm.org"
149
150 LICENSE="GPL-2"
151 SLOT="0"
152 KEYWORDS="-* ~amd64 ~x86"
153 IUSE=""
154 RESTRICT="test"
155
156 RDEPEND=""
157 DEPEND="${RDEPEND}"
158
159 pkg_setup() {
160 linux-mod_pkg_setup
161
162 linux_config_exists || die "Your kernel sources are unconfigured"
163
164 if ! linux_chkconfig_present KVM; then
165 eerror "KVM now needs CONFIG_KVM built into your kernel, even"
166 eerror "if you're using the external modules from this package."
167 eerror "Please enable KVM support in your kernel, found at:"
168 eerror
169 eerror " Virtualization"
170 eerror " Kernel-based Virtual Machine (KVM) support"
171 eerror
172 die "KVM support not detected!"
173 fi
174 BUILD_TARGETS="all"
175 MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
176 MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
177 MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
178 }
179
180 src_configure() {
181 local conf_opts
182
183 conf_opts="--kerneldir=$KV_DIR"
184
185 if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
186 conf_opts="$conf_opts --arch=x86"
187 fi
188
189 ./configure ${conf_opts} || die "configure failed"
190 }
191
192 src_compile() {
193 linux-mod_src_compile
194 }
195
196 src_install() {
197 linux-mod_src_install
198 }
199
200 pkg_preinst() {
201 find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
202
203 linux-mod_pkg_preinst
204 }
205
206
207
208 1.1 app-emulation/kvm-kmod/kvm-kmod-3.6.ebuild
209
210 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.6.ebuild?rev=1.1&view=markup
211 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.6.ebuild?rev=1.1&content-type=text/plain
212
213 Index: kvm-kmod-3.6.ebuild
214 ===================================================================
215 # Copyright 1999-2013 Gentoo Foundation
216 # Distributed under the terms of the GNU General Public License v2
217 # $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.6.ebuild,v 1.1 2013/08/02 13:33:37 cardoe Exp $
218
219 EAPI="2"
220
221 inherit eutils linux-mod
222
223 SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
224
225 DESCRIPTION="Kernel-based Virtual Machine kernel modules"
226 HOMEPAGE="http://www.linux-kvm.org"
227
228 LICENSE="GPL-2"
229 SLOT="0"
230 KEYWORDS="-* ~amd64 ~x86"
231 IUSE=""
232 RESTRICT="test"
233
234 RDEPEND=""
235 DEPEND="${RDEPEND}"
236
237 pkg_setup() {
238 linux-mod_pkg_setup
239
240 linux_config_exists || die "Your kernel sources are unconfigured"
241
242 if ! linux_chkconfig_present KVM; then
243 eerror "KVM now needs CONFIG_KVM built into your kernel, even"
244 eerror "if you're using the external modules from this package."
245 eerror "Please enable KVM support in your kernel, found at:"
246 eerror
247 eerror " Virtualization"
248 eerror " Kernel-based Virtual Machine (KVM) support"
249 eerror
250 die "KVM support not detected!"
251 fi
252 BUILD_TARGETS="all"
253 MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
254 MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
255 MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
256 }
257
258 src_configure() {
259 local conf_opts
260
261 conf_opts="--kerneldir=$KV_DIR"
262
263 if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
264 conf_opts="$conf_opts --arch=x86"
265 fi
266
267 ./configure ${conf_opts} || die "configure failed"
268 }
269
270 src_compile() {
271 linux-mod_src_compile
272 }
273
274 src_install() {
275 linux-mod_src_install
276 }
277
278 pkg_preinst() {
279 find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
280
281 linux-mod_pkg_preinst
282 }