summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-02-26 10:17:44 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-02-26 10:17:44 +0000
commitf3fa50147e09679f56847181d083e0ac2c59b5e7 (patch)
tree8f07778f227c07c1a3e39f04a727ee813c3deef8 /app-emulation
parentVersion bump (diff)
downloadhistorical-f3fa50147e09679f56847181d083e0ac2c59b5e7.tar.gz
historical-f3fa50147e09679f56847181d083e0ac2c59b5e7.tar.bz2
historical-f3fa50147e09679f56847181d083e0ac2c59b5e7.zip
Version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-guest-additions/ChangeLog8
-rw-r--r--app-emulation/virtualbox-guest-additions/Manifest30
-rw-r--r--app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.8.ebuild213
3 files changed, 236 insertions, 15 deletions
diff --git a/app-emulation/virtualbox-guest-additions/ChangeLog b/app-emulation/virtualbox-guest-additions/ChangeLog
index 57ee4c3ad881..7a1b6cb9921c 100644
--- a/app-emulation/virtualbox-guest-additions/ChangeLog
+++ b/app-emulation/virtualbox-guest-additions/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/virtualbox-guest-additions
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.142 2014/01/17 07:08:15 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.143 2014/02/26 10:17:43 polynomial-c Exp $
+
+*virtualbox-guest-additions-4.3.8 (26 Feb 2014)
+
+ 26 Feb 2014; Lars Wendler <polynomial-c@gentoo.org>
+ +virtualbox-guest-additions-4.3.8.ebuild:
+ Version bump.
17 Jan 2014; Lars Wendler <polynomial-c@gentoo.org>
-virtualbox-guest-additions-4.2.18.ebuild,
diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
index 1d82bafdf0c7..9a3693b73b32 100644
--- a/app-emulation/virtualbox-guest-additions/Manifest
+++ b/app-emulation/virtualbox-guest-additions/Manifest
@@ -9,24 +9,26 @@ AUX virtualbox-guest-additions.service 411 SHA256 0b50116819c60f27ab0f9b171e0043
AUX xorg.conf.vbox 274 SHA256 69475950240533abd2824a30ff08cc7d3ea246d9601ff7163115f8fc100612fb SHA512 ac2b14970dc6667ceec2dbdae52bc92cbad4aff020898ede156454e8a8a703354f15c7e19cfbd2bdd15e251493fd05cacfe814cabee0f9b4cf155e44860ed4c9 WHIRLPOOL 6bd0dba97e442c831451d58f85e5ce3bdf37fc90254db54cffbdbafe1521464e0e4aed89dd610d432c8b26dc48b98f120fd81594bded2dbb10c5eb7d7b26f938
DIST VirtualBox-4.2.22.tar.bz2 77039185 SHA256 4a017ec5fa0e0cfa830ae6c2b9d680c9b108e5fb96348e1397a7d0ea051f8bc1 SHA512 136b3f3ea9a79493aecd86883c619d10934d80c391ce88985501736fc95d7066e0e31d02e7867974f9077eae5a431519d0c1001fc781d240f0578a1c63c29ee6 WHIRLPOOL e6ea0768587ee152463c3388476199333cf39f56f7bda43094ad98ea2179b8f0e81819004c6433133a68d7ede9606d2aaa4ee2aa96ad05bda06a7706f4e079cc
DIST VirtualBox-4.3.6.tar.bz2 89609199 SHA256 c547e1e32e0b06fba9ee4ca7842f8ddee8e94c64aab17c2b0d0793f0caccbb27 SHA512 8cb540a825afa5f6069ad2bb155e825af4a222f6d20c5e653bf6bbbb07dfbc4d122640da5f249b72f1aa34f8afd92ef41c525911db30090a2d108b9609da4a38 WHIRLPOOL 12fd27c9499d9fac0283c01a276e02ac3c10c72c66e0ffea8db49beefa66b44f6b4c8fb727da5d74cc0ed2feb00531a67b65f52a5f55ceef2a8db64868cfc89a
+DIST VirtualBox-4.3.8.tar.bz2 90224116 SHA256 ffabd8735bdc80753cec29d01b499769f41e083f37a3f58b3055f19d3b1b9641 SHA512 0bc00254733befee6ba864b9c88e0ddedb5949fff884313b72bbedeaefb572fd129a8d16b179612acef9b53fc3d2203ac775656d6c941d94a77bb944fdd66903 WHIRLPOOL cc689ea459ab7b84a69e31d09d188c96b5fa6e082b18959e475604c4e862d044c95d66d4c34a3293a8a0489f67197cb67ccdcdf352bcdd862b44f58423db5f19
EBUILD virtualbox-guest-additions-4.2.22.ebuild 5874 SHA256 95f551c6b1476f35d8c3a03b6695aa569330f944aa76a57c40eccd5bac032c87 SHA512 ec7c3b6c2c151bd2aae725aaa103af12a3cce116d7782dde56d8c8ecc4f9510d9220ead9384d30c4d17288e51d0d0a67e76aab0ee1cfb86bf54aed6c0976c409 WHIRLPOOL 01be0f5deba17b713d4e6f6b1bc452c62ce135fe1fec7222f89e384e3b54fc7a1616e1b1715d5868ef61ef2759dde6cd75ffe6b896bb5c64645eb08e1959476e
EBUILD virtualbox-guest-additions-4.3.6.ebuild 5887 SHA256 50f824f4b823c5986f9ef366be21f31aedba4b0479e3178b9fd8c1d392ced97c SHA512 54a84649e754ca6ff85a827df88911f1deeb1d91766d84aca56b47204d2aee88d11632e8fafefff514eebe0c90d283d7eb06bb44cf5a5b3ea3743ea438d90a86 WHIRLPOOL 12b82517f9116750fae0cc9f35af920677aee20666325f1bf7d5c85a99b74a665d803bb0453793a5a54982953bfe0e4b55a6f1035e3ad05917e143ce5e42c0f4
-MISC ChangeLog 35358 SHA256 3bb0021f58f3b7e97ca5c1a1481791c109c9947bd476b454ee594f370954f784 SHA512 b4a71a6445383988718e09e81b32d744c611753c6be98841c6c7db9d677587dd4709069f395aa361cefb8cafef1197cfff3d7de306348a56d169db49e53bd183 WHIRLPOOL c042fe1baa62b19aaa5101e8948507b9ce2b5a53b9d77d538559aeb123eb0697a85e026de8057a7ca3d6b8e3332be2e484a49499b6f00729288b98fe80d82aba
+EBUILD virtualbox-guest-additions-4.3.8.ebuild 5884 SHA256 996354919a9f609e5dd5737fcbb5bf0d2095088997521fde8fe67a107ef8e3d1 SHA512 1c19075213c4c81bbb4750312d49ef5619f461a8cae2d036dc835bbbdde50589b64a15d245ecf61c5688f2180eb3c8a90ca60789d4bfb2f062de1d3dd1023c29 WHIRLPOOL e5dfff6f39c5b89e9003b4c3d649a0cc427920ef2606a9b5087e92279d91c83203efa60ce4a02195fa226ffc41e9e017f763a4ba9b88dad8ca6642578e8f95b2
+MISC ChangeLog 35522 SHA256 02091f871eb7b99d5c66a255d0b5c17f625171f8baf0931ee544d9f2d9ae567a SHA512 0bad772dfcd857a580639476761eb10c0bfa4eb8c988a389744491c72c1b9a90cc4fa9f3a8b2369157cab41f5fed83b7673b2d6bd12ac01299032a5249b12c83 WHIRLPOOL b76ed4ac8502b90b72fed68f98b2d422cfee47757260a6e523b684dfd63a37e688586a6e8a0d8642ecbce8b28bf310f2a6171dd83158f4b37f986fbb857ef723
MISC metadata.xml 343 SHA256 b1babc5530c5f36a84bbfe48d2db7e24641b21aa0b5cf29cee1712f2f702958d SHA512 d0c45ebcc6897110251d5b8bc1d99d5689ff3ef6f61a4e2cf952c4d440a2a127da85be698373d83cdeb12739507695e548da6d203baf948dd109829025af679b WHIRLPOOL b5df0fb8d0a37140109faf8f9bddc4d3b4a7c26907d6d08dfe0f42632b1d583d071af359d73b6967ed0510642a0afbffbc7976ca313b9e9499d64f45a5fd50d6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJS2NbgAAoJEPiazRVxLXTF67oQAL3FWWs69a07e96vILbJt73x
-PX8YA7NWmTeMIyPXo//wVSF8Qr5vhqF/GMvBC/wsilImAc0VsaNmlW6adHU6dgKp
-kwbg18ZHiDFKIlGQaG9JvBJpCb8gsZa7k4xAVuPA4jTg9dzATwMhtdQJzRrdgDUE
-s3MeC3u+TRf5zJwy3QcxZpQ82JgmdqadYpUMzUNdIEZV7WXOQ0UjM6H4EIUMzXju
-t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AXkbnMHr9t7LPCSdim5KecwDHJTgOnmtjSKnx232CDLnDN1jY/ncAmc
+bcSLSmqVTXvK7zj2+8RxOz1jvegNvMaODWi3vay7cGbTQT3FWjVZomrbHEeqoDA0
+M84clc9l7GwxtK4vSumC
+=FLad
-----END PGP SIGNATURE-----
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.8.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.8.ebuild
new file mode 100644
index 000000000000..02d93f6aa383
--- /dev/null
+++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.8.ebuild
@@ -0,0 +1,213 @@
+# Copyright 1999-2014 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.3.8.ebuild,v 1.1 2014/02/26 10:17:43 polynomial-c Exp $
+
+EAPI=5
+
+inherit eutils linux-mod systemd user
+
+MY_PV="${PV/beta/BETA}"
+MY_PV="${MY_PV/rc/RC}"
+MY_P=VirtualBox-${MY_PV}
+DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://download.virtualbox.org/virtualbox/${MY_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-proto/glproto )
+ sys-apps/dbus
+ !!x11-drivers/xf86-input-virtualbox"
+DEPEND="${RDEPEND}
+ >=dev-util/kbuild-0.1.9998_pre20131130
+ >=dev-lang/yasm-0.6.2
+ sys-devel/bin86
+ 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}"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+ enewgroup vboxguest
+ enewuser vboxguest -1 /bin/sh /dev/null vboxguest
+ # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
+ enewgroup vboxsf
+}
+
+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 || die
+
+ # 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 ; do
+ cd "${S}"${each} || die
+ MAKE="kmk" \
+ emake TOOL_YASM_AS=yasm \
+ KBUILD_PATH="${S}/kBuild" \
+ KBUILD_VERBOSE=2
+ done
+
+ if use X; then
+ cd "${S}"/src/VBox/Additions/x11/VBoxClient || die
+ MAKE="kmk" \
+ emake TOOL_YASM_AS=yasm \
+ KBUILD_PATH="${S}/kBuild"
+ 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 || die
+
+ insinto /sbin
+ newins mount.vboxsf mount.vboxsf
+ fperms 4755 /sbin/mount.vboxsf
+
+ newinitd "${FILESDIR}"/${PN}-8.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
+
+ pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
+ || die
+ newins 98vboxadd-xclient VBoxClient-all
+ fperms 0755 /usr/bin/VBoxClient-all
+ popd &>/dev/null || die
+ fi
+
+ # udev rule for vboxdrv
+ local udev_rules_dir="/lib/udev/rules.d"
+ dodir ${udev_rules_dir}
+ echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+ >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
+ || die
+ echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+ >> "${D}/${udev_rules_dir}/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
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
+
+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 video driver."
+ fi
+ elog ""
+ elog "Please add users to the \"vboxguest\" group so they can"
+ elog "benefit from seamless mode, auto-resize and clipboard."
+ elog ""
+ elog "The vboxsf group has been added to make automount services work."
+ elog "These services are part of the shared folders support."
+ 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 driver, use the following"
+ elog "file as your /etc/X11/xorg.conf:"
+ elog " /usr/share/doc/${PF}/xorg.conf.vbox"
+ 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 ""
+}