summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-02-28 18:34:32 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-02-28 18:34:32 +0000
commitacb0ea3f89c84edb05c2a07a56c61663ae38f66b (patch)
tree0387573e1c130bd337b78b272e08f17435fa89ff /app-emulation/virtualbox-modules
parentUnused version, never had a stable keyword.. (diff)
downloadgentoo-2-acb0ea3f89c84edb05c2a07a56c61663ae38f66b.tar.gz
gentoo-2-acb0ea3f89c84edb05c2a07a56c61663ae38f66b.tar.bz2
gentoo-2-acb0ea3f89c84edb05c2a07a56c61663ae38f66b.zip
Port over from dev overlay
(Portage version: 2.1.2-r12)
Diffstat (limited to 'app-emulation/virtualbox-modules')
-rw-r--r--app-emulation/virtualbox-modules/ChangeLog15
-rw-r--r--app-emulation/virtualbox-modules/Manifest16
-rw-r--r--app-emulation/virtualbox-modules/files/digest-virtualbox-modules-1.3.63
-rw-r--r--app-emulation/virtualbox-modules/metadata.xml13
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-1.3.6.ebuild69
5 files changed, 116 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog
new file mode 100644
index 000000000000..a0bb34547130
--- /dev/null
+++ b/app-emulation/virtualbox-modules/ChangeLog
@@ -0,0 +1,15 @@
+# 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.1 2007/02/28 18:34:32 jokey Exp $
+
+*virtualbox-modules-1.3.6 (28 Feb 2007)
+
+ 28 Feb 2007; Markus Ullmann <jokey@gentoo.org> +metadata.xml,
+ +virtualbox-modules-1.3.6.ebuild:
+ Port over from dev overlay
+
+ 22 Feb 2007; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+ +virtualbox-modules-1.3.6.ebuild, +metadata.xml:
+ vboxdrv kernel module for app-emulation/virtualbox and
+ app-emulation/virtualbox-bin
+
diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
new file mode 100644
index 000000000000..d684990c8454
--- /dev/null
+++ b/app-emulation/virtualbox-modules/Manifest
@@ -0,0 +1,16 @@
+DIST VirtualBox-OSE-1.3.6.tar.bz2 17458095 RMD160 f082f6397ceec0d0d543b155821592e6032affc3 SHA1 4aa6a375488d3d3dac500e401346661116ac6cf4 SHA256 e249c6f4792291e56e026cf9d807d355809283538cfa296b4e72f9ec1c71cdae
+EBUILD virtualbox-modules-1.3.6.ebuild 2220 RMD160 ec5a7017adfd84f0df4e678272ed674c6a88d09d SHA1 a5093571e947410f7baa4a303e7366894e718b97 SHA256 7329d5bf023a814c3c9f15904439d69a9f3a05ab4e24bc8d684b7c7dc974ba5c
+MD5 d445036de82686969052c05a78aca615 virtualbox-modules-1.3.6.ebuild 2220
+RMD160 ec5a7017adfd84f0df4e678272ed674c6a88d09d virtualbox-modules-1.3.6.ebuild 2220
+SHA256 7329d5bf023a814c3c9f15904439d69a9f3a05ab4e24bc8d684b7c7dc974ba5c virtualbox-modules-1.3.6.ebuild 2220
+MISC ChangeLog 504 RMD160 a499a888c979066f2e453c77d92e097230c45c79 SHA1 f94c72f633ad5ce8197f418eaf9462d42566314c SHA256 c314b9feddbad9625430ea1e375c3e6d86d54117fff14467b861289986490d09
+MD5 4875528139d6c8dd35af8a5dd3af670a ChangeLog 504
+RMD160 a499a888c979066f2e453c77d92e097230c45c79 ChangeLog 504
+SHA256 c314b9feddbad9625430ea1e375c3e6d86d54117fff14467b861289986490d09 ChangeLog 504
+MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9
+MD5 688de6c9943189afc4fa3ab510813dbd metadata.xml 344
+RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e metadata.xml 344
+SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9 metadata.xml 344
+MD5 aa67bc776af134860cfe42c3f12b4a0a files/digest-virtualbox-modules-1.3.6 271
+RMD160 85814f7b06a15fdf5d1d94ca3e41bff2807cef4e files/digest-virtualbox-modules-1.3.6 271
+SHA256 8d8ee07093a07044aad30ecda87c8aa21772a5b3f7add5a24dff79ed813ab3ab files/digest-virtualbox-modules-1.3.6 271
diff --git a/app-emulation/virtualbox-modules/files/digest-virtualbox-modules-1.3.6 b/app-emulation/virtualbox-modules/files/digest-virtualbox-modules-1.3.6
new file mode 100644
index 000000000000..ec272bc5bd57
--- /dev/null
+++ b/app-emulation/virtualbox-modules/files/digest-virtualbox-modules-1.3.6
@@ -0,0 +1,3 @@
+MD5 70c24ccee8b5778efd8d22f9996fbec9 VirtualBox-OSE-1.3.6.tar.bz2 17458095
+RMD160 f082f6397ceec0d0d543b155821592e6032affc3 VirtualBox-OSE-1.3.6.tar.bz2 17458095
+SHA256 e249c6f4792291e56e026cf9d807d355809283538cfa296b4e72f9ec1c71cdae VirtualBox-OSE-1.3.6.tar.bz2 17458095
diff --git a/app-emulation/virtualbox-modules/metadata.xml b/app-emulation/virtualbox-modules/metadata.xml
new file mode 100644
index 000000000000..76eddd3fbb1b
--- /dev/null
+++ b/app-emulation/virtualbox-modules/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>jokey@gentoo.org</email>
+ <name>Markus Ullmann</name>
+</maintainer>
+<maintainer>
+ <email>swapon@gmail.com</email>
+ <name>Alessio Cassibba</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-1.3.6.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-1.3.6.ebuild
new file mode 100644
index 000000000000..085b0fdf45d3
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-1.3.6.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header $
+
+inherit eutils linux-mod
+
+MY_P=VirtualBox-OSE-${PV}
+DESCRIPTION="Modules for Virtualbox OSE"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2"
+
+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}/${MY_P}
+
+BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="vboxdrv(misc:${S}/src/VBox/HostDrivers/Support:${S}/src/VBox/HostDrivers/Support"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+}
+
+src_unpack() {
+ unpack "${A}"
+
+ # Collect all the needed files for the kernel module
+ cp -R "${S}"/src/VBox/Runtime/alloc "${S}"/src/VBox/HostDrivers/Support/
+ mv "${S}"/src/VBox/HostDrivers/Support/alloc/heapsimple.cpp "${S}"/src/VBox/HostDrivers/Support/alloc/heapsimple.c
+ mkdir -p "${S}"/src/VBox/HostDrivers/Support/include/
+ cp -R "${S}"/include/iprt "${S}"/src/VBox/HostDrivers/Support/include/
+ cp -R "${S}"/include/VBox "${S}"/src/VBox/HostDrivers/Support/include/
+ cp -R "${S}"/src/VBox/Runtime/include/internal "${S}"/src/VBox/HostDrivers/Support/include/
+ cp -R "${S}"/src/VBox/Runtime/r0drv "${S}"/src/VBox/HostDrivers/Support/
+ mv "${S}"/src/VBox/HostDrivers/Support/r0drv/alloc-r0drv.cpp "${S}"/src/VBox/HostDrivers/Support/r0drv/alloc-r0drv.c
+ mv "${S}"/src/VBox/HostDrivers/Support/r0drv/initterm-r0drv.cpp "${S}"/src/VBox/HostDrivers/Support/r0drv/initterm-r0drv.c
+
+ # Use the proper Makefile
+ mv "${S}"/src/VBox/HostDrivers/Support/linux/Makefile "${S}"/src/VBox/HostDrivers/Support/
+}
+
+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() {
+ 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
+}