summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-09-04 23:38:07 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-09-04 23:38:07 +0000
commit45db2213a731c69041ce747a678015127fc01c8e (patch)
tree53a84e87c4b7b40fe09f3c4e1a36ce62fbd75f86 /app-emulation/virtualbox-modules
parentVersion bump wrt bug #191142 (diff)
downloadhistorical-45db2213a731c69041ce747a678015127fc01c8e.tar.gz
historical-45db2213a731c69041ce747a678015127fc01c8e.tar.bz2
historical-45db2213a731c69041ce747a678015127fc01c8e.zip
Version bump wrt bug #191142
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r--app-emulation/virtualbox-modules/ChangeLog8
-rw-r--r--app-emulation/virtualbox-modules/files/digest-virtualbox-modules-1.5.03
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-1.5.0.ebuild52
3 files changed, 62 insertions, 1 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog
index d3bc5ebd75f6..af570b35de05 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.5 2007/06/23 16:07:33 masterdriverz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/ChangeLog,v 1.6 2007/09/04 23:37:12 jokey Exp $
+
+*virtualbox-modules-1.5.0 (04 Sep 2007)
+
+ 04 Sep 2007; Markus Ullmann <jokey@gentoo.org>
+ +virtualbox-modules-1.5.0.ebuild:
+ Version bump wrt bug #191142
23 Jun 2007; Charlie Shepherd <masterdriverz@gentoo.org>
virtualbox-modules-1.3.8.ebuild, virtualbox-modules-1.4.0.ebuild:
diff --git a/app-emulation/virtualbox-modules/files/digest-virtualbox-modules-1.5.0 b/app-emulation/virtualbox-modules/files/digest-virtualbox-modules-1.5.0
new file mode 100644
index 000000000000..2fb3b686ca59
--- /dev/null
+++ b/app-emulation/virtualbox-modules/files/digest-virtualbox-modules-1.5.0
@@ -0,0 +1,3 @@
+MD5 9f7ee9e9a4bebda310f3af6f8eeb3666 vbox-kernel-module-src-1.5.0.tar.gz 187848
+RMD160 159d23c191ef457d813f0f2686fc9c59e8b64a9f vbox-kernel-module-src-1.5.0.tar.gz 187848
+SHA256 c1413d3185545b9f28e7e346fa2762312124fd7a83167d5917e9cd8f7626ec94 vbox-kernel-module-src-1.5.0.tar.gz 187848
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-1.5.0.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-1.5.0.ebuild
new file mode 100644
index 000000000000..0d5bb67ffa28
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-1.5.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 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.5.0.ebuild,v 1.1 2007/09/04 23:37:12 jokey 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://www.virtualbox.org/download/${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+RDEPEND="!<app-emulation/virtualbox-bin-1.3.6
+ !<app-emulation/virtualbox-1.3.6
+ !=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}"
+}
+
+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_preinst() {
+ enewgroup vboxusers
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ if use amd64; then
+ elog ""
+ elog "To avoid the nmi_watchdog bug and load the vboxdrv module"
+ elog "you may need to update your bootloader configuration and pass the option:"
+ elog "nmi_watchdog=0"
+ fi
+}