diff options
author | Vadim Kuznetsov <vadimk@gentoo.org> | 2010-03-01 16:37:23 +0000 |
---|---|---|
committer | Vadim Kuznetsov <vadimk@gentoo.org> | 2010-03-01 16:37:23 +0000 |
commit | da0bce77c99e634b61189d58bc2e0eacb0aca98f (patch) | |
tree | df6e6239ad980ad3ca317cf739454e366aa4f136 /app-emulation | |
parent | update digest (diff) | |
download | vmware-da0bce77c99e634b61189d58bc2e0eacb0aca98f.tar.gz vmware-da0bce77c99e634b61189d58bc2e0eacb0aca98f.tar.bz2 vmware-da0bce77c99e634b61189d58bc2e0eacb0aca98f.zip |
clean old files
svn path=/trunk/; revision=382
Diffstat (limited to 'app-emulation')
8 files changed, 0 insertions, 346 deletions
diff --git a/app-emulation/vmware-player/Manifest b/app-emulation/vmware-player/Manifest index eea9f2d..cb8b83a 100644 --- a/app-emulation/vmware-player/Manifest +++ b/app-emulation/vmware-player/Manifest @@ -1,14 +1,7 @@ -AUX 90vmware-player 91 RMD160 025ff93348f5a838183e4f6108d7030168ca5ed5 SHA1 54c316adaafce41771eb26513c960dabbed61ce9 SHA256 9aee16313163bd9e161e81ef2876d086fb8972489100c4f8f0a4695ff16578f9 AUX config-3.0 308 RMD160 4773cf7aba9b54c37f24dddeaef24a3899d2efed SHA1 574e77f24b11d169c535ed0f7f4cdd1a5c472425 SHA256 f00e4bb7e23d1d9dffdb5043705f512dba34c641121401851ab77c648fe64a70 -AUX helpers/module_patcher.sh 174 RMD160 0b2d1ee14443ec188546b090ae2c5e6efd132026 SHA1 f00ea5d03430be4969834bda822ed2865ef6e079 SHA256 1e63240f7e21e119c8e0b083f540fdde83fc22d781f3abe43927713a464898ea -AUX helpers/unbundler.sh 1828 RMD160 d5bb43628d105c4372fa1fe7e7ebac29300fa91f SHA1 ed4b2645369b63e1cb6e322d412eb2ede1cbbdcd SHA256 4e71dd96f5136c1eb98be5e1184b9ec48ed9ac7935fa1defd94d501cef05eb78 -AUX helpers/vmware-config.sh 497 RMD160 04addab6d99bf2c984f855a97b935ca8e0e584d8 SHA1 935eb3f565cebdca806d20e852a4bc75c7bc420b SHA256 72712959b26b22bfe8118561cd7b0751973d2a9dd8c2b15379cd42dc8a4ac246 AUX list-bundle-components.xsl 470 RMD160 c45fe9d1690eac831c79bc63ef68de45d1265891 SHA1 d35982cfe4f3052fff013059d1df495c672ddd0e SHA256 4fe6b25ecbb99b3a4f15cbb8de41be466ff545f8e9fa1110d62ca0cf24e72395 AUX list-component-files.xsl 545 RMD160 46747c300daf5c6b2c143f02840a94a409f381c4 SHA1 40b6e4cd0bb189ec9997e8b6009c9508082ed51a SHA256 6682c07630ef4586016776e065018f8695a790c5297408597b1ae24692fab629 AUX vmware-3.0.rc 468 RMD160 2d1ff2a6df0c75bd9e36cb3d9f996268183a59e4 SHA1 cf0ae5ee4f242a152192d87dcc837577da2771fc SHA256 ead7a37727e14e2009d472fd2a6b62627646f8a9701d80f96e732a6660c5563d -AUX vmware-player-2.5.rc 1430 RMD160 18efb4b59e9ad462ae4264e72d2521bae1df380d SHA1 6a041de2d526790e9db7a4e16656a7166110f4b1 SHA256 6667dd63aaa86a7f05c0f6fc116ffa9414e9fa81fb9e8facea38b7a1497bee33 -AUX vmware-player.rc 1852 RMD160 e3cc563af38ef690b16bfbdcc0080156af2eab37 SHA1 5436cfd0e75ab842b86826b0abc298a2b9433963 SHA256 ef77428df2608613860cd79683648a45d99657150e7c901d7f449b8df4528fee -AUX vmware-player.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c SHA1 02db2ee7ca0abb8b8793c9f56d858bb08c1c715f SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d DIST VMware-Player-3.0.1-227600.i386.bundle 84974107 RMD160 4337339976d25d8dbd1f4904ba2ed2b53d1e9c49 SHA1 cff76010f0429576288ea1e5a594cd47a2c64f4a SHA256 9314e49ebb252fd937032481b13d0bea4a3af6409485e79576f797834b978285 DIST VMware-Player-3.0.1-227600.x86_64.bundle 79959324 RMD160 c6652acadc760bab8ecfed2682706e31f51423ef SHA1 84f25370d24c03a18968a4f4c8e06cef3d21c2df SHA256 8347b3fa0c1cd1c88c3c8049462f3d0d752d6f7daa747a7d2a67667a3f55f190 EBUILD vmware-player-3.0.1.227600.ebuild 5846 RMD160 5db1467424b05c6a8eb0fe87327bf362e085e7c6 SHA1 0ae6eb1e55992639677ba5849c2ee529934fa7d3 SHA256 a04465521066243444a4fca7ff2fe33a5ce88184daf44260e95559cbf60fdcf2 diff --git a/app-emulation/vmware-player/files/90vmware-player b/app-emulation/vmware-player/files/90vmware-player deleted file mode 100644 index 3ff865b..0000000 --- a/app-emulation/vmware-player/files/90vmware-player +++ /dev/null @@ -1,3 +0,0 @@ -PATH=/opt/vmware/player/bin -ROOTPATH=/opt/vmware/player/bin -MANPATH=/opt/vmware/player/man diff --git a/app-emulation/vmware-player/files/helpers/module_patcher.sh b/app-emulation/vmware-player/files/helpers/module_patcher.sh deleted file mode 100755 index 03c490a..0000000 --- a/app-emulation/vmware-player/files/helpers/module_patcher.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -MY_BASE=$(basename $1) -if [ -f ${FILESDIR}/${PV}/${MY_BASE}.patch ]; -then - echo -n "Module Patcher: " - patch -f -p1 ${1} < ${FILESDIR}/${PV}/${MY_BASE}.patch -fi diff --git a/app-emulation/vmware-player/files/helpers/unbundler.sh b/app-emulation/vmware-player/files/helpers/unbundler.sh deleted file mode 100755 index b19b587..0000000 --- a/app-emulation/vmware-player/files/helpers/unbundler.sh +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/bash - -ORIGFILE="$1" - -is_relative() { - local path="$1" - shift - - [ "${path:0:1}" != "/" ] - return -} - -set_offsets() { - # This won't work with non-GNU stat. - FILE_SIZE=`stat -L --format "%s" "$1"` - local offset=$(($FILE_SIZE - 4)) - - MAGIC_OFFSET=$offset - offset=$(($offset - 4)) - - CHECKSUM_OFFSET=$offset - offset=$(($offset - 4)) - - VERSION_OFFSET=$offset - offset=$(($offset - 4)) - - PREPAYLOAD_OFFSET=$offset - offset=$(($offset - 4)) - - PREPAYLOAD_SIZE_OFFSET=$offset - offset=$(($offset - 4)) - - LAUNCHER_SIZE_OFFSET=$offset - offset=$(($offset - 4)) - - PAYLOAD_OFFSET=$offset - offset=$(($offset - 4)) - - PAYLOAD_SIZE_OFFSET=$offset - offset=$(($offset - 4)) -} - -set_lengths() { - local file="$1" - if [ ! -s "$file" ]; then - echo "$file does not exist" - exit 1 - fi - - # XXX: put extraction in its own function - MAGIC_NUMBER=`od -An -t u4 -N 4 -j $MAGIC_OFFSET "$file" | tr -d ' '` - - if [ "$MAGIC_NUMBER" != "907380241" ]; then - echo "magic number does not match" - exit 1 - fi - - LAUNCHER_SIZE=`od -An -t u4 -N 4 -j $LAUNCHER_SIZE_OFFSET "$file" | tr -d ' '` - PAYLOAD_SIZE=`od -An -t u4 -N 4 -j $PAYLOAD_SIZE_OFFSET "$file" | tr -d ' '` - PREPAYLOAD_SIZE=`od -An -t u4 -N 4 -j $PREPAYLOAD_SIZE_OFFSET "$file" | tr -d ' '` - - SKIP_BYTES=$(($PREPAYLOAD_SIZE + $LAUNCHER_SIZE)) - - return 0 -} - -if is_relative "${ORIGFILE}"; then - ORIGFILE="`pwd`/${ORIGFILE}" -fi - - -set_offsets ${ORIGFILE} -set_lengths ${ORIGFILE} - -echo "Unbundling" ${ORIGFILE} - -PREPAYLOAD="prepayload" -PAYLOAD="payload" - -# Unpack the pre-payload file -mkdir ${PREPAYLOAD} -cd ${PREPAYLOAD} -dd if="${ORIGFILE}" ibs=$LAUNCHER_SIZE obs=1024 skip=1 | tar -xzf - 2> /dev/null -cd .. - -# Unpack the main file -mkdir ${PAYLOAD} -cd ${PAYLOAD} -dd if="${ORIGFILE}" ibs=$SKIP_BYTES obs=1024 skip=1 | tar -xzf - 2> /dev/null -cd .. - diff --git a/app-emulation/vmware-player/files/helpers/vmware-config.sh b/app-emulation/vmware-player/files/helpers/vmware-config.sh deleted file mode 100755 index 4895502..0000000 --- a/app-emulation/vmware-player/files/helpers/vmware-config.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -CONFIG_FILE="${D}/etc/vmware/config" - -remove_key() { - local key=${1} - grep -v "^${key} =" ${CONFIG_FILE} - grep -v "^${key} =" ${CONFIG_FILE} > ${CONFIG_FILE}.tmp - mv ${CONFIG_FILE}.tmp ${CONFIG_FILE} -} - -add_key() { - local key=${1} - local value=${2} - echo "${1} = \"${2}\"" >> ${CONFIG_FILE} -} - -mkdir -p $(dirname ${CONFIG_FILE}) -touch ${CONFIG_FILE} - -if [ "${1}" == "-s" ]; then - remove_key ${2} - add_key ${2} ${3/${D}/} -fi - -if [ "${1}" == "-d" ]; then - remove_key ${2} -fi - diff --git a/app-emulation/vmware-player/files/vmware-player-2.5.rc b/app-emulation/vmware-player/files/vmware-player-2.5.rc deleted file mode 100644 index 176dbd7..0000000 --- a/app-emulation/vmware-player/files/vmware-player-2.5.rc +++ /dev/null @@ -1,74 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/files/vmware-player.rc,v 1.5 2008/04/26 17:36:10 ikelos Exp $ - -depend() { - need localmount - use logger net hald - after samba -} - -vmware_prettify() { - # Yea, the code is ugly but the output is pretty - state=$1 - waserror=0 - msgtype=0 - while read line - do - [ "${line}" = "" ] && continue - if [ ${msgtype} -le 0 ] - then - if [ ${msgtype} -eq -1 ] - then - ewarn ${line} - continue - fi - case ${line} in - *:*) - einfon ${line} - echo - eend 0 - msgtype=1;; - *) - ewarn ${line} - msgtype=-1 - waserror=1;; - esac - continue - fi - - # Strip out anything after the <esc> code - message=`echo ${line} | sed -e "s/^\(.*\).*$/\1/"` - einfon " ${message}" - echo - - echo ${line} | grep -q done - status=$? - eend ${status} - - if [ ${status} -eq 0 ] - then - logger -p local0.err -t vmware-${state} "${line}" - waserror=${status} - fi - done - if [ "${msgtype}" = "-1" ] - then - eend 1 "VMware is not properly configured! See above." - fi - return ${waserror} -} - -start() { - test -x /etc/vmware/init.d/vmware || \ - eend 1 "vmware init script not found. Aborting" || return 1 - - /etc/vmware/init.d/vmware start | vmware_prettify start - return $? -} - -stop() { - /etc/vmware/init.d/vmware stop | vmware_prettify stop - return $? -} diff --git a/app-emulation/vmware-player/files/vmware-player.rc b/app-emulation/vmware-player/files/vmware-player.rc deleted file mode 100644 index c832947..0000000 --- a/app-emulation/vmware-player/files/vmware-player.rc +++ /dev/null @@ -1,86 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/files/vmware-player.rc,v 1.5 2008/04/26 17:36:10 ikelos Exp $ - -depend() { - need localmount - use logger net hald - after samba -} - -vmware_prettify() { - # Yea, the code is ugly but the output is pretty - state=$1 - waserror=0 - msgtype=0 - while read line - do - [ "${line}" = "" ] && continue - if [ ${msgtype} -le 0 ] - then - if [ ${msgtype} -eq -1 ] - then - ewarn ${line} - continue - fi - case ${line} in - *:*) - einfon ${line} - echo - eend 0 - msgtype=1;; - *) - ewarn ${line} - msgtype=-1 - waserror=1;; - esac - continue - fi - - # Strip out anything after the <esc> code - message=`echo ${line} | sed -e "s/^\(.*\).*$/\1/"` - einfon " ${message}" - echo - - echo ${line} | grep -q done - status=$? - eend ${status} - - if [ ${status} -eq 0 ] - then - logger -p local0.err -t vmware-${state} "${line}" - waserror=${status} - fi - done - if [ "${msgtype}" = "-1" ] - then - eend 1 "VMware is not properly configured! See above." - fi - return ${waserror} -} - -start() { - test -x /etc/vmware/init.d/vmware || \ - eend 1 "vmware init script not found. Aborting" || return 1 - - if modinfo vmblock > /dev/null 2>&1; - then - ebegin "Loading vmblock for drag and drop support" - local result - modprobe vmblock || eend 1 "Failed to load vmblock driver" - test ! -e /tmp/VMwareDnD && mkdir /tmp/VMwareDnD - chmod 1777 /tmp/VMwareDnD - mount -t vmblock none /proc/fs/vmblock/mountPoint || eend 1 "Failed to mount the vmblock filesystem" - eend 0 - fi - - /etc/vmware/init.d/vmware start | vmware_prettify start - return $? -} - -stop() { - umount /proc/fs/vmblock/mountPoint > /dev/null 2>&1 - /etc/vmware/init.d/vmware stop | vmware_prettify stop - return $? -} diff --git a/app-emulation/vmware-player/files/vmware-player.xml b/app-emulation/vmware-player/files/vmware-player.xml deleted file mode 100644 index 8d5e2ef..0000000 --- a/app-emulation/vmware-player/files/vmware-player.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> - <mime-type type="application/x-vmware-vm"> - <comment xml:lang="en">VMware virtual machine</comment> - <magic priority="50"> - <match type="string" value='config.version = "' offset="0:4096"/> - </magic> - <glob pattern="*.vmx"/> - </mime-type> - - <mime-type type="application/x-vmware-vmdisk"> - <comment xml:lang="en">VMware virtual disk</comment> - <magic priority="50"> - <match type="string" value="# Disk DescriptorFile" offset="0"/> - <match type="string" value="KDMV" offset="0"/> - </magic> - <glob pattern="*.vmdk"/> - </mime-type> - - <mime-type type="application/x-vmware-team"> - <comment xml:lang="en">VMware team</comment> - <magic priority="50"> - <match type="string" value='<Foundry version="1">' offset="0"> - <match type="string" value="<VMTeam>" offset="23:24"/> - </match> - </magic> - <glob pattern="*.vmtm"/> - </mime-type> - - <mime-type type="application/x-vmware-snapshot"> - <comment xml:lang="en">VMware virtual machine snapshot</comment> - <magic priority="50"> - <match type="string" value="\\0xD0\\0xBE\\0xD0\\0xBE" offset="0"/> - </magic> - <glob pattern="*.vmsn"/> - </mime-type> - - <mime-type type="application/x-vmware-vmfoundry"> - <comment xml:lang="en">VMware virtual machine foundry</comment> - <magic priority="50"> - <match type="string" value='<Foundry version="1">' offset="0"> - <match type="string" value="<VM>" offset="23:24"/> - </match> - </magic> - <glob pattern="*.vmxf"/> - </mime-type> -</mime-info> |