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 | c08ac416ef8a2b7e963905b4ac687776b78b5d98 (patch) | |
tree | 9fc2bc5385361accd8ca532cc0a0ffad73f05a84 /app-emulation | |
parent | Parallels Workstation 2.2 License (diff) | |
download | historical-c08ac416ef8a2b7e963905b4ac687776b78b5d98.tar.gz historical-c08ac416ef8a2b7e963905b4ac687776b78b5d98.tar.bz2 historical-c08ac416ef8a2b7e963905b4ac687776b78b5d98.zip |
Adding Parallels Workstation ebuilds to the tree. These are written and maintained by Andrey Romanchev <andreyr@parallels.com> and proxy committed by me.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'app-emulation')
7 files changed, 204 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..920a014940f1 --- /dev/null +++ b/app-emulation/parallels-workstation/Manifest @@ -0,0 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 836 RMD160 85d5dd81d63dfaddffa29ff922b87786c85dbfa0 SHA1 a943085b6c44048b75dfefa3d41099a67ef4c92e SHA256 db1af1c07170437a22f4ca39cf58fd0b9b067106e5a3647382fa031046d3ddf7 +MD5 6d83d5f78af7a691b7ec29d708695246 files/parallels.rc 836 +RMD160 85d5dd81d63dfaddffa29ff922b87786c85dbfa0 files/parallels.rc 836 +SHA256 db1af1c07170437a22f4ca39cf58fd0b9b067106e5a3647382fa031046d3ddf7 files/parallels.rc 836 +DIST Parallels-2.2.2112-lin.tgz 16779974 RMD160 cf4cc7773a168b14c315be7bb4a760749beeeefb SHA1 fed6d150a72216ac084825e8efcbb18cbd3629be SHA256 3ea46c2895c89eee23d14c9d20fc12d5892736297c5fb7c77a64bae8c94f2ce5 +EBUILD parallels-workstation-2.2.2112-r1.ebuild 2257 RMD160 6e6e94428a2f81c32660d93948510f06ad1cd8a3 SHA1 bc82dd3c40c346e5ceb6ad81c1cd0021c49ee4ef SHA256 50e6899de4df7d103a845a824850ac0873dc744e85d365d016c56a87e3a99424 +MD5 ca85e9024c5e22f667852cfe0a95d436 parallels-workstation-2.2.2112-r1.ebuild 2257 +RMD160 6e6e94428a2f81c32660d93948510f06ad1cd8a3 parallels-workstation-2.2.2112-r1.ebuild 2257 +SHA256 50e6899de4df7d103a845a824850ac0873dc744e85d365d016c56a87e3a99424 parallels-workstation-2.2.2112-r1.ebuild 2257 +MISC ChangeLog 639 RMD160 5ae98a10d4656df98694b450c926e0b954ac25db SHA1 8639d2fe287e286658d17a2920a435c40c2589a9 SHA256 532b43a0407066a4c61edd10936a1a7e402701981495fc0f99518b4b196364e3 +MD5 65bca274cbf56ca243869b0a688ecef0 ChangeLog 639 +RMD160 5ae98a10d4656df98694b450c926e0b954ac25db ChangeLog 639 +SHA256 532b43a0407066a4c61edd10936a1a7e402701981495fc0f99518b4b196364e3 ChangeLog 639 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.4 (GNU/Linux) + +iD8DBQFGS1VYoeSe8B0zEfwRAtAkAJwP3C0+KKKDe/9QlEZxHXNujVSjJgCfZ+q1 +CNYolGippcoHyU5hB+OIHoA= +=qMjp +-----END PGP SIGNATURE----- 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 +} |