summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2010-05-10 13:36:25 +0000
committerLars Wendler <polynomial-c@gentoo.org>2010-05-10 13:36:25 +0000
commitb6202cba3fab5b2c49d551d2ea849e07cba40458 (patch)
tree44b8c5655a707a23cf3546dd862f50e1d52f0ab9 /app-emulation
parentx86 stable wrt bug #317785 (diff)
downloadhistorical-b6202cba3fab5b2c49d551d2ea849e07cba40458.tar.gz
historical-b6202cba3fab5b2c49d551d2ea849e07cba40458.tar.bz2
historical-b6202cba3fab5b2c49d551d2ea849e07cba40458.zip
version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-guest-additions/ChangeLog8
-rw-r--r--app-emulation/virtualbox-guest-additions/Manifest4
-rw-r--r--app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-3.1.8.ebuild152
3 files changed, 162 insertions, 2 deletions
diff --git a/app-emulation/virtualbox-guest-additions/ChangeLog b/app-emulation/virtualbox-guest-additions/ChangeLog
index fdb37580491f..981b23d32e91 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.35 2010/05/01 14:04:21 lxnay Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.36 2010/05/10 13:36:25 polynomial-c Exp $
+
+*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,
diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
index e4e92e81e826..9cc964818518 100644
--- a/app-emulation/virtualbox-guest-additions/Manifest
+++ b/app-emulation/virtualbox-guest-additions/Manifest
@@ -7,10 +7,12 @@ DIST VirtualBox-3.1.0-OSE.tar.bz2 55491869 RMD160 7e3600ca1320af601d01d24f0a4e78
DIST VirtualBox-3.1.2-OSE.tar.bz2 55553394 RMD160 be66ad7198f04c71471eeffd5b95ff9d5078eab7 SHA1 ac85e5d098684080ce0571406d741f3db03064b8 SHA256 293f582e37eda29efdb53c6468481b446e1964592f5728656b74664f4d32f2b1
DIST VirtualBox-3.1.4-OSE.tar.bz2 55850055 RMD160 b1f38821a6ea8d501402f853e5c9987042a09036 SHA1 a9afca1e9a3415b1c499958a6b1309062fb4e62c SHA256 6ea10abae86b8777366f66ec4a1d68e033fe5d97f4bb0f551f83737ba58cdb70
DIST VirtualBox-3.1.6-OSE.tar.bz2 55871561 RMD160 83ec81a0444c0dfa4415a888e42dc530b31e39dc SHA1 521dd1ecbbede996681a62ac767da2a60e851a95 SHA256 840148f879c8ef1e6d2a54586fdddf3df389e9de91ada4c6d10ebc0da37ea016
+DIST VirtualBox-3.1.8-OSE.tar.bz2 56291753 RMD160 45aa637d1e008248bd9061e9824b9c2631e8b570 SHA1 e29f3070d337d9c475241a68948dba43c363b079 SHA256 b77c8ae7b43401c908a231f8e3b7355f96b351237fd86f1f7416ed99a6081e85
EBUILD virtualbox-guest-additions-3.0.12.ebuild 4203 RMD160 220f120b9491918acc465e6949af44281df8eeeb SHA1 f457f354fd4fe30a6238c01a59c42127f1fbde4a SHA256 1d59c89a053ba58b8193c2bfeafacabe6ff99e2f9017bd55f0c39fdddf55c5e6
EBUILD virtualbox-guest-additions-3.1.0.ebuild 4269 RMD160 507f8f7a3eaea71c56f0402e71e5ac03ecc92dff SHA1 de27de651887f87f9340e43b6a9dfe72d7a2d232 SHA256 e633a13909871292a65c87ee0b8a7d1740489db3b95f675f0db3df5f60619c71
EBUILD virtualbox-guest-additions-3.1.2.ebuild 4268 RMD160 c5b284478a9f3f0b929cd944193490899ef5c7d5 SHA1 79517951b8793d982bc602bf6332fe453b467e3f SHA256 14f33922fa1939da44023646cebbabdb3eae39a1ee5fa0600e04a3ed0763ebf1
EBUILD virtualbox-guest-additions-3.1.4.ebuild 4268 RMD160 90a68252721e1a2aa5e8221ff7612a47e7e68a87 SHA1 c97f6b4b161bc2aa0e0125eaa32f870e855fed7c SHA256 92de42847ec6946705ca09ab259c88fcc4d6e572a25aab102efee35d78558f9a
EBUILD virtualbox-guest-additions-3.1.6.ebuild 4268 RMD160 ccaa4e4bcb267970dc25edc7ec74e24a6083706a SHA1 60ada0dac66bc3f0082a10a0f72f6eff35eef2bd SHA256 19d02d4168baf4d1fb8d30cc6e1332dcccb4a87f1f10b15ea966695eccc9bf1c
-MISC ChangeLog 12823 RMD160 afa1e696e2d4e77376cc63332df44700de3b8d04 SHA1 0b93a2a46266fef44e623f8079b226efb6b6f780 SHA256 b18bea3e0a1262658732fc08b8c6d1aa2cfaad2c4f4928712f9721cfd0ead290
+EBUILD virtualbox-guest-additions-3.1.8.ebuild 4275 RMD160 8e25d3827993ab280f21c4ece71b6dd2e78ac41f SHA1 399bf1888b94ec1a8ac96925b34e37ccb2a32f01 SHA256 a60c93db2cad47c98f14e330a51bf906fc87e26f14e49e9c50bf8ee429461187
+MISC ChangeLog 12993 RMD160 cc019032959d2d12789961ed5feb9e51faabb770 SHA1 d6bb01914536035a5338d113a3dfb8ab7eb98a37 SHA256 3f7a110da203ac5c6b953749fb8c7342ed41e9671a69634b75e2baf5415fe026
MISC metadata.xml 353 RMD160 0fd52505150025043cf0f6d53b54736082f266bb SHA1 60aa8776951b13cd71fde130db73849977b4c48f SHA256 c8c97cdc3c8878c361444f278d234b1ad6fe9db06d8c4d4d9bcee711a2f6369d
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-3.1.8.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-3.1.8.ebuild
new file mode 100644
index 000000000000..54584201c597
--- /dev/null
+++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-3.1.8.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2010 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-3.1.8.ebuild,v 1.1 2010/05/10 13:36:25 polynomial-c Exp $
+
+inherit eutils linux-mod
+
+MY_P=VirtualBox-${PV}-OSE
+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
+ amd64? ( app-emulation/emul-linux-x86-xlibs ) )"
+DEPEND="${RDEPEND}
+ >=dev-util/kbuild-0.1.5-r1
+ >=dev-lang/yasm-0.6.2
+ sys-devel/bin86
+ sys-devel/dev86
+ sys-power/iasl
+ X? ( x11-proto/renderproto )"
+
+BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
+ vboxvfs(misc:${WORKDIR}/vboxvfs:${WORKDIR}/vboxvfs)"
+
+S=${WORKDIR}/${MY_P/-OSE/_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
+ "${MY_P/-OSE/_OSE}"/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
+
+ # Disable things unused or splitted into separate ebuilds
+ cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
+}
+
+src_compile() {
+ linux-mod_src_compile
+
+ # 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 ./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
+}
+
+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}-3.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 VBoxRandR.sh VBoxRandR
+ fperms 0755 /usr/bin/VBoxRandR
+
+ newins 98vboxadd-xclient VBoxClient-all
+ fperms 0755 /usr/bin/VBoxClient-all
+ fi
+
+ # udev rule for vboxdrv
+ dodir /etc/udev/rules.d
+ echo 'KERNEL=="vboxguest", NAME="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+ >> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules"
+ echo 'KERNEL=="vboxuser", NAME="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+ >> "${D}/etc/udev/rules.d/60-virtualbox-guest-additions.rules"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ if ! useq X ; then
+ elog "use flag X is off, enable it to install the"
+ elog "X Window System input and video drivers"
+ fi
+ elog "Please add:"
+ elog "/etc/init.d/${PN}"
+ elog "to the default runlevel in order to load all"
+ elog "needed modules and services."
+ 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 ""
+}