diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-03-03 06:53:27 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-03-03 06:53:27 +0000 |
commit | a4e48d8ce63ae6f672e1baf30742c6d37a15d994 (patch) | |
tree | 2df9f7be7a11ed56e4836d16a0f60797a4e7f799 /app-emulation/virtualbox-modules | |
parent | Version bump (diff) | |
download | gentoo-2-a4e48d8ce63ae6f672e1baf30742c6d37a15d994.tar.gz gentoo-2-a4e48d8ce63ae6f672e1baf30742c6d37a15d994.tar.bz2 gentoo-2-a4e48d8ce63ae6f672e1baf30742c6d37a15d994.zip |
Bump to 2.1.4. Ebuild by Alessio Cassibba (X-Drum) <swapon@gmail.com>. Fixes #259688
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r-- | app-emulation/virtualbox-modules/ChangeLog | 12 | ||||
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-2.1.4.ebuild | 57 |
2 files changed, 67 insertions, 2 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog index 11c86aa3cff8..70bdb7144104 100644 --- a/app-emulation/virtualbox-modules/ChangeLog +++ b/app-emulation/virtualbox-modules/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-emulation/virtualbox-modules -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.31 2008/12/25 15:46:39 maekke Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.32 2009/03/03 06:53:27 patrick Exp $ + +*virtualbox-modules-2.1.4 (03 Mar 2009) + + 03 Mar 2009; Patrick Lauer <patrick@gentoo.org> + +virtualbox-modules-2.1.4.ebuild: + Bump to 2.1.4. Ebuild by Alessio Cassibba (X-Drum) <swapon@gmail.com>, + imported from the jokey overlay. Fixes vboxdrv kernel problems with + 2.6.29-rc* kernels, thanks to Ben Kohler bug #259688 25 Dec 2008; Markus Meier <maekke@gentoo.org> virtualbox-modules-1.6.6-r1.ebuild: diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-2.1.4.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-2.1.4.ebuild new file mode 100644 index 000000000000..fc05376d6361 --- /dev/null +++ b/app-emulation/virtualbox-modules/virtualbox-modules-2.1.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-2.1.4.ebuild,v 1.1 2009/03/03 06:53:27 patrick Exp $ + +EAPI=2 + +inherit eutils linux-mod + +MY_P=vbox-kernel-module-src-${PV} +DESCRIPTION="Kernel Modules for Virtualbox" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="http://gentoo.zerodev.it/files/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="!=app-emulation/virtualbox-ose-9999" + +S=${WORKDIR} + +BUILD_TARGETS="all" +BUILD_TARGET_ARCH="${ARCH}" +MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S})" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" + enewgroup vboxusers +} + +src_prepare() { + # Fix vboxdrv problems with 2.6.29-rc* kernels + # http://www.virtualbox.org/ticket/3403 + if kernel_is 2 6 29 ; then + epatch "${FILESDIR}/${PN}-2.6.29_rc.patch" + fi +} + +src_install() { + linux-mod_src_install + + # udev rule for vboxdrv + dodir /etc/udev/rules.d + echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >> "${D}/etc/udev/rules.d/60-virtualbox.rules" +} + +pkg_postinst() { + linux-mod_pkg_postinst + elog "Starting with the 2.1 release a new kernel module was added," + elog "be sure to load all the needed modules." + elog "" + elog "Please add \"vboxdrv\" and \"vboxnetflt\" to:" + elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" + elog "" +} |