summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2008-06-13 22:38:33 +0000
committerDoug Goldstein <cardoe@gentoo.org>2008-06-13 22:38:33 +0000
commitc444e90b97228432e305bc2365bc6eb07040ee3c (patch)
treeddf73adfdaf3c701454c2343927b768722f1d66a /app-emulation/virtualbox-modules
parentamd64 stable, bug 225419 (diff)
downloadgentoo-2-c444e90b97228432e305bc2365bc6eb07040ee3c.tar.gz
gentoo-2-c444e90b97228432e305bc2365bc6eb07040ee3c.tar.bz2
gentoo-2-c444e90b97228432e305bc2365bc6eb07040ee3c.zip
copy changes from jokey's overlay to the tree as jokey requested
(Portage version: 2.1.5.5)
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r--app-emulation/virtualbox-modules/ChangeLog8
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-1.6.2.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog
index df6bee5c3a04..38e34b1ef4af 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.18 2008/04/21 20:26:19 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.19 2008/06/13 22:38:33 cardoe Exp $
+
+*virtualbox-modules-1.6.2 (13 Jun 2008)
+
+ 13 Jun 2008; Doug Goldstein <cardoe@gentoo.org>
+ +virtualbox-modules-1.6.2.ebuild:
+ copy changes from jokey's overlay to the tree as jokey requested
*virtualbox-modules-1.5.7 (21 Apr 2008)
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-1.6.2.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-1.6.2.ebuild
new file mode 100644
index 000000000000..019646b65c6c
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-1.6.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-1.6.2.ebuild,v 1.1 2008/06/13 22:38:33 cardoe Exp $
+
+inherit eutils linux-mod
+
+MY_P=vbox-kernel-module-src-${PV}
+DESCRIPTION="Modules for Virtualbox OSE"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://gentoo.zerodev.it/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="!=app-emulation/virtualbox-9999"
+
+S=${WORKDIR}/vboxdrv
+
+BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="vboxdrv(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
+}