diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2013-11-02 15:17:23 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2013-11-02 15:17:23 +0000 |
commit | caf782e40786c23d09f8f1be29b30be16a186151 (patch) | |
tree | 9b6ee1f8446f4c85d99f2d9b4955f50546c6589a /app-emulation/virtualbox-guest-additions | |
parent | Version bump (bug #490070) (diff) | |
download | historical-caf782e40786c23d09f8f1be29b30be16a186151.tar.gz historical-caf782e40786c23d09f8f1be29b30be16a186151.tar.bz2 historical-caf782e40786c23d09f8f1be29b30be16a186151.zip |
Version bump (bug #490070)
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'app-emulation/virtualbox-guest-additions')
3 files changed, 226 insertions, 6 deletions
diff --git a/app-emulation/virtualbox-guest-additions/ChangeLog b/app-emulation/virtualbox-guest-additions/ChangeLog index 0d2221c7b301..374fb856dac0 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.131 2013/10/20 22:35:54 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.132 2013/11/02 15:17:22 polynomial-c Exp $ + +*virtualbox-guest-additions-4.3.2 (02 Nov 2013) + + 02 Nov 2013; Lars Wendler <polynomial-c@gentoo.org> + +virtualbox-guest-additions-4.3.2.ebuild: + Version bump (bug #490070). 20 Oct 2013; Tony Vroon <chainsaw@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 65a6bac8119f..eacd210fbe54 100644 --- a/app-emulation/virtualbox-guest-additions/Manifest +++ b/app-emulation/virtualbox-guest-additions/Manifest @@ -11,15 +11,27 @@ AUX xorg.conf.vbox 274 SHA256 69475950240533abd2824a30ff08cc7d3ea246d9601ff71631 DIST VirtualBox-4.1.26.tar.bz2 74552384 SHA256 229773b45bb18374aa091d4ef585f3893307fb4ccb6f489055b048c0f93c36ab SHA512 da3dc07a390f423446190ba68221a9389423381def888a6eb754dc02fed75f0b99e41263ffc6d36f955b6018b8f7e928da55397bb544eae16cd5b0cbcc66ed89 WHIRLPOOL 9f5d74e44950d41887955250307bc1af99ca0007e3d4b0f6549b35ff3fb9a48d546f9b7dab6d346ac5a0e88bbb1af092665024d1e792aa9befdc04b6017c62bf DIST VirtualBox-4.2.18.tar.bz2 76893031 SHA256 9dbddf393b029c549249f627d12040c1d257972bc09292969b8819a31ab78d74 SHA512 c267cef156476992773135b5a154164f30841c4f2d4afa5e6c7c74a320384f621d141bff5f7164968767c3d86035befcb59e34b7a912a8a5ae3bede2d24e9c60 WHIRLPOOL 665e4895db5c0fd623fd08c6b9f4df69e5e5d27ebd3063a4216721460782691d2936567be68a4af7bed57b88fd5b2a41805df76551b1aac200ccff0101055a56 DIST VirtualBox-4.3.0.tar.bz2 89452701 SHA256 8ea8988a041163c34bff1da6b278d7729cecd4596f5eb778575c5ac9ac95bc12 SHA512 455907296efa9fed98efd435554a00c168f5b3b1c2b237dfb41281a2cfa6da76e4f6d8cd763db15dbe8be20b145ba30690f61e4f4dd4efafd31b3014752da3f1 WHIRLPOOL 728613d31bf0dadcb45d4a55886afb617648e76ed41e3094a6fd750e5a98ce70b21df3188174fefb4b8db5f3c688697ee07830c0a0a0c0c4307163ac457726e1 +DIST VirtualBox-4.3.2.tar.bz2 89709005 SHA256 137ee464dcf3ec81fd74793022ecb53d7f4399682759e00cafd322b0dc92967e SHA512 5a622636ab5f25ebd18a51c07ce16a98aac5a020d356060321a7433682e110983442ed3c17c4d70e40dca343caeedb5f15bc34a924c95c29239c2e5b1ba6bd6e WHIRLPOOL 34b34f5cc9b495d8a67c0a41db205aeed1b9bd514586261ec6acaff652192832c04993df8867ec8f886ff4d56e0500225800449d3b1684c90fc93ec5dc5ac4a7 EBUILD virtualbox-guest-additions-4.1.26.ebuild 5576 SHA256 9c20f3c06a5895d81a530fdff884cd994d830df534f7962e68d933d91118a50e SHA512 8ba2e4eb848512fd8d57c450da211cac8f2ce2a59059077081763500bd45ae8ea1c0a4bef9e80d76d83f5e3f8f4007398ac0a747ecef05f528f25560432a5101 WHIRLPOOL 4f2b5592d32e6621a151e731803c2be116ba57b9eb44c3d0433e1bdb539de72fa3a5f3422f616cf72bd1709103412cc9e2b6ea67b0ae14afe395c9d17789d55e EBUILD virtualbox-guest-additions-4.2.18.ebuild 5612 SHA256 a6fd0e09de4b50c8753b423c3ae2f500769b4a2a9d936ee4b42ea63981bf8802 SHA512 b278afd597d6498b573d469e2970a78547eb9f53b8ed35820503ff218c13a79481769f48f115d8f551b4cd9852feb0177ba59bac88404f0b5552c6919081c50f WHIRLPOOL 987c4b27dfd88a1fe760c53739f6bf6b4dbc999576ad82456885fd8202e55b66e7e3aeaa633f1a3076f3e6de8295be0e6cff3fcd71acceb9d800386eb12d6d51 EBUILD virtualbox-guest-additions-4.3.0.ebuild 5619 SHA256 3c0982de27d9121817895951d3859b2615e74c950281ef315873b2af1588e81c SHA512 de2cd61b583bfbd0284e6c0cb076639fb016fb54ca8792f0eaf13beb9f7da4e4965a0bf34a91c47c7e20fbae171a2f452c42d78f4122d89f14a426d44792aa75 WHIRLPOOL d6cb2a17eb82d9f34133bb257fd508560d3f30a9ffb51f2af6b74f7a3176c600f55bdac0a3ee3be54d9f571fb79aabd47ec19ce31c36cb6bafb7bfc2245ffc6c -MISC ChangeLog 33156 SHA256 43f4a4ed4e4d42c4827fe749ef77c015a3620e33034fbd65cdcb2164883c231a SHA512 3f321016e8c6afbadb50db6be61cbd47bc6dd0ba99ac34911d0ab99562d74139bb8c8250b22eb843c2b9f5a73933a1fbd7c334e5c8c5a28e9bfe86fe0669b509 WHIRLPOOL 6ce565a98b644c81addd3c502e8da73fecc8f50497313f440a36fdda1a9ad4bf04f15bba391bd88add21950215fe039c59df4038de121557c73061c64595d6da +EBUILD virtualbox-guest-additions-4.3.2.ebuild 5619 SHA256 cbd19b274379f37e054d92afcfad4313e13e8195b4e055a3f40c3b4d9373aba3 SHA512 8ff36ff782043e6aaaf7b5e1ae409fd6d9eaf94b2d67dcab69472fa94278b4dbb345331edb0db5ec0d94b3c75ca6351d59db2f5c5c7713b109b93635d5bbf4f7 WHIRLPOOL 354528ad02db024bfa3ca513f1385e20daaf02d4fcd8ad2ebac1a78b4d27548ad891736072aa99bcb153524231bdc00d2199fd7651f26c3152751e94fd2ec3f7 +MISC ChangeLog 33338 SHA256 a4aadb731aeb2d1a6b00c41264bef8343fabd37de7408ce2477c4440c87f5ca9 SHA512 47d465f3f028fb9c39675134223674aad1908f25c137eaf013ad0eb0fedf7c9f16b71cd7e1a830098e6871f79186b4bad0d94482d6ce0c07ee35da912d2f27e7 WHIRLPOOL 77e6a770e59076b403644b3c3c87f6f2967bea3d7c9c8e1e966eea1378e75e41fe9d1a31d7b9cf0105f5811b10bc99ba6de4003319080ca3ed0c92e4367bc94a MISC metadata.xml 343 SHA256 b1babc5530c5f36a84bbfe48d2db7e24641b21aa0b5cf29cee1712f2f702958d SHA512 d0c45ebcc6897110251d5b8bc1d99d5689ff3ef6f61a4e2cf952c4d440a2a127da85be698373d83cdeb12739507695e548da6d203baf948dd109829025af679b WHIRLPOOL b5df0fb8d0a37140109faf8f9bddc4d3b4a7c26907d6d08dfe0f42632b1d583d071af359d73b6967ed0510642a0afbffbc7976ca313b9e9499d64f45a5fd50d6 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlJkW+MACgkQp5vW4rUFj5qFkgCfYtr9TFYB30MJ95J/eiOSGjr8 -GzMAoJ/kqoVu1zRmLU531atVg7kuZ/X2 -=ve4C +iQIcBAEBCAAGBQJSdReDAAoJEPiazRVxLXTFJpIP/1Idb/yP8EAOIptEmrXDdIIA +uHJX/M8OscgQb241W9zo51m/otAqKUFV6s7vbAU9o+blGteUj7G0av0WhcnOdDVP +K+HPUlAgsKsLYbe/9bKjZkEJYnsH7BSgsrqD7fqWgvL67PvD0jc6+2a2tqAlPFrj +LBn/agTrMjdjzGbXTGjaORpn9ywUzowUYjOiU5PxLlSQVESj8fZWNTt54NQkY3fm +/2Mm01k8a5EDmL3dYywQRtCGJqA5z4fSN0MpjpQX2QAoGtAFiGoJDXxpAi/W1TSV +BiNknoCCt8Ht2aMCNiKznSMC2qDpQCtKMirhoTlYgUYennzExw9zjvMHlsKp6Rgl +xOvpZL8Xvw6EEp4K0+5UCZuxbmjz9dbOwjFhQiZbX0JL2LZ+1crln3thteEKsufn +Lo1wQHrRr4dMUY7G6O/s2ecdZjU0fmXE507JfN7FeWZggdBtayeieY4rK678nWyM +De1Eg4EMV/pDPMZlA9nKe2tJIZ/3I0TYCoMwJ1UNsslMRPAXsE82ld8TFZveoYFM +X5NvRBX+AN6gLAh0wbXg7gY9uaveFw8Hf3sGVVPeBok3ubm1OolBvntpjDBdnE4n +8ybaL8xV7J3HTzMl++8pzbZw1fL9GeXYFH08d0cFa2cmpM9IpngViF6qVrMsangT +hi5KIAvUQZzen0yMo5oa +=beHi -----END PGP SIGNATURE----- diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.2.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.2.ebuild new file mode 100644 index 000000000000..6e330eecc4c9 --- /dev/null +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.2.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2013 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.2.ebuild,v 1.1 2013/11/02 15:17:22 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 ) + sys-apps/dbus + !!x11-drivers/xf86-input-virtualbox" +DEPEND="${RDEPEND} + >=dev-util/kbuild-0.1.9998_pre20120806 + >=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 +} + +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" +} + +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" \ + KBUILD_VERBOSE=2 + done + + if use X; then + cd "${S}"/src/VBox/Additions/x11/VBoxClient + 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 + + 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 + + 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 + + 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 "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 "" +} |