diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-06-01 00:25:56 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-06-01 00:25:56 +0000 |
commit | 02576c23ed954796b77a7171d554dd9fbaea9363 (patch) | |
tree | 6c19a94afc4f8f47d19793a904fc0c591b47f4b3 /app-emulation/virtualbox-modules | |
parent | Stable on amd64 (bug #271468) (diff) | |
download | historical-02576c23ed954796b77a7171d554dd9fbaea9363.tar.gz historical-02576c23ed954796b77a7171d554dd9fbaea9363.tar.bz2 historical-02576c23ed954796b77a7171d554dd9fbaea9363.zip |
Bump to 2.2.4, thanks to Alessio Cassibba. Fixes #271983 #271341 #269335
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r-- | app-emulation/virtualbox-modules/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/virtualbox-modules/virtualbox-modules-2.2.4.ebuild | 56 |
2 files changed, 63 insertions, 1 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog index feab24159a19..65dd1160922d 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.36 2009/04/30 16:33:50 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.37 2009/06/01 00:25:05 patrick Exp $ + +*virtualbox-modules-2.2.4 (01 Jun 2009) + + 01 Jun 2009; Patrick Lauer <patrick@gentoo.org> + +virtualbox-modules-2.2.4.ebuild: + Bump to 2.2.4, thanks to Alessio Cassibba. Fixes #271983 #271341 #269335 30 Apr 2009; Patrick Lauer <patrick@gentoo.org> -virtualbox-modules-2.0.2.ebuild, -virtualbox-modules-2.0.4.ebuild, diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-2.2.4.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-2.2.4.ebuild new file mode 100644 index 000000000000..40c09762fd6e --- /dev/null +++ b/app-emulation/virtualbox-modules/virtualbox-modules-2.2.4.ebuild @@ -0,0 +1,56 @@ +# 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.2.4.ebuild,v 1.1 2009/06/01 00:25:05 patrick Exp $ + +# XXX: the tarball here is just the kernel modules split out of the binary +# package that comes from virtualbox-bin + +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_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:" + 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 "" +} |