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.1.12.ebuild virtualbox-modules-4.1.6.ebuild |
Date: | Thu, 05 Apr 2012 07:41:48 |
Message-Id: | 20120405074127.118972004B@flycatcher.gentoo.org |
1 | polynomial-c 12/04/05 07:41:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: virtualbox-modules-4.1.12.ebuild |
5 | Removed: virtualbox-modules-4.1.6.ebuild |
6 | Log: |
7 | Version bump (bug #410811). Removed old |
8 | |
9 | (Portage version: 2.2.0_alpha99/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.100 app-emulation/virtualbox-modules/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.100&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?rev=1.100&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog?r1=1.99&r2=1.100 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v |
21 | retrieving revision 1.99 |
22 | retrieving revision 1.100 |
23 | diff -u -r1.99 -r1.100 |
24 | --- ChangeLog 15 Mar 2012 09:52:06 -0000 1.99 |
25 | +++ ChangeLog 5 Apr 2012 07:41:26 -0000 1.100 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for app-emulation/virtualbox-modules |
28 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.99 2012/03/15 09:52:06 polynomial-c Exp $ |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.100 2012/04/05 07:41:26 polynomial-c Exp $ |
31 | + |
32 | +*virtualbox-modules-4.1.12 (05 Apr 2012) |
33 | + |
34 | + 05 Apr 2012; Lars Wendler <polynomial-c@g.o> |
35 | + -virtualbox-modules-4.1.6.ebuild, +virtualbox-modules-4.1.12.ebuild: |
36 | + Version bump (bug #410811). Removed old. |
37 | |
38 | *virtualbox-modules-4.1.10 (15 Mar 2012) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 app-emulation/virtualbox-modules/virtualbox-modules-4.1.12.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.12.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.12.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: virtualbox-modules-4.1.12.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 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.1.12.ebuild,v 1.1 2012/04/05 07:41:26 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=4 |
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.xz" |
65 | |
66 | LICENSE="GPL-2" |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~x86" |
69 | IUSE="pax_kernel" |
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}) vboxpci(misc:${S})" |
78 | |
79 | pkg_setup() { |
80 | linux-mod_pkg_setup |
81 | |
82 | BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" |
83 | enewgroup vboxusers |
84 | } |
85 | |
86 | src_prepare() { |
87 | if kernel_is -ge 2 6 33 ; then |
88 | # evil patch for new kernels - header moved |
89 | grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
90 | fi |
91 | |
92 | if use pax_kernel && kernel_is -ge 3 0 0 ; then |
93 | epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch |
94 | fi |
95 | } |
96 | |
97 | src_install() { |
98 | linux-mod_src_install |
99 | } |
100 | |
101 | pkg_postinst() { |
102 | linux-mod_pkg_postinst |
103 | elog "Starting with the 3.x release new kernel modules were added," |
104 | elog "be sure to load all the needed modules." |
105 | elog "" |
106 | elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:" |
107 | elog "/etc/conf.d/modules" |
108 | } |