summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-08-17 10:28:28 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-08-17 10:30:18 +0200
commitf69b91c9166fa6622efd77b79e9935618acf86f5 (patch)
treea1591f93de2bda6191405618d5ab9b963701e5b9 /app-emulation/virtualbox-modules
parentmedia-gfx/qrencode: Stable for HPPA (bug #589142). (diff)
downloadgentoo-f69b91c9166fa6622efd77b79e9935618acf86f5.tar.gz
gentoo-f69b91c9166fa6622efd77b79e9935618acf86f5.tar.bz2
gentoo-f69b91c9166fa6622efd77b79e9935618acf86f5.zip
virtualbox host packages: Bump to version 5.1.4
Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r--app-emulation/virtualbox-modules/Manifest1
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
index 331d1f6b412e..3abb6106178d 100644
--- a/app-emulation/virtualbox-modules/Manifest
+++ b/app-emulation/virtualbox-modules/Manifest
@@ -6,3 +6,4 @@ DIST vbox-kernel-module-src-5.0.24.tar.xz 595032 SHA256 1142739710738fddad3e6070
DIST vbox-kernel-module-src-5.0.26.tar.xz 595160 SHA256 9988ef07a618e3406a4ef7786ca39b4aced58f5d08af6e88af747f8de9c4f7a5 SHA512 6ca6dc35aaeebdca88f37288c6316d09575663f3c3f66ffbc16ac90d5cf15e06ce0c6dfa76487ce7cf6264ac79263820087a77c29faf15c5b7e0371bc7adc1b4 WHIRLPOOL ea9d8a3cbb0940215f9995e016ee6ac6146ef2bab742712e6cbabdd4522f8252b2ce12bce6b70c405b8c813790f7085d61894013d4699bc32712534b649f3f23
DIST vbox-kernel-module-src-5.1.0.tar.xz 608616 SHA256 0763aaa2f2a5532ea4a94df80e64d30cd4e29b15421ba4f08930b54f94d59cdc SHA512 23df351f086d20bc3e4a1331774260b31565e17bef1ef6c43bcc8d63d92d02c281995ad10f9f67f64715ae7c64b6c98141e5bfead8db831bcb6d0068d58b8031 WHIRLPOOL 2338dfc13ac1674b10eef6261361b5118573f0278ec1eda174445a72692adceda3187faf301a598c9bd25d3e182f36c162cd0a075ac967b0baa3899c94e9c723
DIST vbox-kernel-module-src-5.1.2.tar.xz 609056 SHA256 2a51b93767603b3a891a76ae5ac9badb980249ef2e6edf0d085ff242e2d29b90 SHA512 9f70d4403523dca327272e5ab86bc8fdf07040b1867354e969909a46dcb3ccd50495441fbcbdc1ae218a54c697c867fd912616ab19eb955c488f1046680dd356 WHIRLPOOL af8d2f97e307c892c19e9653363a9301c9d96c0df1af2ef03fc98aa47e5d545afe6c22bcef918d8563cbf8a03ed62c22e11f5f53d4606bd076266cb5286ea2b1
+DIST vbox-kernel-module-src-5.1.4.tar.xz 610672 SHA256 cf7cdb931ee55123e201d0c3e6074247a7ef8e4566d7739aba3107d619915be0 SHA512 28c52f9cb65570439b3c4c9020b5b2459075fabc9260f53b1ef12dcf5ddd56fae7eb764e0158a7e89f86bb591da0f6cdfc777cead31c96e44938e11fdb983484 WHIRLPOOL c41c511fb6bafd2e29929413a35be99b52702d85164ae3affcd2fe11ebfc31e274dea284fd13211e4e227f456198e610b5227884fc2f9ec7d1699feccb368970
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild
new file mode 100644
index 000000000000..7da1a80f0c24
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# XXX: the tarball here is just the kernel modules split out of the binary
+# package that comes from virtualbox-bin
+
+EAPI=6
+
+inherit eutils linux-mod user
+
+MY_P=vbox-kernel-module-src-${PV}
+DESCRIPTION="Kernel Modules for Virtualbox"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pax_kernel"
+
+RDEPEND="!=app-emulation/virtualbox-9999"
+
+S=${WORKDIR}
+
+BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
+ enewgroup vboxusers
+}
+
+src_prepare() {
+ if kernel_is -ge 2 6 33 ; then
+ # evil patch for new kernels - header moved
+ grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
+ fi
+
+ if use pax_kernel && kernel_is -ge 3 0 0 ; then
+ epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
+ fi
+
+ default
+}
+
+src_install() {
+ linux-mod_src_install
+ insinto /usr/lib/modules-load.d/
+ doins "${FILESDIR}"/virtualbox.conf
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\","
+ elog "\"vboxnetadp\" and \"vboxpci\" to:"
+ elog " /etc/conf.d/modules"
+}