Browse Source

Sync with portage [Thu Nov 7 16:21:42 MSK 2013].

mhiretskiy
root 9 years ago
parent
commit
69b9d2b8a7
  1. 6
      app-admin/radmind/radmind-1.13.0.ebuild
  2. 6
      app-admin/radmind/radmind-1.7.1-r1.ebuild
  3. 4
      app-arch/zopfli/zopfli-1.0.0.ebuild
  4. 4
      app-arch/zopfli/zopfli-1.0.0_p20130508-r1.ebuild
  5. 8
      app-backup/backuppc/backuppc-2.1.2-r1.ebuild
  6. 3
      app-crypt/pinentry/pinentry-0.8.2.ebuild
  7. 3
      app-crypt/pinentry/pinentry-0.8.3.ebuild
  8. 6
      app-dicts/sword-hunuj/sword-hunuj-1.2.ebuild
  9. 6
      app-doc/phrack-all/phrack-all-66.ebuild
  10. 6
      app-doc/phrack-all/phrack-all-67.ebuild
  11. 6
      app-doc/phrack-all/phrack-all-68.ebuild
  12. 1
      app-emulation/libvirt/Manifest
  13. 433
      app-emulation/libvirt/libvirt-1.1.3.1.ebuild
  14. 83
      app-emulation/vmware-modules/vmware-modules-279.1.ebuild
  15. 4
      app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild
  16. 12
      app-emulation/vmware-tools/Manifest
  17. 55
      app-emulation/vmware-tools/vmware-tools-9.6.1.1379776.ebuild
  18. 2
      app-emulation/vmware-workstation/Manifest
  19. 491
      app-emulation/vmware-workstation/vmware-workstation-10.0.1.1379776.ebuild
  20. 69
      app-emulation/xen-tools/files/xen-tools-4-CVE-2013-4369-XSA-68.patch
  21. 34
      app-emulation/xen-tools/files/xen-tools-4-CVE-2013-4370-XSA-69.patch
  22. 34
      app-emulation/xen-tools/files/xen-tools-4-CVE-2013-4371-XSA-70.patch
  23. 74
      app-emulation/xen-tools/files/xen-tools-4-CVE-2013-4416-XSA-72.patch
  24. 8
      app-emulation/xen-tools/xen-tools-4.2.2-r5.ebuild
  25. 8
      app-emulation/xen-tools/xen-tools-4.3.0-r3.ebuild
  26. 1
      app-misc/elasticsearch/Manifest
  27. 86
      app-misc/elasticsearch/elasticsearch-0.90.6.ebuild
  28. 20
      app-misc/elasticsearch/files/elasticsearch.conf
  29. 86
      app-misc/elasticsearch/files/elasticsearch.init
  30. 11
      app-misc/elasticsearch/files/elasticsearch.service
  31. 8
      app-misc/elasticsearch/metadata.xml
  32. 6
      app-mobilephone/lightblue/lightblue-0.4.ebuild
  33. 6
      app-text/cook/cook-1.0.2-r1.ebuild
  34. 6
      app-text/mbtpdfasm/mbtpdfasm-1.0.28-r1.ebuild
  35. 6
      app-text/pelican/pelican-3.3.ebuild
  36. 6
      dev-db/ctdb/ctdb-1.0.114_p1.ebuild
  37. 6
      dev-db/ctdb/ctdb-1.0.73.ebuild
  38. 6
      dev-db/ctdb/ctdb-1.0.88.ebuild
  39. 6
      dev-db/libdbi/libdbi-0.8.3.ebuild
  40. 6
      dev-db/libodbc++/libodbc++-0.2.5-r1.ebuild
  41. 6
      dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild
  42. 6
      dev-db/mysql-super-smack/mysql-super-smack-1.3-r2.ebuild
  43. 6
      dev-db/odbtp/odbtp-1.1.4.ebuild
  44. 4
      dev-embedded/jtag/jtag-0.5.1-r1.ebuild
  45. 8
      dev-java/colt/colt-1.2.0-r1.ebuild
  46. 6
      dev-java/fastutil/fastutil-4.3.1-r1.ebuild
  47. 6
      dev-java/fastutil/fastutil-4.4.2-r1.ebuild
  48. 6
      dev-java/fastutil/fastutil-5.0.9.ebuild
  49. 6
      dev-java/jsr173/jsr173-1.0-r1.ebuild
  50. 2
      dev-java/jvmstat/Manifest
  51. 6
      dev-java/jvmstat/jvmstat-3.0.ebuild
  52. 4
      dev-lang/maude/Manifest
  53. 260
      dev-lang/maude/files/2.1.1-gcc3.4.patch
  54. 1
      dev-lang/maude/files/23maude
  55. 107
      dev-lang/maude/files/maude-2.3.0-gcc43.patch
  56. 25
      dev-lang/maude/files/maude-2.6-gcc47.patch
  57. 37
      dev-lang/maude/files/maude-2.6-search-datadir.patch
  58. 67
      dev-lang/maude/maude-2.3.0.ebuild
  59. 67
      dev-lang/maude/maude-2.5.0.ebuild
  60. 64
      dev-lang/maude/maude-2.6-r1.ebuild
  61. 70
      dev-lang/maude/maude-2.6.ebuild
  62. 18
      dev-lang/maude/metadata.xml
  63. 1
      dev-perl/Term-ReadLine-TTYtter/Manifest
  64. 20
      dev-perl/Term-ReadLine-TTYtter/Term-ReadLine-TTYtter-1.4.ebuild
  65. 10
      dev-perl/Term-ReadLine-TTYtter/metadata.xml
  66. 1
      dev-python/mozrunner/Manifest
  67. 29
      dev-python/mozrunner/mozrunner-5.26.ebuild
  68. 1
      dev-python/py-amqp/Manifest
  69. 55
      dev-python/py-amqp/py-amqp-1.3.2.ebuild
  70. 1
      dev-python/pyopencl/Manifest
  71. 65
      dev-python/pyopencl/pyopencl-2013.2.ebuild
  72. 4
      dev-python/urllib3/urllib3-1.7.1.ebuild
  73. 4
      dev-qt/assistant/assistant-4.8.5.ebuild
  74. 4
      dev-qt/designer/designer-4.8.5.ebuild
  75. 4
      dev-qt/linguist/linguist-4.8.5.ebuild
  76. 4
      dev-qt/pixeltool/pixeltool-4.8.5.ebuild
  77. 4
      dev-qt/qdbusviewer/qdbusviewer-4.8.5.ebuild
  78. 4
      dev-qt/qt3support/qt3support-4.8.5.ebuild
  79. 4
      dev-qt/qtbearer/qtbearer-4.8.5.ebuild
  80. 4
      dev-qt/qtcore/qtcore-4.8.5.ebuild
  81. 4
      dev-qt/qtdbus/qtdbus-4.8.5.ebuild
  82. 4
      dev-qt/qtdeclarative/qtdeclarative-4.8.5.ebuild
  83. 4
      dev-qt/qtgui/qtgui-4.8.5-r1.ebuild
  84. 4
      dev-qt/qthelp/qthelp-4.8.5-r2.ebuild
  85. 4
      dev-qt/qtmultimedia/qtmultimedia-4.8.5.ebuild
  86. 4
      dev-qt/qtopengl/qtopengl-4.8.5.ebuild
  87. 4
      dev-qt/qtphonon/qtphonon-4.8.5.ebuild
  88. 4
      dev-qt/qtscript/qtscript-4.8.5.ebuild
  89. 4
      dev-qt/qtsql/qtsql-4.8.5.ebuild
  90. 4
      dev-qt/qtsvg/qtsvg-4.8.5.ebuild
  91. 4
      dev-qt/qttest/qttest-4.8.5.ebuild
  92. 4
      dev-qt/qtwebkit/qtwebkit-4.8.5.ebuild
  93. 4
      dev-qt/qtxmlpatterns/qtxmlpatterns-4.8.5.ebuild
  94. 1
      dev-ruby/flog/Manifest
  95. 28
      dev-ruby/flog/flog-4.2.0.ebuild
  96. 4
      dev-vcs/gitolite/gitolite-3.5.3.1.ebuild
  97. 10
      eclass/toolchain.eclass
  98. 4
      games-arcade/gnome-nibbles/gnome-nibbles-3.8.0.ebuild
  99. 4
      games-arcade/gnome-robots/gnome-robots-3.8.1.ebuild
  100. 1
      games-board/domination/Manifest

6
app-admin/radmind/radmind-1.13.0.ebuild

@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/radmind/radmind-1.13.0.ebuild,v 1.2 2012/12/07 19:06:46 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/radmind/radmind-1.13.0.ebuild,v 1.3 2013/11/07 02:29:46 patrick Exp $
EAPI=2
inherit eutils
DESCRIPTION="A suite of Unix command-line tools and a server designed to remotely administer the file systems of multiple Unix machines."
DESCRIPTION="command-line tools and server to remotely administer multiple Unix filesystems"
HOMEPAGE="http://rsug.itd.umich.edu/software/radmind/"
SRC_URI="mirror://sourceforge/radmind/${P}.tar.gz"

6
app-admin/radmind/radmind-1.7.1-r1.ebuild

@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/radmind/radmind-1.7.1-r1.ebuild,v 1.6 2012/12/07 19:06:46 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/radmind/radmind-1.7.1-r1.ebuild,v 1.7 2013/11/07 02:29:46 patrick Exp $
inherit eutils
DESCRIPTION="A suite of Unix command-line tools and a server designed to remotely administer the file systems of multiple Unix machines."
DESCRIPTION="command-line tools and server to remotely administer multiple Unix filesystems"
HOMEPAGE="http://rsug.itd.umich.edu/software/radmind/"
SRC_URI="mirror://sourceforge/radmind/${P}.tar.gz"

4
app-arch/zopfli/zopfli-1.0.0.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/zopfli/zopfli-1.0.0.ebuild,v 1.1 2013/09/18 20:43:23 tomwij Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/zopfli/zopfli-1.0.0.ebuild,v 1.2 2013/11/06 18:43:39 pinkbyte Exp $
EAPI="5"
@ -12,7 +12,7 @@ SRC_URI="https://${PN}.googlecode.com/files/${P}.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
DEPEND="app-arch/unzip"

4
app-arch/zopfli/zopfli-1.0.0_p20130508-r1.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/zopfli/zopfli-1.0.0_p20130508-r1.ebuild,v 1.1 2013/09/23 00:50:44 tomwij Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/zopfli/zopfli-1.0.0_p20130508-r1.ebuild,v 1.2 2013/11/06 18:43:39 pinkbyte Exp $
EAPI="5"
@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~tomwij/files/dist/${P}.zip"
LICENSE="Apache-2.0"
SLOT="0/${SONAME}"
KEYWORDS="~amd64"
KEYWORDS="~amd64 ~x86"
DEPEND="app-arch/unzip"

8
app-backup/backuppc/backuppc-2.1.2-r1.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/backuppc-2.1.2-r1.ebuild,v 1.5 2012/05/24 04:37:05 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/backuppc-2.1.2-r1.ebuild,v 1.6 2013/11/07 02:33:23 patrick Exp $
inherit eutils webapp user
@ -9,9 +9,7 @@ IUSE="samba doc"
MY_P=BackupPC-${PV}
PATCH_VER=0.1
S="${WORKDIR}"/${MY_P}
DESCRIPTION="A high performance, enterprise grade backup system for backing up
Linux, Windows, Mac OS X desktops and laptops to a server's disk. No client
side software needed."
DESCRIPTION="A high-performance system for backing up computers to a server's disk."
HOMEPAGE="http://backuppc.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
mirror://gentoo/${P}-gentoo-${PATCH_VER}.tar.bz2"

3
app-crypt/pinentry/pinentry-0.8.2.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.17 2013/06/15 22:27:15 alonbl Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.18 2013/11/06 21:45:32 alonbl Exp $
EAPI=5
@ -24,6 +24,7 @@ RDEPEND="
static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
"
DEPEND="${RDEPEND}
sys-devel/gettext
gtk? ( virtual/pkgconfig )
qt4? ( virtual/pkgconfig )
"

3
app-crypt/pinentry/pinentry-0.8.3.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.3.ebuild,v 1.1 2013/10/07 18:24:02 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.3.ebuild,v 1.2 2013/11/06 21:45:32 alonbl Exp $
EAPI=5
@ -24,6 +24,7 @@ RDEPEND="
static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
"
DEPEND="${RDEPEND}
sys-devel/gettext
gtk? ( virtual/pkgconfig )
qt4? ( virtual/pkgconfig )
"

6
app-dicts/sword-hunuj/sword-hunuj-1.2.ebuild

@ -1,12 +1,12 @@
# Copyright 1999-2008 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/sword-hunuj/sword-hunuj-1.2.ebuild,v 1.1 2008/05/13 21:28:23 beandog Exp $
# $Header: /var/cvsroot/gentoo-x86/app-dicts/sword-hunuj/sword-hunuj-1.2.ebuild,v 1.2 2013/11/07 02:39:50 patrick Exp $
SWORD_MODULE="HunUj"
inherit sword-module
DESCRIPTION="The New Translation Bible of the Hungarian Bible Society (Magyar Bibliatarsulat Ujforditasu Bibliaja)"
DESCRIPTION="New Translation Bible of the Hungarian Bible Society (Magyar Bibliatarsulat Ujforditasu Bibliaja)"
HOMEPAGE="http://crosswire.org/sword/modules/ModInfo.jsp?modName=HunUj"
LICENSE="freedist"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"

6
app-doc/phrack-all/phrack-all-66.ebuild

@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/phrack-all/phrack-all-66.ebuild,v 1.3 2010/10/19 06:54:52 leio Exp $
# $Header: /var/cvsroot/gentoo-x86/app-doc/phrack-all/phrack-all-66.ebuild,v 1.4 2013/11/07 02:46:23 patrick Exp $
MY_P=${PN}${PV}
DESCRIPTION="...a Hacker magazine by the community, for the community... (this will install *all* issues of phrack)"
DESCRIPTION="Hacker magazine by the community, for the community (this will install *all* issues of phrack)"
HOMEPAGE="http://www.phrack.org/"
SRC_URI=""

6
app-doc/phrack-all/phrack-all-67.ebuild

@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/phrack-all/phrack-all-67.ebuild,v 1.1 2011/08/18 21:54:15 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-doc/phrack-all/phrack-all-67.ebuild,v 1.2 2013/11/07 02:46:23 patrick Exp $
MY_P=${PN}${PV}
DESCRIPTION="...a Hacker magazine by the community, for the community... (this will install *all* issues of phrack)"
DESCRIPTION="Hacker magazine by the community, for the community (this will install *all* issues of phrack)"
HOMEPAGE="http://www.phrack.org/"
SRC_URI=""

6
app-doc/phrack-all/phrack-all-68.ebuild

@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/phrack-all/phrack-all-68.ebuild,v 1.1 2012/06/28 16:04:30 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-doc/phrack-all/phrack-all-68.ebuild,v 1.2 2013/11/07 02:46:23 patrick Exp $
MY_P=${PN}${PV}
DESCRIPTION="...a Hacker magazine by the community, for the community... (this will install *all* issues of phrack)"
DESCRIPTION="Hacker magazine by the community, for the community (this will install *all* issues of phrack)"
HOMEPAGE="http://www.phrack.org/"
SRC_URI=""

1
app-emulation/libvirt/Manifest

@ -1,4 +1,5 @@
DIST libvirt-1.0.5.6.tar.gz 23998470 SHA256 171e2497d4d4109f4839f6f4b727b92f02530776b87b7246189d7ca6b44372bf SHA512 119c8c7a584a0fb6ea8e6385d5d5aac814e9f0a975adf4e75ee012d116a139c558ecb121da544e073700f1eb95a9b360fb457ce6cfebeddfb703fe42d41546a7 WHIRLPOOL 5f3b17f07e124816facf847d43bde74cbcd90213206085f770b1cb86240b0ba2a7cde8f1846665ecdaaf261d1ca44eb14226d27223e98b652efcbb834d00a103
DIST libvirt-1.1.3-062ad8b2.tar.xz 18836 SHA256 a16a72d9cc6b49564e234b39f94a987e20da9fd511203ec1cb4534ccf4570121 SHA512 0734836972ef3e7a2d8bcb1d1ab001b3f15202c2921107c28a17f6ccf4002849c920133969b611560a88ca7f969eea468b1a8bc14b432b270f624c6594fc1ade WHIRLPOOL 340ca175f7322ede982455ba311a19cd5cbb33ea49e1fa3a7ab13a0fdb31c37a8a0fc58cec189efb19a861a21d6c677c3c3533e58e9fb9eaa4ce0f3dde721ec9
DIST libvirt-1.1.3.1.tar.gz 26595900 SHA256 00383e0beef1854610d8d47fd9347564b3654ce0e4a263e06b0de364a118c93e SHA512 59f79d0fc52ae0c9ae97bcc8fd90f799d6daf63c9a36d38738ec7d7392e630e39347f0c472b02434e83888b3ee0ab62d2b0b4eaa92eed3102ff36ca30f2598aa WHIRLPOOL 92be678e7ef84f9437bb91b1a621e6b35f9ce1383b945e466b4b864c0df1cfb95900da6267263bb1984663ea8e2b5b358bd516748a934835a87be822f5d27e90
DIST libvirt-1.1.3.tar.gz 26578000 SHA256 af83e65b4b26520662ddd183c1358be0d05138dba3e66745419f06441eff5a7c SHA512 895f8ccf1fdf7a36918e4d460b44b1bf67d06842e39142c89c620f6191e299b53c50f80ab47677d7cba6bd570177d79b5ee0d7d2a11472991590389db51fab9d WHIRLPOOL c046f1182976bbd6bf65b460b2017996e63f67b5cce44f0af859d90f892278d0236192e6e7172e16c85183da6e258a003d9c8757af2079ab4d77de9ca300d986
DIST libvirt-1.1.4.tar.gz 26799019 SHA256 5910f5cf607a50c606d959e6b1e5d6e67966b7aa7324982afd7f85d9c24bd98f SHA512 64455585b8d7e5c0f701e9803ae00d277ee27f9bec92b9890e487cd0298f5f8ff9075d0b2bc81be67e8d8e03bfe58eb2e4fd6292439acd9d22a3f3e7f5b87efc WHIRLPOOL c8de6024b51988415847463064ccf2bcc9d7cb42be8765fbfcf901b594d963351f312d962ca4fb2a5ecce7c2247a60b6201e57a41ba44caa6211148585d65352

433
app-emulation/libvirt/libvirt-1.1.3.1.ebuild

@ -0,0 +1,433 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.1.3.1.ebuild,v 1.1 2013/11/06 19:06:35 cardoe Exp $
EAPI=5
#BACKPORTS=062ad8b2
AUTOTOOLIZE=yes
MY_P="${P/_rc/-rc}"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit eutils python-single-r1 user autotools linux-info systemd readme.gentoo
if [[ ${PV} = *9999* ]]; then
inherit git-2
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
AUTOTOOLIZE=yes
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://libvirt.org/sources/stable_updates/${MY_P}.tar.gz
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
${BACKPORTS:+
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~x86"
fi
S="${WORKDIR}/${P%_rc*}"
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm lxc +macvtap nfs \
nls numa openvz parted pcap phyp policykit python +qemu rbd sasl \
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc \
systemd"
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
qemu? ( libvirtd )
uml? ( libvirtd )
vepa? ( macvtap )
virtualbox? ( libvirtd )
xen? ( libvirtd )
virt-network? ( libvirtd )
firewalld? ( virt-network )
python? ( ${PYTHON_REQUIRED_USE} )"
# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="sys-libs/readline
sys-libs/ncurses
>=net-misc/curl-7.18.0
dev-libs/libgcrypt
>=dev-libs/libxml2-2.7.6
dev-libs/libnl:3
>=net-libs/gnutls-1.0.25
net-libs/libssh2
sys-apps/dmidecode
>=sys-apps/util-linux-2.17
sys-devel/gettext
>=net-analyzer/netcat6-1.0-r2
app-misc/scrub
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
fuse? ( >=sys-fs/fuse-2.8.6 )
iscsi? ( sys-block/open-iscsi )
lxc? ( sys-power/pm-utils )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
nfs? ( net-fs/nfs-utils )
numa? (
>sys-process/numactl-2.0.2
sys-process/numad
)
openvz? ( sys-kernel/openvz-sources )
parted? (
>=sys-block/parted-1.8[device-mapper]
sys-fs/lvm2
)
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? ( >=sys-auth/polkit-0.9 )
python? ( ${PYTHON_DEPS} )
qemu? (
>=app-emulation/qemu-0.13.0
dev-libs/yajl
sys-power/pm-utils
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
xen? ( app-emulation/xen-tools app-emulation/xen )
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
virt-network? ( net-dns/dnsmasq
>=net-firewall/iptables-1.4.10
net-misc/radvd
net-firewall/ebtables
sys-apps/iproute2[-minimal]
firewalld? ( net-firewall/firewalld )
)
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
# one? ( dev-libs/xmlrpc-c )
DEPEND="${RDEPEND}
virtual/pkgconfig
app-text/xhtml1
dev-lang/perl
dev-libs/libxslt"
DOC_CONTENTS="For the basic networking support (bridged and routed networks)
you don't need any extra software. For more complex network modes
including but not limited to NATed network, you can enable the
'virt-network' USE flag.\n\n
If you are using dnsmasq on your system, you will have
to configure /etc/dnsmasq.conf to enable the following settings:\n\n
bind-interfaces\n
interface or except-interface\n\n
Otherwise you might have issues with your existing DNS server."
LXC_CONFIG_CHECK="
~CGROUPS
~CGROUP_FREEZER
~CGROUP_DEVICE
~CGROUP_CPUACCT
~CGROUP_SCHED
~CGROUP_PERF
~BLK_CGROUP
~NET_CLS_CGROUP
~NETPRIO_CGROUP
~CPUSETS
~RESOURCE_COUNTERS
~NAMESPACES
~UTS_NS
~IPC_NS
~PID_NS
~NET_NS
~USER_NS
~DEVPTS_MULTIPLE_INSTANCES
~VETH
~MACVLAN
~POSIX_MQUEUE
~SECURITYFS
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS
"
VIRTNET_CONFIG_CHECK="
~BRIDGE_NF_EBTABLES
~BRIDGE_EBT_MARK_T
~NETFILTER_ADVANCED
~NETFILTER_XT_TARGET_CHECKSUM
~NETFILTER_XT_CONNMARK
~NETFILTER_XT_MARK
"
MACVTAP_CONFIG_CHECK=" ~MACVTAP"
LVM_CONFIG_CHECK=" ~BLK_DEV_DM ~DM_SNAPSHOT ~DM_MULTIPATH"
pkg_setup() {
enewgroup qemu 77
enewuser qemu 77 -1 -1 qemu kvm
# Some people used the masked ebuild which was not adding the qemu
# user to the kvm group originally. This results in VMs failing to
# start for some users. bug #430808
egetent group kvm | grep -q qemu
if [[ $? -ne 0 ]]; then
gpasswd -a qemu kvm
fi
python-single-r1_pkg_setup
# Handle specific kernel versions for different features
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
CONFIG_CHECK=""
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
use lvm && CONFIG_CHECK+="${LVM_CONFIG_CHECK}"
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
use macvtap && CONFIG_CHECK+="${MACVTAP_CONFIG_CHECK}"
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi
}
src_prepare() {
touch "${S}/.mailmap"
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
if [[ ${PV} = *9999* ]]; then
# git checkouts require bootstrapping to create the configure script.
# Additionally the submodules must be cloned to the right locations
# bug #377279
./bootstrap || die "bootstrap failed"
(
git submodule status | sed 's/^[ +-]//;s/ .*//'
git hash-object bootstrap.conf
) >.git-module-status
fi
epatch_user
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
# Tweak the init script
local avahi_init=
local iscsi_init=
local rbd_init=
local firewalld_init=
cp "${FILESDIR}/libvirtd.init-r13" "${S}/libvirtd.init"
use avahi && avahi_init='avahi-daemon'
use iscsi && iscsi_init='iscsid'
use rbd && rbd_init='ceph'
use firewalld && firewalld_init='need firewalld'
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
}
src_configure() {
local myconf=""
## enable/disable daemon, otherwise client only utils
myconf="${myconf} $(use_with libvirtd)"
## enable/disable the daemon using avahi to find VMs
myconf="${myconf} $(use_with avahi)"
## hypervisors on the local host
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
myconf+=" --without-xenapi"
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
myconf+=" --with-libxl"
else
myconf+=" --without-libxl"
fi
myconf="${myconf} $(use_with openvz)"
myconf="${myconf} $(use_with lxc)"
if use virtualbox && has_version app-emulation/virtualbox-ose; then
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
else
myconf="${myconf} $(use_with virtualbox vbox)"
fi
myconf="${myconf} $(use_with uml)"
myconf="${myconf} $(use_with qemu)"
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
myconf="${myconf} $(use_with phyp)"
myconf="${myconf} --with-esx"
myconf="${myconf} --with-vmware"
## additional host drivers
myconf="${myconf} $(use_with virt-network network)"
myconf="${myconf} --with-storage-fs"
myconf="${myconf} $(use_with lvm storage-lvm)"
myconf="${myconf} $(use_with iscsi storage-iscsi)"
myconf="${myconf} $(use_with parted storage-disk)"
myconf="${myconf} $(use_with lvm storage-mpath)"
myconf="${myconf} $(use_with rbd storage-rbd)"
myconf="${myconf} $(use_with numa numactl)"
myconf="${myconf} $(use_with numa numad)"
myconf="${myconf} $(use_with selinux)"
myconf="${myconf} $(use_with fuse)"
# udev for device support details
myconf="${myconf} $(use_with udev)"
# linux capability support so we don't need privileged accounts
myconf="${myconf} $(use_with caps capng)"
## auth stuff
myconf="${myconf} $(use_with policykit polkit)"
myconf="${myconf} $(use_with sasl)"
# network bits
myconf="${myconf} $(use_with macvtap)"
myconf="${myconf} $(use_with pcap libpcap)"
myconf="${myconf} $(use_with vepa virtualport)"
myconf="${myconf} $(use_with firewalld)"
## other
myconf="${myconf} $(use_enable nls)"
myconf="${myconf} $(use_with python)"
# user privilege bits fir qemu/kvm
if use caps; then
myconf="${myconf} --with-qemu-user=qemu"
myconf="${myconf} --with-qemu-group=qemu"
else
myconf="${myconf} --with-qemu-user=root"
myconf="${myconf} --with-qemu-group=root"
fi
# audit support
myconf="${myconf} $(use_with audit)"
## stuff we don't yet support
myconf="${myconf} --without-netcf"
# we use udev over hal
myconf="${myconf} --without-hal"
# locking support
myconf="${myconf} --without-sanlock"
# systemd unit files
use systemd && myconf="${myconf} --with-init-script=systemd"
# this is a nasty trick to work around the problem in bug
# #275073. The reason why we don't solve this properly is that
# it'll require us to rebuild autotools (and we don't really want
# to do that right now). The proper solution has been sent
# upstream and should hopefully land in 0.7.7, in the mean time,
# mime the same functionality with this.
case ${CHOST} in
*cygwin* | *mingw* )
;;
*)
ac_cv_prog_WINDRES=no
;;
esac
econf \
${myconf} \
--disable-static \
--docdir=/usr/share/doc/${PF} \
--with-remote \
--localstatedir=/var
if [[ ${PV} = *9999* ]]; then
# Restore gnulib's config.sub and config.guess
# bug #377279
(cd .gnulib && git reset --hard > /dev/null)
fi
}
src_test() {
# Explicitly allow parallel build of tests
export VIR_TEST_DEBUG=1
HOME="${T}" emake check || die "tests failed"
}
src_install() {
emake install \
DESTDIR="${D}" \
HTML_DIR=/usr/share/doc/${PF}/html \
DOCS_DIR=/usr/share/doc/${PF} \
EXAMPLE_DIR=/usr/share/doc/${PF}/examples \
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|| die "emake install failed"
find "${D}" -name '*.la' -delete || die
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
newinitd "${S}/libvirtd.init" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
newinitd "${FILESDIR}/virtlockd.init" virtlockd || die
keepdir /var/lib/libvirt/images
use python && python_optimize
readme.gentoo_create_doc
}
pkg_preinst() {
# we only ever want to generate this once
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
fi
# We really don't want to use or support old PolicyKit cause it
# screws with the new polkit integration
if has_version sys-auth/policykit; then
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
fi
# Only sysctl files ending in .conf work
dodir /etc/sysctl.d
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
}
pkg_postinst() {
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
fi
# support for dropped privileges
if use qemu; then
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
fi
if use caps && use qemu; then
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
elif use qemu; then
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
fi
if ! use policykit; then
elog "To allow normal users to connect to libvirtd you must change the"
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
fi
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
readme.gentoo_print_elog
if use caps && use qemu; then
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
fi
}

83
app-emulation/vmware-modules/vmware-modules-279.1.ebuild

@ -0,0 +1,83 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-279.1.ebuild,v 1.1 2013/11/06 23:08:20 dilfridge Exp $
EAPI=5
inherit eutils flag-o-matic linux-info linux-mod user versionator udev
PV_MAJOR=$(get_major_version)
PV_MINOR=$(get_version_component_range 2)
DESCRIPTION="VMware kernel modules"
HOMEPAGE="http://www.vmware.com/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pax_kernel"
RDEPEND=""
DEPEND="${RDEPEND}
|| ( =app-emulation/vmware-player-6.0.${PV_MINOR}*
=app-emulation/vmware-workstation-10.0.${PV_MINOR}* )"
S=${WORKDIR}
pkg_setup() {
CONFIG_CHECK="~HIGH_RES_TIMERS"
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
CONFIG_CHECK="${CONFIG_CHECK} BKL"
fi
linux-info_pkg_setup
linux-mod_pkg_setup
VMWARE_GROUP=${VMWARE_GROUP:-vmware}
VMWARE_MODULE_LIST="vmblock vmci vmmon vmnet vsock"
VMWARE_MOD_DIR="${PN}-${PVR}"
BUILD_TARGETS="auto-build KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
enewgroup "${VMWARE_GROUP}"
filter-flags -mfpmath=sse
for mod in ${VMWARE_MODULE_LIST}; do
MODULE_NAMES="${MODULE_NAMES} ${mod}(misc:${S}/${mod}-only)"
done
}
src_unpack() {
cd "${S}"
for mod in ${VMWARE_MODULE_LIST}; do
tar -xf /opt/vmware/lib/vmware/modules/source/${mod}.tar
done
}
src_prepare() {
epatch "${FILESDIR}/${PV_MAJOR}-makefile-kernel-dir.patch"
epatch "${FILESDIR}/${PV_MAJOR}-makefile-include.patch"
epatch "${FILESDIR}/${PV_MAJOR}-netdevice.patch"
use pax_kernel && epatch "${FILESDIR}/hardened.patch"
epatch "${FILESDIR}/${PV_MAJOR}-apic.patch"
kernel_is ge 3 7 0 && epatch "${FILESDIR}/${PV_MAJOR}-putname.patch"
kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-vmblock.patch"
# Allow user patches so they can support RC kernels and whatever else
epatch_user
}
src_install() {
linux-mod_src_install
local udevrules="${T}/60-vmware.rules"
cat > "${udevrules}" <<-EOF
KERNEL=="vmci", GROUP="vmware", MODE=660
KERNEL=="vmmon", GROUP="vmware", MODE=660
KERNEL=="vsock", GROUP="vmware", MODE=660
EOF
udev_dorules "${udevrules}"
}

4
app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild,v 1.1 2013/10/19 15:42:40 dilfridge Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-6.0.0.1295980.ebuild,v 1.2 2013/11/06 23:19:57 dilfridge Exp $
EAPI=5
@ -22,7 +22,7 @@ SRC_URI="
LICENSE="vmware GPL-2"
SLOT="0"
KEYWORDS=""
KEYWORDS="-* ~amd64 ~x86"
IUSE="cups doc +vmware-tools"
RESTRICT="strip"

12
app-emulation/vmware-tools/Manifest

@ -8,6 +8,8 @@ DIST vmware-tools-freebsd-9.2.3-1031769.i386.component.tar 15216640 SHA256 a54e3
DIST vmware-tools-freebsd-9.2.3-1031769.x86_64.component.tar 15216640 SHA256 4d4047a0ffaa13aa546f065a50e345d23128746fefa4e6f7ad7b54dc947b1276 SHA512 741b55b32a04957efe42684288447faf346c6a13cbb67819984c8efcf18995f75979f7db2ce7e37f4bfcc9b2a3c867c851e2d5e4db9ddf81209ea296813a8e44 WHIRLPOOL b44274d75a76214e1b4581143825f246a0345da4199d4692a3a0d6bceb360c8402bb0d6fc6594d2e20c0532cc40a27a03f1e1e98071be7ec67c4640b504936b8
DIST vmware-tools-freebsd-9.6.0-1295980.i386.component.tar 15155200 SHA256 ee52a15283a7b563af50227c25869a2c1802237c202b2b270e5706937d54cc60 SHA512 ab3daf19d0164d6b64273255be9bc1270c5714919dd483e2f46dcdc0aee55be6a34656a1b28e77ff441daa69ebded262a7ff566c1a4520da78b4ecbda3b93e21 WHIRLPOOL 762b6ec4d925e0804d52cb625da910792efed627c2c7d4f5167342d4454715ee8b057076876576d066c4bfc01acdaaac6c4a2ada4682aae5af54d7a13aed4ff5
DIST vmware-tools-freebsd-9.6.0-1295980.x86_64.component.tar 15155200 SHA256 de2b6ae67f2c5319cf818cea99ed8b99a5d8ee8fa3e62e3887941f2a0835451a SHA512 6bcfdf3925d95d7a009470256e4f87e2b6a802f007329e51549199162d22313d1ffb8835f74c6327a912855fd53f1d7f0437b1e3206eb9881b7cff0cf5a827f6 WHIRLPOOL 280d0e4c76db83433f6cb4935c1af8b49f50a9725a4e55b2f3e44d4ac9693a7cb378fafd4ba952b430bedc8e145e30c33449799f3a68ebd79170e95e6c0d7cd3
DIST vmware-tools-freebsd-9.6.1-1379776.i386.component.tar 15155200 SHA256 a3be78504eff68c089599ff4989bb4fc3cbc829495ef6dca8f9d2c86437bd355 SHA512 d6f62180756df7f7aedbbbd7cd828ed417446f90f718216d5b113c9bbb069486ec0fc8e9a8d7856f6dc2e81bae28650992513380994f4fcce95c130b92c558f0 WHIRLPOOL c4ee83d9227771494cb2c651ddf77b6cf39321209886741e14528a6f333c55bb2f499d01ed7168adfeb0fcb1bd55a4b7e597e8b3330dd014914945d6ef6eab6e
DIST vmware-tools-freebsd-9.6.1-1379776.x86_64.component.tar 15155200 SHA256 941e58d81e00a11b4f611475e5ecb4257c78380ceef42bd9a3f2341b6bbad43e SHA512 3a1d3e49c6ccbb174868925b5d980e9676e61c61b6df67352cad6f96a004902466ba26e18ef4919ae5afdfd0e7b213ce9754fd97e39bd0873a0da695f11f046e WHIRLPOOL b37985ac5017d3bf306a10b5414d04c206b6f657b012609b0278aa79ab238535782913e5f31918e6906e6b48a95e26bd0cabe3433b380f4c472fd57c58308942
DIST vmware-tools-linux-8.4.9-744570.i386.component.tar 107786240 SHA256 eb623c34b03dd271e68dc61bf1c02b0a8be6066b2304327f071e06879b9dc8d3 SHA512 dcd6f72de69cb0483b4f03dca7ad7370101eb08edb1ceac2c0eba294d5a17ec9a7c34a64d0de9cbb35203ea07830590f811d8c370e044b1f967c6d444250320a WHIRLPOOL fe2ae28a47c86277447c31a0a1420b1039f50eb1f716661d4acbe4e62bb63101251921e7d9a7e2d93cd83f5229f94ea8c06dbc40336b003fccee0f3ca8fde59a
DIST vmware-tools-linux-8.4.9-744570.x86_64.component.tar 107786240 SHA256 30c9eec5ebf13d224cf01b321f858d8ef8ee16c823f42c96f94e63eaec1b9566 SHA512 53e82445551d21a283f2521440046c5d0187b0a6b721de588fd1082ea425a853ff7f22067c1f9121c1a48e16cdf25f3c16de027d1f06aabedb3d3df37495c27c WHIRLPOOL 64dbe421a0ac257597f85591a3b33c8f4e09c5825459afbcdb0eb3c7fafceb815ed4aac29f36bc9f940a6304e8ab7046977b4192fc3c23f4e7e0020c23f43e28
DIST vmware-tools-linux-8.8.4-744019.i386.component.tar 60129280 SHA256 1abac226110078a8fa373f1c8b12efbf2a1438badb2dbe570103b83b8a245641 SHA512 177ac6f66d992551364e243ca5de1dcd742c67b7d848ce11e126017085c22e4f0dbb23f4b3881c0f5eb742f8c5d506f8db00039e6e86a0eadb9a7f0807342f57 WHIRLPOOL 137185d451953656a7677ee645152dd2ce6e6a473eed9eda19756b8ae5500edb2cb8a282853d406e8433d10346dbe2e144bf784097e30a7df2a1b110c6c55156
@ -18,6 +20,8 @@ DIST vmware-tools-linux-9.2.3-1031769.i386.component.tar 66211840 SHA256 0383d63
DIST vmware-tools-linux-9.2.3-1031769.x86_64.component.tar 66211840 SHA256 be5fa35af317058bffe98979b3b1f77eed416f17c7f6ee265a4717bbe3c9e718 SHA512 1f26d724e8e50df9d34333e44831d002ecd1a8af43cfed575c092316c4328ef3f34ac52b32c81ad6eb01dd362947ed462b09af080ee5e19cfd8aa89fbf83cd1d WHIRLPOOL 7292d3d69a46ad97b6decd5dff6c9c5dc19f76545965c6b95a904a14755072bc061742c458eecf974e8ca910af5d6464ccc6708c00c647095c3e98856ab628b0
DIST vmware-tools-linux-9.6.0-1295980.i386.component.tar 60549120 SHA256 e4449faab4bd24b2db643d131b16089e98f48970530042470ed54e85e3a06ca7 SHA512 706858f32780981a01999fba805013c3d305382842143327f4d391796c5ecefaccd555ec3d90cae69b78130b8f761b36b7ed0346387e6d11f60caa3c68cb69b7 WHIRLPOOL 6121e26e31b1d3bb8c6e29d1daa28b87a4f252bdc63f0a43046fc1a22e9624bc4dbcb78a9adb38554235ed7ea3ed2d426cf63a92114425a78c368ebffbd8e7be
DIST vmware-tools-linux-9.6.0-1295980.x86_64.component.tar 60549120 SHA256 0f230ffd93d0aa77a70f0c025d98ca9c5f6bf5ba34271e4eb07f4beb2bc50375 SHA512 19406c695ec80ff48663d5dc30dcecb16f7e5032433ac20778b62f900f7439742073c3b3c238f9693c1edf9e14a9318986ffcdcc21184217d606413d25c735fd WHIRLPOOL cef85a359cabbac3cb922f4fd34615b58de087cdca511e54d1b0b5d48328edf28ef97e7f5045d4f76c1060bc4a27f41dc40fba7311e5ce2fc67646390a053a74
DIST vmware-tools-linux-9.6.1-1379776.i386.component.tar 60518400 SHA256 88ef45021e7dcc2197bbbb2021703000065c7aee0df35706b6c0927e06b9a8eb SHA512 1047b481d20fc3ab2818bb540ba0af16e8bc0f703af95e7f78449a688324d73f32af8650a6325400c38dace5ce582c71e1079c08605db69c45c0476dbe98997e WHIRLPOOL 70ab1d8730f95c2c628d397951f922e3022fc938676e330446ba3bc357eba9c1b0157c319bbd3857d46694e0296e280f88f5334af4ed6acde98207c260cad4eb
DIST vmware-tools-linux-9.6.1-1379776.x86_64.component.tar 60518400 SHA256 b9d453f210891c1f76d70a45c6e463465940af27826006ebba090bd71e7d9590 SHA512 99b941fc7ce87d122f9b66d19d0d9406ba6d479f7b4ee782f261939694768c42bc31fb60974e4e854fe86964ff24f4a9ea7dfa1f8ed42ae697640d19834b89c6 WHIRLPOOL ab6892d084be06d753b1e452316ac30c38cfd1fc2607181159fe5d3ef5f2c9b2466145cae5f2f93c95be1010bc5484d1a39b4ececc9e9fdb3439a4fe64229521
DIST vmware-tools-netware-8.4.9-744570.i386.component.tar 81920 SHA256 97c7acbca92b27084326bab7598534552f8d4537924b0cf7633425f61c306519 SHA512 0452d8b216b8c4b9541d9a02611871dd9523fca1d5c741b0d6f7532cea7b0a8e7238b46254a65ccf8c1b99b72b109f8d13b5c4678cb81f5d0b19d4a9ea5f8c6f WHIRLPOOL dceb43d44bb66bab69700b739a580396459656d937ea6d25e6bdde790644dca161f444469ba16eba91754ad3a2a443375134996a3effef9161c45e1c5d12c2a2
DIST vmware-tools-netware-8.4.9-744570.x86_64.component.tar 81920 SHA256 a3256cc804c0f73e5e01a1b0e81827a7dfbc42d4cda701e1b19bf6961a617af0 SHA512 c2c8207efb2549aee64f6b55944b750076f801599e06d3459bafc7703f3b3d0bb366239d4d4d53a277db23b156a7cd71abb7ae4190fccc83b39da4c86010084f WHIRLPOOL 04dbec8f78ce8bc0fff960dd015a511000ee519e76c0c23c27150b98b9942de67010ac4c050e8be9b2937569be4705214e3a4b7907be46e7bd24d45af01c0bb8
DIST vmware-tools-netware-8.8.4-744019.i386.component.tar 81920 SHA256 bc77ece95283d4986c753f7696575d2bfac520a68f150de314cee9ac00877e2a SHA512 704c1d86fad22da21061a8a9d8aea8a10e6f100c06bf2f0de7c4f4c97cc563a60ed47f8c15753f6460801dc2d23e27abbe348379730cfc4ca188df5fe67cd5b5 WHIRLPOOL 41e9b7247fedb9f6d2c53895b3a31449c613191dc115beb6f48b00c0c260885514ea3d094953ada92ddbdb8a8a496274d36492143826d45a9b9a35a55d69df84
@ -28,6 +32,8 @@ DIST vmware-tools-netware-9.2.3-1031769.i386.component.tar 81920 SHA256 906680d0
DIST vmware-tools-netware-9.2.3-1031769.x86_64.component.tar 81920 SHA256 e1279aeb2d402fa87c643fb5bcdda695fa39c93495b9a2b75b4e80a713176817 SHA512 542c350d1052a9bad0930138042424a0c91f55f861511e10ce4b81327a40dc1c8a339606b9118ae1e37a3d4171b0617d0205f74e03c2e28b398b2663575206cc WHIRLPOOL 5b146c80e1537f30c8051266994e44d366cd5964539ab1f2d51e82e0e9c10802f78de38bfdcfd83a0f0f91299381aada5f77dc3a19a759bf69b932a9718a0900
DIST vmware-tools-netware-9.6.0-1295980.i386.component.tar 81920 SHA256 250120c9300b557c7e08fe1b70c5b058305950fb7855ddbad2226615202a80d9 SHA512 8b0b84e640db7a6fda3f6d0525f4890df6fafb01caf9a0ae606d67f1435ad7938ec044914a4036e01a9ad79e09e45cb9bc58b6acafdc9a58a91bd685428b0e89 WHIRLPOOL deaa5f269180657f93c774b8c93248ddbd795f5b58bf5e0c9cd478611de508741f4d6a1abaa6f41dbe218a8089806cb4a3d2b6255915d4b7468d06750d85eba8
DIST vmware-tools-netware-9.6.0-1295980.x86_64.component.tar 81920 SHA256 be95e297f990ca6edb49398d11a1369db84b562127bd4895251ab1ca474d75d8 SHA512 8e38516ec36ec72a48a7e12806e28ecc01260383ae408b35e625f1aeb6c6663a205006b85437682418a8dc92766315b65243c1d83db4d3e352d9b21f2b7ff8bf WHIRLPOOL 76fa1754eff7a66bc3470377d43f941be228747d8405ac2eda2daf40c82f2be2e5ff2fcbb5e1a8b8aae7cf59ee8d379ece16e15da2e5e532613e11dcc46b2082
DIST vmware-tools-netware-9.6.1-1379776.i386.component.tar 81920 SHA256 c5c2e4870bf8e9b36a997018b2b40b736ee445b23ac0ee6cf21983cddf67747c SHA512 33e94dbe2c7817703219a00a8dc14af97cd827ab1602c2a17c959dbed072185a2f8c3ede2e075318b67d457f35599054d88e78bf0af190c97e8b5e9039a9c9a1 WHIRLPOOL 96ac4f31879489d9615e5dcaeee876b471a30b7caf54cddc8291143dec66ec9a23664ea527e42249ae44dc46d631b376ea32518335d55e615cde6cd0022640c6
DIST vmware-tools-netware-9.6.1-1379776.x86_64.component.tar 81920 SHA256 4dbc8ebfecceb0d281db4f75a535e7648f6fbb921202dd5d9dace8e6e8e3db8f SHA512 2497bfc1d1c31a2e7cc787bbf11254aa5d953e19e16f9fa99548a1b05424a6713106f63e3e1981d46d8c5045ca095ab6070b7e03fc934a064f91323b5b224a44 WHIRLPOOL c628730b5a8e1750babdd3d8bd97d25869fc01751cb2f9532d0024865455b7d89b334f5b34894ffa2262838a740d6c51e61e6000b673532a1014e5ad9028f7f7
DIST vmware-tools-solaris-8.4.9-744570.i386.component.tar 20049920 SHA256 12f868ff8015de412edd98e51f2bb6d4c016de87244916d207203003c44450fa SHA512 f2b7d5c8a8b25ccbdf6616e7383bbfebb302485040e2aba88f03afaf21761ec87360f64b3d88381e0d3668eb58986ea33fc635e076a2a85a7939fa380267933d WHIRLPOOL 9cdc91ab8f96d5dd5810deebe7b881aadd15b0c190779b3213e8a8b4ee5ff5fe2a097bb3479238010d733e350dc83f0ca38b5739f5cf438b22d95089574ad75c
DIST vmware-tools-solaris-8.4.9-744570.x86_64.component.tar 20049920 SHA256 d0946fc5d4d798c237b4f8f38a154e288fb8215e1910a0818a18913814e69b59 SHA512 e5d927ea3e54912396914199f83dbe18e400e6fbc4e109341055972944cfdfafaeead0d792f660d0695ce8f02f0ba70260dbe1a4dedc0cf234e1f288bc0280bf WHIRLPOOL a559282842a8da2ddf9a92a44f5e33e2beb31ec58ef36bdaec688b42b44832dada1c15dec71ecf5677cc9fff68290a6a14d298babe8625555766b2c9d5acd953
DIST vmware-tools-solaris-8.8.4-744019.i386.component.tar 12779520 SHA256 c11c549fff28288f0402169fb23967ced04209511603959e3da434ae293deb9b SHA512 f84ea504a4c2cdfd50c845355e1c94ce77c3c3b47f38bb8c1cd15c7b7aee0ebb233794e1033d14421ea4951e385522e2889e919dc5f691436e313f473048d386 WHIRLPOOL 87a77b407d26c5856fc392b0d9e6e8ee14dd709c8f335567ed5af63590789a1b8de1e98214897496bb42e9f15baaa8acef23ada0aa1eaf0b984483fe861c8b45
@ -38,6 +44,8 @@ DIST vmware-tools-solaris-9.2.3-1031769.i386.component.tar 13096960 SHA256 bb38d
DIST vmware-tools-solaris-9.2.3-1031769.x86_64.component.tar 13096960 SHA256 94ed550543096d9e03326a5adea93928f24f69349e5bc6a995e1fefead7112d9 SHA512 04724855a497aefcbd1ccf6ddd1e793eb6fd4bc65960f59f0e0dc95096434d8fa1a5a12b49a20f7e293427a794e4c16df06e4a844042fd21537b2513992bae41 WHIRLPOOL 223977e8ff88601f58752b7a2fda99a15212858d8045504aefe181b18ca29ca4b09dd2b07ddc4091533fd07da5062777000dcbd1e557a789688dbec70fae9069
DIST vmware-tools-solaris-9.6.0-1295980.i386.component.tar 13096960 SHA256 e68ff904b6afd4eae036f3e0cce81345ca8a987e4b6ff8263a6b4440c880a68a SHA512 25e577990e76b29267b5c61012c656a12bc3ccea54e7df07092c4ceeaefe4404d3f27aad042d3a72eea7e615ea944e8f4ec6b5387377c3a11962e0d69e4aae1b WHIRLPOOL 268c5d89b497c554d77f4adcd16748f28ac77e4aedbd132c4ac2b15131727e237ce8b792bbe8e67c41a5739b29675104055fcd8bb9dcbfe95ebcba83cdcf4030
DIST vmware-tools-solaris-9.6.0-1295980.x86_64.component.tar 13096960 SHA256 53c2df472a53270c4811aa5e9341065cb51922cc4112a7f4aacdf35ddce5213c SHA512 8166d7ab1d89370f679e89cac336841985450459f583bf281e92ede7ce6639ff72ba1443f61098b8a9820456fc3808a08aa1760d3832f5e475ceaae4f1033494 WHIRLPOOL 42d0e9ff39b75298d9c099813cd5afccff4e30c407707e7a862a825f0232119694cde880ab6b83e9f135f7ffab8bf36ee3db1ac7f22bffea4014eff5ee7b029f
DIST vmware-tools-solaris-9.6.1-1379776.i386.component.tar 13096960 SHA256 f6057b82bfc070e506b51503c4c7e3dd66565dcc06a2f7fbddeaaa87d76283d6 SHA512 aee20ebff38ac19f7d4512fde2cac6b152af61b5b669eedb152530a9bbbad32136aba9747e4f8c57e78c27b6a24b08c026503b6e7f86fcb427f03e4d5ef28b00 WHIRLPOOL 97c5aed51529a8a38f75ce602cdf88821241388d1ff1a3abeaa7ebad041c047233645b020f2ba6719bc5a3cdda24bdf06ffbd43672dc17ae22fc794a8dfa3b10
DIST vmware-tools-solaris-9.6.1-1379776.x86_64.component.tar 13096960 SHA256 96ad456174dd66acf25dee3fd4f8ecae718120b0d21296fe21bf22d0fd24ec17 SHA512 c41a707e8c68c8e1fff32cd962e9f8d0d30044346e823e2171bf3dc8392c536de97a8b8466af5088869625dfb96c8746e74f1d6080c62183b51c5e0f94fd885a WHIRLPOOL ec4900bfc58325bf4719c4783f42e590a83032529dd8694d912ee586584a49cbec68f8945a25666d8dee94ea7fb50d8e28c33fca454ab68e501cde0c6fb8e497
DIST vmware-tools-winPre2k-8.4.9-744570.i386.component.tar 11059200 SHA256 7e203ff59853450256389b4d7540a6ec30feb9f8fff238d579b1a2057418a94c SHA512 22d2d6b5d6c8abc9af89fc5a5afd1836322f1f9974a1e205873525989473682c5284f7bf959567ad083dfde1cd61d6b91c697564e845f5e0b3a5f01f59741b63 WHIRLPOOL eab49f5f482971b2cbaa6d5dfdfec1b1e73971fb37e08373601b2d2e04b55b0a9e7f3d89bd46e0aba2a3262ef89e41a835a7d547b803d871125f797edfaf7b90
DIST vmware-tools-winPre2k-8.4.9-744570.x86_64.component.tar 11059200 SHA256 6cc456e8162762f0d1ea8bf2f3595ab6943b9f0bb2954f60f91966c1dcd5dbf5 SHA512 b8976b16953b71b18a575b2dce25d184a0aabbe9408d9c01dc0a136d6339f7e26fd1440fbd08a1897cdb5568c21f9842f6b6a43105697a1f8d473955d5879e4c WHIRLPOOL ce4122f8d053a0ec5a831f3e0f0bafd01519cde9762aa039c4fbd74c653efc4524d99093402c7f59e97d93254576fac7065328d6acff5e4e2182d8fd3302f5df
DIST vmware-tools-winPre2k-8.8.4-744019.i386.component.tar 11253760 SHA256 71c7c2be7ea2e2c344c6d9cae4883c6c14470ad7693c0228379a597519da8a83 SHA512 3c6196ef217053d8bc99597f8393ab3678b1991ce2d24838f67df6ce97ae884870637f1e043e6c8047006546624831d38a3038fb14b5a2f165117d6d2c3d8dc6 WHIRLPOOL 967b33c3fadd97eb11c2c673317423ea0bd617e03ec958a70e08c5526be9c5a5b95ad26feba2f1189ce5df81f8e3f85818c0e59b2079ee5ae4a5cdc1191b5a10
@ -48,6 +56,8 @@ DIST vmware-tools-winPre2k-9.2.3-1031769.i386.component.tar 11253760 SHA256 a831
DIST vmware-tools-winPre2k-9.2.3-1031769.x86_64.component.tar 11253760 SHA256 9b51d31ca911ccf95db641834ae79220db44df53c2fd5a91d6b6e382cffdd39e SHA512 60f99dcb92794d3b798334c91966658f8bbb5cd11a435672094e0a0ccd0b070c0be277d38a9dfac9df77db6d7b91da806fa50a13e67b30d19c33fe153ff63a2e WHIRLPOOL 8426b651f35902f1ac87d556b330100f68ca1c615011301e6ab0dffb160fb4dab4f205f293ffd83ad74c67e9776d54c354f9fe98d70c596cec165929c5a1ba5c
DIST vmware-tools-winPre2k-9.6.0-1295980.i386.component.tar 11458560 SHA256 00410d818f1133f3eb8b6e8a4ebe0a5dc2b6a2b26a2f0932ca5bff02d2f09203 SHA512 18d26efdebcd7421ea14bd18714650dd590f7ff1aa2fec8e8d10f4fe0e4c649b73706537f649a3b7244e5a6ed6f57651553870c968a60d28c7751c939dd44dcf WHIRLPOOL 296f21983fb33bcec4b5a1d8f2dea8162c6c8ea9610acfd60a44d9948fd1d8b39fc3b32d4c6534890dd4a99544d37de5c0e1be94326c1fc1438849f4fe0799db
DIST vmware-tools-winPre2k-9.6.0-1295980.x86_64.component.tar 11458560 SHA256 688895bea89035aee4cd3ae9b737ac3dc76e98675d82174383f5e9505e853dbf SHA512 735765fc4689b1d5da7d0bdf4c776159024fde4a83e12e846531b6028d9bfd25d6ba09372bf974d90249a4f3762b2d8faf6a76f31d61e1d7498cfc4652f9750b WHIRLPOOL 120f18ee409c6bdfdc03247cbaf8f3bbe056f2f9cc56f539529be781391defdb71f35e96b01493940c65623d9049a01925493170d6afaa4073c877538f57f64e
DIST vmware-tools-winPre2k-9.6.1-1379776.i386.component.tar 11458560 SHA256 9d46fa6842684d099f8eaf3459aac8973644193ebb4c663164c04b3f69536872 SHA512 6ecb3726235d1cb156898f6887508f7540a5e93437bde43e86740bce15cb8db4a9c9bb4e2d89ef1f5670f37ac11a457410551ff70d8e096d881b51630fd0b40a WHIRLPOOL ed4a441ceb6eac141ea009d871e4a2315e63a1f4f086fb93055b6c2de97e2d06fa98a772a4fda4582cd2e2511a0ace85b2ed52127f1c7343e3e46e122808602d
DIST vmware-tools-winPre2k-9.6.1-1379776.x86_64.component.tar 11458560 SHA256 99d603372e69bea2e57e62c3c78dff5ac8119de3e89b438a8cf83a22b0f9774a SHA512 0f4ef0bb79cac357cbdb62d918d22f63a6f1ced51a3d15c10c32dd25dc97474858c85ce9dd080210e07e0b5f7c40741fb7695f1cacf84f5c29c8f8abae15f2c8 WHIRLPOOL f523815ad06bca65719ab99bc54da850a9c67568aa9e6e3ac567ec9669a81d6b554b91ddefe774387cadb014e418b33bb47cc3651caa897bca330a9ec1f22df8
DIST vmware-tools-windows-8.4.9-744570.i386.component.tar 38246400 SHA256 27a25495b0028745093968f771d66f186071df3e91760b3c2ca7be56a3acd805 SHA512 a51f9fb2010910948c91a3bd51c1883faff94e71ef89c7446f71f0fa63a49b423033e96e1b9361ddb496fbb3fe46fb36d86c2f58c0950aba61c3c0057c1afa47 WHIRLPOOL c4e428cf0e8888e7f19b76b30b554d6b6ba9f25c272e50eeff6613631e6edabeb530bc0f2da2e212bd32b8fd9778eab32ea690428b6de02000b56c2b3f43e139
DIST vmware-tools-windows-8.4.9-744570.x86_64.component.tar 38246400 SHA256 424ddb54ea3cd0b3f04af128023a9a7600f753ff46e8bca72294d5c3cbbab90f SHA512 be77a33ca9541d45ed0806742b9745db0bfd743bcd618c7f030e24b9f09b91df3748f6cb60268183671a6277e20dd29e2f4cc61c5c68aab0079d860e94dd73f6 WHIRLPOOL e34f9fcc13a6a7a90681cb41305a31d87dd26edf83fca1c43306aa1be207a86992897a0e01840d4a4052d40147609878b390236ed18a3ffdf8d428b348263227
DIST vmware-tools-windows-8.8.4-744019.i386.component.tar 52254720 SHA256 60272cfb2ee1df444a29a4ed740ab6fb8f82baec7f2327452046fe2e8bbe92b0 SHA512 23b524e60271771c51cbfb0b369b5f2040d0993d1f7c32e2eba29fd9f82b444d649fad59f028e57bac31f00e5ade33c16a65b94d45379fe944b55d8a91b40fcd WHIRLPOOL a7abb96f97fb16139e3396541a3edb3b4840c3a395ace681a933e5349cba8eac0f7d105512bd56e809ced8c46936b4578129f7ed60d67fedfb556cf3325e922a
@ -58,3 +68,5 @@ DIST vmware-tools-windows-9.2.3-1031769.i386.component.tar 61777920 SHA256 0fa4f
DIST vmware-tools-windows-9.2.3-1031769.x86_64.component.tar 61777920 SHA256 dbb7f6dbbcf9e44263193e40ad89944a45ef860f4f3b4b51d00ae1602f863f8c SHA512 818e2895c57be6792e82362c9616e2e6e8638997bde65ecea1416f71ccfa9681fc5cd44cd3356780ab35345e6b19ac8054a05eb8424dff1bcd779c9b686455a9 WHIRLPOOL ab847bddd07b029ba7a75fb6ae96133211d5a412fbe2059f851ae249854357dd0e25ab28df98fc2a3ee33f5aae08587a8b4bbfd6a60a2313f77fe6f98a1a3a3d
DIST vmware-tools-windows-9.6.0-1295980.i386.component.tar 69222400 SHA256 2ff96d57f8cc201107f6d647cde8d54f55f8abb31370a2bd45bc7b3fbed78862 SHA512 7d2824cd7e78803a88d0341a96e7fda4280bc8482f7bc56872bd7770ab2f611a748ea1aebdb0190d562cd5f771905e2acddd95609593cb8cc2d6ee34abb295ef WHIRLPOOL 0050003743c880a97998ebdbb2c7039aac702d0cf3ca53bcc884e200777a638d35a75717117ea0925f513da1d9b725d1dd35931d6e69efd7708dd3c7fcb2d197
DIST vmware-tools-windows-9.6.0-1295980.x86_64.component.tar 69222400 SHA256 c6c8d9fca5f609074c0c5cffb6704e03e7adf90db2bb8b148782b576d2447e60 SHA512 b5d1e08e7acd050a6efe6888b9a0b85292d8c5a5045d38c5bb4be7664f99ded5ca1cb6be70188449e331f14b3c40d3ff4a64f4a2d188a2d94e16cd8ab6c2421f WHIRLPOOL 27051b91853343a04a14df3d014459bb61cac259389975936473b39e19b604008d5a5473c047c2416ca7cd6894e2e6911893153ac7d5afabcb755322125a6998
DIST vmware-tools-windows-9.6.1-1379776.i386.component.tar 69232640 SHA256 cb09c083adec2bd6a10f9cb75e4570fc19019ddd98320e7cf1ddf311737f75bd SHA512 a1caf8095e8ec56cf15c55e6c0081e16dc3b25e035f1a50eb9f6636a5879b5bbadb4dd079d822b6b1c27f2279c4214eefe004e460f1c1ae70f28242d0aafd400 WHIRLPOOL e61f9df173f83e8844dafd9e226d4b8cd0530df18b4104d1229d18a8c4e8757adc35ac1085602baeb35ba4896273070739c4d783679f18085583124bd856a715
DIST vmware-tools-windows-9.6.1-1379776.x86_64.component.tar 69232640 SHA256 4034d5f0fe06a7fb4d2dcd7159f59223f0886d2be5ea4dd1ae685cf5ff0c535d SHA512 8a1be0aae39bf7abe5c76d74f26f7f936dda2d6d169d3e5256479251cb961753abcb519647fcc6a026da11d57f45fa626d1c4a7d91a985ffd2361b2468ab601c WHIRLPOOL 2faccc4a8c04fb52bc0749dd69e887b3ad6f8e9776623f7e583590c5e1612de50bb3355372a60e850104f13f8c9ecd613e5f43ebccffe86661838b757110b57c

55
app-emulation/vmware-tools/vmware-tools-9.6.1.1379776.ebuild

@ -0,0 +1,55 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-9.6.1.1379776.ebuild,v 1.1 2013/11/06 23:14:49 dilfridge Exp $
inherit versionator vmware-bundle
MY_PV="$(replace_version_separator 3 - $PV)"
BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/6.0.$(get_version_component_range 3)/$(get_version_component_range 4)/linux/packages/"
DESCRIPTION="VMware Tools for guest operating systems"
HOMEPAGE="http://www.vmware.com/products/player/"
LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND=""
RDEPEND=""
IUSE_VMWARE_GUEST="freebsd linux netware solaris windows winPre2k"
VM_INSTALL_DIR="/opt/vmware"
for guest in ${IUSE_VMWARE_GUEST} ; do
SRC_URI+=" vmware_guest_${guest}? (
amd64? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.x86_64.component.tar )
x86? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.i386.component.tar )
)"
IUSE+=" vmware_guest_${guest}"
done ; unset guest
src_unpack() {
local arch
if use x86 ; then arch='i386'
elif use amd64 ; then arch='x86_64'
fi
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
if use "vmware_guest_${guest}" ; then
local component="vmware-tools-${guest}-${MY_PV}.${arch}.component"
unpack "${component}.tar"
vmware-bundle_extract-component "${component}"
fi
done
}
src_install() {
insinto "${VM_INSTALL_DIR}"/lib/vmware/isoimages
local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
if use "vmware_guest_${guest}" ; then
doins "${guest}".iso{,.sig}
fi
done
}

2
app-emulation/vmware-workstation/Manifest

@ -1,5 +1,7 @@
DIST VMware-Workstation-10.0.0-1295980.i386.bundle.tar 282490880 SHA256 51a085502cf8c2afda111fca0d01465939d1f3e56139465baa62c60fe7411198 SHA512 33d3cc5990bc403829129a6730efbef4427fb0da92e4b6161dae7f408892f9282c79fa694a24e9179a7fcf687d2fbd8278f8176ff43eba15c22647a3352466fe WHIRLPOOL b70e361113a35725d9e9fad1379bbba012941ea2ba8ee568954192d3a90a3486ad8de97d4cc483b5a46d64bc8bf9b3dd75ef314b01bdc45c99af3d18381ff1f1
DIST VMware-Workstation-10.0.0-1295980.x86_64.bundle.tar 253061120 SHA256 adcd30b81f7825ac41a10246105c38953177ad98195589c47f46b4313ed625e3 SHA512 5fa16700d02899821cd2533e4032dfaaf7b0066bd87af2a4c219eb72afa45833785054112d589b90e7e5665d24ae08cc484380966fa687cc5517fcf830e29d09 WHIRLPOOL 40bc90959022b8251828e6fb05093c601bb5a1afaed79ac54c5e2a4dfb061f49fc88dd3f885c1063ac2e8f7790e164ab146dea71a4f05d7a19556f4ce3dd218b
DIST VMware-Workstation-10.0.1-1379776.i386.bundle.tar 282562560 SHA256 14482ce63270b16cd0ffaa176fc84b0d2e82d7f49f082c4c277a4552156ac351 SHA512 f53eaf70b905e235fe16fc642303def43155ece6847179b48c95cdb9aa4ea2bc2d16d0126178ab021a25101c955b061f2572a6e55e53a10cf89383bec1a6016f WHIRLPOOL 250490facd8559fe1e920c1bfe61dcbf2c493b99504d65c1b2b961ffee837342d923c9858585893bebf9657dee058db2d6cbee5ced957405b802e13cbd37891a
DIST VMware-Workstation-10.0.1-1379776.x86_64.bundle.tar 253132800 SHA256 4fef8984cb30ea04f204ef4dcdc9c5740fe31d196bb89c9af4f05187f749ba06 SHA512 e92a17bc6c21a365bf402fcfb07ffbc7c0c6adf61a040f148a81dafb9634c8c01db81479e48ff37f0ee43f72e90cca9aa54d59d0985006b1f9d0b2f1b6313eb5 WHIRLPOOL ba6b3f9ba03d4933010ecd37a41034c327943ae0e6aa2110b603d4d9cfa844ba0b2c1973eb8099fbbc3deefb82525ea0329d28cb871583812440a901713941bc
DIST VMware-Workstation-8.0.5-893925.i386.bundle.tar 188180480 SHA256 79033aa837a1b2fcf1229c407b159586152d41f3c624ae1745264443bad06a90 SHA512 2ea55d6ba1b64ee33ca73af46ce4ba58be441ecb973e4f9e3711b7d516b1d6233ee8e125c0d90226169258a5bbccf73f67ea593a1eaa48e7368275f545db3306 WHIRLPOOL 270b37814ee4c19bbe3e1d573016cf1899a90dc1c3500181eeb336220eebde276fb11bb4e46d3121a8e1517f749fe9a127eb76f642938d7b8e8f22ae3fbed556
DIST VMware-Workstation-8.0.5-893925.x86_64.bundle.tar 187729920 SHA256 39010a8b712c9e9ea86f0bf32b1ad86a7788748f00292f344b1bdea899a6ac0d SHA512 010cbe7a6ffa6cd07b6daab8534c4da260aae17a6c7988e74792aa450f266bea306cca49820a65dfb3e0b76e912a5430fe98f4f0446f750fe26b867cfe2ed48d WHIRLPOOL dbf6994fbf87b3eca0fe882075dbdd68de599c7b699e609a43d3bade5e23704158ef11a13dea12b41c2c3c7d57ba493e324b4ebf2b138c9cf5835699ba76ae55
DIST VMware-Workstation-9.0.2-1031769.i386.bundle.tar 264898560 SHA256 f23efa3db418790cffa38a90639edd0f5e0834fa98c69a3146489cc3774a71c7 SHA512 ea38c747e236e3a5ae3da809f22a997044c3306239afbc2cc28dfd04f3589dc23e35295bcb5dfb7f5ea687a908b790fb56afa062b7a5cea523c8645d94d652b0 WHIRLPOOL 18aaed121c973911d00a89790b98c8b22b942d29a3580181e7937fe27882d4cd30b2e0a7c13d22129c2e72c7cbce87cff0c80f32e6726d25cf67ec159506db46

491
app-emulation/vmware-workstation/vmware-workstation-10.0.1.1379776.ebuild

@ -0,0 +1,491 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-10.0.1.1379776.ebuild,v 1.1 2013/11/06 23:07:41 dilfridge Exp $
EAPI="4"
inherit eutils versionator fdo-mime systemd gnome2-utils pam vmware-bundle
MY_PN="VMware-Workstation"
MY_PV=$(get_version_component_range 1-3)
PV_MINOR=$(get_version_component_range 3)
PV_BUILD=$(get_version_component_range 4)
MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
SYSTEMD_UNITS_TAG="gentoo-01"
DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
HOMEPAGE="http://www.vmware.com/products/workstation/"
BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/ws/${MY_PV}/${PV_BUILD}/linux/core/"
SRC_URI="
x86? ( ${BASE_URI}${MY_P}.i386.bundle.tar )
amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
https://github.com/akhuettel/systemd-vmware/archive/${SYSTEMD_UNITS_TAG}.tar.gz
"
LICENSE="vmware GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="cups doc ovftool server vix vmware-tools"
RESTRICT="mirror strip"
# vmware-workstation should not use virtual/libc as this is a
# precompiled binary package thats linked to glibc.
RDEPEND="dev-cpp/cairomm
dev-cpp/glibmm:2
dev-cpp/gtkmm:2.4
dev-cpp/libgnomecanvasmm
dev-cpp/pangomm
dev-libs/atk
dev-libs/glib:2
dev-libs/icu
dev-libs/expat
dev-libs/libaio
dev-libs/libsigc++
dev-libs/libxml2
=dev-libs/openssl-0.9.8*
dev-libs/xmlrpc-c
gnome-base/libgnomecanvas
gnome-base/libgtop:2
gnome-base/librsvg:2
gnome-base/orbit
media-libs/fontconfig
media-libs/freetype
media-libs/libart_lgpl
=media-libs/libpng-1.2*
media-libs/libpng
net-misc/curl
cups? ( net-print/cups )
sys-devel/gcc
sys-fs/fuse
sys-libs/glibc
sys-libs/zlib
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/libgksu
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango
x11-libs/startup-notification
x11-themes/hicolor-icon-theme
!app-emulation/vmware-player"
PDEPEND="~app-emulation/vmware-modules-279.${PV_MINOR}
vmware-tools? ( app-emulation/vmware-tools )"
S=${WORKDIR}
VM_INSTALL_DIR="/opt/vmware"
VM_DATA_STORE_DIR="/var/lib/vmware/Shared VMs"
VM_HOSTD_USER="root"
src_unpack() {
default
local bundle
use amd64 && bundle=${MY_P}.x86_64.bundle
use x86 && bundle=${MY_P}.i386.bundle
local component; for component in \
vmware-vmx \
vmware-player-app \
vmware-player-setup \
vmware-workstation \
vmware-network-editor \
vmware-network-editor-ui \
vmware-usbarbitrator \
vmware-vprobe
do
vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}"
done
if use server; then
vmware-bundle_extract-bundle-component "${bundle}" vmware-workstation-server #"${S}"
fi
if use vix; then
vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-core vmware-vix
vmware-bundle_extract-bundle-component "${bundle}" vmware-vix-lib-Workstation1000andvSphere550 vmware-vix
fi
if use ovftool; then
vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
fi
}
src_prepare() {
rm -f bin/vmware-modconfig
rm -rf lib/modules/binary
# Bug 459566
mv lib/libvmware-netcfg.so lib/lib/
if use server; then
rm -f vmware-workstation-server/bin/{openssl,configure-hostd.sh}
fi
find "${S}" -name '*.a' -delete
# clean_bundled_libs
}
clean_bundled_libs() {
ebegin 'Removing superfluous libraries'
cd lib/lib || die
ldconfig -p | \
sed 's:^\s\+\([^(]*[^( ]\).*=> /.*$:\1:g;t;d' | \
fgrep -vx 'libcrypto.so.0.9.8
libssl.so.0.9.8i
libgcr.so.0
libglib-2.0.so.0' |
xargs -d'\n' -r rm -rf
eend
}
src_install() {
local major_minor=$(get_version_component_range 1-2 "${PV}")
local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
local build=$(get_version_component_range 4 "${PV}")
# install the binaries
into "${VM_INSTALL_DIR}"
dobin bin/*
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware
doins -r lib/*
# Bug 432918
dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libcrypto.so.0.9.8/libcrypto.so.0.9.8 \
"${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libcrypto.so.0.9.8
dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8 \
"${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libssl.so.0.9.8
# install the ancillaries
insinto /usr
doins -r share
if use cups; then
exeinto $(cups-config --serverbin)/filter
doexe extras/thnucups
insinto /etc/cups
doins -r etc/cups/*
fi
insinto /etc/xdg
doins -r etc/xdg/*
# install documentation
doman man/man1/vmware.1.gz
if use doc; then
dodoc doc/*
fi
insinto "${VM_INSTALL_DIR}"/lib/vmware/setup
doins vmware-config
# install vmware workstation server
if use server; then
dosbin sbin/*
cd "${S}"/vmware-workstation-server
# install binaries
into "${VM_INSTALL_DIR}"/lib/vmware
dobin bin/*
dobin "${FILESDIR}"/configure-hostd.sh
dobin "${FILESDIR}"/configure-hostd.sh
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware/lib
doins -r lib/*
into "${VM_INSTALL_DIR}"
for tool in vmware-{hostd,wssc-adminTool} ; do
cat > "${T}/${tool}" <<-EOF
#!/usr/bin/env bash
set -e
. /etc/vmware/bootstrap
exec "${VM_INSTALL_DIR}/lib/vmware/lib/wrapper-gtk24.sh" \\
"${VM_INSTALL_DIR}/lib/vmware/lib" \\
"${VM_INSTALL_DIR}/lib/vmware/bin/${tool}" \\
"${VM_INSTALL_DIR}/lib/vmware/libconf" "\$@"
EOF
dobin "${T}/${tool}"
done
insinto "${VM_INSTALL_DIR}"/lib/vmware
doins -r hostd
# create the configuration
insinto /etc/vmware/hostd
doins -r config/etc/vmware/hostd/*
doins -r etc/vmware/hostd/*
insinto /etc/vmware/ssl
doins etc/vmware/ssl/*
# pam
pamd_mimic_system vmware-authd auth account
# create directory for shared virtual machines.
keepdir "${VM_DATA_STORE_DIR}"
keepdir /var/log/vmware
fi
# install vmware-vix
if use vix; then
cd "${S}"/vmware-vix
# install the binary
into "${VM_INSTALL_DIR}"
dobin bin/*
# install the libraries
insinto "${VM_INSTALL_DIR}"/lib/vmware-vix
doins -r lib/*
dosym vmware-vix/libvixAllProducts.so "${VM_INSTALL_DIR}"/lib/libbvixAllProducts.so
# install headers
insinto /usr/include/vmware-vix
doins include/*
if use doc; then
dohtml -r doc/*
fi
fi
# install ovftool
if use ovftool; then
cd "${S}"
insinto "${VM_INSTALL_DIR}"/lib/vmware-ovftool
doins -r vmware-ovftool/*
chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/{ovftool,ovftool.bin}
dosym "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/ovftool "${VM_INSTALL_DIR}"/bin/ovftool
fi
# create symlinks for the various tools
local tool ; for tool in thnuclnt vmware vmplayer{,-daemon} licenseTool vmamqpd \
vmware-{acetool,enter-serial,gksu,fuseUI,modconfig{,-console},netcfg,tray,unity-helper,zenity} ; do
dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
done
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware "${VM_INSTALL_DIR}"/bin/vmware
dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
# fix permissions
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/setup/vmware-config
fperms 4711 "${VM_INSTALL_DIR}"/bin/vmware-mount
fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
if use server; then
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-{hostd,wssc-adminTool}
fperms 4711 "${VM_INSTALL_DIR}"/sbin/vmware-authd
fperms 1777 "${VM_DATA_STORE_DIR}"
fi
if use vix; then
fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware-vix/setup/vmware-config
fi
# create the environment
local envd="${T}/90vmware"
cat > "${envd}" <<-EOF
PATH='${VM_INSTALL_DIR}/bin'
ROOTPATH='${VM_INSTALL_DIR}/bin'
EOF
doenvd "${envd}"
# create the configuration
dodir /etc/vmware
cat > "${D}"/etc/vmware/bootstrap <<-EOF
BINDIR='${VM_INSTALL_DIR}/bin'
LIBDIR='${VM_INSTALL_DIR}/lib'
EOF
cat > "${D}"/etc/vmware/config <<-EOF
bindir = "${VM_INSTALL_DIR}/bin"
libdir = "${VM_INSTALL_DIR}/lib/vmware"
initscriptdir = "/etc/init.d"
authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
gksu.rootMethod = "su"
VMCI_CONFED = "yes"
VMBLOCK_CONFED = "yes"
VSOCK_CONFED = "yes"
NETWORKING = "yes"
player.product.version = "${major_minor_revision}"
product.version = "${major_minor_revision}"
product.buildNumber = "${build}"
product.name = "VMware Workstation"
workstation.product.version = "${major_minor_revision}"
EOF
if use vix; then
cat >> "${D}"/etc/vmware/config <<-EOF
vmware.fullpath = "${VM_INSTALL_DIR}/bin/vmware"
vix.libdir = "${VM_INSTALL_DIR}/lib/vmware-vix"
vix.config.version = "1"
EOF
fi
if use server; then
cat >> "${D}"/etc/vmware/config <<-EOF
authd.client.port = "902"
authd.proxy.nfc = "vmware-hostd:ha-nfc"
authd.soapserver = "TRUE"
EOF
fi
# install the init.d script
local initscript="${T}/vmware.rc"
sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
"${FILESDIR}/vmware-${major_minor}.rc" > ${initscript}
newinitd "${initscript}" vmware
if use server; then
# install the init.d script
local initscript="${T}/vmware-workstation-server.rc"
sed -e "s:@@ETCDIR@@:/etc/vmware:g" \
-e "s:@@PREFIX@@:${VM_INSTALL_DIR}:g" \
-e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
-e "s:@@LIBDIR@@:${VM_INSTALL_DIR}/lib/vmware:g" \
"${FILESDIR}/vmware-server-${major_minor}.rc" > ${initscript}
newinitd "${initscript}" vmware-workstation-server
fi
# fill in variable placeholders
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}}
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware:g" \
-e "/^Encoding/d" \
-i "${D}/usr/share/applications/${PN}.desktop"
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
-e "/^Encoding/d" \
-i "${D}/usr/share/applications/vmware-player.desktop"
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware-netcfg:g" \
-e "/^Encoding/d" \
-i "${D}/usr/share/applications/vmware-netcfg.desktop"
if use server; then
# Configuration for vmware-workstation-server
local hostdUser="${VM_HOSTD_USER:-root}"
sed -e "/ACEDataUser/s:root:${hostdUser}:g" \
-i "${D}/etc/vmware/hostd/authorization.xml" || die
# Shared VMs Path: [standard].
sed -e "s:##{DS_NAME}##:standard:g" \
-e "s:##{DS_PATH}##:${VM_DATA_STORE_DIR}:g" \
-i "${D}/etc/vmware/hostd/datastores.xml" || die
sed -e "s:##{HTTP_PORT}##:-1:g" \
-e "s:##{HTTPS_PORT}##:443:g" \
-e "s:##{PIPE_PREFIX}##:/var/run/vmware/:g" \
-i "${D}/etc/vmware/hostd/proxy.xml" || die
# See vmware-workstation-server.py for more details.
sed -e "s:##{BUILD_CFGDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{CFGALTDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{CFGDIR}##:/etc/vmware/:g" \
-e "s:##{ENABLE_AUTH}##:true:g" \
-e "s:##{HOSTDMODE}##:ws:g" \
-e "s:##{HOSTD_CFGDIR}##:/etc/vmware/hostd/:g" \
-e "s:##{HOSTD_MOCKUP}##:false:g" \
-e "s:##{LIBDIR}##:${VM_INSTALL_DIR}/lib/vmware:g" \
-e "s:##{LIBDIR_INSTALLED}##:${VM_INSTALL_DIR}/lib/vmware/:g" \
-e "s:##{LOGDIR}##:/var/log/vmware/:g" \
-e "s:##{LOGLEVEL}##:verbose:g" \
-e "s:##{MOCKUP}##:mockup-host-config.xml:g" \
-e "s:##{PLUGINDIR}##:./:g" \
-e "s:##{SHLIB_PREFIX}##:lib:g" \
-e "s:##{SHLIB_SUFFIX}##:.so:g" \
-e "s:##{USE_BLKLISTSVC}##:false:g" \
-e "s:##{USE_CBRCSVC}##:false:g" \
-e "s:##{USE_CIMSVC}##:false:g" \
-e "s:##{USE_DIRECTORYSVC}##:false:g" \
-e "s:##{USE_DIRECTORYSVC_MOCKUP}##:false:g" \
-e "s:##{USE_DYNAMIC_PLUGIN_LOADING}##:false:g" \
-e "s:##{USE_DYNAMO}##:false:g" \
-e "s:##{USE_DYNSVC}##:false:g" \
-e "s:##{USE_GUESTSVC}##:false:g" \
-e "s:##{USE_HBRSVC}##:false:g" \
-e "s:##{USE_HBRSVC_MOCKUP}##:false:g" \
-e "s:##{USE_HOSTSVC_MOCKUP}##:false:g" \
-e "s:##{USE_HTTPNFCSVC}##:false:g" \
-e "s:##{USE_HTTPNFCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_LICENSESVC_MOCKUP}##:false:g" \
-e "s:##{USE_NFCSVC}##:true:g" \
-e "s:##{USE_NFCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_OVFMGRSVC}##:true:g" \
-e "s:##{USE_PARTITIONSVC}##:false:g" \
-e "s:##{USE_SECURESOAP}##:false:g" \
-e "s:##{USE_SNMPSVC}##:false:g" \
-e "s:##{USE_SOLO_MOCKUP}##:false:g" \
-e "s:##{USE_STATSSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VCSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VDISKSVC}##:false:g" \
-e "s:##{USE_VDISKSVC_MOCKUP}##:false:g" \
-e "s:##{USE_VMSVC_MOCKUP}##:false:g" \
-e "s:##{VM_INVENTORY}##:vmInventory.xml:g" \
-e "s:##{VM_RESOURCES}##:vmResources.xml:g" \
-e "s:##{WEBSERVER_PORT_ENTRY}##::g" \
-e "s:##{WORKINGDIR}##:./:g" \
-i "${D}/etc/vmware/hostd/config.xml" || die
sed -e "s:##{ENV_LOCATION}##:/etc/vmware/hostd/env/:g" \
-i "${D}/etc/vmware/hostd/environments.xml" || die
# @@VICLIENT_URL@@=XXX
sed -e "s:@@AUTHD_PORT@@:902:g" \
-i "${D}${VM_INSTALL_DIR}/lib/vmware/hostd/docroot/client/clients.xml" || die
fi
# install systemd unit files
systemd_dounit "${WORKDIR}/systemd-vmware-${SYSTEMD_UNITS_TAG}/"*.{service,target}
}
pkg_config() {
"${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
ewarn "/etc/env.d was updated. Please run:"
ewarn "env-update && source /etc/profile"
ewarn ""
ewarn "Before you can use vmware workstation, you must configure a default network setup."
ewarn "You can do this by running 'emerge --config ${PN}'."
}
pkg_prerm() {
einfo "Stopping ${PN} for safe unmerge"
/etc/init.d/vmware stop
}
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
}

69
app-emulation/xen-tools/files/xen-tools-4-CVE-2013-4369-XSA-68.patch

@ -0,0 +1,69 @@
libxl: fix vif rate parsing
strtok can return NULL here. We don't need to use strtok anyway, so just
use a simple strchr method.
Coverity-ID: 1055642
This is CVE-2013-4369 / XSA-68
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Fix type. Add test case
Signed-off-by: Ian Campbell <Ian.campbell@citrix.com>
diff --git a/tools/libxl/check-xl-vif-parse b/tools/libxl/check-xl-vif-parse
index 0473182..02c6dba 100755
--- a/tools/libxl/check-xl-vif-parse
+++ b/tools/libxl/check-xl-vif-parse
@@ -206,4 +206,8 @@ expected </dev/null
one $e rate=4294967295GB/s@5us
one $e rate=4296MB/s@4294s
+# test include of single '@'
+expected </dev/null
+one $e rate=@
+
complete
diff --git a/tools/libxl/libxlu_vif.c b/tools/libxl/libxlu_vif.c
index 3b3de0f..0665e62 100644
--- a/tools/libxl/libxlu_vif.c
+++ b/tools/libxl/libxlu_vif.c
@@ -95,23 +95,30 @@ int xlu_vif_parse_rate(XLU_Config *cfg, const char *rate, libxl_device_nic *nic)
uint64_t bytes_per_sec = 0;
uint64_t bytes_per_interval = 0;
uint32_t interval_usecs = 50000UL; /* Default to 50ms */
- char *ratetok, *tmprate;
+ char *p, *tmprate;
int rc = 0;
tmprate = strdup(rate);
+ if (tmprate == NULL) {
+ rc = ENOMEM;
+ goto out;
+ }
+
+ p = strchr(tmprate, '@');
+ if (p != NULL)
+ *p++ = 0;
+
if (!strcmp(tmprate,"")) {
xlu__vif_err(cfg, "no rate specified", rate);
rc = EINVAL;
goto out;
}
- ratetok = strtok(tmprate, "@");
- rc = vif_parse_rate_bytes_per_sec(cfg, ratetok, &bytes_per_sec);
+ rc = vif_parse_rate_bytes_per_sec(cfg, tmprate, &bytes_per_sec);
if (rc) goto out;
- ratetok = strtok(NULL, "@");
- if (ratetok != NULL) {
- rc = vif_parse_rate_interval_usecs(cfg, ratetok, &interval_usecs);
+ if (p != NULL) {
+ rc = vif_parse_rate_interval_usecs(cfg, p, &interval_usecs);
if (rc) goto out;
}

34
app-emulation/xen-tools/files/xen-tools-4-CVE-2013-4370-XSA-69.patch

@ -0,0 +1,34 @@
From 067c122873c67bd1d9620f8340f9c9c209135388 Mon Sep 17 00:00:00 2001
From: Matthew Daley <mattjd@gmail.com>
Date: Tue, 10 Sep 2013 23:12:45 +1200
Subject: [PATCH] tools/ocaml: fix erroneous free of cpumap in
stub_xc_vcpu_getaffinity
Not sure how it got there...
Coverity-ID: 1056196
This is CVE-2013-4370 / XSA-69
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
tools/ocaml/libs/xc/xenctrl_stubs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/ocaml/libs/xc/xenctrl_stubs.c b/tools/ocaml/libs/xc/xenctrl_stubs.c
index df756ad..f5cf0ed 100644
--- a/tools/ocaml/libs/xc/xenctrl_stubs.c
+++ b/tools/ocaml/libs/xc/xenctrl_stubs.c
@@ -461,8 +461,6 @@ CAMLprim value stub_xc_vcpu_getaffinity(value xch, value domid,
retval = xc_vcpu_getaffinity(_H(xch), _D(domid),
Int_val(vcpu), c_cpumap);
- free(c_cpumap);
-
if (retval < 0) {
free(c_cpumap);
failwith_xc(_H(xch));
--
1.7.10.4

34
app-emulation/xen-tools/files/xen-tools-4-CVE-2013-4371-XSA-70.patch

@ -0,0 +1,34 @@
From 94db3e1cb356a0d2de1753888ceb0eb767404ec4 Mon Sep 17 00:00:00 2001
From: Matthew Daley <mattjd@gmail.com>
Date: Tue, 10 Sep 2013 22:18:46 +1200
Subject: [PATCH] libxl: fix out-of-memory error handling in
libxl_list_cpupool
...otherwise it will return freed memory. All the current users of this
function check already for a NULL return, so use that.
Coverity-ID: 1056194
This is CVE-2013-4371 / XSA-70
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
tools/libxl/libxl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index 0879f23..17653ef 100644
--- a/tools/libxl/libxl.c
+++ b/tools/libxl/libxl.c
@@ -651,6 +651,7 @@ libxl_cpupoolinfo * libxl_list_cpupool(libxl_ctx *ctx, int *nb_pool_out)
if (!tmp) {
LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, "allocating cpupool info");
libxl_cpupoolinfo_list_free(ptr, i);
+ ptr = NULL;
goto out;
}
ptr = tmp;
--
1.7.10.4

74
app-emulation/xen-tools/files/xen-tools-4-CVE-2013-4416-XSA-72.patch

@ -0,0 +1,74 @@
tools: xenstored: if the reply is too big then send E2BIG error
This fixes the issue for both C and ocaml xenstored, however only the ocaml
xenstored is vulnerable in its default configuration.
Adding a new error appears to be safe, since bit libxenstore and the Linux
driver at least treat an unknown error code as EINVAL.
This is XSA-72
Original ocaml patch by Jerome Maloberti <jerome.maloberti@citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Thomas Sanders <thomas.sanders@citrix.com>
diff --git a/tools/ocaml/xenstored/connection.ml b/tools/ocaml/xenstored/connection.ml
index 273fe4d..47695f8 100644
--- a/tools/ocaml/xenstored/connection.ml
+++ b/tools/ocaml/xenstored/connection.ml
@@ -18,6 +18,8 @@ exception End_of_file
open Stdext
+let xenstore_payload_max = 4096 (* xen/include/public/io/xs_wire.h *)
+
type watch = {
con: t;
token: string;
@@ -112,8 +114,15 @@ let restrict con domid =
let set_target con target_domid =
con.perm <- Perms.Connection.set_target (get_perm con) ~perms:[Perms.READ; Perms.WRITE] target_domid
+let is_backend_mmap con = match con.xb.Xenbus.Xb.backend with
+ | Xenbus.Xb.Xenmmap _ -> true
+ | _ -> false
+
let send_reply con tid rid ty data =
- Xenbus.Xb.queue con.xb (Xenbus.Xb.Packet.create tid rid ty data)
+ if (String.length data) > xenstore_payload_max && (is_backend_mmap con) then
+ Xenbus.Xb.queue con.xb (Xenbus.Xb.Packet.create tid rid Xenbus.Xb.Op.Error "E2BIG\000")
+ else
+ Xenbus.Xb.queue con.xb (Xenbus.Xb.Packet.create tid rid ty data)
let send_error con tid rid err = send_reply con tid rid Xenbus.Xb.Op.Error (err ^ "\000")
let send_ack con tid rid ty = send_reply con tid rid ty "OK\000"
diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_core.c
index 0f8ba64..ccfdaa3 100644
--- a/tools/xenstore/xenstored_core.c
+++ b/tools/xenstore/xenstored_core.c
@@ -629,6 +629,11 @@ void send_reply(struct connection *conn, enum xsd_sockmsg_type type,
{
struct buffered_data *bdata;
+ if ( len > XENSTORE_PAYLOAD_MAX ) {
+ send_error(conn, E2BIG);
+ return;
+ }
+
/* Message is a child of the connection context for auto-cleanup. */
bdata = new_buffer(conn);
bdata->buffer = talloc_array(bdata, char, len);
diff --git a/xen/include/public/io/xs_wire.h b/xen/include/public/io/xs_wire.h
index 99d24e3..585f0c8 100644
--- a/xen/include/public/io/xs_wire.h
+++ b/xen/include/public/io/xs_wire.h
@@ -83,7 +83,8 @@ __attribute__((unused))
XSD_ERROR(EROFS),
XSD_ERROR(EBUSY),
XSD_ERROR(EAGAIN),
- XSD_ERROR(EISCONN)
+ XSD_ERROR(EISCONN),
+ XSD_ERROR(E2BIG)
};
#endif

8
app-emulation/xen-tools/xen-tools-4.2.2-r4.ebuild → app-emulation/xen-tools/xen-tools-4.2.2-r5.ebuild

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.2-r4.ebuild,v 1.8 2013/11/04 12:58:47 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.2-r5.ebuild,v 1.1 2013/11/07 00:46:42 idella4 Exp $
EAPI=5
@ -224,7 +224,11 @@ src_prepare() {
"${FILESDIR}"/xen-4.2-CVE-2013-18to19-XSA-55.patch \
"${FILESDIR}"/xen-4.2-CVE-2013-20to23-XSA-55.patch \
"${FILESDIR}"/xen-4-CVE-2013-2072-XSA-56.patch \
"${FILESDIR}"/xen-4.2-CVE-XSA-57.patch
"${FILESDIR}"/xen-4.2-CVE-XSA-57.patch \
"${FILESDIR}"/${PN}-4-CVE-2013-4369-XSA-68.patch \
"${FILESDIR}"/${PN}-4-CVE-2013-4370-XSA-69.patch \
"${FILESDIR}"/${PN}-4-CVE-2013-4371-XSA-70.patch \
"${FILESDIR}"/${PN}-4-CVE-2013-4416-XSA-72.patch
# Bug 472438
sed -e 's:^BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(SHARE_DIR)/bash-completion:' \