summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-09-17 19:29:12 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-09-17 19:29:12 +0000
commit45a54068eb45eea2b56f1a30f9534775341a3750 (patch)
treeb0462f7d013345d0f5d4120db788695adf047401 /app-emulation/virtualbox-bin
parentRemoved static flags which does not work and is just too much work for now (diff)
downloadhistorical-45a54068eb45eea2b56f1a30f9534775341a3750.tar.gz
historical-45a54068eb45eea2b56f1a30f9534775341a3750.tar.bz2
historical-45a54068eb45eea2b56f1a30f9534775341a3750.zip
Bump for #285228, fixes silent upstream tarball change madness. Thanks to X-Drum for fixing and testing.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/virtualbox-bin')
-rw-r--r--app-emulation/virtualbox-bin/ChangeLog9
-rw-r--r--app-emulation/virtualbox-bin/Manifest4
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-3.0.6-r1.ebuild271
3 files changed, 282 insertions, 2 deletions
diff --git a/app-emulation/virtualbox-bin/ChangeLog b/app-emulation/virtualbox-bin/ChangeLog
index b87512ea89f9..18f08a1c2473 100644
--- a/app-emulation/virtualbox-bin/ChangeLog
+++ b/app-emulation/virtualbox-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/virtualbox-bin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.57 2009/09/12 12:14:19 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.58 2009/09/17 19:29:12 patrick Exp $
+
+*virtualbox-bin-3.0.6-r1 (17 Sep 2009)
+
+ 17 Sep 2009; Patrick Lauer <patrick@gentoo.org>
+ +virtualbox-bin-3.0.6-r1.ebuild:
+ Bump for #285228, fixes silent upstream tarball change madness. Thanks to
+ X-Drum for fixing and testing.
12 Sep 2009; Patrick Lauer <patrick@gentoo.org>
-virtualbox-bin-3.0.4.ebuild:
diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest
index 3324d89692ab..97b3252c72e7 100644
--- a/app-emulation/virtualbox-bin/Manifest
+++ b/app-emulation/virtualbox-bin/Manifest
@@ -9,8 +9,10 @@ DIST VirtualBox-1.6.6-Linux_amd64.run 21983828 RMD160 7b4c8e05f4b96709c17236b682
DIST VirtualBox-1.6.6-Linux_x86.run 21338681 RMD160 46cd1d6b0926ab1aa6865b0d2b5de2c0bdc120e1 SHA1 56faaf895435c292822a3516d605f4d95592ad25 SHA256 978c0c444111ce0141d31a5f3fc4d3e3dd8916cbd30a15cba871b4ecc2d69ef8
DIST VirtualBox-3.0.6-52128-Linux_amd64.run 50400721 RMD160 0a713791cdb872d1f01c394dd75ccf90c197c445 SHA1 c1554fe8b0cdfd75be9f150d62601a9190b5ff56 SHA256 ff0249cbe1c4050111f9b1b3e35c3cfbdb21be9df9c633747949463e4adb98cf
DIST VirtualBox-3.0.6-52128-Linux_x86.run 50369997 RMD160 229dd0ee054d4c42893eac082c4d5b6e21ba19fc SHA1 f1c266e7328455497fc074c915e3f17c8f343eb1 SHA256 db6deedf757b39eddfb96b4af661b80b0fe4be86f1cf615cffb0eb1116457f74
+DIST VirtualBox-3.0.6-52130-Linux_amd64.run 50400682 RMD160 ec808974d0b73dc98bf8ecd27069efa0f6cccb49 SHA1 e00d7033425499564cf62604d3325fe7f417f595 SHA256 264c489e8383e1c8134bb7fd87b22a2f515544029fc602df6c066c3a8f9e30ed
DIST VirtualBoxSDK-3.0.6-52128.zip 8194729 RMD160 1d389c9a7ab6431f351805edbd884665092931de SHA1 091b81bc63e27935e0bf37ccbbf4d421f2ab1309 SHA256 39ca9de774facbfa64f97fd03865107cae4cf111d4c3455faa46b335390c8364
EBUILD virtualbox-bin-1.6.6.ebuild 5049 RMD160 b0cb38651000bda227d6d9c25a7abb9e1c27f224 SHA1 9e1f507cd497927a5fe7b25c5191b89ad7a1a4db SHA256 a20563726a3bbf4a854a698e39ad2de9ccf479b36ad8bf27d98a452304d1e2ab
+EBUILD virtualbox-bin-3.0.6-r1.ebuild 8056 RMD160 253bf848652f5cef41b38454c8f9d3dba50a1ea7 SHA1 97b3cfd6827d1be7a29e92084bd2a48f2b5771be SHA256 7ca500c9ba820b7a6c4befc213a1b113d7807a5fee1a510cd4182d9636a351dd
EBUILD virtualbox-bin-3.0.6.ebuild 7909 RMD160 b856d3ab545f9439ae28f808765ec5638cbce812 SHA1 dc17a5b2c00405db14cdb98e7b0e237b5b1f2e43 SHA256 dd24796dbd580117b2c050f7cbb87045d6e5519ce192d6b2b03c4fc8a2a78d24
-MISC ChangeLog 12915 RMD160 48a7a525fa5a0c62c95b8a0558966efebdac7dd5 SHA1 80d9a6a001550363a1b65e62f5b19792798e5074 SHA256 210a7036133a046686b87f634e0af6b6500dc28f1487c5b212e9ffbf332f96a1
+MISC ChangeLog 13150 RMD160 0b4e455150246915ee5ebeab64ac8b2a51d0221b SHA1 cd17dd187e27d304cad54014ff6e50a5cbda058b SHA256 589acdcdc376b47c3baf01b0cfbcf29403483dfdd8c3f62d893a7928b46a706f
MISC metadata.xml 692 RMD160 bd100896b73d952e89bdeda736d25b152c3a73f3 SHA1 f4fb4965fed9ff2468a27a56fe73f0ec23b6a9a0 SHA256 ba708f6a2506cb9762fbabb0f4096bb41fe330e85e219949fe6fa84488a2090b
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-3.0.6-r1.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-3.0.6-r1.ebuild
new file mode 100644
index 000000000000..66b370dac61d
--- /dev/null
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-3.0.6-r1.ebuild
@@ -0,0 +1,271 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-3.0.6-r1.ebuild,v 1.1 2009/09/17 19:29:12 patrick Exp $
+
+EAPI=2
+
+inherit eutils fdo-mime pax-utils
+
+MY_PV=${PV}-52128
+MY_PV64=${PV}-52130
+MY_P=VirtualBox-${MY_PV}-Linux
+MY_P64=VirtualBox-${MY_PV64}-Linux
+
+DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${PV}/${MY_P64}_amd64.run )
+ x86? ( http://download.virtualbox.org/virtualbox/${PV}/${MY_P}_x86.run )
+ sdk? ( http://download.virtualbox.org/virtualbox/${PV}/VirtualBoxSDK-${MY_PV}.zip )"
+
+LICENSE="PUEL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+additions +chm headless sdk vboxwebsrv"
+RESTRICT="mirror"
+PROPERTIES="interactive"
+
+RDEPEND="!!app-emulation/virtualbox-ose
+ !app-emulation/virtualbox-ose-additions
+ ~app-emulation/virtualbox-modules-${PV}
+ !headless? (
+ x11-libs/libXcursor
+ media-libs/libsdl[X]
+ x11-libs/libXrender
+ x11-libs/libXfixes
+ media-libs/libmng
+ media-libs/jpeg
+ media-libs/libpng
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXinerama
+ x11-libs/libXft
+ media-libs/freetype
+ media-libs/fontconfig
+ x11-libs/libXext
+ dev-libs/glib
+ chm? ( dev-libs/expat )
+ )
+ x11-libs/libXt
+ dev-libs/libxml2
+ x11-libs/libXau
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXdmcp
+ x86? ( ~virtual/libstdc++-3.3 )"
+
+S=${WORKDIR}
+
+QA_TEXTRELS_amd64="opt/VirtualBox/VBoxVMM.so"
+QA_TEXTRELS_x86="opt/VirtualBox/VBoxGuestPropSvc.so
+ opt/VirtualBox/VBoxSDL.so
+ opt/VirtualBox/VBoxPython2_4.so
+ opt/VirtualBox/VBoxPython2_6.so
+ opt/VirtualBox/VBoxDbg.so
+ opt/VirtualBox/VBoxSharedFolders.so
+ opt/VirtualBox/VBoxDD2.so
+ opt/VirtualBox/VBoxOGLrenderspu.so
+ opt/VirtualBox/VBoxPython.so
+ opt/VirtualBox/VBoxPython2_3.so
+ opt/VirtualBox/VBoxDD.so
+ opt/VirtualBox/VBoxVRDP.so
+ opt/VirtualBox/VBoxDDU.so
+ opt/VirtualBox/VBoxREM64.so
+ opt/VirtualBox/VBoxSharedClipboard.so
+ opt/VirtualBox/VBoxHeadless.so
+ opt/VirtualBox/VBoxRT.so
+ opt/VirtualBox/VRDPAuth.so
+ opt/VirtualBox/VBoxREM.so
+ opt/VirtualBox/VBoxSettings.so
+ opt/VirtualBox/VBoxKeyboard.so
+ opt/VirtualBox/VBoxSharedCrOpenGL.so
+ opt/VirtualBox/VBoxVMM.so
+ opt/VirtualBox/VirtualBox.so
+ opt/VirtualBox/VBoxOGLhosterrorspu.so
+ opt/VirtualBox/components/VBoxC.so
+ opt/VirtualBox/components/VBoxSVCM.so
+ opt/VirtualBox/VBoxREM32.so
+ opt/VirtualBox/VBoxPython2_5.so
+ opt/VirtualBox/VBoxXPCOMC.so
+ opt/VirtualBox/VBoxOGLhostcrutil.so
+ opt/VirtualBox/VBoxNetDHCP.so"
+QA_PRESTRIPPED="opt/VirtualBox/VBoxDD.so
+ opt/VirtualBox/VBoxDD2.so
+ opt/VirtualBox/VBoxDDU.so
+ opt/VirtualBox/VBoxDbg.so
+ opt/VirtualBox/VBoxGuestPropSvc.so
+ opt/VirtualBox/VBoxHeadless
+ opt/VirtualBox/VBoxHeadless.so
+ opt/VirtualBox/VBoxKeyboard.so
+ opt/VirtualBox/VBoxManage
+ opt/VirtualBox/VBoxNetAdpCtl
+ opt/VirtualBox/VBoxNetDHCP
+ opt/VirtualBox/VBoxNetDHCP.so
+ opt/VirtualBox/VBoxOGLhostcrutil.so
+ opt/VirtualBox/VBoxOGLhosterrorspu.so
+ opt/VirtualBox/VBoxOGLrenderspu.so
+ opt/VirtualBox/VBoxPython.so
+ opt/VirtualBox/VBoxPython2_3.so
+ opt/VirtualBox/VBoxPython2_4.so
+ opt/VirtualBox/VBoxPython2_5.so
+ opt/VirtualBox/VBoxPython2_6.so
+ opt/VirtualBox/VBoxREM.so
+ opt/VirtualBox/VBoxREM32.so
+ opt/VirtualBox/VBoxREM64.so
+ opt/VirtualBox/VBoxRT.so
+ opt/VirtualBox/VBoxSDL
+ opt/VirtualBox/VBoxSDL.so
+ opt/VirtualBox/VBoxSVC
+ opt/VirtualBox/VBoxSettings.so
+ opt/VirtualBox/VBoxSharedClipboard.so
+ opt/VirtualBox/VBoxSharedCrOpenGL.so
+ opt/VirtualBox/VBoxSharedFolders.so
+ opt/VirtualBox/VBoxTestOGL
+ opt/VirtualBox/VBoxTunctl
+ opt/VirtualBox/VBoxVMM.so
+ opt/VirtualBox/VBoxVRDP.so
+ opt/VirtualBox/VBoxXPCOM.so
+ opt/VirtualBox/VBoxXPCOMC.so
+ opt/VirtualBox/VBoxXPCOMIPCD
+ opt/VirtualBox/VRDPAuth.so
+ opt/VirtualBox/VirtualBox
+ opt/VirtualBox/VirtualBox.so
+ opt/VirtualBox/accessible/libqtaccessiblewidgets.so
+ opt/VirtualBox/components/VBoxC.so
+ opt/VirtualBox/components/VBoxSVCM.so
+ opt/VirtualBox/components/VBoxXPCOMIPCC.so
+ opt/VirtualBox/kchmviewer
+ opt/VirtualBox/libQtCoreVBox.so.4
+ opt/VirtualBox/libQtGuiVBox.so.4
+ opt/VirtualBox/libQtNetworkVBox.so.4
+ opt/VirtualBox/vboxwebsrv"
+
+pkg_setup() {
+ # We cannot mirror VirtualBox PUEL licensed files see:
+ # http://www.virtualbox.org/wiki/Licensing_FAQ
+ check_license
+}
+
+src_unpack() {
+ if [ "${ARCH}" == "amd64" ] ; then
+ unpack_makeself ${MY_P64}_${ARCH}.run
+ else
+ unpack_makeself ${MY_P}_${ARCH}.run
+ fi
+ unpack ./VirtualBox.tar.bz2
+
+ if use sdk; then
+ unpack VirtualBoxSDK-${MY_PV}.zip
+ fi
+}
+
+src_install() {
+ # create virtualbox configurations files
+ insinto /etc/vbox
+ newins "${FILESDIR}/${PN}-config" vbox.cfg
+
+ if ! use headless ; then
+ newicon VBox.png ${PN}.png
+ newmenu "${FILESDIR}"/${PN}.desktop ${PN}.desktop
+ fi
+
+ insinto /opt/VirtualBox
+ dodir /opt/bin
+
+ doins UserManual.pdf
+
+ if use sdk ; then
+ doins -r sdk || die
+ fi
+
+ if use additions; then
+ doins -r additions || die
+ fi
+
+ if use vboxwebsrv; then
+ doins vboxwebsrv || die
+ fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
+ fperms 0750 /opt/VirtualBox/vboxwebsrv
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
+ newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
+ newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
+ fi
+
+ if ! use headless && use chm; then
+ doins kchmviewer VirtualBox.chm || die
+ fowners root:vboxusers /opt/VirtualBox/kchmviewer
+ fperms 0750 /opt/VirtualBox/kchmviewer
+ fi
+
+ rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
+ vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
+ VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
+ webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
+ 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py
+
+ if use headless ; then
+ rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
+ fi
+
+ doins -r * || die
+
+ # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
+ dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
+ dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
+ dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
+ dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
+ dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
+
+ local each
+ for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,TestOGL}; do
+ fowners root:vboxusers /opt/VirtualBox/${each}
+ fperms 0750 /opt/VirtualBox/${each}
+ pax-mark -m "${D}"/opt/VirtualBox/${each}
+ done
+ # VBoxNetAdpCtl binary needs to be suid root in any case..
+ fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
+
+ if ! use headless ; then
+ # Hardened build: Mark selected binaries set-user-ID-on-execution
+ for each in VBox{SDL,Headless} VirtualBox; do
+ fowners root:vboxusers /opt/VirtualBox/${each}
+ fperms 4510 /opt/VirtualBox/${each}
+ pax-mark -m "${D}"/opt/VirtualBox/${each}
+ done
+
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL
+ else
+ # Hardened build: Mark selected binaries set-user-ID-on-execution
+ fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
+ fperms 4510 /opt/VirtualBox/VBoxHeadless
+ pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
+ fi
+
+ exeinto /opt/VirtualBox
+ newexe "${FILESDIR}/${PN}-2-wrapper" "VBox.sh" || die
+ fowners root:vboxusers /opt/VirtualBox/VBox.sh
+ fperms 0750 /opt/VirtualBox/VBox.sh
+
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP
+ dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless
+ dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ elog ""
+ if ! use headless ; then
+ elog "To launch VirtualBox just type: \"VirtualBox\""
+ elog ""
+ fi
+ elog "You must be in the vboxusers group to use VirtualBox."
+ elog ""
+ elog "For advanced networking setups you should emerge:"
+ elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}