1 |
patrick 09/07/16 21:42:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: virtualbox-modules-3.0.2.ebuild |
5 |
Log: |
6 |
Bump to 3.0.2. Fixes #275963. Thanks to Alessio Cassiba and all the testers |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.38 app-emulation/virtualbox-modules/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.38&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.38&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?r1=1.37&r2=1.38 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v |
19 |
retrieving revision 1.37 |
20 |
retrieving revision 1.38 |
21 |
diff -u -r1.37 -r1.38 |
22 |
--- ChangeLog 1 Jun 2009 00:25:05 -0000 1.37 |
23 |
+++ ChangeLog 16 Jul 2009 21:42:33 -0000 1.38 |
24 |
@@ -1,6 +1,13 @@ |
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.37 2009/06/01 00:25:05 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.38 2009/07/16 21:42:33 patrick Exp $ |
29 |
+ |
30 |
+*virtualbox-modules-3.0.2 (16 Jul 2009) |
31 |
+ |
32 |
+ 16 Jul 2009; Patrick Lauer <patrick@g.o> |
33 |
+ +virtualbox-modules-3.0.2.ebuild: |
34 |
+ Bump to 3.0.2. Fixes #275963. Thanks to Alessio Cassiba and all the |
35 |
+ testers |
36 |
|
37 |
*virtualbox-modules-2.2.4 (01 Jun 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-emulation/virtualbox-modules/virtualbox-modules-3.0.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.0.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.0.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: virtualbox-modules-3.0.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.0.2.ebuild,v 1.1 2009/07/16 21:42:33 patrick Exp $ |
52 |
|
53 |
# XXX: the tarball here is just the kernel modules split out of the binary |
54 |
# package that comes from virtualbox-bin |
55 |
|
56 |
EAPI=2 |
57 |
|
58 |
inherit eutils linux-mod |
59 |
|
60 |
MY_P=vbox-kernel-module-src-${PV} |
61 |
DESCRIPTION="Kernel Modules for Virtualbox" |
62 |
HOMEPAGE="http://www.virtualbox.org/" |
63 |
SRC_URI="http://gentoo.zerodev.it/files/${MY_P}.tar.bz2" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="" |
69 |
|
70 |
RDEPEND="!=app-emulation/virtualbox-ose-9999" |
71 |
|
72 |
S=${WORKDIR} |
73 |
|
74 |
BUILD_TARGETS="all" |
75 |
BUILD_TARGET_ARCH="${ARCH}" |
76 |
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S})" |
77 |
|
78 |
pkg_setup() { |
79 |
linux-mod_pkg_setup |
80 |
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
81 |
enewgroup vboxusers |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
linux-mod_src_install |
86 |
|
87 |
# udev rule for vboxdrv |
88 |
dodir /etc/udev/rules.d |
89 |
echo 'KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="", MODE=""' \ |
90 |
> "${D}/etc/udev/rules.d/10-virtualbox.rules" |
91 |
echo 'SUBSYSTEM=="usb_device", GROUP="", MODE=""' \ |
92 |
>> "${D}/etc/udev/rules.d/10-virtualbox.rules" |
93 |
echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="", MODE=""' \ |
94 |
>> "${D}/etc/udev/rules.d/10-virtualbox.rules" |
95 |
} |
96 |
|
97 |
pkg_postinst() { |
98 |
linux-mod_pkg_postinst |
99 |
elog "Starting with the 3.x release new kernel modules were added," |
100 |
elog "be sure to load all the needed modules." |
101 |
elog "" |
102 |
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:" |
103 |
if has_version sys-apps/openrc; then |
104 |
elog "/etc/conf.d/modules" |
105 |
else |
106 |
elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" |
107 |
fi |
108 |
elog "" |
109 |
} |