Commits

Providence SALUMU committed b257025

add ons for virtualbox-guest-additions

Comments (0)

Files changed (13)

app-emulation/virtualbox-guest-additions/ChangeLog

+# ChangeLog for app-emulation/virtualbox-guest-additions
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.82 2011/10/12 21:32:19 polynomial-c Exp $
+
+*virtualbox-guest-additions-4.1.4-r1 (12 Oct 2011)
+
+  12 Oct 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-4.1.4.ebuild,
+  +virtualbox-guest-additions-4.1.4-r1.ebuild:
+  Block x11-drivers/xf86-input-virtualbox. Seems like upstream doesn't ship
+  this driver anymore (bug #386741).
+
+  04 Oct 2011; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-4.0.12.ebuild,
+  virtualbox-guest-additions-4.1.2.ebuild,
+  virtualbox-guest-additions-4.1.4.ebuild:
+  Use src_configure() for ./configure calls as it should be for an EAPI-2
+  ebuild.
+
+*virtualbox-guest-additions-4.1.4 (04 Oct 2011)
+
+  04 Oct 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-4.1.0.ebuild,
+  +virtualbox-guest-additions-4.1.4.ebuild:
+  Version bump. Thanks to Christian Inci who reported this in bug #385577.
+  Removed old.
+
+  01 Sep 2011; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-4.1.0.ebuild:
+  Again fixed dependency on kbuild. Thanks to Karel De Vriendt for reporting
+  this in bug #381397.
+
+  20 Aug 2011; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-4.0.12.ebuild:
+  Fixed dependency on kbuild
+
+*virtualbox-guest-additions-4.1.2 (17 Aug 2011)
+
+  17 Aug 2011; Lars Wendler <polynomial-c@gentoo.org>
+  +virtualbox-guest-additions-4.1.2.ebuild:
+  Version bump.
+
+  09 Aug 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.2.12.ebuild,
+  -virtualbox-guest-additions-4.0.10.ebuild:
+  Removed old versions.
+
+  22 Jul 2011; Markos Chandras <hwoarang@gentoo.org>
+  virtualbox-guest-additions-4.0.12.ebuild:
+  Stable on amd64 wrt bug #371935
+
+  22 Jul 2011; Thomas Kahle <tomka@gentoo.org>
+  virtualbox-guest-additions-4.0.12.ebuild:
+  x86 stable per bug 371935
+
+*virtualbox-guest-additions-4.1.0 (19 Jul 2011)
+
+  19 Jul 2011; Lars Wendler <polynomial-c@gentoo.org>
+  +virtualbox-guest-additions-4.1.0.ebuild,
+  +files/vboxguest-4.1.0-log-use-c99.patch:
+  Added 4.1 version branch
+
+*virtualbox-guest-additions-4.0.12 (17 Jul 2011)
+
+  17 Jul 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-4.0.8.ebuild,
+  +virtualbox-guest-additions-4.0.12.ebuild:
+  Version bump. Removed old.
+
+  08 Jul 2011; Samuli Suominen <ssuominen@gentoo.org>
+  virtualbox-guest-additions-3.2.12.ebuild,
+  virtualbox-guest-additions-4.0.8.ebuild,
+  virtualbox-guest-additions-4.0.10.ebuild:
+  Convert from "useq" to "use".
+
+  30 Jun 2011; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-3.2.12.ebuild:
+  Fixed compilation with linux kernel >=2.6.33. Thanks to Jimis Hol for
+  reporting this issue in bug #373585.
+
+*virtualbox-guest-additions-4.0.10 (28 Jun 2011)
+
+  28 Jun 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-4.0.6-r1.ebuild,
+  +virtualbox-guest-additions-4.0.10.ebuild:
+  Version bump. Removed old.
+
+*virtualbox-guest-additions-4.0.8 (18 May 2011)
+
+  18 May 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-4.0.4.ebuild,
+  +virtualbox-guest-additions-4.0.8.ebuild:
+  Version bump reported by Philipp Reinkemeier in bug #367947.
+
+  27 Apr 2011; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-4.0.6-r1.ebuild:
+  Ebuild should die when udev-rules cannot be created.
+
+*virtualbox-guest-additions-4.0.6-r1 (26 Apr 2011)
+
+  26 Apr 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-4.0.6.ebuild,
+  +virtualbox-guest-additions-4.0.6-r1.ebuild:
+  Fixed installation of udev-rules into /lib/udev. Thanks to Willard Dawson who
+  reported this in bug #364997.
+
+*virtualbox-guest-additions-4.0.6 (22 Apr 2011)
+
+  22 Apr 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-4.0.2.ebuild,
+  +virtualbox-guest-additions-4.0.6.ebuild:
+  Version bump. Removed old.
+
+  20 Feb 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.1.8-r2.ebuild:
+  Removed ancient 3.1.8 version.
+
+*virtualbox-guest-additions-4.0.4 (18 Feb 2011)
+
+  18 Feb 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-4.0.0.ebuild,
+  +virtualbox-guest-additions-4.0.4.ebuild:
+  Version bump. Removed old.
+
+  03 Feb 2011; Thomas Kahle <tomka@gentoo.org>
+  virtualbox-guest-additions-3.2.12.ebuild:
+  x86 stable per bug 336465
+
+*virtualbox-guest-additions-4.0.2 (18 Jan 2011)
+
+  18 Jan 2011; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.2.10.ebuild,
+  +virtualbox-guest-additions-4.0.2.ebuild:
+  Version bump. Removed old.
+
+  08 Jan 2011; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-4.0.0.ebuild:
+  Removed LDFLAGS fix as it breaks compilation.
+
+  07 Jan 2011; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-4.0.0.ebuild:
+  Respect LDFLAGS properly. Thanks to xarthisius for providing a feasible fix.
+
+*virtualbox-guest-additions-4.0.0 (06 Jan 2011)
+
+  06 Jan 2011; Lars Wendler <polynomial-c@gentoo.org>
+  +virtualbox-guest-additions-4.0.0.ebuild:
+  Version bump.
+
+  31 Dec 2010; Markos Chandras <hwoarang@gentoo.org>
+  virtualbox-guest-additions-3.2.12.ebuild:
+  Stable on amd64 wrt bug #336465
+
+  31 Dec 2010; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-3.1.8-r2.ebuild,
+  virtualbox-guest-additions-3.2.10.ebuild,
+  virtualbox-guest-additions-3.2.12.ebuild:
+  Fixed elog message about vboxguest group. Thanks to Michael
+  <gentoo-at-scribeofthenile.com> for reporting this in bug #349934.
+
+*virtualbox-guest-additions-3.2.12 (03 Dec 2010)
+
+  03 Dec 2010; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.2.8.ebuild,
+  +virtualbox-guest-additions-3.2.12.ebuild:
+  Version bump. Removed old.
+
+*virtualbox-guest-additions-3.2.10 (12 Oct 2010)
+
+  12 Oct 2010; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.2.6.ebuild,
+  +virtualbox-guest-additions-3.2.10.ebuild:
+  Version bump. Removed old.
+
+  26 Aug 2010; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-3.1.8-r2.ebuild,
+  virtualbox-guest-additions-3.2.6.ebuild,
+  virtualbox-guest-additions-3.2.8.ebuild:
+  Added elog message about vboxuser group (bug #334439)
+
+  07 Aug 2010; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-3.1.8-r2.ebuild,
+  virtualbox-guest-additions-3.2.6.ebuild,
+  virtualbox-guest-additions-3.2.8.ebuild:
+  Added pam to DEPEND. Thanks to rafnov_AT_gmail_DOT_com for reporting this
+  in bug #331383.
+
+*virtualbox-guest-additions-3.2.8 (06 Aug 2010)
+
+  06 Aug 2010; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.2.4.ebuild,
+  +virtualbox-guest-additions-3.2.8.ebuild:
+  Version bump. Removed old.
+
+  17 Jul 2010; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.0.12.ebuild,
+  -files/virtualbox-guest-additions-3.initd:
+  Removed old.
+
+  15 Jul 2010; Fabio Erculiani <lxnay@gentoo.org>
+  virtualbox-guest-additions-3.2.4.ebuild,
+  virtualbox-guest-additions-3.2.6.ebuild:
+  drop app-emulation/emul-linux-x86-xlibs dependency from 3.2.x ebuilds, not
+  needed
+
+  14 Jul 2010; Christian Faulhammer <fauli@gentoo.org>
+  virtualbox-guest-additions-3.1.8-r2.ebuild:
+  stable x86, bug 320595
+
+*virtualbox-guest-additions-3.2.6 (27 Jun 2010)
+
+  27 Jun 2010; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.2.2.ebuild,
+  +virtualbox-guest-additions-3.2.6.ebuild:
+  Version bump. Removed old. Thanks to tman who reported this in bug
+  #325799.
+
+  21 Jun 2010; Christoph Mende <angelos@gentoo.org>
+  virtualbox-guest-additions-3.1.8-r2.ebuild:
+  Stable on amd64 wrt bug #320595
+
+  08 Jun 2010; Lars Wendler <polynomial-c@gentoo.org>
+  +files/vboxguest-log-use-c99.patch,
+  virtualbox-guest-additions-3.1.8-r2.ebuild,
+  virtualbox-guest-additions-3.2.2.ebuild,
+  virtualbox-guest-additions-3.2.4.ebuild,
+  -files/virtualbox-guest-additions-5.initd,
+  -files/virtualbox-guest-additions-6.initd:
+  Added a patch from PaX Team (bug #298988). Removed unused files.
+
+  08 Jun 2010; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-3.1.8-r2.ebuild,
+  virtualbox-guest-additions-3.2.2.ebuild,
+  virtualbox-guest-additions-3.2.4.ebuild:
+  Added x11-proto/xproto to DEPEND when X USE flag is unset. Reported by
+  Will B. (bug #323133).
+
+*virtualbox-guest-additions-3.2.4 (07 Jun 2010)
+
+  07 Jun 2010; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.2.0.ebuild,
+  +virtualbox-guest-additions-3.2.4.ebuild:
+  Version bump. Removed old.
+
+*virtualbox-guest-additions-3.2.2 (03 Jun 2010)
+
+  03 Jun 2010; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.1.6.ebuild,
+  +virtualbox-guest-additions-3.2.2.ebuild, metadata.xml:
+  Version bump. Removed old.
+
+*virtualbox-guest-additions-3.1.8-r2 (20 May 2010)
+
+  20 May 2010; Lars Wendler <polynomial-c@gentoo.org>
+  -virtualbox-guest-additions-3.1.8-r1.ebuild,
+  +virtualbox-guest-additions-3.1.8-r2.ebuild:
+  New revision with cherry picked changes from bug #297633 (thanks to Ambroz
+  Bizjak for the report and the patches).
+
+  20 May 2010; Lars Wendler <polynomial-c@gentoo.org>
+  files/virtualbox-guest-additions-3-localconfig:
+  Fixed building with gcc-4.5
+
+*virtualbox-guest-additions-3.2.0 (20 May 2010)
+
+  20 May 2010; Lars Wendler <polynomial-c@gentoo.org>
+  +virtualbox-guest-additions-3.2.0.ebuild,
+  +files/virtualbox-guest-additions-7.initd, +files/vboxclient.desktop,
+  +files/xorg.conf.vbox:
+  Version bump. Removed old versions. First attempt to fix bug #297633.
+
+*virtualbox-guest-additions-3.1.8-r1 (11 May 2010)
+
+  11 May 2010; Jim Ramsay <lack@gentoo.org>
+  virtualbox-guest-additions-3.1.4.ebuild,
+  virtualbox-guest-additions-3.1.6.ebuild,
+  -virtualbox-guest-additions-3.1.8.ebuild,
+  +virtualbox-guest-additions-3.1.8-r1.ebuild,
+  -files/virtualbox-guest-additions-4.initd,
+  +files/virtualbox-guest-additions-5.initd,
+  +files/virtualbox-guest-additions-6.initd:
+  Need s/vboxadd/vboxguest/ in the init script for version 3.1.4 and later
+  (Bug #305583)
+
+  11 May 2010; Lars Wendler <polynomial-c@gentoo.org>
+  virtualbox-guest-additions-3.1.8.ebuild,
+  +files/virtualbox-guest-additions-4.initd:
+  Fixing compilation and init script. There's no longer a vboxvfs module.
+  It's now called vboxsf.
+
+*virtualbox-guest-additions-3.1.8 (10 May 2010)
+
+  10 May 2010; Lars Wendler <polynomial-c@gentoo.org>
+  +virtualbox-guest-additions-3.1.8.ebuild:
+  version bump
+
+  01 May 2010; Fabio Erculiani <lxnay@gentoo.org>
+  virtualbox-guest-additions-3.1.0.ebuild,
+  virtualbox-guest-additions-3.1.2.ebuild,
+  virtualbox-guest-additions-3.1.4.ebuild,
+  virtualbox-guest-additions-3.1.6.ebuild:
+  fix /dev/vbox{guest,user} udev rule, add GROUP=vboxguest
+
+*virtualbox-guest-additions-3.1.6 (28 Mar 2010)
+
+  28 Mar 2010; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.1.6.ebuild:
+  Bump
+
+*virtualbox-guest-additions-3.1.4 (13 Feb 2010)
+
+  13 Feb 2010; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.1.4.ebuild:
+  Bump
+
+*virtualbox-guest-additions-3.1.2 (13 Feb 2010)
+
+  13 Feb 2010; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.1.2.ebuild:
+  Bump
+
+  28 Jan 2010; Patrick Lauer <patrick@gentoo.org> metadata.xml:
+  Taking over maintenance from Jokey
+
+*virtualbox-guest-additions-3.1.0 (02 Dec 2009)
+
+  02 Dec 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.1.0.ebuild:
+  Bump
+
+  30 Nov 2009; Patrick Lauer <patrick@gentoo.org>
+  -virtualbox-guest-additions-3.0.8.ebuild,
+  -virtualbox-guest-additions-3.0.10.ebuild:
+  Remove old
+
+  30 Nov 2009; Markus Meier <maekke@gentoo.org>
+  virtualbox-guest-additions-3.0.12.ebuild:
+  amd64 stable, bug #294678
+
+  27 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
+  virtualbox-guest-additions-3.0.12.ebuild:
+  stable x86, security bug 294678
+
+*virtualbox-guest-additions-3.0.12 (19 Nov 2009)
+
+  19 Nov 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.0.12.ebuild,
+  +files/virtualbox-guest-additions-3-localconfig,
+  files/virtualbox-guest-additions-3.initd:
+  Bump, closes #293556
+
+  10 Nov 2009; Patrick Lauer <patrick@gentoo.org>
+  -virtualbox-guest-additions-1.6.6.ebuild,
+  -virtualbox-guest-additions-1.6.6-r1.ebuild,
+  -virtualbox-guest-additions-3.0.6.ebuild:
+  Drop old
+
+  09 Nov 2009; Markus Meier <maekke@gentoo.org>
+  virtualbox-guest-additions-3.0.8.ebuild:
+  amd64 stable, bug #288836
+
+  09 Nov 2009; Markus Meier <maekke@gentoo.org>
+  virtualbox-guest-additions-3.0.6.ebuild:
+  amd64 stable, bug #285451
+
+*virtualbox-guest-additions-3.0.10 (03 Nov 2009)
+
+  03 Nov 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.0.10.ebuild:
+  Bump to 3.0.10, fixes #291214 #290296 #285749 #286163
+
+  19 Oct 2009; Christian Faulhammer <fauli@gentoo.org>
+  virtualbox-guest-additions-3.0.8.ebuild:
+  stable x86, bug 288836
+
+*virtualbox-guest-additions-3.0.8 (06 Oct 2009)
+
+  06 Oct 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.0.8.ebuild:
+  Bump to 3.0.8, big thanks to X-Drum for testing
+
+  21 Sep 2009; Christian Faulhammer <fauli@gentoo.org>
+  virtualbox-guest-additions-3.0.6.ebuild:
+  stable x86, bug 285451
+
+  12 Sep 2009; Patrick Lauer <patrick@gentoo.org>
+  -virtualbox-guest-additions-3.0.4.ebuild:
+  Remove old
+
+*virtualbox-guest-additions-3.0.6 (10 Sep 2009)
+
+  10 Sep 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.0.6.ebuild:
+  Bump to 3.0.6, thanks to Alessio Cassiba. Fixes #284407
+
+  17 Aug 2009; Patrick Lauer <patrick@gentoo.org>
+  -virtualbox-guest-additions-2.1.4.ebuild,
+  -virtualbox-guest-additions-2.2.0.ebuild,
+  -virtualbox-guest-additions-2.2.2.ebuild,
+  -virtualbox-guest-additions-2.2.4.ebuild,
+  -virtualbox-guest-additions-3.0.2.ebuild:
+  Dropping vulnerable versions for #280157
+
+*virtualbox-guest-additions-3.0.4 (17 Aug 2009)
+
+  17 Aug 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.0.4.ebuild:
+  Bump to 3.0.4, fixes #280157. Thanks to Alessio Cassibba
+
+*virtualbox-guest-additions-3.0.2 (16 Jul 2009)
+
+  16 Jul 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-3.0.2.ebuild,
+  +files/virtualbox-guest-additions-3.initd:
+  Bump to 3.0.2. Fixes #275963. Thanks to Alessio Cassiba and all the
+  testers
+
+*virtualbox-guest-additions-2.2.4 (01 Jun 2009)
+
+  01 Jun 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-2.2.4.ebuild:
+  Bump to 2.2.4, thanks to Alessio Cassibba. Fixes #271983 #271341 #269335
+
+  30 Apr 2009; Patrick Lauer <patrick@gentoo.org>
+  -virtualbox-guest-additions-2.0.2.ebuild,
+  -virtualbox-guest-additions-2.0.4.ebuild,
+  -virtualbox-guest-additions-2.0.4-r1.ebuild,
+  -virtualbox-guest-additions-2.0.6.ebuild:
+  Remove old 2.0
+
+*virtualbox-guest-additions-2.2.2 (30 Apr 2009)
+
+  30 Apr 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-2.2.2.ebuild:
+  Bump to 2.2.2, thanks to Alessio Cassibba. Fixes #267838
+
+*virtualbox-guest-additions-2.2.0 (18 Apr 2009)
+
+  18 Apr 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-2.2.0.ebuild:
+  Bump to 2.2.0. Many thanks to Alessio Cassibba for the ebuilds. Part of
+  #265510
+
+*virtualbox-guest-additions-2.1.4 (03 Mar 2009)
+
+  03 Mar 2009; Patrick Lauer <patrick@gentoo.org>
+  +virtualbox-guest-additions-2.1.4.ebuild:
+  Bump to 2.1.4. Small fix for upstream typo.
+
+*virtualbox-guest-additions-2.0.6 (18 Dec 2008)
+*virtualbox-guest-additions-2.0.4-r1 (18 Dec 2008)
+*virtualbox-guest-additions-1.6.6-r1 (18 Dec 2008)
+
+  18 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org>
+  files/virtualbox-guest-additions-2-localconfig,
+  +virtualbox-guest-additions-1.6.6-r1.ebuild,
+  +virtualbox-guest-additions-2.0.4-r1.ebuild,
+  +virtualbox-guest-additions-2.0.6.ebuild:
+  Proxy commit Alessio's ebuilds.
+
+  26 Nov 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-additions-2.0.4-r1.ebuild,
+  virtualbox-guest-additions-2.0.6.ebuild,
+  files/virtualbox-guest-additions-2-localconfig:
+  Version Bump; add x11-libs/libXmu to RDEPEND thanks to Mike Limansky, wrt
+  bug #246701; force ebuild to respect the X USE flag; improve build speed
+  (don't build unneeded stuff); add vboxclient.desktop; drop version 2.0.2
+
+  31 Oct 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  -virtualbox-guest-additions-1.6.6.ebuild,
+  +virtualbox-guest-additions-1.6.6-r1.ebuild,
+  -virtualbox-guest-additions-2.0.2.ebuild,
+  +virtualbox-guest-additions-2.0.2-r1.ebuild,
+  -virtualbox-guest-additions-2.0.4.ebuild,
+  +virtualbox-guest-additions-2.0.4-r1.ebuild:
+  fix two typos thanks to Walter Meinl, wrt bug #236151
+
+*virtualbox-guest-additions-2.0.4 (27 Oct 2008)
+
+  27 Oct 2008; Markus Ullmann <jokey@gentoo.org>
+  -files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
+  -files/virtualbox-guest-additions-2.0.2-localconfig,
+  +files/virtualbox-guest-additions-2-localconfig,
+  -virtualbox-guest-additions-1.6.4-r2.ebuild,
+  virtualbox-guest-additions-2.0.2.ebuild,
+  +virtualbox-guest-additions-2.0.4.ebuild:
+  (Proxy commit) Version bump
+
+  26 Oct 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  -virtualbox-guest-additions-1.6.4-r2.ebuild,
+  -files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
+  virtualbox-guest-additions-2.0.2.ebuild,
+  -files/virtualbox-guest-additions-2.0.2-localconfig,
+  +virtualbox-guest-additions-2.0.4.ebuild,
+  +files/virtualbox-guest-additions-2-localconfig:
+  Version Bump; drop version 1.6.4
+
+*virtualbox-guest-additions-2.0.2 (15 Sep 2008)
+
+  15 Sep 2008; Markus Ullmann <jokey@gentoo.org>
+  files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
+  +files/virtualbox-guest-additions-2.0.2-localconfig,
+  virtualbox-guest-additions-1.6.4-r2.ebuild,
+  virtualbox-guest-additions-1.6.6.ebuild,
+  +virtualbox-guest-additions-2.0.2.ebuild:
+  (Proxy-Commit) Port from dev overlay
+
+  13 Sep 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  +virtualbox-guest-additions-2.0.2.ebuild,
+  +files/virtualbox-guest-additions-2.0.2-localconfig:
+  Version bump, add VBoxControl command line utility, force 2.0.2 to build
+  with dev-util/kbuild-0.1.4
+
+*virtualbox-guest-additions-1.6.6 (06 Sep 2008)
+*virtualbox-guest-additions-1.6.4-r2 (06 Sep 2008)
+
+  06 Sep 2008; Markus Ullmann <jokey@gentoo.org>
+  -files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
+  -files/virtualbox-guest-additions-1.5.6.initd,
+  files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
+  -files/virtualbox-guest-additions-1.6.4.initd,
+  +files/virtualbox-guest-additions.initd,
+  -virtualbox-guest-additions-1.5.6.ebuild,
+  -virtualbox-guest-additions-1.6.4-r1.ebuild,
+  +virtualbox-guest-additions-1.6.4-r2.ebuild,
+  +virtualbox-guest-additions-1.6.6.ebuild:
+  Port from dev overlay
+
+  03 Sep 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  -virtualbox-guest-additions-1.5.6.ebuild,
+  -files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
+  -files/virtualbox-guest-additions-1.5.6.initd,
+  virtualbox-guest-additions-1.6.4-r2.ebuild,
+  -files/virtualbox-guest-additions-1.6.4.initd,
+  +virtualbox-guest-additions-1.6.6.ebuild,
+  +files/virtualbox-guest-additions.initd:
+  Version bump; drop old 1.5.x version; fix SRC_URI; add dev-util/kbuild and
+  dev-lang/yasm to DEPEND and force to build without shipped binaries (kBuild,
+  yasm), wrt bug #232775;
+
+*virtualbox-guest-additions-1.6.4-r1 (27 Aug 2008)
+
+  27 Aug 2008; Markus Ullmann <jokey@gentoo.org>
+  files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
+  virtualbox-guest-additions-1.5.6.ebuild,
+  -virtualbox-guest-additions-1.6.4.ebuild,
+  +virtualbox-guest-additions-1.6.4-r1.ebuild:
+  Fix up script naming and correct dependencies
+
+*virtualbox-guest-additions-1.6.4 (10 Aug 2008)
+
+  10 Aug 2008; Markus Ullmann <jokey@gentoo.org>
+  +files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
+  +files/virtualbox-guest-additions-1.5.6.initd,
+  +files/virtualbox-guest-additions-1.6.4-fix-missing-makefiles.patch,
+  +files/virtualbox-guest-additions-1.6.4.initd, +metadata.xml,
+  +virtualbox-guest-additions-1.5.6.ebuild,
+  +virtualbox-guest-additions-1.6.4.ebuild:
+  Add version bump wrt bug #233683
+
+*virtualbox-guest-additions-1.5.6 (19 Mar 2008)
+
+  19 Mar 2008; Markus Ullmann <jokey@gentoo.org>
+  +files/virtualbox-guest-additions-1.5.6-remove-alsa.patch,
+  +files/virtualbox-guest-additions-1.5.6.initd, +metadata.xml,
+  +virtualbox-guest-additions-1.5.6.ebuild:
+  Initial import for bug 204511, thanks to all involved
+
+  16 Mar 2008; Davide Cendron (scen) <scen@gentoo.org>
+  files/virtualbox-guest-additions-1.5.4.initd,
+  files/virtualbox-guest-additions-1.5.6.initd:
+  Initscript must start before xdm
+
+  07 Mar 2008; Davide Cendron (scen) <scen@gentoo.org>
+  virtualbox-guest-additions-1.5.4.ebuild,
+  virtualbox-guest-additions-1.5.6.ebuild:
+  Fixed installation of mount.vboxvfs
+
+  26 Feb 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  +files/virtualbox-guest-additions-1.5.6.initd:
+  add initd script
+
+  26 Feb 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-additions-1.5.6.ebuild:
+  fix wrong MY_P
+
+  21 Feb 2008; Alessio Cassibba <swapon@gmail.com>
+  +virtualbox-guest-additions-1.5.6.ebuild,
+  +files/virtualbox-guest-additions-1.5.6-remove-alsa.patch:
+  version bump
+
+  21 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-additions-1.5.4.ebuild:
+  add a warning in pkg_postinst about the X Window System input and video drivers
+
+  21 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-additions-1.5.4.ebuild:
+  fix mount.vboxvfs installation; add xf86-{input,video}-virtualbox in RDEPEND
+
+  20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-additions-1.5.4.ebuild:
+  drop alsa use flag (additions don't need it at all); fix minor cosmetics
+
+  20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-additions-1.5.4.ebuild:
+  fix the creation of the vboxadd-xclient xinit.d script
+
+  20 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-additions-1.5.4.ebuild,
+  files/virtualbox-guest-additions-1.5.4.initd:
+  add X and alsa use flags; fix permissions; add the shared clipboard user
+  service init script; fix the initd script
+
+  19 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  files/virtualbox-guest-additions-1.5.4.initd:
+  fix modules in the initd script; minor cosmetic fixes
+
+  19 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> ChangeLog:
+  rename virtualbox-guest-tools to virtualbox-guest-additions
+
+  18 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-tools-1.5.4.ebuild:
+  add app-emulation/emul-linux-x86-xlibs in RDEPEND, 32 bit libXt is needed
+  for amd64 in order to build additions bug #204674, in addition this ebuild
+  should be masked for amd64-no-multilib
+
+  18 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+  virtualbox-guest-tools-1.5.4.ebuild,
+  -virtualbox-guest-tools-1.5.4-remove-alsa.patch:
+  fix src_install for amd64
+

app-emulation/virtualbox-guest-additions/Manifest

+AUX vboxclient.desktop 145 RMD160 2a337f588cd85da4edb74c2e2333d1be1018ca9d SHA1 8e634ef77d287cdbc116f14fa6e147d83559f263 SHA256 0e310fbb8defee6842f5fc9d2cf124a4ca7a0d1121074cf1aa2e1bea5900f905
+AUX vboxguest-4.1.0-log-use-c99.patch 389 RMD160 b273abbd4cc726669db175510495e37c48aaddff SHA1 f5535e13705826ed8df387f742210757fa858549 SHA256 9a7d87f9a00586251b9ba24e598946f5ce2908dbe5a4996246bc81c2f739ec50
+AUX vboxguest-log-use-c99.patch 562 RMD160 7973598545c9f801120ff87691fb6d068466942a SHA1 7a6e096cf1c1bfb5a878f31171948efebc41e0a9 SHA256 76e830ce0aae1b9afe84516907e5668c6012aea25377bda4c2de1967857b1c82
+AUX virtualbox-guest-additions-3-localconfig 937 RMD160 018d9cab7ddc9dc4cb300d2a518ce0ef827a45e8 SHA1 8680e37b364c99bac1375a1b8b7034ade87b70ee SHA256 477e3d4556a2b12c3c6125c4fecc63092b1f7879756941e53832d04a7c1eb682
+AUX virtualbox-guest-additions-4.1.4-r1-gcc_4_7.patch 801 RMD160 29e259c0ffd2ad672c993f997a33e7b40171fbdd SHA1 76748092c830df53f701fe9ebd89f6ca615d06d3 SHA256 7c1a60fd98724734707483e7ea88ae61a78ccb8e506242d24e68408347d8236b
+AUX virtualbox-guest-additions-7.initd 980 RMD160 326e8a115b6ab8c72dad391f65980bc3207b2274 SHA1 31f343280ef2da8e269e25936d99b92d487a3f56 SHA256 af61d1fe7c4e7c7d49e235406f9b69661eb229a96f3156443872884860becd69
+AUX xorg.conf.vbox 407 RMD160 53dcfdd2b0ff8930d23f30b7f5cf4d525806eef6 SHA1 73024a87ead01a21abdb05c94144af9eec0e3448 SHA256 34bb64aa6702811acf82304c35ff92b029067115563d3d6c78e65a846f2dd686
+DIST VirtualBox-4.0.12.tar.bz2 69566771 RMD160 f25d361c19d25a883918b0e8f2ae9bc1c2dd83e8 SHA1 9e49c6a5a7b7b224a970655643cce52aac43eb0c SHA256 0175c4118af1f9633f33a055a0b0cc0b5a2d95a63b44269af2139eb2fd07e5a9
+DIST VirtualBox-4.1.2.tar.bz2 72730966 RMD160 0004a00c968ee835083416022240e212903f394d SHA1 52e35e0400fb12a5277a6e126478bb8f53c3e46d SHA256 b030faa24d6bad805cc1105876fb04befc0a8acd154c8e7dc1b32f323bc576bc
+DIST VirtualBox-4.1.4.tar.bz2 73837275 RMD160 475a68dc6beebdb588688743b3652bbb9ab3f507 SHA1 6ec0dd31844da91c9773611a6fb553eef575e899 SHA256 aa368de95f9dd2020394f9e8f145908c236c0899d24bb27436ed2f670725cefb
+EBUILD virtualbox-guest-additions-4.0.12.ebuild 5571 RMD160 a7c9a197759ebfd5e5c622205753ce222f046cde SHA1 2e95620df1403bab81d84ddeed643151868a97c7 SHA256 b8c4aeada887fb67047f73d3b687683312f6ba86b6f04b3e7e0ba0a4367a9ce1
+EBUILD virtualbox-guest-additions-4.1.2.ebuild 5583 RMD160 f651e0b9f54b63bde7a6820dd0df01bfac70a6a7 SHA1 86e67f24b02b25160a8c0b0d3ae255521f9486f5 SHA256 a2ee3d792e1eb2b0ecae5e4b111e7edc967014144b29ddc06210937db35f720c
+EBUILD virtualbox-guest-additions-4.1.4-r1.ebuild 5647 RMD160 286934968718579ec37735539890cdc25a846ecb SHA1 22bb06de6faffb3e00210700845e7ed2142ee923 SHA256 dbfd406ea62fc0b95852b64d40f63c636322898505114b97fbc5dd56f32b6c7e
+MISC ChangeLog 23185 RMD160 c3ff9a7e6dee5881beca2cbdb7ae864643b940b5 SHA1 a6e7d18788eb33e4757e7a37a71f659dbe677f18 SHA256 653e5bd4531580594855dcbb744fc580edcf34255fa37cce8afe949f9171f434
+MISC metadata.xml 436 RMD160 2b23829451cc725c52c3efaf393d4e4bfc78ce82 SHA1 58b305b79a44d010b66a6310a7d22e3741b26383 SHA256 28f6b6d6d45da1824764ab2cf255e7d209c9d3d72cf668cfe799a95d2433f5e7

app-emulation/virtualbox-guest-additions/files/vboxclient.desktop

+[Desktop Entry]
+Type=Application
+Name=VirtualBox Client Service
+Exec=VBoxClient-all
+Terminal=false
+X-KDE-StartupNotify=false
+StartupNotify=false

app-emulation/virtualbox-guest-additions/files/vboxguest-4.1.0-log-use-c99.patch

+# https://bugs.gentoo.org/298988
+
+--- vboxguest/Makefile
++++ vboxguest/Makefile
+@@ -104,7 +104,7 @@
+ 
+ MOD_DEFS = -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST \
+             -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST \
+-            -DVBOX_WITH_HGCM
++            -DVBOX_WITH_HGCM -DLOG_USE_C99
+ ifeq ($(BUILD_TARGET_ARCH),amd64)
+  MOD_DEFS  += -DRT_ARCH_AMD64
+ else

app-emulation/virtualbox-guest-additions/files/vboxguest-log-use-c99.patch

+# https://bugs.gentoo.org/298988
+
+--- vboxguest/Makefile
++++ vboxguest/Makefile
+@@ -220,9 +220,9 @@ KFLAGS   := -D__KERNEL__ -DMODULE \
+ 	-DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 \
+ 	-DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM
+ ifeq ($(BUILD_TARGET_ARCH),amd64)
+- KFLAGS  += -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS
++ KFLAGS  += -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DLOG_USE_C99
+ else
+- KFLAGS  += -DRT_ARCH_X86
++ KFLAGS  += -DRT_ARCH_X86 -DLOG_USE_C99
+ endif
+ ifeq ($(BUILD_TYPE),debug)
+ KFLAGS   += -DDEBUG

app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-3-localconfig

+# -*- Makefile -*-
+#
+# Overwrite some default kBuild settings
+#
+
+#
+# Copyright (C) 2006-2008 Sun Microsystems, Inc.
+#
+# This file is part of VirtualBox Open Source Edition (OSE), as
+# available from http://www.virtualbox.org. This file is free software;
+# you can redistribute it and/or modify it under the terms of the GNU
+# General Public License as published by the Free Software Foundation,
+# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
+# distribution. VirtualBox OSE is distributed in the hope that it will
+# be useful, but WITHOUT ANY WARRANTY of any kind.
+#
+
+# don't build testcases to save time, they are not needed for the package
+VBOX_WITH_TESTCASES     :=
+VBOX_WITH_TESTSUITE     :=
+
+KBUILD_MSG_STYLE        := brief
+
+## paths, origin, hardening
+VBOX_WITH_HARDENING        := 2
+VBOX_WITH_ORIGIN           :=
+VBOX_ONLY_ADDITIONS        := 1
+
+## don't build with -Werror
+VBOX_WITH_WARNINGS_AS_ERRORS :=

app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-4.1.4-r1-gcc_4_7.patch

+diff --git a/VirtualBox-4.1.4_OSE/configure b/VirtualBox-4.1.4_OSE/configure
+index 15a3167..f92fda3 100755
+--- a/VirtualBox-4.1.4_OSE/configure
++++ b/VirtualBox-4.1.4_OSE/configure
+@@ -413,9 +413,9 @@ check_gcc()
+       elif [ $cc_maj -lt 3 \
+              -o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
+              -o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
+-             -o \( $cc_maj -eq 4 -a $cc_min -gt 6 \) \
++             -o \( $cc_maj -eq 4 -a $cc_min -gt 7 \) \
+              -o $cc_maj -gt 4 ]; then
+-        log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<7"
++        log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
+         fail really
+       else
+         log_success "found version $cc_ver"

app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-7.initd

+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+depend() {
+        need localmount
+	before xdm
+}
+
+start() {
+	ebegin "Starting VirtualBox guest additions"
+
+	einfo " Loading kernel modules"
+	/sbin/modprobe vboxguest &> /dev/null
+	/sbin/modprobe vboxsf &> /dev/null
+
+        start-stop-daemon --start --make-pidfile \
+		--exec /usr/sbin/vboxguest-service --pidfile /var/run/vboxguest-service.pid \
+		--name vboxguest-service \
+		--background -- \
+		--foreground
+
+        eend $? "Failed to start vboxguest-service"
+}
+
+stop() {
+	local retval=1
+        ebegin "Stopping VirtualBox guest additions"
+
+	start-stop-daemon --stop --quiet \
+		--pidfile /var/run/vboxguest-service.pid --name vboxguest-service \
+			&& retval=0
+
+	einfo "Removing kernel modules"
+	/sbin/modprobe -r vboxsf &> /dev/null
+	/sbin/modprobe -r vboxguest &> /dev/null
+
+        eend ${retval} "Failed to stop vboxguest-service"
+}

app-emulation/virtualbox-guest-additions/files/xorg.conf.vbox

+Section "Device"
+	Identifier  "Device-vboxvideo"
+	Driver      "vboxvideo"
+EndSection
+Section "Screen"
+	Identifier  "Screen-vboxvideo"
+	Device      "Device-vboxvideo"
+EndSection
+
+Section "InputDevice"
+	Identifier  "InputDevice-vboxmouse"
+	Driver      "vboxmouse"
+EndSection
+
+Section "ServerLayout"
+	Identifier  "Default Layout"
+	Screen      "Screen-vboxvideo"
+	InputDevice "InputDevice-vboxmouse"
+EndSection

app-emulation/virtualbox-guest-additions/metadata.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer>
+    <email>patrick@gentoo.org</email>
+    <name>Patrick Lauer</name>
+  </maintainer>
+<maintainer>
+  <email>swapon@gmail.com</email>
+  <name>Alessio Cassibba</name>
+</maintainer>
+  <maintainer>
+    <email>polynomial-c@gentoo.org</email>
+    <name>Lars Wendler</name>
+  </maintainer>
+</pkgmetadata>

app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.0.12.ebuild

+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.0.12.ebuild,v 1.5 2011/10/04 19:30:04 polynomial-c Exp $
+
+EAPI=2
+
+inherit eutils linux-mod
+
+MY_P=VirtualBox-${PV}
+DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="X"
+
+RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
+			 ~x11-drivers/xf86-input-virtualbox-${PV}
+			 x11-apps/xrandr
+			 x11-apps/xrefresh
+			 x11-libs/libXmu
+			 x11-libs/libX11
+			 x11-libs/libXt
+			 x11-libs/libXext
+			 x11-libs/libXau
+			 x11-libs/libXdmcp
+			 x11-libs/libSM
+			 x11-libs/libICE )"
+DEPEND="${RDEPEND}
+		=dev-util/kbuild-0.1.5*
+		>=dev-lang/yasm-0.6.2
+		sys-devel/bin86
+		sys-devel/dev86
+		sys-libs/pam
+		sys-power/iasl
+		X? ( x11-proto/renderproto )
+		!X? ( x11-proto/xproto )"
+
+BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
+			vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
+
+S="${WORKDIR}/${MY_P}_OSE"
+
+pkg_setup() {
+		linux-mod_pkg_setup
+		BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+		enewgroup vboxguest
+		enewuser vboxguest -1 /bin/sh /var/run/vboxguest vboxguest
+}
+
+src_unpack() {
+	unpack ${A}
+
+	# Create and unpack a tarball with the sources of the Linux guest
+	# kernel modules, to include all the needed files
+	"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
+	unpack ./vbox-kmod.tar.gz
+
+	# Remove shipped binaries (kBuild,yasm), see bug #232775
+	cd "${S}"
+	rm -rf kBuild/bin tools
+}
+
+src_prepare() {
+	# PaX fixes (see bug #298988)
+	pushd "${WORKDIR}" &>/dev/null || die
+	epatch "${FILESDIR}"/vboxguest-log-use-c99.patch
+	popd &>/dev/null || die
+
+	# Disable things unused or splitted into separate ebuilds
+	cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
+
+	# stupid new header references...
+	for vboxheader in {product,revision}-generated.h ; do
+		for mdir in vbox{guest,sf} ; do
+			ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
+				"${WORKDIR}/${mdir}/${vboxheader}"
+		done
+	done
+}
+
+src_configure() {
+		# build the user-space tools, warnings are harmless
+		./configure --nofatal \
+		--disable-xpcom \
+		--disable-sdl-ttf \
+		--disable-pulse \
+		--disable-alsa \
+		--build-headless || die "configure failed"
+}
+
+src_compile() {
+		source ./env.sh
+
+		for each in /src/VBox/{Runtime,Additions/common} \
+		/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
+				cd "${S}"${each}
+				MAKE="kmk" emake TOOL_YASM_AS=yasm \
+				KBUILD_PATH="${S}/kBuild" \
+				|| die "kmk VBoxControl failed"
+		done
+
+		if use X; then
+				cd "${S}"/src/VBox/Additions/x11/VBoxClient
+				MAKE="kmk" emake TOOL_YASM_AS=yasm \
+				KBUILD_PATH="${S}/kBuild" \
+				|| die "kmk VBoxClient failed"
+		fi
+
+		# Now creating the kernel modules. We must do this _after_
+		# we compiled the user-space tools as we need two of the
+		# automatically generated header files. (>=3.2.0)
+		linux-mod_src_compile
+}
+
+src_install() {
+		linux-mod_src_install
+
+		cd "${S}"/out/linux.${ARCH}/release/bin/additions
+
+		insinto /sbin
+		newins mount.vboxsf mount.vboxsf
+		fperms 4755 /sbin/mount.vboxsf
+
+		newinitd "${FILESDIR}"/${PN}-7.initd ${PN}
+
+		insinto /usr/sbin/
+		newins VBoxService vboxguest-service
+		fperms 0755 /usr/sbin/vboxguest-service
+
+		insinto /usr/bin
+		doins VBoxControl
+		fperms 0755 /usr/bin/VBoxControl
+
+		# VBoxClient user service and xrandr wrapper
+		if use X; then
+			doins VBoxClient
+			fperms 0755 /usr/bin/VBoxClient
+
+			cd "${S}"/src/VBox/Additions/x11/Installer
+			newins 98vboxadd-xclient VBoxClient-all
+			fperms 0755 /usr/bin/VBoxClient-all
+		fi
+
+		# udev rule for vboxdrv
+		dodir /lib/udev/rules.d
+		echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+		>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
+			|| die
+		echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+		>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
+			|| die
+
+		# VBoxClient autostart file
+		insinto /etc/xdg/autostart
+		doins "${FILESDIR}"/vboxclient.desktop
+
+		# sample xorg.conf
+		insinto /usr/share/doc/${PF}
+		doins "${FILESDIR}"/xorg.conf.vbox
+}
+
+pkg_postinst() {
+		linux-mod_pkg_postinst
+		if ! use X ; then
+			elog "use flag X is off, enable it to install the"
+			elog "X Window System input and video drivers"
+		fi
+		elog ""
+		elog "Please add users to the \"vboxguest\" group so they can"
+		elog "benefit from seamless mode, auto-resize and clipboard."
+		elog ""
+		elog "Please add:"
+		elog "/etc/init.d/${PN}"
+		elog "to the default runlevel in order to start"
+		elog "needed services."
+		elog "To use the VirtualBox X drivers, use the following"
+		elog "file as your /etc/X11/xorg.conf:"
+		elog "    /usr/share/doc/${PF}/xorg.conf.xorg"
+		elog ""
+		elog "Also make sure you use the Mesa library for OpenGL:"
+		elog "    eselect opengl set xorg-x11"
+		elog ""
+		elog "An autostart .desktop file has been installed to start"
+		elog "VBoxClient in desktop sessions."
+		elog ""
+		elog "You can mount shared folders with:"
+		elog "    mount -t vboxsf <shared_folder_name> <mount_point>"
+		elog ""
+		elog "Warning:"
+		elog "this ebuild is only needed if you are running gentoo"
+		elog "inside a VirtualBox Virtual Machine, you don't need"
+		elog "it to run VirtualBox itself."
+		elog ""
+}

app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.2.ebuild

+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.2.ebuild,v 1.2 2011/10/04 19:30:04 polynomial-c Exp $
+
+EAPI=2
+
+inherit eutils linux-mod
+
+MY_P=VirtualBox-${PV}
+DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
+			 ~x11-drivers/xf86-input-virtualbox-${PV}
+			 x11-apps/xrandr
+			 x11-apps/xrefresh
+			 x11-libs/libXmu
+			 x11-libs/libX11
+			 x11-libs/libXt
+			 x11-libs/libXext
+			 x11-libs/libXau
+			 x11-libs/libXdmcp
+			 x11-libs/libSM
+			 x11-libs/libICE )"
+DEPEND="${RDEPEND}
+		>=dev-util/kbuild-0.1.999
+		>=dev-lang/yasm-0.6.2
+		sys-devel/bin86
+		sys-devel/dev86
+		sys-libs/pam
+		sys-power/iasl
+		X? ( x11-proto/renderproto )
+		!X? ( x11-proto/xproto )"
+
+BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
+			vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
+
+S="${WORKDIR}/${MY_P}_OSE"
+
+pkg_setup() {
+		linux-mod_pkg_setup
+		BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+		enewgroup vboxguest
+		enewuser vboxguest -1 /bin/sh /var/run/vboxguest vboxguest
+}
+
+src_unpack() {
+	unpack ${A}
+
+	# Create and unpack a tarball with the sources of the Linux guest
+	# kernel modules, to include all the needed files
+	"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
+	unpack ./vbox-kmod.tar.gz
+
+	# Remove shipped binaries (kBuild,yasm), see bug #232775
+	cd "${S}"
+	rm -rf kBuild/bin tools
+}
+
+src_prepare() {
+	# PaX fixes (see bug #298988)
+	pushd "${WORKDIR}" &>/dev/null || die
+	epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
+	popd &>/dev/null || die
+
+	# Disable things unused or splitted into separate ebuilds
+	cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
+
+	# stupid new header references...
+	for vboxheader in {product,revision}-generated.h ; do
+		for mdir in vbox{guest,sf} ; do
+			ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
+				"${WORKDIR}/${mdir}/${vboxheader}"
+		done
+	done
+}
+
+src_configure() {
+		# build the user-space tools, warnings are harmless
+		./configure --nofatal \
+		--disable-xpcom \
+		--disable-sdl-ttf \
+		--disable-pulse \
+		--disable-alsa \
+		--build-headless || die "configure failed"
+}
+
+source_compile() {
+		source ./env.sh
+
+		for each in /src/VBox/{Runtime,Additions/common} \
+		/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
+				cd "${S}"${each}
+				MAKE="kmk" emake TOOL_YASM_AS=yasm \
+				KBUILD_PATH="${S}/kBuild" \
+				|| die "kmk VBoxControl failed"
+		done
+
+		if use X; then
+				cd "${S}"/src/VBox/Additions/x11/VBoxClient
+				MAKE="kmk" emake TOOL_YASM_AS=yasm \
+				KBUILD_PATH="${S}/kBuild" \
+				|| die "kmk VBoxClient failed"
+		fi
+
+		# Now creating the kernel modules. We must do this _after_
+		# we compiled the user-space tools as we need two of the
+		# automatically generated header files. (>=3.2.0)
+		linux-mod_src_compile
+}
+
+src_install() {
+		linux-mod_src_install
+
+		cd "${S}"/out/linux.${ARCH}/release/bin/additions
+
+		insinto /sbin
+		newins mount.vboxsf mount.vboxsf
+		fperms 4755 /sbin/mount.vboxsf
+
+		newinitd "${FILESDIR}"/${PN}-7.initd ${PN}
+
+		insinto /usr/sbin/
+		newins VBoxService vboxguest-service
+		fperms 0755 /usr/sbin/vboxguest-service
+
+		insinto /usr/bin
+		doins VBoxControl
+		fperms 0755 /usr/bin/VBoxControl
+
+		# VBoxClient user service and xrandr wrapper
+		if use X; then
+			doins VBoxClient
+			fperms 0755 /usr/bin/VBoxClient
+
+			cd "${S}"/src/VBox/Additions/x11/Installer
+			newins 98vboxadd-xclient VBoxClient-all
+			fperms 0755 /usr/bin/VBoxClient-all
+		fi
+
+		# udev rule for vboxdrv
+		dodir /lib/udev/rules.d
+		echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+		>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
+			|| die
+		echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+		>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
+			|| die
+
+		# VBoxClient autostart file
+		insinto /etc/xdg/autostart
+		doins "${FILESDIR}"/vboxclient.desktop
+
+		# sample xorg.conf
+		insinto /usr/share/doc/${PF}
+		doins "${FILESDIR}"/xorg.conf.vbox
+}
+
+pkg_postinst() {
+		linux-mod_pkg_postinst
+		if ! use X ; then
+			elog "use flag X is off, enable it to install the"
+			elog "X Window System input and video drivers"
+		fi
+		elog ""
+		elog "Please add users to the \"vboxguest\" group so they can"
+		elog "benefit from seamless mode, auto-resize and clipboard."
+		elog ""
+		elog "Please add:"
+		elog "/etc/init.d/${PN}"
+		elog "to the default runlevel in order to start"
+		elog "needed services."
+		elog "To use the VirtualBox X drivers, use the following"
+		elog "file as your /etc/X11/xorg.conf:"
+		elog "    /usr/share/doc/${PF}/xorg.conf.xorg"
+		elog ""
+		elog "Also make sure you use the Mesa library for OpenGL:"
+		elog "    eselect opengl set xorg-x11"
+		elog ""
+		elog "An autostart .desktop file has been installed to start"
+		elog "VBoxClient in desktop sessions."
+		elog ""
+		elog "You can mount shared folders with:"
+		elog "    mount -t vboxsf <shared_folder_name> <mount_point>"
+		elog ""
+		elog "Warning:"
+		elog "this ebuild is only needed if you are running gentoo"
+		elog "inside a VirtualBox Virtual Machine, you don't need"
+		elog "it to run VirtualBox itself."
+		elog ""
+}

app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.4-r1.ebuild

+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.1.4-r1.ebuild,v 1.1 2011/10/12 21:32:19 polynomial-c Exp $
+
+EAPI=2
+
+inherit eutils linux-mod
+
+MY_P=VirtualBox-${PV}
+DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
+			 x11-apps/xrandr
+			 x11-apps/xrefresh
+			 x11-libs/libXmu
+			 x11-libs/libX11
+			 x11-libs/libXt
+			 x11-libs/libXext
+			 x11-libs/libXau
+			 x11-libs/libXdmcp
+			 x11-libs/libSM
+			 x11-libs/libICE )
+	!!x11-drivers/xf86-input-virtualbox"
+DEPEND="${RDEPEND}
+		>=dev-util/kbuild-0.1.999
+		>=dev-lang/yasm-0.6.2
+		sys-devel/bin86
+		sys-devel/dev86
+		sys-libs/pam
+		sys-power/iasl
+		X? ( x11-proto/renderproto )
+		!X? ( x11-proto/xproto )"
+
+BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
+			vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
+
+S="${WORKDIR}/${MY_P}_OSE"
+
+pkg_setup() {
+		linux-mod_pkg_setup
+		BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+		enewgroup vboxguest
+		enewuser vboxguest -1 /bin/sh /var/run/vboxguest vboxguest
+}
+
+src_unpack() {
+	unpack ${A}
+
+	# Create and unpack a tarball with the sources of the Linux guest
+	# kernel modules, to include all the needed files
+	"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
+	unpack ./vbox-kmod.tar.gz
+
+	# Remove shipped binaries (kBuild,yasm), see bug #232775
+	cd "${S}"
+	rm -rf kBuild/bin tools
+}
+
+src_prepare() {
+	# PaX fixes (see bug #298988)
+	pushd "${WORKDIR}" &>/dev/null || die
+	epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
+	epatch "${FILESDIR}"/virtualbox-guest-additions-4.1.4-r1-gcc_4_7.patch
+	popd &>/dev/null || die
+
+	# Disable things unused or splitted into separate ebuilds
+	cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
+
+	# stupid new header references...
+	for vboxheader in {product,revision}-generated.h ; do
+		for mdir in vbox{guest,sf} ; do
+			ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
+				"${WORKDIR}/${mdir}/${vboxheader}"
+		done
+	done
+}
+
+src_configure() {
+		# build the user-space tools, warnings are harmless
+		./configure --nofatal \
+		--disable-xpcom \
+		--disable-sdl-ttf \
+		--disable-pulse \
+		--disable-alsa \
+		--build-headless || die "configure failed"
+}
+
+src_compile() {
+		source ./env.sh
+
+		for each in /src/VBox/{Runtime,Additions/common} \
+		/src/VBox/Additions/linux/{sharedfolders,daemon} ; do
+				cd "${S}"${each}
+				MAKE="kmk" emake TOOL_YASM_AS=yasm \
+				KBUILD_PATH="${S}/kBuild" \
+				|| die "kmk VBoxControl failed"
+		done
+
+		if use X; then
+				cd "${S}"/src/VBox/Additions/x11/VBoxClient
+				MAKE="kmk" emake TOOL_YASM_AS=yasm \
+				KBUILD_PATH="${S}/kBuild" \
+				|| die "kmk VBoxClient failed"
+		fi
+
+		# Now creating the kernel modules. We must do this _after_
+		# we compiled the user-space tools as we need two of the
+		# automatically generated header files. (>=3.2.0)
+		linux-mod_src_compile
+}
+
+src_install() {
+		linux-mod_src_install
+
+		cd "${S}"/out/linux.${ARCH}/release/bin/additions
+
+		insinto /sbin
+		newins mount.vboxsf mount.vboxsf
+		fperms 4755 /sbin/mount.vboxsf
+
+		newinitd "${FILESDIR}"/${PN}-7.initd ${PN}
+
+		insinto /usr/sbin/
+		newins VBoxService vboxguest-service
+		fperms 0755 /usr/sbin/vboxguest-service
+
+		insinto /usr/bin
+		doins VBoxControl
+		fperms 0755 /usr/bin/VBoxControl
+
+		# VBoxClient user service and xrandr wrapper
+		if use X; then
+			doins VBoxClient
+			fperms 0755 /usr/bin/VBoxClient
+
+			cd "${S}"/src/VBox/Additions/x11/Installer
+			newins 98vboxadd-xclient VBoxClient-all
+			fperms 0755 /usr/bin/VBoxClient-all
+		fi
+
+		# udev rule for vboxdrv
+		dodir /lib/udev/rules.d
+		echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+		>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
+			|| die
+		echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+		>> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
+			|| die
+
+		# VBoxClient autostart file
+		insinto /etc/xdg/autostart
+		doins "${FILESDIR}"/vboxclient.desktop
+
+		# sample xorg.conf
+		insinto /usr/share/doc/${PF}
+		doins "${FILESDIR}"/xorg.conf.vbox
+}
+
+pkg_postinst() {
+		linux-mod_pkg_postinst
+		if ! use X ; then
+			elog "use flag X is off, enable it to install the"
+			elog "X Window System input and video drivers"
+		fi
+		elog ""
+		elog "Please add users to the \"vboxguest\" group so they can"
+		elog "benefit from seamless mode, auto-resize and clipboard."
+		elog ""
+		elog "Please add:"
+		elog "/etc/init.d/${PN}"
+		elog "to the default runlevel in order to start"
+		elog "needed services."
+		elog "To use the VirtualBox X drivers, use the following"
+		elog "file as your /etc/X11/xorg.conf:"
+		elog "    /usr/share/doc/${PF}/xorg.conf.xorg"
+		elog ""
+		elog "Also make sure you use the Mesa library for OpenGL:"
+		elog "    eselect opengl set xorg-x11"
+		elog ""
+		elog "An autostart .desktop file has been installed to start"
+		elog "VBoxClient in desktop sessions."
+		elog ""
+		elog "You can mount shared folders with:"
+		elog "    mount -t vboxsf <shared_folder_name> <mount_point>"
+		elog ""
+		elog "Warning:"
+		elog "this ebuild is only needed if you are running gentoo"
+		elog "inside a VirtualBox Virtual Machine, you don't need"
+		elog "it to run VirtualBox itself."
+		elog ""
+}