From: Markus Ullmann Date: Thu, 15 Feb 2007 20:28:11 +0000 (+0000) Subject: Lots of improvements such as creating groups, adding vbox iso and more. Thanks To... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=05988093eb3c0f5bdec4edd0c011eff4140b79cc;p=gentoo.git Lots of improvements such as creating groups, adding vbox iso and more. Thanks To Alessio Cassibba for the good work Package-Manager: portage-2.1.2-r8 --- diff --git a/app-emulation/virtualbox/ChangeLog b/app-emulation/virtualbox/ChangeLog index f497811485fc..822b73e846d4 100644 --- a/app-emulation/virtualbox/ChangeLog +++ b/app-emulation/virtualbox/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emulation/virtualbox # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.4 2007/02/12 18:55:09 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.5 2007/02/15 20:28:11 jokey Exp $ + +*virtualbox-1.3.4-r1 (15 Feb 2007) + + 15 Feb 2007; Markus Ullmann +files/virtualbox.desktop, + metadata.xml, +virtualbox-1.3.4-r1.ebuild, virtualbox-9999.ebuild: + Lots of improvements such as creating groups, adding vbox iso and more. Thanks + To Alessio Cassibba for the good work 12 Feb 2007; Markus Ullmann virtualbox-1.3.4.ebuild, virtualbox-9999.ebuild: diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest index 309a869e1172..3cde12bc6621 100644 --- a/app-emulation/virtualbox/Manifest +++ b/app-emulation/virtualbox/Manifest @@ -1,33 +1,44 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX virtualbox.desktop 249 RMD160 9fa141cf63f4a7e387dc281d0a8794a17235051c SHA1 e58fb63f70ed041bd15f6a8a2487be44687477d6 SHA256 3c0174cd67eba7925c72dcddf834d78ad8d28a2afc516854adb80f8a65c15efc +MD5 c5bc3c92fce4aa813b6c6ce05bc91704 files/virtualbox.desktop 249 +RMD160 9fa141cf63f4a7e387dc281d0a8794a17235051c files/virtualbox.desktop 249 +SHA256 3c0174cd67eba7925c72dcddf834d78ad8d28a2afc516854adb80f8a65c15efc files/virtualbox.desktop 249 DIST VirtualBox-OSE-1.3.4.tar.bz2 17491150 RMD160 32bd5f5e9bbf19bf59ffa93ccf6013496b40e318 SHA1 080330ef237ab89c0c00c32aa195c9341c434cf5 SHA256 c7d756645c96d202b8e88924f2b4da414c6d02775d3224739b21cdda064bbeee +EBUILD virtualbox-1.3.4-r1.ebuild 3043 RMD160 20da3157008ffcf8dbc8287261544c43c825de87 SHA1 65760bc2475a87e8f5ca3142122c225b49114b7d SHA256 d2ca6e6bbefd1003be5969eef296383c12a819c00ee73bb160cb3c8101a41a93 +MD5 fac7e540eca8e4ca20c99ff9cd5aba86 virtualbox-1.3.4-r1.ebuild 3043 +RMD160 20da3157008ffcf8dbc8287261544c43c825de87 virtualbox-1.3.4-r1.ebuild 3043 +SHA256 d2ca6e6bbefd1003be5969eef296383c12a819c00ee73bb160cb3c8101a41a93 virtualbox-1.3.4-r1.ebuild 3043 EBUILD virtualbox-1.3.4.ebuild 1567 RMD160 a37addc9ea1c101e8de75d646123d0c630bda738 SHA1 2f284a87431253f12e72e6f78ca507c3f8fa4899 SHA256 cd31c5d029ac5b07173767a19fc2077390331890aa4852684a1a56bffef0bba2 MD5 482e1d83271db6aa5df163fa6bb4c2b5 virtualbox-1.3.4.ebuild 1567 RMD160 a37addc9ea1c101e8de75d646123d0c630bda738 virtualbox-1.3.4.ebuild 1567 SHA256 cd31c5d029ac5b07173767a19fc2077390331890aa4852684a1a56bffef0bba2 virtualbox-1.3.4.ebuild 1567 -EBUILD virtualbox-9999.ebuild 1519 RMD160 2d7afa5c6bc15265379da4123a1d4b094f230bb9 SHA1 9e269d02ff822d358830435395c95b123cbc91f4 SHA256 c5ecd6879393b195be728df05d2a1f6adb380b2407f962968161dbf5b78abe1c -MD5 38ac2687c36adfd380365dd0d62048f6 virtualbox-9999.ebuild 1519 -RMD160 2d7afa5c6bc15265379da4123a1d4b094f230bb9 virtualbox-9999.ebuild 1519 -SHA256 c5ecd6879393b195be728df05d2a1f6adb380b2407f962968161dbf5b78abe1c virtualbox-9999.ebuild 1519 -MISC ChangeLog 832 RMD160 4fc2cba7b621a3863bae0b8ef79c391126717e54 SHA1 e7ea8462fef0705ebbab128e5d8d4a53e486065f SHA256 0675cba4ee1a7577197442f150308ee502201b116d96c84b9075e4800cf46d26 -MD5 95f23af825f663b2daa7def2fa3d5196 ChangeLog 832 -RMD160 4fc2cba7b621a3863bae0b8ef79c391126717e54 ChangeLog 832 -SHA256 0675cba4ee1a7577197442f150308ee502201b116d96c84b9075e4800cf46d26 ChangeLog 832 -MISC metadata.xml 251 RMD160 f98b79c78c9a648314ee514bc8521a31a8018b3d SHA1 f58b9ae8d4a67e568288a4cf7d0037f228ba3fc4 SHA256 2ecb6b4fcce7435885895d82f44bd288b8ab797c7d6476eaac494d44a56f8886 -MD5 2bd4d3e52be613c49601598c97abb372 metadata.xml 251 -RMD160 f98b79c78c9a648314ee514bc8521a31a8018b3d metadata.xml 251 -SHA256 2ecb6b4fcce7435885895d82f44bd288b8ab797c7d6476eaac494d44a56f8886 metadata.xml 251 +EBUILD virtualbox-9999.ebuild 2992 RMD160 0b89b1c5f10439f5d370e8c590c847fbe5a064d0 SHA1 d41dcc5d319dbd85401b49391368a3700845e731 SHA256 2aa9849e7ecf151c92a4dedd754769c4df1ce87f036ca10f3283ac15c482f3c6 +MD5 67fa48e97518af46443a714b5796e9b3 virtualbox-9999.ebuild 2992 +RMD160 0b89b1c5f10439f5d370e8c590c847fbe5a064d0 virtualbox-9999.ebuild 2992 +SHA256 2aa9849e7ecf151c92a4dedd754769c4df1ce87f036ca10f3283ac15c482f3c6 virtualbox-9999.ebuild 2992 +MISC ChangeLog 1135 RMD160 5bcd657173556caf0c9a7573652f4813dcf284f4 SHA1 a253a2e2fe64bd02ae04dd12781430548822ab40 SHA256 a6f28509ca97c48e41094cea31b52f980ad5f4582ba774159dcd7361681c5f0d +MD5 3f367de4231f1ce0838049df24123dc4 ChangeLog 1135 +RMD160 5bcd657173556caf0c9a7573652f4813dcf284f4 ChangeLog 1135 +SHA256 a6f28509ca97c48e41094cea31b52f980ad5f4582ba774159dcd7361681c5f0d ChangeLog 1135 +MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9 +MD5 688de6c9943189afc4fa3ab510813dbd metadata.xml 344 +RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e metadata.xml 344 +SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9 metadata.xml 344 MD5 daecacb946f29436b7fb3f41361328c2 files/digest-virtualbox-1.3.4 271 RMD160 8720f55536766b10c41f6e6438f31f1a6b9b2310 files/digest-virtualbox-1.3.4 271 SHA256 4a2a60b8eaa2d3cf0837947806e841464309d4c58ed73e78e08ef3ad6b0256a2 files/digest-virtualbox-1.3.4 271 +MD5 daecacb946f29436b7fb3f41361328c2 files/digest-virtualbox-1.3.4-r1 271 +RMD160 8720f55536766b10c41f6e6438f31f1a6b9b2310 files/digest-virtualbox-1.3.4-r1 271 +SHA256 4a2a60b8eaa2d3cf0837947806e841464309d4c58ed73e78e08ef3ad6b0256a2 files/digest-virtualbox-1.3.4-r1 271 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-virtualbox-9999 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-virtualbox-9999 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-virtualbox-9999 0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFF0LfZz974XjDVpbkRAjjcAKDW95B6A5KqKZxT5A/JexIz4LZcZACgrgfM -lBhC6QyamIaa4TC5uykOGzU= -=unt8 +iD8DBQFF1MITz974XjDVpbkRAvRQAJ9djssHdHlM10m8KPS3tc1/nPCQugCfXBMD +/6WSaXzhAvoFrbWqG1Ahr+E= +=A1qm -----END PGP SIGNATURE----- diff --git a/app-emulation/virtualbox/files/digest-virtualbox-1.3.4-r1 b/app-emulation/virtualbox/files/digest-virtualbox-1.3.4-r1 new file mode 100644 index 000000000000..d3662f648fa4 --- /dev/null +++ b/app-emulation/virtualbox/files/digest-virtualbox-1.3.4-r1 @@ -0,0 +1,3 @@ +MD5 67853add4afc2eace5d8f45cfe9a32c5 VirtualBox-OSE-1.3.4.tar.bz2 17491150 +RMD160 32bd5f5e9bbf19bf59ffa93ccf6013496b40e318 VirtualBox-OSE-1.3.4.tar.bz2 17491150 +SHA256 c7d756645c96d202b8e88924f2b4da414c6d02775d3224739b21cdda064bbeee VirtualBox-OSE-1.3.4.tar.bz2 17491150 diff --git a/app-emulation/virtualbox/files/virtualbox.desktop b/app-emulation/virtualbox/files/virtualbox.desktop new file mode 100644 index 000000000000..a6cf264c8cbf --- /dev/null +++ b/app-emulation/virtualbox/files/virtualbox.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.3.4 +Name=InnoTek VirtualBox +Type=Application +Comment=Run several virtual systems on a single host computer +Exec=virtualbox +TryExec=virtualbox +Path= +Icon=virtualbox.png +Categories=Application;Emulator;System; diff --git a/app-emulation/virtualbox/metadata.xml b/app-emulation/virtualbox/metadata.xml index 88bdb4223fff..76eddd3fbb1b 100644 --- a/app-emulation/virtualbox/metadata.xml +++ b/app-emulation/virtualbox/metadata.xml @@ -6,4 +6,8 @@ jokey@gentoo.org Markus Ullmann + + swapon@gmail.com + Alessio Cassibba + diff --git a/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild b/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild new file mode 100644 index 000000000000..9f14ad8ebf4f --- /dev/null +++ b/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +inherit eutils linux-mod qt3 + +MY_P=VirtualBox-OSE-${PV} +DESCRIPTION="Softwarefamily of powerful x86 virtualization" +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="additions sdk" + +RDEPEND="!app-emulation/virtualbox-bin + dev-libs/libIDL + >=dev-libs/libxslt-1.1.19 + dev-libs/xalan-c + dev-libs/xerces-c + media-libs/libsdl + x11-libs/libXcursor + $(qt_min_version 3.3.5) + =virtual/libstdc++-3.3" +DEPEND="${REPEND} + sys-devel/bin86 + sys-devel/dev86 + sys-power/iasl" +RDEPEND="${REPEND} + additions? ( =app-emulation/virtualbox-additions-${PV} )" + +S=${WORKDIR}/${MY_P} + +BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" +BUILD_TARGETS="all" +MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)" + +src_compile() { + cd "${S}" + ./configure || die "configure failed" + source ./env.sh + kmk all || die "kmk failed" + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install + + cd "${S}"/out/linux.${ARCH}/release/bin + + insinto /opt/VirtualBox + if use sdk; then + doins -r sdk + make_wrapper xpidl "sdk/bin/xpidl" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/sdk/bin/xpidl + fi + + rm -rf sdk src tst* testcase additions vboxdrv.ko SUPInstall SUPUninstall + + doins -r * + for each in VBox{BFE,Manage,SDL,SVC,XPCOMIPCD} VirtualBox vditool xpidl ; do + fperms 0755 /opt/VirtualBox/${each} + done + make_wrapper vboxsvc "./VBoxSVC" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper virtualbox "./VirtualBox" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxmanage "./VBoxManage" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxsdl "./VBoxSDL" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxvrdp "./VBoxVRDP" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + + # udev rule for vboxdrv + dodir /etc/udev/rules.d + echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >> "${D}/etc/udev/rules.d/60-virtualbox.rules" + + # desktop entry + insinto /usr/share/pixmaps + newins "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png + insinto /usr/share/applications + doins "${FILESDIR}"/${PN}.desktop +} + +pkg_preinst() { + enewgroup vboxusers +} + +pkg_postinst() { + if use amd64; then + elog "" + elog "To avoid the nmi_watchdog bug and load the vboxdrv module" + elog "you may need to update your bootloader configuration and pass the option:" + elog "nmi_watchdog=0" + fi + elog "" + elog "In order to launch VirtualBox you need to start VBoxSVC first," + elog "this can be done with:" + elog "vboxsvc --daemonize && virtualbox" + elog "" + elog "You must be in the vboxusers group to use VirtualBox." + elog "" + elog "The last user manual is available for download at:" + elog "http://www.virtualbox.org/download/UserManual.pdf" + elog "" +} diff --git a/app-emulation/virtualbox/virtualbox-9999.ebuild b/app-emulation/virtualbox/virtualbox-9999.ebuild index d899ab9bcea7..4fd673072596 100644 --- a/app-emulation/virtualbox/virtualbox-9999.ebuild +++ b/app-emulation/virtualbox/virtualbox-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-9999.ebuild,v 1.4 2007/02/12 18:55:09 jokey Exp $ +# $Header $ inherit eutils linux-mod qt3 subversion @@ -11,42 +11,90 @@ ESVN_REPO_URI="http://virtualbox.org/svn/vbox/trunk" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="additions sdk" -RDEPEND="dev-libs/libIDL +RDEPEND="!app-emulation/virtualbox-bin + dev-libs/libIDL >=dev-libs/libxslt-1.1.19 dev-libs/xalan-c dev-libs/xerces-c media-libs/libsdl x11-libs/libXcursor - $(qt_min_version 3.3.5)" + $(qt_min_version 3.3.5) + =virtual/libstdc++-3.3" DEPEND="${REPEND} sys-devel/bin86 sys-devel/dev86 sys-power/iasl" +RDEPEND="${REPEND} + additions? ( =app-emulation/virtualbox-additions-1.3.4 )" +BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" BUILD_TARGETS="all" -BUILD_PARAMS="KERN_DIR=${KERNEL_DIR}" MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)" src_compile() { cd "${S}" ./configure || die "configure failed" source ./env.sh - kmk all + kmk all || die "kmk failed" linux-mod_src_compile } src_install() { linux-mod_src_install + cd "${S}"/out/linux.${ARCH}/release/bin - rm -rf sdk src tst* testcase additions/src - rm vboxdrv.ko SUPInstall SUPUninstall + insinto /opt/VirtualBox + if use sdk; then + doins -r sdk + make_wrapper xpidl "sdk/bin/xpidl" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/sdk/bin/xpidl + fi + + rm -rf sdk src tst* testcase additions vboxdrv.ko SUPInstall SUPUninstall + doins -r * - for each in VBox{BFE,Manage,SDL,SVC,XPCOMIPCD} VirtualBox vditool xpidl additions/vboxadd-timesync ; do + for each in VBox{BFE,Manage,SDL,SVC,XPCOMIPCD} VirtualBox vditool xpidl ; do fperms 0755 /opt/VirtualBox/${each} done make_wrapper vboxsvc "./VBoxSVC" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" make_wrapper virtualbox "./VirtualBox" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxmanage "./VBoxManage" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxsdl "./VBoxSDL" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxvrdp "./VBoxVRDP" "${ROOT}opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + + # udev rule for vboxdrv + dodir /etc/udev/rules.d + echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >> "${D}/etc/udev/rules.d/60-virtualbox.rules" + + # desktop entry + insinto /usr/share/pixmaps + newins "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png + insinto /usr/share/applications + doins "${FILESDIR}"/${PN}.desktop +} + +pkg_preinst() { + enewgroup vboxusers +} + +pkg_postinst() { + if use amd64; then + elog "" + elog "To avoid the nmi_watchdog bug and load the vboxdrv module" + elog "you may need to update your bootloader configuration and pass the option:" + elog "nmi_watchdog=0" + fi + elog "" + elog "In order to launch VirtualBox you need to start VBoxSVC first," + elog "this can be done with:" + elog "vboxsvc --daemonize && virtualbox" + elog "" + elog "You must be in the vboxusers group to use VirtualBox." + elog "" + elog "The last user manual is available for download at:" + elog "http://www.virtualbox.org/download/UserManual.pdf" + elog "" }