diff options
author | 2011-11-23 08:49:35 -0600 | |
---|---|---|
committer | 2011-11-23 08:49:35 -0600 | |
commit | e86e4c4a9b3ad733d1864fa64c31cf9655987e1e (patch) | |
tree | 5b02040b6601e1dde0fbddc3dcdf3460197035b4 | |
parent | acroread: add 9.4.6 security bump, English-only for now. (diff) | |
download | dberkholz-e86e4c4a9b3ad733d1864fa64c31cf9655987e1e.tar.gz dberkholz-e86e4c4a9b3ad733d1864fa64c31cf9655987e1e.tar.bz2 dberkholz-e86e4c4a9b3ad733d1864fa64c31cf9655987e1e.zip |
virtualbox-modules: bring forward 3.2 kernel patch.
-rw-r--r-- | app-emulation/virtualbox-modules/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest index 0243320..27d780b 100644 --- a/app-emulation/virtualbox-modules/Manifest +++ b/app-emulation/virtualbox-modules/Manifest @@ -1,6 +1,8 @@ AUX 4.1.4-kernel-3.2-compile.patch 1398 RMD160 5233c96295a4a7f0a6baeb5b0d677b528065f77a SHA1 62c446de0c4c8f2f8430c0d8658d136d348d12cc SHA256 acb5a611491e79e0baf11c1812ec9c0749db62977f894f768f812905322a43d1 AUX virtualbox-modules-4.1.4-pax-const.patch 2335 RMD160 6d082729b5393bab9c185cdc768488636ac9e59e SHA1 efc1fa014934afa0ea3ae692d93e1996441945a2 SHA256 d23da93fa1a3b7833766caa8329745ed7de7a5ed6ce1fecb090325fdc83e42f3 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 EBUILD virtualbox-modules-4.1.4.ebuild 1723 RMD160 4b8dc0e9b7e18746c9027688aefe11a551928301 SHA1 98a699a9e7224c27291b37b303f0ba5be6ad7484 SHA256 5028e96492d0853273f94bb522763b8c5723db514811c6b85b39f91ce6cc6cff +EBUILD virtualbox-modules-4.1.6.ebuild 1650 RMD160 c7eccd0c8785debcfbb19a669ea586364e4153bd SHA1 99344958e3d312facee1cff7fa57be2315df3113 SHA256 ccf05c1edd980f70492729527d4091d7a15ee6950aad5874d5db9bc157979c59 MISC ChangeLog 17010 RMD160 371fafb22d0e5540d84697a7f915366a276c2879 SHA1 5f43f1c0eb18d5aecea5019d22c893c39d437218 SHA256 230099a96dd152cd75fd24f3765313d2ac39361b3eb7b86969dc20af8eed0efc MISC metadata.xml 524 RMD160 605893cae913de8fca2a99e283854a7c195fa4e2 SHA1 a476b7fcd62a5d1a54ad1a018c4daac50bb27d0b SHA256 9ae0eab26084901b8d307d8923f5c130d310deceb09047aae884557a00f70bbb diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild new file mode 100644 index 0000000..49f833c --- /dev/null +++ b/app-emulation/virtualbox-modules/virtualbox-modules-4.1.6.ebuild @@ -0,0 +1,61 @@ +# 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.1.6.ebuild,v 1.2 2011/11/06 13:16:19 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 + + epatch "${FILESDIR}"/4.1.4-kernel-3.2-compile.patch + + 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" +} |