diff options
author | x-drum <x-drum@localhost> | 2008-06-06 15:55:04 +0000 |
---|---|---|
committer | x-drum <x-drum@localhost> | 2008-06-06 15:55:04 +0000 |
commit | 2f7f2d5171b90caad7b3e322b92d0c719e9bad4b (patch) | |
tree | 783602a928639ae04427bbeafd8710e98d04e126 /app-emulation/virtualbox-guest-additions | |
parent | x11-drivers/xf86-input-virtualbox: Version bump (diff) | |
download | jokey-2f7f2d5171b90caad7b3e322b92d0c719e9bad4b.tar.gz jokey-2f7f2d5171b90caad7b3e322b92d0c719e9bad4b.tar.bz2 jokey-2f7f2d5171b90caad7b3e322b92d0c719e9bad4b.zip |
app-emulation/virtualbox-guest-additions: Version bump, should be masked for all no-multilib amd64 profile
svn path=/trunk/; revision=418
Diffstat (limited to 'app-emulation/virtualbox-guest-additions')
3 files changed, 120 insertions, 1 deletions
diff --git a/app-emulation/virtualbox-guest-additions/ChangeLog b/app-emulation/virtualbox-guest-additions/ChangeLog index 1c84407..788d3d3 100644 --- a/app-emulation/virtualbox-guest-additions/ChangeLog +++ b/app-emulation/virtualbox-guest-additions/ChangeLog @@ -3,6 +3,10 @@ # $Header: $ 06 Jun 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> + +virtualbox-guest-additions-1.6.2.ebuild: + Version bump, should be masked for all no-multilib amd64 profile + + 06 Jun 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> +virtualbox-guest-additions-1.6.0.ebuild, +files/virtualbox-guest-additions-1.6.0.initd, +metadata.xml: Version bump wrt bug #220144; fix vboxadd-xclient; should be masked for all diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest index fb1b99e..07d2e9d 100644 --- a/app-emulation/virtualbox-guest-additions/Manifest +++ b/app-emulation/virtualbox-guest-additions/Manifest @@ -1,5 +1,7 @@ AUX virtualbox-guest-additions-1.6.0.initd 1286 RMD160 b0a59b77f09772a048b74447e1e3b0c88a523437 SHA1 5f0db8a24b1a6546a8079c0e2f45d463d7a3d9a3 SHA256 18a01b1995f8fe99459ad5f997a5b6b6257928ff3666550c8a3fb703ea3e7a27 DIST VirtualBox-1.6.0-OSE.tar.bz2 35404676 RMD160 f31610a06ff1b884d8ac762744f6bd4ec9871268 SHA1 c20e8e2150cc1867e1c2fee7c21211391072aee2 SHA256 c869f06479441e779c4039a7317ac5aeff83061d8e7b32308eac392363560cac +DIST VirtualBox-1.6.2-OSE.tar.bz2 35409803 RMD160 9a5fe4746b41a46403921c7a400460cc7abc3c81 SHA1 6811a580b70e651f36002f344033e1db1858fdef SHA256 f458e6ad674ae54ea67b2c8b08816c87b1c4768ec9d43ca041d64a2bcec4eb3b EBUILD virtualbox-guest-additions-1.6.0.ebuild 2975 RMD160 16227cb01086b01805bc50f26ffee467e2e72b2c SHA1 d6e6e0b3ffd79eee47fc1915b1a68c06901647bc SHA256 b9b467942048f0249c72253420af6fdfbd68c51fe0afeb19f29972734df1cdd1 -MISC ChangeLog 416 RMD160 fca4533cffd0dc2318bbcbd5841cdd5e4355db64 SHA1 d9e180db8136d687a6376b43284c0de1f1185c96 SHA256 a1d83c08deaedd3de38168c7296301bcea2bc0d4dc01adfe66d2c653aa87ad1c +EBUILD virtualbox-guest-additions-1.6.2.ebuild 2967 RMD160 fe49255fb9ea7208fbf3c4cac7978032490cdde5 SHA1 56a5a994095d71cbd31ffff1b2b2701c7330516c SHA256 9b971b9eae474d5e896e5c680d7c05a5035a5dc3e20b22955c880f1711c9ad12 +MISC ChangeLog 588 RMD160 4837d4b989cae1b9a295aa299a232ad226c9a0b7 SHA1 989ecbb23bcb2faa7ff00194e36c6edb97b8de92 SHA256 52593be09d751d42903366c00d48ac9c597af65115de2f715152f732852914b7 MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.6.2.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.6.2.ebuild new file mode 100644 index 0000000..2d50f41 --- /dev/null +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-1.6.2.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X" + +RDEPEND="x11-libs/libXt + amd64? ( app-emulation/emul-linux-x86-xlibs ) + X? ( ~x11-drivers/xf86-video-virtualbox-${PV} + ~x11-drivers/xf86-input-virtualbox-${PV} )" +DEPEND="${RDEPEND} + sys-devel/bin86 + sys-devel/dev86 + sys-power/iasl + x11-proto/renderproto" + +BUILD_TARGETS="all" +BUILD_TARGET_ARCH="${ARCH}" +MODULE_NAMES="vboxadd(misc:${WORKDIR}/vboxadd:${WORKDIR}/vboxadd) + vboxvfs(misc:${WORKDIR}/vboxvfs:${WORKDIR}/vboxvfs)" + +S=${WORKDIR}/${MY_P/-OSE/} + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" +} + +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/}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz" + unpack ./vbox-kmod.tar.gz +} + +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{sharefolders,daemon,xclient} ; do + MAKE="kmk" emake || die "kmk failed" + done +} + +src_install() { + linux-mod_src_install + + cd "${S}"/out/linux.${ARCH}/release/bin/additions + + # shared folders + insinto /sbin + newins mountvboxsf mount.vboxvfs + fperms 4755 /sbin/mount.vboxvfs + + # time synchronisation system service + insinto /usr/sbin + doins vboxadd-timesync + fperms 0755 /usr/sbin/vboxadd-timesync + + newinitd "${FILESDIR}"/${P}.initd ${PN} + + # shared clipboard user service and xinit script + if use X; then + insinto /usr/bin + doins vboxadd-xclient + fperms 4755 /usr/bin/vboxadd-xclient + + dodir /etc/X11/xinit/xinitrc.d/ + echo -e "#/bin/sh\n/usr/bin/vboxadd-xclient" \ + >> "${D}/etc/X11/xinit/xinitrc.d/98vboxadd-xclient" + fperms 0755 /etc/X11/xinit/xinitrc.d/98vboxadd-xclient + fi + + # udev rule for vboxdrv + dodir /etc/udev/rules.d + echo 'KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", 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 "" + 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 "" +} |