Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/virtualbox-modules: ChangeLog virtualbox-modules-3.1.2.ebuild
Date: Thu, 28 Jan 2010 13:12:30
Message-Id: E1NaUAe-0005pA-Rc@stork.gentoo.org
1 patrick 10/01/28 13:12:28
2
3 Modified: ChangeLog
4 Added: virtualbox-modules-3.1.2.ebuild
5 Log:
6 Bump to 3.1.2
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.56 app-emulation/virtualbox-modules/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.56&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.56&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?r1=1.55&r2=1.56
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v
19 retrieving revision 1.55
20 retrieving revision 1.56
21 diff -u -r1.55 -r1.56
22 --- ChangeLog 28 Jan 2010 11:58:23 -0000 1.55
23 +++ ChangeLog 28 Jan 2010 13:12:28 -0000 1.56
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-emulation/virtualbox-modules
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.55 2010/01/28 11:58:23 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.56 2010/01/28 13:12:28 patrick Exp $
29 +
30 +*virtualbox-modules-3.1.2 (28 Jan 2010)
31 +
32 + 28 Jan 2010; Patrick Lauer <patrick@g.o>
33 + +virtualbox-modules-3.1.2.ebuild:
34 + Bump to 3.1.2
35
36 28 Jan 2010; Patrick Lauer <patrick@g.o> metadata.xml:
37 Taking over maintenance from Jokey
38
39
40
41 1.1 app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-3.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: virtualbox-modules-3.1.2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.1.2.ebuild,v 1.1 2010/01/28 13:12:28 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 '#SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0644"' \
89 > "${D}/etc/udev/rules.d/10-virtualbox.rules"
90 echo '#SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="vboxusers", MODE="0644"' \
91 >> "${D}/etc/udev/rules.d/10-virtualbox.rules"
92 }
93
94 pkg_postinst() {
95 linux-mod_pkg_postinst
96 elog "Starting with the 3.x release new kernel modules were added,"
97 elog "be sure to load all the needed modules."
98 elog ""
99 elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
100 if has_version sys-apps/openrc; then
101 elog "/etc/conf.d/modules"
102 else
103 elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
104 fi
105 elog ""
106 elog "If you are experiencing problems on your guests"
107 elog "with USB support and app-emulation/virtualbox-bin,"
108 elog "uncomment the udev rules placed in:"
109 elog ""
110 elog "/etc/udev/rules.d/10-virtualbox.rules"
111 elog ""
112 }