diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-02-28 18:34:32 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-02-28 18:34:32 +0000 |
commit | ccde5211acfc9f278108ea3c1e3a7448e7d4805f (patch) | |
tree | 2e10397f4bacc267c6ec18e32fb6b926389fbf3b /app-emulation | |
parent | Unused version, never had a stable keyword.. (diff) | |
download | historical-ccde5211acfc9f278108ea3c1e3a7448e7d4805f.tar.gz historical-ccde5211acfc9f278108ea3c1e3a7448e7d4805f.tar.bz2 historical-ccde5211acfc9f278108ea3c1e3a7448e7d4805f.zip |
Port over from dev overlay
Package-Manager: portage-2.1.2-r12
Diffstat (limited to 'app-emulation')
5 files changed, 126 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..fec69f5907bd --- /dev/null +++ b/app-emulation/virtualbox-modules/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 607 RMD160 ff2fad485c293cd8713a9ea0c245bb96b35ae33a SHA1 1a5e0d32abaab166ef4d2b281a68874c6842b175 SHA256 0894f497a252ddab66fda32bbb8d710accea9767794802ba6249093732569588 +MD5 ea7c7860b83a3b5156326943954ea7ee ChangeLog 607 +RMD160 ff2fad485c293cd8713a9ea0c245bb96b35ae33a ChangeLog 607 +SHA256 0894f497a252ddab66fda32bbb8d710accea9767794802ba6249093732569588 ChangeLog 607 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFF5csmz974XjDVpbkRApp/AJ9s2nNCtXPYfwhrac0NLitexrI19ACgi7L0 +wWr3Pf6woQUCSwYn6mPE1xU= +=el62 +-----END PGP SIGNATURE----- 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 +} |