aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2009-01-19 00:54:32 -0800
committerDonnie Berkholz <dberkholz@gentoo.org>2009-01-19 00:54:32 -0800
commit83166d3e7871de8192a56e547cbc7e235a4f016a (patch)
treedae8480ec013867bfc906223e0f1671e59a55fb1 /app-emulation
parentMask app-misc/labyrinth-9999 (diff)
downloaddberkholz-83166d3e7871de8192a56e547cbc7e235a4f016a.tar.gz
dberkholz-83166d3e7871de8192a56e547cbc7e235a4f016a.tar.bz2
dberkholz-83166d3e7871de8192a56e547cbc7e235a4f016a.zip
virtualbox-modules: add 2.6.29 patch.
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-modules/ChangeLog172
-rw-r--r--app-emulation/virtualbox-modules/Manifest5
-rw-r--r--app-emulation/virtualbox-modules/files/virtualbox-modules-2.0.6_2.6.29.patch23
-rw-r--r--app-emulation/virtualbox-modules/metadata.xml13
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-2.0.6.ebuild52
5 files changed, 265 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-modules/ChangeLog b/app-emulation/virtualbox-modules/ChangeLog
new file mode 100644
index 0000000..11c86aa
--- /dev/null
+++ b/app-emulation/virtualbox-modules/ChangeLog
@@ -0,0 +1,172 @@
+# 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.31 2008/12/25 15:46:39 maekke Exp $
+
+ 25 Dec 2008; Markus Meier <maekke@gentoo.org>
+ virtualbox-modules-1.6.6-r1.ebuild:
+ x86 stable, bug #245624
+
+ 25 Dec 2008; Thomas Anderson <gentoofan23@gentoo.org>
+ virtualbox-modules-1.6.6-r1.ebuild:
+ stable amd64, bug 245624
+
+ 18 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org>
+ +files/virtualbox-modules-1.6.6_2.6.27.patch,
+ +virtualbox-modules-1.6.6-r1.ebuild:
+ Proxy fix from Alessio.
+
+*virtualbox-modules-1.6.6-r1 (18 Dec 2008)
+
+ 18 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org>
+ +files/virtualbox-modules-1.6.6_2.6.27.patch,
+ +virtualbox-modules-1.6.6-r1.ebuild:
+ Proxy fix from Alessio.
+
+ 25 Nov 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+ -virtualbox-modules-2.0.2.ebuild:
+ drop version 2.0.2
+
+ 10 Nov 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+ -virtualbox-modules-1.6.6.ebuild, +virtualbox-modules-1.6.6-r1.ebuild,
+ +files/virtualbox-modules-1.6.6_2.6.27.patch:
+ fix compilation against kernel 2.6.27 thanks to gengor@gentoo.org, see bug
+ #245624
+
+*virtualbox-modules-2.0.6 (29 Nov 2008)
+
+ 29 Nov 2008; Mike Frysinger <vapier@gentoo.org>
+ +virtualbox-modules-2.0.6.ebuild:
+ Version bump for Alessio Cassibba #248776 by Rodrigo Severo.
+
+ 28 Oct 2008; Markus Ullmann <jokey@gentoo.org>
+ virtualbox-modules-1.6.6.ebuild:
+ Reinstate stable keyword for bug #244718
+
+*virtualbox-modules-2.0.4 (27 Oct 2008)
+
+ 27 Oct 2008; Markus Ullmann <jokey@gentoo.org>
+ -virtualbox-modules-1.6.4.ebuild, +virtualbox-modules-2.0.4.ebuild:
+ (Proxy commit) Version bump
+
+ 25 Oct 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+ -virtualbox-modules-1.6.4.ebuild, +virtualbox-modules-2.0.4.ebuild:
+ Version Bump; drop version 1.6.4
+
+*virtualbox-modules-2.0.2 (15 Sep 2008)
+
+ 15 Sep 2008; Markus Ullmann <jokey@gentoo.org>
+ -virtualbox-modules-1.6.2.ebuild, virtualbox-modules-1.6.4.ebuild,
+ virtualbox-modules-1.6.6.ebuild, +virtualbox-modules-2.0.2.ebuild:
+ (Proxy-Commit) Port from dev overlay
+
+ 14 Sep 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> ChangeLog:
+ +virtualbox-modules-2.0.2.ebuild, -virtualbox-modules-1.6.2.ebuild:
+ Version Bump
+
+*virtualbox-modules-1.6.6 (06 Sep 2008)
+
+ 06 Sep 2008; Markus Ullmann <jokey@gentoo.org>
+ -virtualbox-modules-1.5.7.ebuild, virtualbox-modules-1.6.2.ebuild,
+ virtualbox-modules-1.6.4.ebuild, +virtualbox-modules-1.6.6.ebuild:
+ Port from dev overlay
+
+ 02 Sep 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+ -virtualbox-modules-1.5.7.ebuild, virtualbox-modules-1.6.4.ebuild,
+ +virtualbox-modules-1.6.6.ebuild:
+ Version bump; drop old 1.5.x version
+
+ 27 Aug 2008; Markus Ullmann <jokey@gentoo.org>
+ virtualbox-modules-1.6.4.ebuild:
+ Stable on x86 and amd64
+
+ 27 Aug 2008; Markus Ullmann <jokey@gentoo.org>
+ -files/virtualbox-modules_2.6.24.patch,
+ -virtualbox-modules-1.5.2-r1.ebuild, -virtualbox-modules-1.5.4.ebuild,
+ -virtualbox-modules-1.5.6.ebuild, virtualbox-modules-1.5.7.ebuild,
+ virtualbox-modules-1.6.2.ebuild, virtualbox-modules-1.6.4.ebuild:
+ Adjust blockers for renaming
+
+*virtualbox-modules-1.6.4 (10 Aug 2008)
+
+ 10 Aug 2008; Markus Ullmann <jokey@gentoo.org>
+ +virtualbox-modules-1.6.4.ebuild:
+ Add version bump from my overlay wrt bug #233683
+
+*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)
+
+ 21 Apr 2008; Markus Ullmann <jokey@gentoo.org>
+ +virtualbox-modules-1.5.7.ebuild:
+ (Proxy commit) version bump to fix API change in kernel 2.6.25
+ (chage_page_attr function) bug #218198
+
+ 06 Mar 2008; Christoph Mende <angelos@gentoo.org>
+ virtualbox-modules-1.5.4.ebuild:
+ Stable on amd64, bug #208905
+
+ 04 Mar 2008; Markus Ullmann <jokey@gentoo.org>
+ virtualbox-modules-1.5.4.ebuild:
+ Stable on x86 wrt bug #208905
+
+*virtualbox-modules-1.5.6 (25 Feb 2008)
+
+ 25 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +virtualbox-modules-1.5.6.ebuild:
+ Version bump, as requested by the proxy-maintainer Alessio Cassibba.
+
+*virtualbox-modules-1.5.4 (05 Jan 2008)
+
+ 05 Jan 2008; Markus Ullmann <jokey@gentoo.org>
+ +virtualbox-modules-1.5.4.ebuild:
+ Version bump wrt bug #203893 thanks to x-drum
+
+ 06 Dec 2007; Markus Ullmann <jokey@gentoo.org>
+ files/virtualbox-modules_2.6.24.patch, virtualbox-modules-1.5.2-r1.ebuild:
+ Only apply 2.6.24 patch if there is such a kernel and add more patch stuff
+ from upstream, thanks to Bjoern Olausson in bug #199798
+
+*virtualbox-modules-1.5.2-r1 (05 Dec 2007)
+
+ 05 Dec 2007; Markus Ullmann <jokey@gentoo.org>
+ +files/virtualbox-modules_2.6.24.patch, -virtualbox-modules-1.5.2.ebuild,
+ +virtualbox-modules-1.5.2-r1.ebuild:
+ Add 2.6.24 kernel patch from bug #199798 , thanks to Bjoern Olausson
+
+ 03 Nov 2007; Markus Ullmann <jokey@gentoo.org>
+ -virtualbox-modules-1.4.0.ebuild:
+ Cleanup
+
+ 29 Oct 2007; Dawid Węgliński <cla@gentoo.org>
+ virtualbox-modules-1.5.2.ebuild:
+ Stable on x86
+
+ 22 Oct 2007; Markus Ullmann <jokey@gentoo.org>
+ -virtualbox-modules-1.3.8.ebuild, -virtualbox-modules-1.5.0.ebuild:
+ Drop old
+
+*virtualbox-modules-1.5.2 (22 Oct 2007)
+
+ 22 Oct 2007; Markus Ullmann <jokey@gentoo.org>
+ +virtualbox-modules-1.5.2.ebuild:
+ Version bump wrt bug #196424 thanks to Alessio for the ebuilds
+
+ 17 Sep 2007; Markus Ullmann <jokey@gentoo.org>
+ virtualbox-modules-1.5.0.ebuild:
+ nmi_watchdog=0 no more needed for amd64, remove message in pkg_postinst,
+ from x-drum
+
+*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:
+ Fix headers, thanks to x-drum
+
diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
new file mode 100644
index 0000000..0349492
--- /dev/null
+++ b/app-emulation/virtualbox-modules/Manifest
@@ -0,0 +1,5 @@
+AUX virtualbox-modules-2.0.6_2.6.29.patch 861 RMD160 af3c0cbe8c2dabd6c7ed28f5ba179f709dfc1481 SHA1 dda82773b96422bc2898100877840395f8cfe918 SHA256 da25979e3c76157464d3e7fc67923125d02fadb57ffa16bcbcb28ad90aead066
+DIST vbox-kernel-module-src-2.0.6.tar.bz2 235137 RMD160 e0204ba44646ccd28382d34b3f2ea79579112cda SHA1 b8236743dae1b590f61666b9df96e4c1a7c637c0 SHA256 e2326977de53b32953d6400c917401a99f94d6aae7c8cd8ad915cc57e57bd3ef
+EBUILD virtualbox-modules-2.0.6.ebuild 1246 RMD160 98cdeae2a299ed8b9a73003606f61a29c9e47cee SHA1 9bf56163d623c442038e434ccba44d59a29cdb62 SHA256 4bbb583f9a784ba238c9111813f3acf62d0c9a9df54b731f4e0ea8287ab6c368
+MISC ChangeLog 6021 RMD160 f316daf42e4729049b66dee0a56d48c9ca80ebb7 SHA1 986d1ffcc2ba03edfb5934a5bca7d005ebe38d9a SHA256 85e8aac005cd27749e6cea01fd9a1cbf3975b78b767b46bcd839536f3369d133
+MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9
diff --git a/app-emulation/virtualbox-modules/files/virtualbox-modules-2.0.6_2.6.29.patch b/app-emulation/virtualbox-modules/files/virtualbox-modules-2.0.6_2.6.29.patch
new file mode 100644
index 0000000..50e17d2
--- /dev/null
+++ b/app-emulation/virtualbox-modules/files/virtualbox-modules-2.0.6_2.6.29.patch
@@ -0,0 +1,23 @@
+diff -ur vboxdrv.orig/linux/SUPDrv-linux.c vboxdrv/linux/SUPDrv-linux.c
+--- vboxdrv.orig/linux/SUPDrv-linux.c 2009-01-18 23:06:25.000000000 -0800
++++ vboxdrv/linux/SUPDrv-linux.c 2009-01-18 23:07:08.000000000 -0800
+@@ -647,7 +647,7 @@
+ /*
+ * Only root is allowed to access the device, enforce it!
+ */
+- if (current->euid != 0 /* root */ )
++ if (current->cred->euid != 0 /* root */ )
+ {
+ Log(("VBoxDrvLinuxCreate: euid=%d, expected 0 (root)\n", current->euid));
+ return -EPERM;
+@@ -660,8 +660,8 @@
+ rc = supdrvCreateSession(&g_DevExt, true /* fUser */, (PSUPDRVSESSION *)&pSession);
+ if (!rc)
+ {
+- pSession->Uid = current->uid;
+- pSession->Gid = current->gid;
++ pSession->Uid = current->cred->uid;
++ pSession->Gid = current->cred->gid;
+ }
+
+ pFilp->private_data = pSession;
diff --git a/app-emulation/virtualbox-modules/metadata.xml b/app-emulation/virtualbox-modules/metadata.xml
new file mode 100644
index 0000000..76eddd3
--- /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-2.0.6.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-2.0.6.ebuild
new file mode 100644
index 0000000..b4d0cd1
--- /dev/null
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-2.0.6.ebuild
@@ -0,0 +1,52 @@
+# 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-2.0.6.ebuild,v 1.1 2008/11/29 20:39:49 vapier Exp $
+
+# XXX: the tarball here is just the kernel modules split out of the binary
+# package that comes from virtualbox-bin
+
+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}/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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if kernel_is 2 6 29 ; then
+ epatch "${FILESDIR}"/${P}_2.6.29.patch
+ fi
+}
+
+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
+}