diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2007-05-16 19:04:11 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2007-05-16 19:04:11 +0000 |
commit | 3451e29e60d17eb98f0c1a396c2bc4d48831e5e5 (patch) | |
tree | 6c080a7b648bf2143c3395fd7d7eca90a1090daa /app-emulation | |
parent | Parallels Workstation 2.2 License (diff) | |
download | gentoo-2-3451e29e60d17eb98f0c1a396c2bc4d48831e5e5.tar.gz gentoo-2-3451e29e60d17eb98f0c1a396c2bc4d48831e5e5.tar.bz2 gentoo-2-3451e29e60d17eb98f0c1a396c2bc4d48831e5e5.zip |
Adding Parallels Workstation ebuilds to the tree. These are written and maintained by Andrey Romanchev <andreyr@parallels.com> and proxy committed by me.
(Portage version: 2.1.2.7)
Diffstat (limited to 'app-emulation')
7 files changed, 194 insertions, 0 deletions
diff --git a/app-emulation/parallels-workstation/ChangeLog b/app-emulation/parallels-workstation/ChangeLog new file mode 100644 index 000000000000..86434ff7a734 --- /dev/null +++ b/app-emulation/parallels-workstation/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for app-emulation/parallels-workstation +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/parallels-workstation/ChangeLog,v 1.1 2007/05/16 19:04:11 cardoe Exp $ + +*parallels-workstation-2.2.2112-r1 (16 May 2007) + + 16 May 2007; Doug Goldstein <cardoe@gentoo.org> + +files/parallels-workstation-2.2.2112-prlnet.patch, +files/parallels.rc, + +metadata.xml, +parallels-workstation-2.2.2112-r1.ebuild: + Adding Parallels Workstation ebuilds to the tree. These are written and + maintained by Andrey Romanchev <andreyr@parallels.com> and proxy committed + by me. + diff --git a/app-emulation/parallels-workstation/Manifest b/app-emulation/parallels-workstation/Manifest new file mode 100644 index 000000000000..1e2df79d0b48 --- /dev/null +++ b/app-emulation/parallels-workstation/Manifest @@ -0,0 +1,24 @@ +AUX parallels-workstation-2.2.2112-prlnet.patch 340 RMD160 efacfdca7d5dfabec09a44fa8b31d8329ecd612b SHA1 c3f2b90ff9b7731f9e2d502b47671814bbf818d2 SHA256 b963f3d95f06a4300b5b10abea21422640d0f41950996c32dab599505e62d8cd +MD5 df95f06446e43010a746cd4d7b06d4fe files/parallels-workstation-2.2.2112-prlnet.patch 340 +RMD160 efacfdca7d5dfabec09a44fa8b31d8329ecd612b files/parallels-workstation-2.2.2112-prlnet.patch 340 +SHA256 b963f3d95f06a4300b5b10abea21422640d0f41950996c32dab599505e62d8cd files/parallels-workstation-2.2.2112-prlnet.patch 340 +AUX parallels.rc 720 RMD160 a629777edf5d00248e941c5b9885b554a2c3c14d SHA1 8beda2160707aa0567f0552c91dbb02ec21e07b2 SHA256 da7a0cfffae14a83a51cec603087a6dc5d9d74c77d084b5b6f7ce4a038046989 +MD5 395032e9e504b7a2b3524b6ca84594dc files/parallels.rc 720 +RMD160 a629777edf5d00248e941c5b9885b554a2c3c14d files/parallels.rc 720 +SHA256 da7a0cfffae14a83a51cec603087a6dc5d9d74c77d084b5b6f7ce4a038046989 files/parallels.rc 720 +DIST Parallels-2.2.2112-lin.tgz 16779974 RMD160 cf4cc7773a168b14c315be7bb4a760749beeeefb SHA1 fed6d150a72216ac084825e8efcbb18cbd3629be SHA256 3ea46c2895c89eee23d14c9d20fc12d5892736297c5fb7c77a64bae8c94f2ce5 +EBUILD parallels-workstation-2.2.2112-r1.ebuild 2119 RMD160 70c7f5555bf2afafe6d1511aa91f52492514840b SHA1 790fc95e56fc26abf1bb3f092a839c461d1028b4 SHA256 e22a896f376c6261472d0b76609e953862c975ae7860b0fcc1548131dfa05cdb +MD5 f910677e7b855294bfe4eaaaf4d50e4b parallels-workstation-2.2.2112-r1.ebuild 2119 +RMD160 70c7f5555bf2afafe6d1511aa91f52492514840b parallels-workstation-2.2.2112-r1.ebuild 2119 +SHA256 e22a896f376c6261472d0b76609e953862c975ae7860b0fcc1548131dfa05cdb parallels-workstation-2.2.2112-r1.ebuild 2119 +MISC ChangeLog 532 RMD160 6d940fd4e806d82facf5bc77a254690e721d1c5e SHA1 d2ae1b8e033ebc8c68fbfa99df8424025ac79a6f SHA256 18ccfbbdbde42ad6a24d3e62dd4c066656cd6e5060702eccdc9154db11968272 +MD5 c401e2f7a013d76386c0c0f866d886b9 ChangeLog 532 +RMD160 6d940fd4e806d82facf5bc77a254690e721d1c5e ChangeLog 532 +SHA256 18ccfbbdbde42ad6a24d3e62dd4c066656cd6e5060702eccdc9154db11968272 ChangeLog 532 +MISC metadata.xml 730 RMD160 c230554da9e45b7a7088fbffb6f21638a42753a7 SHA1 269bbbac7bdbd3513209bb666e1ccd3ea9adb9a9 SHA256 59c576c7bf7ddd5c0113c02f8056add269d3311a2609dfd698dd801c484b44d6 +MD5 4a51f09801da981d12219e458f7c2ea8 metadata.xml 730 +RMD160 c230554da9e45b7a7088fbffb6f21638a42753a7 metadata.xml 730 +SHA256 59c576c7bf7ddd5c0113c02f8056add269d3311a2609dfd698dd801c484b44d6 metadata.xml 730 +MD5 807bd2324f0218d4f418446d44ef845c files/digest-parallels-workstation-2.2.2112-r1 265 +RMD160 e427d68caee5752e93e54e12348bb4be86b90727 files/digest-parallels-workstation-2.2.2112-r1 265 +SHA256 0ff3e636fc2418779d7814d0ce4e69666f7a0bcb0053a4c9308ca8d8bbed4a6b files/digest-parallels-workstation-2.2.2112-r1 265 diff --git a/app-emulation/parallels-workstation/files/digest-parallels-workstation-2.2.2112-r1 b/app-emulation/parallels-workstation/files/digest-parallels-workstation-2.2.2112-r1 new file mode 100644 index 000000000000..408bcf40aa30 --- /dev/null +++ b/app-emulation/parallels-workstation/files/digest-parallels-workstation-2.2.2112-r1 @@ -0,0 +1,3 @@ +MD5 f20d41ab4c91d2220265b333fcac1f34 Parallels-2.2.2112-lin.tgz 16779974 +RMD160 cf4cc7773a168b14c315be7bb4a760749beeeefb Parallels-2.2.2112-lin.tgz 16779974 +SHA256 3ea46c2895c89eee23d14c9d20fc12d5892736297c5fb7c77a64bae8c94f2ce5 Parallels-2.2.2112-lin.tgz 16779974 diff --git a/app-emulation/parallels-workstation/files/parallels-workstation-2.2.2112-prlnet.patch b/app-emulation/parallels-workstation/files/parallels-workstation-2.2.2112-prlnet.patch new file mode 100644 index 000000000000..440763411ac6 --- /dev/null +++ b/app-emulation/parallels-workstation/files/parallels-workstation-2.2.2112-prlnet.patch @@ -0,0 +1,16 @@ +--- data/drivers/drv_net/linux/prlnet.c ++++ data/drivers/drv_net/linux/prlnet.c + +13a14 +> #include <linux/mm.h> +882a884,887 +> #ifndef CHECKSUM_HW +> int do_csum = skb->pkt_type == PACKET_OUTGOING +> && skb->ip_summed == CHECKSUM_COMPLETE; +> #else +884a890 +> #endif +1010a1017 +> #if WIRELESS_EXT >=12 && WIRELESS_EXT < 17 +1012a1020 +> #endif diff --git a/app-emulation/parallels-workstation/files/parallels.rc b/app-emulation/parallels-workstation/files/parallels.rc new file mode 100755 index 000000000000..417ea9469b14 --- /dev/null +++ b/app-emulation/parallels-workstation/files/parallels.rc @@ -0,0 +1,39 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/parallels-workstation/files/parallels.rc,v 1.1 2007/05/16 19:04:11 cardoe Exp $ + +NAME="Parallels Workstation 2.2" + +checkconfig() { + if [ -e /usr/lib/parallels/.not_configured ]; then + eerror "You should configure ${NAME}" + eerror "before starting it for the first time." + eerror "Issue \"parallels-config\" command." + + return 1 + fi +} + +depend() { + need net +} + +start() { + checkconfig || return 1 + + ebegin "Starting ${NAME}" + + /usr/lib/parallels/autostart/drivers_start > /dev/null 2>&1 + + eend $? "Failed to start ${NAME}" +} + +stop() { + ebegin "Stopping ${NAME}" + + /usr/lib/parallels/autostart/drivers_stop > /dev/null 2>&1 + + eend $? "Failed to stop ${NAME}" +} + diff --git a/app-emulation/parallels-workstation/metadata.xml b/app-emulation/parallels-workstation/metadata.xml new file mode 100644 index 000000000000..24f363da84da --- /dev/null +++ b/app-emulation/parallels-workstation/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>andreyr@parallels.com</email> + <name>Andrey Romanchev</name> + <description>Official Maintainer</description> +</maintainer> +<maintainer> + <email>cardoe@gentoo.org</email> + <name>Doug Goldstein</name> + <description>Proxy Maintainer</description> +</maintainer> +<longdescription>Parallels Workstation is a powerful, easy to use, cost +effective desktop virtualization solution that empowers PC users with the +ability to create completely networked, fully portable, entirely independent +virtual machines on a single physical machine.</longdescription> +</pkgmetadata> diff --git a/app-emulation/parallels-workstation/parallels-workstation-2.2.2112-r1.ebuild b/app-emulation/parallels-workstation/parallels-workstation-2.2.2112-r1.ebuild new file mode 100644 index 000000000000..4080b9cb4da7 --- /dev/null +++ b/app-emulation/parallels-workstation/parallels-workstation-2.2.2112-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/parallels-workstation/parallels-workstation-2.2.2112-r1.ebuild,v 1.1 2007/05/16 19:04:11 cardoe Exp $ + +inherit eutils + +S=${WORKDIR}/parallels-${PV}-lin +DESCRIPTION="Virtual machine software that runs multiple operating systems and their applications simultaneously on a single PC." +HOMEPAGE="http://www.parallels.com" +SRC_URI="http://download.parallels.com/GA/Parallels-${PV}-lin.tgz" + +LICENSE="Parallels" +SLOT="0" +KEYWORDS="-* x86" +RESTRICT="nostrip" + +DEPEND="virtual/os-headers + =x11-libs/qt-3* + >=sys-libs/libstdc++-v3-3.0.0 +" +destdir=/usr/lib/parallels + +src_unpack() { + unpack Parallels-${PV}-lin.tgz + cd ${S} + epatch "${FILESDIR}"/${PN}-2.2.2112-prlnet.patch +} + +src_install() { + dodir ${destdir}/doc + + dodoc ${S}/data/doc/README ${S}/data/doc/INSTALL ${S}/data/doc/LICENSE + cp -a ${S}/data/doc/README ${D}/${destdir}/doc + cp -a ${S}/data/doc/INSTALL ${D}/${destdir}/doc + cp -a ${S}/data/doc/LICENSE ${D}/${destdir}/doc + + cp -a ${S}/data/* ${D}/${destdir} + + dodir ${destdir}/bugreports; fperms 1777 ${destdir}/bugreports + + touch ${D}/${destdir}/.parallels_common_options; fperms 666 ${destdir}/.parallels_common_options + touch ${D}/${destdir}/.parallels_license; fperms 666 ${destdir}/.parallels_license + touch ${D}/${destdir}/.not_configured + + dodir /usr/bin/ + dosym ${destdir}/parallels /usr/bin/parallels + dosym ${destdir}/imagetool /usr/bin/imagetool + dosym ${destdir}/parallels-config /usr/bin/parallels-config + + dosym /usr/bin/parallels /usr/bin/Parallels + dosym /usr/bin/parallels-config /usr/bin/Parallels-config + + newinitd ${FILESDIR}/parallels.rc parallels +} + +pkg_preinst() { + running=`rc-status -s | grep parallels | grep started` + if [[ $running != "" ]]; then + /etc/init.d/parallels stop + fi +} + +pkg_postinst() { + rm -f $destdir/.ereaded + + $destdir/tools/mimelink associate 2> /dev/null + chmod 06555 $destdir/parallels-linux + + echo + einfo "You should configure ${PN} ${PV}" + einfo "before starting it for the first time." + einfo "Issue \"parallels-config\" command." + echo +} + +pkg_postrm() { + if [ -e $destdir/Makefile ]; then + make -C $destdir clean distclean > /dev/null 2>&1 + fi +} |