From: | "Lars Wendler (polynomial-c)" <polynomial-c@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules: ChangeLog virtualbox-modules-4.0.10.ebuild virtualbox-modules-4.0.6-r1.ebuild |
Date: | Tue, 28 Jun 2011 20:42:13 |
Message-Id: | 20110628204158.E94B220054@flycatcher.gentoo.org |
1 | polynomial-c 11/06/28 20:41:58 |
2 | |
3 | Modified: ChangeLog |
4 | Added: virtualbox-modules-4.0.10.ebuild |
5 | Removed: virtualbox-modules-4.0.6-r1.ebuild |
6 | Log: |
7 | Version bump. Removed old |
8 | |
9 | (Portage version: 2.2.0_alpha41/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.82 app-emulation/virtualbox-modules/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.82&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.82&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?r1=1.81&r2=1.82 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v |
21 | retrieving revision 1.81 |
22 | retrieving revision 1.82 |
23 | diff -u -r1.81 -r1.82 |
24 | --- ChangeLog 18 May 2011 21:33:36 -0000 1.81 |
25 | +++ ChangeLog 28 Jun 2011 20:41:58 -0000 1.82 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for app-emulation/virtualbox-modules |
28 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.81 2011/05/18 21:33:36 polynomial-c Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.82 2011/06/28 20:41:58 polynomial-c Exp $ |
31 | + |
32 | +*virtualbox-modules-4.0.10 (28 Jun 2011) |
33 | + |
34 | + 28 Jun 2011; Lars Wendler <polynomial-c@g.o> |
35 | + -virtualbox-modules-4.0.6-r1.ebuild, +virtualbox-modules-4.0.10.ebuild: |
36 | + Version bump. Removed old. |
37 | |
38 | *virtualbox-modules-4.0.8 (18 May 2011) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 app-emulation/virtualbox-modules/virtualbox-modules-4.0.10.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.0.10.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.0.10.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: virtualbox-modules-4.0.10.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.0.10.ebuild,v 1.1 2011/06/28 20:41:58 polynomial-c Exp $ |
53 | |
54 | # XXX: the tarball here is just the kernel modules split out of the binary |
55 | # package that comes from virtualbox-bin |
56 | |
57 | EAPI=2 |
58 | |
59 | inherit eutils linux-mod |
60 | |
61 | MY_P=vbox-kernel-module-src-${PV} |
62 | DESCRIPTION="Kernel Modules for Virtualbox" |
63 | HOMEPAGE="http://www.virtualbox.org/" |
64 | SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.bz2" |
65 | |
66 | LICENSE="GPL-2" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~x86" |
69 | IUSE="" |
70 | |
71 | RDEPEND="!=app-emulation/virtualbox-9999" |
72 | |
73 | S=${WORKDIR} |
74 | |
75 | BUILD_TARGETS="all" |
76 | BUILD_TARGET_ARCH="${ARCH}" |
77 | MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S})" |
78 | |
79 | pkg_setup() { |
80 | linux-mod_pkg_setup |
81 | BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
82 | enewgroup vboxusers |
83 | } |
84 | |
85 | src_prepare() { |
86 | if kernel_is -ge 2 6 33 ; then |
87 | # evil patch for new kernels - header moved |
88 | grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
89 | fi |
90 | } |
91 | |
92 | src_install() { |
93 | linux-mod_src_install |
94 | } |
95 | |
96 | pkg_postinst() { |
97 | linux-mod_pkg_postinst |
98 | elog "Starting with the 3.x release new kernel modules were added," |
99 | elog "be sure to load all the needed modules." |
100 | elog "" |
101 | elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:" |
102 | if has_version sys-apps/openrc; then |
103 | elog "/etc/conf.d/modules" |
104 | else |
105 | elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" |
106 | fi |
107 | } |