Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Addition of virtualbox-modules/virtualbox-modules-4.1.10.ebuild

  • Loading branch information...
commit 490840edb883a31b75107639b102e97c6969179b 1 parent 4b6579b
Adrien Dessemond authored
2  app-emulation/virtualbox-modules/Manifest
View
@@ -1,10 +1,12 @@
AUX iommu-linux-3.2.patch 1304 RMD160 693e8bd8eaff287c3f072aabb99e717183baa49b SHA1 1f63541f668b2841acd3bb7c0acccdf3b6ddb60d SHA256 f90178923310e2a5683d5d05bd39dc37653f8c02e24d6fcaf498c543e1c0f8c7
AUX virtualbox-modules-4.1.4-pax-const.patch 2335 RMD160 6d082729b5393bab9c185cdc768488636ac9e59e SHA1 efc1fa014934afa0ea3ae692d93e1996441945a2 SHA256 d23da93fa1a3b7833766caa8329745ed7de7a5ed6ce1fecb090325fdc83e42f3
DIST vbox-kernel-module-src-4.0.12.tar.bz2 901005 RMD160 6bc21432d363ec7d92a3c7b784788f3d8b2e60b9 SHA1 b431fd82d1e23cbcab52fcc2461424d896058eff SHA256 de7306958d5e807d5aed0aa401e0cbf6106f7f89c5930a7b04ceb8cd2d7ca5d1
+DIST vbox-kernel-module-src-4.1.10.tar.xz 458956 RMD160 cc367f577348bec9aac13c6753cb70c1b7834683 SHA1 d88db3022d31b36da83a50a93a36081695e2bb3a SHA256 a5659cb71e9e22857c3f4e2b132a3c99323a33685eeb129af87ba87d549d219d
DIST vbox-kernel-module-src-4.1.4.tar.bz2 505952 RMD160 c540fb563d6fdab747366c66d5e472ebffbd3639 SHA1 35a4274118d44bd8603fecfa93817ef129c8e57c SHA256 03577cd31e5ff322102e9bec1ed40f189c50d94032e2d62206b6541a0fda1fb8
DIST vbox-kernel-module-src-4.1.6.tar.xz 454840 RMD160 f1166c7b2e95276a60beb4c6dbe022826bc21ff2 SHA1 7816f6773f00f28cb287eaf4eb8b31a9b3bbdd37 SHA256 557425714e5d9e1b737c963d5a4d1b67a6e60ec47c2ddf2449dbbfd786c41cdf
DIST vbox-kernel-module-src-4.1.8.tar.xz 457648 RMD160 2451d2c23e5ab14b70b9b6da79c164499a864eec SHA1 ac97198d3275a338905bb04efffde467bbeff9dc SHA256 565c9d9b193e88679549995d63c5796e19f881f9f95215f8cc6a11d13e749a9f
EBUILD virtualbox-modules-4.0.12.ebuild 1570 RMD160 48502bec63dcabe8f9cae90651a0d08e1a2cd60e SHA1 42aa2e640f5e8772ae2ea0ccf6f7a427051572ea SHA256 56012f6439898de74457cfb429cd2f72c29c58daf67df9d833619a27d44a73de
+EBUILD virtualbox-modules-4.1.10.ebuild 1597 RMD160 dab97231aa910ca923aa20693725c8df515045d2 SHA1 a7a464397a50fe08ba99a0892bb86dfb93dd26b0 SHA256 99d26e1926ca77b5a6b5c142042f90bdd93276fb7803b906a591b21c8171be4f
EBUILD virtualbox-modules-4.1.4-r1.ebuild 1698 RMD160 e1b6dd22eb7f2c37e6dce4e8da47bd9cca86770e SHA1 8454e45fe47d2d5daf5f33a63e7441b02c822785 SHA256 3c8275b2176eb4027a314e93a2f09fec4a4d7a424cb2c2a01444d435ccec9df3
EBUILD virtualbox-modules-4.1.4.ebuild 1596 RMD160 393d63add8172ca384ea48cb88d4ffe7718f4f0e SHA1 9e25216dd88fc20f9c6f6b7e6f0d41d5d41627ad SHA256 afdd14e1dd4134ca385c62e864be635b7ba853d67f803e4ac660ecb2ea817e5b
EBUILD virtualbox-modules-4.1.6-r1.ebuild 1677 RMD160 b1fe085f0f9326d6b3538b46bedf0840527cd4fd SHA1 596547118b7851cac95fae580f677341e40be50b SHA256 eddd4913a13c736767a3f439b6c8bce0113003ff3c365934bc1e2811d2735f7c
59 app-emulation/virtualbox-modules/virtualbox-modules-4.1.10.ebuild
View
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.10.ebuild,v 1.1 2012/03/15 09:52:06 polynomial-c Exp $
+
+# XXX: the tarball here is just the kernel modules split out of the binary
+# package that comes from virtualbox-bin
+
+EAPI=4
+
+inherit eutils linux-mod
+
+MY_P=vbox-kernel-module-src-${PV}
+DESCRIPTION="Kernel Modules for Virtualbox"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://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}"
+ 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
+}
+
+src_install() {
+ linux-mod_src_install
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ elog "Starting with the 3.x release new kernel modules were added,"
+ elog "be sure to load all the needed modules."
+ elog ""
+ elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
+ elog "/etc/conf.d/modules"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.