summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2011-12-20 12:39:22 +0000
committerLars Wendler <polynomial-c@gentoo.org>2011-12-20 12:39:22 +0000
commit360761e93e783fa3b944c86b8787bfdd5e28a339 (patch)
tree91baec0188b2941b0880521c2258b128fec68930 /app-emulation/virtualbox-modules
parentFix typo. (diff)
downloadgentoo-2-360761e93e783fa3b944c86b8787bfdd5e28a339.tar.gz
gentoo-2-360761e93e783fa3b944c86b8787bfdd5e28a339.tar.bz2
gentoo-2-360761e93e783fa3b944c86b8787bfdd5e28a339.zip
Version bump. Removed old
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r--app-emulation/virtualbox-modules/ChangeLog8
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-4.1.8.ebuild (renamed from app-emulation/virtualbox-modules/virtualbox-modules-4.0.12.ebuild)23
2 files changed, 19 insertions, 12 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog
index e7454d0f2012..ec0f3adf5ac4 100644
--- a/app-emulation/virtualbox-modules/ChangeLog
+++ b/app-emulation/virtualbox-modules/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/virtualbox-modules
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.96 2011/12/07 17:26:06 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.97 2011/12/20 12:39:22 polynomial-c Exp $
+
+*virtualbox-modules-4.1.8 (20 Dec 2011)
+
+ 20 Dec 2011; Lars Wendler <polynomial-c@gentoo.org>
+ -virtualbox-modules-4.0.12.ebuild, +virtualbox-modules-4.1.8.ebuild:
+ Version bump. Removed old.
07 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
virtualbox-modules-4.1.4.ebuild:
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-4.0.12.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-4.1.8.ebuild
index af0d2ce7a386..f1230e461b0c 100644
--- a/app-emulation/virtualbox-modules/virtualbox-modules-4.0.12.ebuild
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-4.1.8.ebuild
@@ -1,23 +1,23 @@
# Copyright 1999-2011 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.0.12.ebuild,v 1.3 2011/07/22 16:58:45 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.1.8.ebuild,v 1.1 2011/12/20 12:39:22 polynomial-c Exp $
# XXX: the tarball here is just the kernel modules split out of the binary
# package that comes from virtualbox-bin
-EAPI=2
+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.bz2"
+SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
+IUSE="pax_kernel"
RDEPEND="!=app-emulation/virtualbox-9999"
@@ -25,10 +25,11 @@ S=${WORKDIR}
BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
-MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S})"
+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
}
@@ -38,6 +39,10 @@ src_prepare() {
# 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() {
@@ -50,9 +55,5 @@ pkg_postinst() {
elog "be sure to load all the needed modules."
elog ""
elog "Please add \"vboxdrv\", \"vboxnetflt\" and \"vboxnetadp\" to:"
- if has_version sys-apps/openrc; then
- elog "/etc/conf.d/modules"
- else
- elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
- fi
+ elog "/etc/conf.d/modules"
}