1 |
commit: 0e46ca24d7758f2962b4f8a4c65993046b04e4ec |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 13 10:10:10 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 13 10:16:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e46ca24 |
7 |
|
8 |
app-emulation/virtualbox-modules: Bump to versions 5.0.24 and 5.1.0 |
9 |
|
10 |
bug #586630 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
app-emulation/virtualbox-modules/Manifest | 2 + |
16 |
.../virtualbox-modules-5.0.24.ebuild | 61 ++++++++++++++++++++++ |
17 |
.../virtualbox-modules-5.1.0.ebuild | 61 ++++++++++++++++++++++ |
18 |
3 files changed, 124 insertions(+) |
19 |
|
20 |
diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest |
21 |
index f2bc51f..0013e75 100644 |
22 |
--- a/app-emulation/virtualbox-modules/Manifest |
23 |
+++ b/app-emulation/virtualbox-modules/Manifest |
24 |
@@ -2,3 +2,5 @@ DIST vbox-kernel-module-src-4.3.32.tar.xz 546132 SHA256 4f0cf8a2d0f6714a5825551f |
25 |
DIST vbox-kernel-module-src-4.3.36.tar.xz 543536 SHA256 3e341313097d092fe57284f149a54d94d6667d05c738d39da763b530cbc5fa9c SHA512 63198fd03f3ec3d7305c1f06694d2e69d0f6a10d0faeb7205c3cfc2690c2d1379f70124cff25e8365df5becc3d7356f7dfe667eac522ff2074a1ed1776509517 WHIRLPOOL 3948d2f8aecb0054c68164cdd4a16ca7c0e177e9357730933c75e8cf32e7fe4945e853228d042395b5ec94b82ea15fe27499958b76ea4cbed29bc0dba751f717 |
26 |
DIST vbox-kernel-module-src-5.0.16.tar.xz 593944 SHA256 8905e174069a6caf0200808fda6726704a947ab56fc48c3b6ebbf8831dde4123 SHA512 5311f6cfd917c04bcb51182ad414c0930fb85a73a90d81156f08640cdb4e4d442ed46a10b62b5d07ed81aa1ad65430d5186e95cc64293502c9b84937a6470bb4 WHIRLPOOL daf741cd8465ce65ae0e3f304b7c49d55be828da5fc285ac3a2b8e6fc7e68865b184b738a79fa7fbf1e106d647200a40224902ef7041e4dd5ab2c9ef054e4199 |
27 |
DIST vbox-kernel-module-src-5.0.20.tar.xz 595080 SHA256 cc41e0d075c690669589ea902d752cecdd646c7979943e6060648de0066955cc SHA512 ea1840ed7c074efccd32d8c3ccbc78bdf1c4c25a74d5d0e2c2a9a4c5dee720b1c1991a1baf7cc577bb7452e097f23d393c20632f57439bf9637c9f92d989703c WHIRLPOOL b546fb6b75ac323dd851eca43ca78b1e267b7ac3a9b3c488ac846b0e434c0995768f8ea7e311b46a2e250e167a2967fe43d895f7f5dcbbcb5ac60b2d122b0f87 |
28 |
+DIST vbox-kernel-module-src-5.0.24.tar.xz 595032 SHA256 1142739710738fddad3e607019beabd0e6e80125a13a1aad7e9c583f3959af26 SHA512 bcb2487b00658b53f2b5e432d69f1ce3eb6381f36892634dd20fec7d1e46323021960895527b0db47a334ab9f8e454964185cb38e0f3ba3c1e5e4781eec6d4c6 WHIRLPOOL c1f260e8d058e0302de0b7314fffe9d5e7c7c3f49aca982fd665c067e465bfa5dc15568bb524be625d507e933f29cf54e01ca9a861597a01b2f7bfd72b9793be |
29 |
+DIST vbox-kernel-module-src-5.1.0.tar.xz 608616 SHA256 0763aaa2f2a5532ea4a94df80e64d30cd4e29b15421ba4f08930b54f94d59cdc SHA512 23df351f086d20bc3e4a1331774260b31565e17bef1ef6c43bcc8d63d92d02c281995ad10f9f67f64715ae7c64b6c98141e5bfead8db831bcb6d0068d58b8031 WHIRLPOOL 2338dfc13ac1674b10eef6261361b5118573f0278ec1eda174445a72692adceda3187faf301a598c9bd25d3e182f36c162cd0a075ac967b0baa3899c94e9c723 |
30 |
|
31 |
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.24.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.0.24.ebuild |
32 |
new file mode 100644 |
33 |
index 0000000..0cdee85 |
34 |
--- /dev/null |
35 |
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.0.24.ebuild |
36 |
@@ -0,0 +1,61 @@ |
37 |
+# Copyright 1999-2016 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+# $Id$ |
40 |
+ |
41 |
+# XXX: the tarball here is just the kernel modules split out of the binary |
42 |
+# package that comes from virtualbox-bin |
43 |
+ |
44 |
+EAPI=6 |
45 |
+ |
46 |
+inherit eutils linux-mod user |
47 |
+ |
48 |
+MY_P=vbox-kernel-module-src-${PV} |
49 |
+DESCRIPTION="Kernel Modules for Virtualbox" |
50 |
+HOMEPAGE="http://www.virtualbox.org/" |
51 |
+SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz" |
52 |
+ |
53 |
+LICENSE="GPL-2" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~x86" |
56 |
+IUSE="pax_kernel" |
57 |
+ |
58 |
+RDEPEND="!=app-emulation/virtualbox-9999" |
59 |
+ |
60 |
+S=${WORKDIR} |
61 |
+ |
62 |
+BUILD_TARGETS="all" |
63 |
+BUILD_TARGET_ARCH="${ARCH}" |
64 |
+MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})" |
65 |
+ |
66 |
+pkg_setup() { |
67 |
+ linux-mod_pkg_setup |
68 |
+ |
69 |
+ BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" |
70 |
+ enewgroup vboxusers |
71 |
+} |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ if kernel_is -ge 2 6 33 ; then |
75 |
+ # evil patch for new kernels - header moved |
76 |
+ grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
77 |
+ fi |
78 |
+ |
79 |
+ if use pax_kernel && kernel_is -ge 3 0 0 ; then |
80 |
+ epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch |
81 |
+ fi |
82 |
+ |
83 |
+ default |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ linux-mod_src_install |
88 |
+ insinto /usr/lib/modules-load.d/ |
89 |
+ doins "${FILESDIR}"/virtualbox.conf |
90 |
+} |
91 |
+ |
92 |
+pkg_postinst() { |
93 |
+ linux-mod_pkg_postinst |
94 |
+ elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\"" |
95 |
+ elog "and \"vboxnetadp\" to:" |
96 |
+ elog " /etc/conf.d/modules" |
97 |
+} |
98 |
|
99 |
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.0.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.0.ebuild |
100 |
new file mode 100644 |
101 |
index 0000000..0cdee85 |
102 |
--- /dev/null |
103 |
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.0.ebuild |
104 |
@@ -0,0 +1,61 @@ |
105 |
+# Copyright 1999-2016 Gentoo Foundation |
106 |
+# Distributed under the terms of the GNU General Public License v2 |
107 |
+# $Id$ |
108 |
+ |
109 |
+# XXX: the tarball here is just the kernel modules split out of the binary |
110 |
+# package that comes from virtualbox-bin |
111 |
+ |
112 |
+EAPI=6 |
113 |
+ |
114 |
+inherit eutils linux-mod user |
115 |
+ |
116 |
+MY_P=vbox-kernel-module-src-${PV} |
117 |
+DESCRIPTION="Kernel Modules for Virtualbox" |
118 |
+HOMEPAGE="http://www.virtualbox.org/" |
119 |
+SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz" |
120 |
+ |
121 |
+LICENSE="GPL-2" |
122 |
+SLOT="0" |
123 |
+KEYWORDS="~amd64 ~x86" |
124 |
+IUSE="pax_kernel" |
125 |
+ |
126 |
+RDEPEND="!=app-emulation/virtualbox-9999" |
127 |
+ |
128 |
+S=${WORKDIR} |
129 |
+ |
130 |
+BUILD_TARGETS="all" |
131 |
+BUILD_TARGET_ARCH="${ARCH}" |
132 |
+MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})" |
133 |
+ |
134 |
+pkg_setup() { |
135 |
+ linux-mod_pkg_setup |
136 |
+ |
137 |
+ BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1" |
138 |
+ enewgroup vboxusers |
139 |
+} |
140 |
+ |
141 |
+src_prepare() { |
142 |
+ if kernel_is -ge 2 6 33 ; then |
143 |
+ # evil patch for new kernels - header moved |
144 |
+ grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:' |
145 |
+ fi |
146 |
+ |
147 |
+ if use pax_kernel && kernel_is -ge 3 0 0 ; then |
148 |
+ epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch |
149 |
+ fi |
150 |
+ |
151 |
+ default |
152 |
+} |
153 |
+ |
154 |
+src_install() { |
155 |
+ linux-mod_src_install |
156 |
+ insinto /usr/lib/modules-load.d/ |
157 |
+ doins "${FILESDIR}"/virtualbox.conf |
158 |
+} |
159 |
+ |
160 |
+pkg_postinst() { |
161 |
+ linux-mod_pkg_postinst |
162 |
+ elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\"" |
163 |
+ elog "and \"vboxnetadp\" to:" |
164 |
+ elog " /etc/conf.d/modules" |
165 |
+} |