1 |
polynomial-c 10/06/27 08:20:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: virtualbox-modules-3.2.6.ebuild |
5 |
Removed: virtualbox-modules-3.2.2.ebuild |
6 |
Log: |
7 |
Version bump. Removed old. (bug #32579) |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.65 app-emulation/virtualbox-modules/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.65&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.65&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?r1=1.64&r2=1.65 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v |
20 |
retrieving revision 1.64 |
21 |
retrieving revision 1.65 |
22 |
diff -u -r1.64 -r1.65 |
23 |
--- ChangeLog 21 Jun 2010 13:43:43 -0000 1.64 |
24 |
+++ ChangeLog 27 Jun 2010 08:20:57 -0000 1.65 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for app-emulation/virtualbox-modules |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.64 2010/06/21 13:43:43 angelos Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.65 2010/06/27 08:20:57 polynomial-c Exp $ |
30 |
+ |
31 |
+*virtualbox-modules-3.2.6 (27 Jun 2010) |
32 |
+ |
33 |
+ 27 Jun 2010; Lars Wendler <polynomial-c@g.o> |
34 |
+ -virtualbox-modules-3.2.2.ebuild, +virtualbox-modules-3.2.6.ebuild: |
35 |
+ Version bump. Removed old. Thanks to tman who reported this in bug |
36 |
+ #325799. |
37 |
|
38 |
21 Jun 2010; Christoph Mende <angelos@g.o> |
39 |
virtualbox-modules-3.1.8.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-emulation/virtualbox-modules/virtualbox-modules-3.2.6.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.2.6.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.2.6.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: virtualbox-modules-3.2.6.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 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-3.2.6.ebuild,v 1.1 2010/06/27 08:20:57 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/${MY_P}.tar.bz2" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="" |
70 |
|
71 |
RDEPEND="!=app-emulation/virtualbox-ose-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 |
# udev rule for vboxdrv |
96 |
dodir /etc/udev/rules.d |
97 |
echo '#SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0644"' \ |
98 |
> "${D}/etc/udev/rules.d/10-virtualbox.rules" |
99 |
echo '#SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="vboxusers", MODE="0644"' \ |
100 |
>> "${D}/etc/udev/rules.d/10-virtualbox.rules" |
101 |
} |
102 |
|
103 |
pkg_postinst() { |
104 |
linux-mod_pkg_postinst |
105 |
elog "Starting with the 3.x release new kernel modules were added," |
106 |
elog "be sure to load all the needed modules." |
107 |
elog "" |
108 |
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:" |
109 |
if has_version sys-apps/openrc; then |
110 |
elog "/etc/conf.d/modules" |
111 |
else |
112 |
elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" |
113 |
fi |
114 |
elog "" |
115 |
elog "If you are experiencing problems on your guests" |
116 |
elog "with USB support and app-emulation/virtualbox-bin," |
117 |
elog "uncomment the udev rules placed in:" |
118 |
elog "" |
119 |
elog "/etc/udev/rules.d/10-virtualbox.rules" |
120 |
elog "" |
121 |
} |