1 |
patrick 09/11/03 08:13:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: virtualbox-modules-3.0.10.ebuild |
5 |
Log: |
6 |
Bump to 3.0.10, fixes #291214 #290296 #285749 #286163 |
7 |
(Portage version: 2.2_rc48/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.46 app-emulation/virtualbox-modules/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.46&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.46&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?r1=1.45&r2=1.46 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v |
19 |
retrieving revision 1.45 |
20 |
retrieving revision 1.46 |
21 |
diff -u -r1.45 -r1.46 |
22 |
--- ChangeLog 19 Oct 2009 01:39:10 -0000 1.45 |
23 |
+++ ChangeLog 3 Nov 2009 08:13:21 -0000 1.46 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-emulation/virtualbox-modules |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.45 2009/10/19 01:39:10 fauli Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.46 2009/11/03 08:13:21 patrick Exp $ |
29 |
+ |
30 |
+*virtualbox-modules-3.0.10 (03 Nov 2009) |
31 |
+ |
32 |
+ 03 Nov 2009; Patrick Lauer <patrick@g.o> |
33 |
+ +virtualbox-modules-3.0.10.ebuild: |
34 |
+ Bump to 3.0.10, fixes #291214 #290296 #285749 #286163 |
35 |
|
36 |
19 Oct 2009; Christian Faulhammer <fauli@g.o> |
37 |
virtualbox-modules-3.0.8.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/virtualbox-modules/virtualbox-modules-3.0.10.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.0.10.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.0.10.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: virtualbox-modules-3.0.10.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/app-emulation/virtualbox-modules/virtualbox-modules-3.0.10.ebuild,v 1.1 2009/11/03 08:13:21 patrick Exp $ |
51 |
|
52 |
# XXX: the tarball here is just the kernel modules split out of the binary |
53 |
# package that comes from virtualbox-bin |
54 |
|
55 |
EAPI=2 |
56 |
|
57 |
inherit eutils linux-mod |
58 |
|
59 |
MY_P=vbox-kernel-module-src-${PV} |
60 |
DESCRIPTION="Kernel Modules for Virtualbox" |
61 |
HOMEPAGE="http://www.virtualbox.org/" |
62 |
SRC_URI="http://gentoo.zerodev.it/files/${MY_P}.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="" |
68 |
|
69 |
RDEPEND="!=app-emulation/virtualbox-ose-9999" |
70 |
|
71 |
S=${WORKDIR} |
72 |
|
73 |
BUILD_TARGETS="all" |
74 |
BUILD_TARGET_ARCH="${ARCH}" |
75 |
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S})" |
76 |
|
77 |
pkg_setup() { |
78 |
linux-mod_pkg_setup |
79 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
80 |
enewgroup vboxusers |
81 |
} |
82 |
|
83 |
src_install() { |
84 |
linux-mod_src_install |
85 |
|
86 |
# udev rule for vboxdrv |
87 |
dodir /etc/udev/rules.d |
88 |
echo 'KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="", MODE=""' \ |
89 |
> "${D}/etc/udev/rules.d/10-virtualbox.rules" |
90 |
echo 'SUBSYSTEM=="usb_device", GROUP="", MODE=""' \ |
91 |
>> "${D}/etc/udev/rules.d/10-virtualbox.rules" |
92 |
echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="", MODE=""' \ |
93 |
>> "${D}/etc/udev/rules.d/10-virtualbox.rules" |
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 |
elog "" |
108 |
} |