Upgrade VMware-Workstation

This commit is contained in:
Sergey Morozov 2018-11-24 19:01:12 +03:00
parent e0062f011b
commit a145a6d152
6 changed files with 40 additions and 52 deletions

View File

@ -7,5 +7,5 @@ AUX 329-4.10-00-vmnet-use-standard-definition-of-PCI_VENDOR_ID_VMWAR.patch 1131
AUX 329-4.12-00-vmmon-use-standard-definition-of-MSR_MISC_FEATURES_E.patch 1603 BLAKE2B 4eea61a743cb443e4a4c22a02a03410adbae66339ac7ed1c1aafe54e447135c1ed976ce3c97f22db9984926de9b9a09b1820e253978f457c0c2b9d22f8e4c59b SHA512 4413cd5e791dd19c4b47ba2178e386160912882b0e1a549151eafcceae484b5e48f527ee45b14584c98e06c11e28ee5bfef34b318e46b45704fbcf93a7b52b56
AUX 329-4.13-00-vmmon-use-standard-definition-of-CR3_PCID_MASK-if-av.patch 1167 BLAKE2B b5c1c4d98d2aed5bb473270ea9b5737da05bab45748aa84b0a83c26abf8d826960ff3251132ae2770bf87168bfb9c01ab7c81ec99036af576ca3fa0eb08b36e2 SHA512 1cf13f9c745bcfcf24ac1e8f762d057f1afde46ec1de4e651a07e63e08d9073eca9bdbaa53c5a1ced556ec83da3bfd80d3c65c979fb91566cf3c7ddae38eaeac
AUX 329-4.16-00-vmmon-use-standard-definition-of-MSR_K7_HWCR_SMMLOCK.patch 1097 BLAKE2B edf94d85be2caa69ca8b7856e636dd1fc41d60b43e56e08e913b9decca7f1f3a2a39d98681366a4c2f948a60acdce513f873b1c080d7329720abd0f235ee739a SHA512 f2e359183999f0396406724a8e0a80ceb3551772958a8a1e31eec0af8a746191bf5c7b7a5282d0f59d5a7cdd14744e1b775ad5af45bc5ee030434bcbb686d50c
EBUILD vmware-modules-329.1.3.ebuild 3765 BLAKE2B dddfe3d1f5a9bcd1245ceea3333ea13c33ceb52471efef9853fe3af8d5686949be72a282120c3c53328486739b93c8c37eb6900defbec8ce26bb12c549d150e7 SHA512 449bd7875dd96babb22fcbbb0ea69b5be2193746e73d856fd86c19796af6988c590061114795b30b3ebe4f2dd5cb311cfbcbc9b70bf4812575b4b041fe4b31c3
EBUILD vmware-modules-330.0.1.ebuild 3330 BLAKE2B f43fa5d255ab0349d874fb28074992032ded368c926f87aafafef423f84459cd550db92c588ca67ed2a0cc9db928c20c8fe8a254afbe316d07c08f59d67610bb SHA512 92d53fd22a40fb9520e52e0073e5e326aaa332797b06d8dcf19987444ba456bb06a8dc1fc4f0c70cb97fb13932db82db1cc0be5b1ad52bc727fce836df6de21a
EBUILD vmware-modules-329.1.5.ebuild 3330 BLAKE2B 335b3971c52dbae4f9d309aad8e17411d1fcabb8cbbb535781ec0f38f202da4b2ebe939359a93366ef9ec33d00abd624fce3f4191fcba509b96367ccdc8ca4b5 SHA512 c91ad321786ebce6126649eb279770ffd60b3260bb58f2a089ebb4439287e83cb273edc7cf38fb073ef76e11297d98687b3a541f64ff97e5b6f0d60fe0b63fb7
EBUILD vmware-modules-330.0.2.ebuild 3330 BLAKE2B f43fa5d255ab0349d874fb28074992032ded368c926f87aafafef423f84459cd550db92c588ca67ed2a0cc9db928c20c8fe8a254afbe316d07c08f59d67610bb SHA512 92d53fd22a40fb9520e52e0073e5e326aaa332797b06d8dcf19987444ba456bb06a8dc1fc4f0c70cb97fb13932db82db1cc0be5b1ad52bc727fce836df6de21a

View File

@ -3,10 +3,7 @@
EAPI=6
inherit eutils flag-o-matic linux-info linux-mod user versionator udev
PV_MAJOR=$(get_major_version)
PV_MINOR=$(get_version_component_range 2-3)
inherit eapi7-ver eutils flag-o-matic linux-info linux-mod user udev
DESCRIPTION="VMware kernel modules"
HOMEPAGE="http://www.vmware.com/"
@ -20,7 +17,7 @@ IUSE=""
RDEPEND=""
DEPEND="
=app-emulation/vmware-workstation-14.${PV_MINOR}*
=app-emulation/vmware-workstation-14.$(ver_cut 2-3)*
"
S=${WORKDIR}
@ -62,15 +59,15 @@ src_unpack() {
src_prepare() {
# from https://github.com/mkubecek/vmware-host-modules/tree/workstation-14.1.1
kernel_is ge 4 9 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.09-00-vmnet-use-standard-definition-of-PCI_VENDOR_ID_VMWAR.patch"
kernel_is ge 4 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.10-00-vmnet-use-standard-definition-of-PCI_VENDOR_ID_VMWAR.patch"
kernel_is ge 4 12 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.12-00-vmmon-use-standard-definition-of-MSR_MISC_FEATURES_E.patch"
kernel_is ge 4 13 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.13-00-vmmon-use-standard-definition-of-CR3_PCID_MASK-if-av.patch"
epatch "${FILESDIR}/${PV_MAJOR}-00-vmmon-quick-workaround-for-objtool-warnings.patch"
kernel_is ge 4 16 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.16-00-vmmon-use-standard-definition-of-MSR_K7_HWCR_SMMLOCK.patch"
epatch "${FILESDIR}/${PV_MAJOR}-01-vmmon-fix-always_inline-attribute-usage.patch"
epatch "${FILESDIR}/${PV_MAJOR}-02-vmmon-fix-indirect-call-with-retpoline-build.patch"
epatch "${FILESDIR}/${PV_MAJOR}-03-vmmon-compatibility-with-eventpoll-switch-to-poll_ma.patch"
kernel_is ge 4 9 0 && epatch "${FILESDIR}/329-4.09-00-vmnet-use-standard-definition-of-PCI_VENDOR_ID_VMWAR.patch"
kernel_is ge 4 10 0 && epatch "${FILESDIR}/329-4.10-00-vmnet-use-standard-definition-of-PCI_VENDOR_ID_VMWAR.patch"
kernel_is ge 4 12 0 && epatch "${FILESDIR}/329-4.12-00-vmmon-use-standard-definition-of-MSR_MISC_FEATURES_E.patch"
kernel_is ge 4 13 0 && epatch "${FILESDIR}/329-4.13-00-vmmon-use-standard-definition-of-CR3_PCID_MASK-if-av.patch"
epatch "${FILESDIR}/329-00-vmmon-quick-workaround-for-objtool-warnings.patch"
kernel_is ge 4 16 0 && epatch "${FILESDIR}/329-4.16-00-vmmon-use-standard-definition-of-MSR_K7_HWCR_SMMLOCK.patch"
epatch "${FILESDIR}/329-01-vmmon-fix-always_inline-attribute-usage.patch"
epatch "${FILESDIR}/329-02-vmmon-fix-indirect-call-with-retpoline-build.patch"
epatch "${FILESDIR}/329-03-vmmon-check-presence-of-file_operations-poll.patch"
# decouple the kernel include dir from the running kernel version: https://github.com/stefantalpalaru/gentoo-overlay/issues/17
sed -i -e "s%HEADER_DIR = /lib/modules/\$(VM_UNAME)/build/include%HEADER_DIR = ${KERNEL_DIR}/include%" */Makefile || die "sed failed"
@ -109,11 +106,4 @@ src_install() {
pkg_postinst() {
linux-mod_pkg_postinst
if [ "${installed_modprobe_conf}"x == "x" ] ; then
if [ -f "${ROOT}/etc/modprobe.d/vmware.conf" ] ; then
ewarn "Please check the /etc/modprobe.d/vmware.conf file and"
ewarn "possible conflicts when using vmci and/or vsock modules built"
ewarn "out of kernel"
fi
fi
}

View File

@ -3,14 +3,13 @@ AUX vmware-14.1.rc 2476 BLAKE2B dff25b43c5fa57186be2a5f0ca4606d26cd1c3f3dbeb91d8
AUX vmware-15.0.rc 2476 BLAKE2B dff25b43c5fa57186be2a5f0ca4606d26cd1c3f3dbeb91d855fc07a9fd576f446983c852c8e0b112c5616bb95dfddc7e2c738b4d0ca341c781d7addcb45068cd SHA512 9bae224387128b2cd221d509e2933042e3925fb041670907d8a47c70a488214206912fe25ab24c0bdeb31591149e62aba374d3fa63fdd08644e09667e195967f
AUX vmware-server-14.1.rc 1506 BLAKE2B 886ed1de7a99320611a28a43b48cf17715fcab8bf533a73c28a1aa2f8d150ee2b84e1e510e864b18347f3bd7e43faec3cfc90f09d5ac9c0afe821f67654a68c4 SHA512 548ff69f87bee2b6c82bd931d22dd560370c4a00641ae47d05af05bbc72cedc8fd25054abc405a590b72227b10c5997d79f16ded67f3e0cfac142eb248b47d44
AUX vmware-server-15.0.rc 1506 BLAKE2B 886ed1de7a99320611a28a43b48cf17715fcab8bf533a73c28a1aa2f8d150ee2b84e1e510e864b18347f3bd7e43faec3cfc90f09d5ac9c0afe821f67654a68c4 SHA512 548ff69f87bee2b6c82bd931d22dd560370c4a00641ae47d05af05bbc72cedc8fd25054abc405a590b72227b10c5997d79f16ded67f3e0cfac142eb248b47d44
DIST VMware-Workstation-Full-14.1.3-9474260.x86_64.bundle 461108241 BLAKE2B a52e336d0820b0bb3d5ffadaea5b626db3cadeedb07dc95a82b8f721bf416f52b7d6ce58e2c6a89176efcaa71d12e04e7b1f76244c44898c370b0347492bb6a3 SHA512 54ff9b9f9c134c17323539dbdd0b6fc2527274850cc8be3c1a432f3bdcd9f0d9a1663feff879ad10f39d99be6cb04f3cec15ac06ab63de56ba4564657a52e0bf
DIST VMware-Workstation-Full-15.0.1-10737736.x86_64.bundle 495671642 BLAKE2B 5a509938870696966acf72f49c7c72425807bb9c25283ee99235b6fd8ddbe8f5f14bdd0ff2886b69ef9a2e4a0331e8f992b7e9d49f62e9026e122dffb9a10f1b SHA512 b20f35bf01f86fb85213da43675d26a7f5ba0d0a6ca6d1c43aba7f391c659689522801e2b5e065bf6f801fb8be81c1f59877fd189186917901605cedad9e0ffe
DIST com.vmware.fusion.tools.darwin-14.1.3.9474260.zip.tar 2805760 BLAKE2B 0a052e0090ba667cef0a8c1253d77e2bdaec45cd1f31012ad66cea26c15f0cc6326879b747a4df685056628dc93b1db99eb46b22faab2b4548dfc5d62b99fd0e SHA512 83465b4b4299905f7e7828bb7db6641eb86569b0f7dc61780fc993084ceec180c31838ea16f01cc8d6aec26cfca9879dd3ff3de2af09f309dc53b8c59a90ab28
DIST com.vmware.fusion.tools.darwin-15.0.1.10737736.zip.tar 2795520 BLAKE2B a767ba710534eb46254e52d0226bf4794cb8ae1d2b25b0f6e070abb89e84c24ccf3310fa310765c56d8e82b2d157bcd4bbd3d0388f4658a0939f17a1f2c6910d SHA512 15af65df39ea066969847e43a145edb1b2bcf288cea485ead7aca86375d9ae08915151c7e0ad865efd39bc0826846c17fc7002b6d89fbb958ae67ff0083903ba
DIST com.vmware.fusion.tools.darwinPre15-14.1.3.9474260.zip.tar 2478080 BLAKE2B 40a8406406eb342096b6d34871cf08df20c540c3913afbaee0fcc5be857961e30df16a4a89ef780dfa9ce770e166232425bfac5fd8ce8eefab3c2c98f8fc4019 SHA512 1d6895956949532158b0c4aa3f714746d8573d3d95da2a8697bdf6f02f71b71df4defd572a2f714bf787e9e26c72ea26819a75b129839c2bb060937a4a9e5d73
DIST com.vmware.fusion.tools.darwinPre15-15.0.1.10737736.zip.tar 2478080 BLAKE2B 1b702b9514a649c702ade9eec1a33dfc2a9789fc6442778a6a96cceaa9cb502bd90f7915f33fb027f84209da3a6d0f106a936fbff8d785e3d7861a2c85e0c0d8 SHA512 48946da14ea5e64ed514fdfaef233294e647860e90bca114d402d71cc49d8b5b8ab9c743393656a8b1d67a2aa69878f5b441843eb2d90d79f03599c3156fd330
DIST unlocker-2.1.1_p1.zip 16201234 BLAKE2B 486597ba7ef12d2ec5b021ff9f5b56a9d1a58251e26f7bd9df4e84d34df9602ada3eaf69967ea645082e3919187f14801e7f506fa08b457d5763bdba9ec75493 SHA512 4ccea825339ae9303e8676dc773ca54cc929ab4970d8a2ac225f05bf18bad0e0945b7df3dd2b65c5596fd164642296da0f64774b27d7c066597f4d1d4db82bee
DIST VMware-Workstation-Full-14.1.5-10950780.x86_64.bundle 461118056 BLAKE2B b7aff88b89555d0ba759d6f78a463cc3d90c0941d240279102717b13ca73e2f17b4e89bcc66b1c288cc0fb35774ccc323585779da8cbed849c7b66618a2cccfb SHA512 0c69ec0373c61f6e1ea27cdd17d427ce99cfa45d377cc844b3aaf0c66b8b8744d15e7bbdb971e79fcd5c5f8e4ea345337046e83d26d37b102508da422d881ec8
DIST VMware-Workstation-Full-15.0.2-10952284.x86_64.bundle 495664015 BLAKE2B 478423644e68fe610f443197b6933d4ad44373ad50451a31231f3bdbf39390e917c824a0affa84510742d02c42a944b71b5e4ef0f2ad5ebb0caaa41b76a0d2f9 SHA512 3867c9dba46c674071164f037e9b8d6388dc2fe3fd6dcc8b13e3e73988c697f34bcdd2d32ec579a2c407614066a142ba1adf673dfb2b84037fa2acfb92c81ade
DIST com.vmware.fusion.tools.darwin-14.1.5.10950780.zip.tar 2805760 BLAKE2B f20193053e1239061e16603e488349838ffce3f99d120e92fad9595d865d303b847a6483e5e7add8be26c6848bc183a332e6b6b0c5fe0a3741ea55bfc7e4549c SHA512 f34cedb80d8d7656bb1df7e2771196b5373ad2aad7aa93fb1bd5421fa157f2e46a8642b27254ee26f32d64398f71e061bd1a65933216f32b1b2e11cce939b64c
DIST com.vmware.fusion.tools.darwin-15.0.2.10952284.zip.tar 2795520 BLAKE2B c1cb67abe46aa006c7633075dd87b9071213ee8efd215243e895db242ffdbecf13c29515b433259bf9dbd72cf30376a9503f189e65fddfb2550d8d7ec003e3a7 SHA512 b1b42426678a6118f664eba9f0c68313948b51a0add4ffd1b59201d177db0552bd8367f66ef83a5769069e34efaab7ef10f413a46218589b76867a6e743229f8
DIST com.vmware.fusion.tools.darwinPre15-14.1.5.10950780.zip.tar 2478080 BLAKE2B 6b1d2e3f280b891d9b121fad063f7e164c496d8e66f5de3d6da73e245a327159c4d6ba52446b3bdf1d94bca0898b289972c25d9ae9a4dec0fd133216a52e9806 SHA512 cfe09773ca477e1d928ad6b2d8cc36e632fd82dc63b2447cb05481b8ce320bc9bad6f157f1909b01cea8067cd171ecebeb42465ac71e3f57b9121949b1605ef9
DIST com.vmware.fusion.tools.darwinPre15-15.0.2.10952284.zip.tar 2478080 BLAKE2B 661a53816a33de87305a9d61040ba742c97ff3885b2004ea05f9d7b5a7d5862185e82e1cefe6aa505c89ac3d487574514258719148c4d9f58d172c40f47c9cd7 SHA512 b7132b9ed302de2ce3b39d63b8eaea7d82f7e1a8cb66f618fa0247119746000986b7014bfd1772e27df2e6941e1000fd6143fcf9fdd2bd9b7164b01a9bd2e8a0
DIST unlocker-3.0.2.tar.gz 15984801 BLAKE2B e157ed24ad6cea1ab16dd5fc11935b7cdbb3fb0a1e0a9c059eb100f0c57508b749884111b93a9f272ad2c5a9ecd4fadb177ccac47d7688665c5fa8f100fcd2b1 SHA512 83a390562761791531574c05d2a5caacd936b45b32f26a1e5ba953ce32e27af29cb3ac0984c552c2eb9cfdf033d4b95fae1c33a70f2b169563d74d1ea188dacf
DIST vmware-systemd-gentoo-02.tgz 14064 BLAKE2B 24ac2c2f295130f4aadad867ec88d652bd292cc60e6b471bb2e01069fe01d84dac3d8b0ca7690ebf218d663adfe0c1dc889d3f4f53cf3178b68291461260748b SHA512 3a382bfd5f1eb2b218d8012588ea55c1f22786dba35a1fc0fdfdb4e40b05e0e735ed09c6961684f6442e863c3ed72024ce01f19113bbd9ca47c32e3f43c55f42
EBUILD vmware-workstation-14.1.3.9474260.ebuild 21159 BLAKE2B a6ee13192a6a8bf724bb89db154e5e89a19b66e278cdf957341476c5dfa2f6785837e24d07fb63b14768e5a5fff13774aa6074c298ff9149c06e0d5219b47a1e SHA512 290889884c198e8f763f479007fc5517d6df65097a6c006ca18df56c71c95a311a30f3f3f05aaf225c86c863eae6575f66cb258bfc1140385dcef95c09b32ffc
EBUILD vmware-workstation-15.0.1.10737736.ebuild 21218 BLAKE2B 8cbfb26c5ac047a5636059b79de42df233971ff6a61f8e4c377b0807b72a8abda830b2f807108847eab3592dcf8b0ed2c171028db591fe9b5a428894937382e7 SHA512 cb61e5f30b7962c0a880c47436902c1bb013cd8c239f40260ab57615f03a135af18abab9f39b85d5e3516f01ea5ac4369e151f4a8f9b2928ba9808c47eda3a68
EBUILD vmware-workstation-14.1.5.10950780.ebuild 21229 BLAKE2B 91a655b414a893d78cb94308d714c30c21773d1e9ecc85049c15d3bf0968c658e47dfa55aa52b3a1834c9bece1340be482e73a37342ae89814a67180e2ac62be SHA512 a5ab74213cc505f4676d419bf6a8eefc242445f834e4c9c4eeced1fb94bac54ccd23ed177f4cdea2b62648983f0cef007cfe9c416d45e2ebb12e86fbc302f36a
EBUILD vmware-workstation-15.0.2.10952284.ebuild 21229 BLAKE2B 883e4c67e3c75f3777830fcb28ccfde4f6a4cfc5e5219baa7cc5031775575cdf47631d5fab3f16200a8283fb502268ba863da4019a51154243cb3d95a1f0059e SHA512 fab45e76e929d23115a5f177e91964c076015868ed68d4ed804087480db259645cc4a041e94285db8967a675e251e66a8fa67c1a5ef92ffbe9c8da6e3c6bbbc2

View File

@ -3,14 +3,14 @@
EAPI=6
inherit eutils versionator readme.gentoo-r1 gnome2-utils pam systemd xdg-utils
inherit eapi7-ver eutils readme.gentoo-r1 gnome2-utils pam systemd xdg-utils
MY_PN="VMware-Workstation-Full"
MY_PV=$(get_version_component_range 1-3)
PV_MODULES="329.$(get_version_component_range 2-3)"
PV_BUILD=$(get_version_component_range 4)
MY_PV=$(ver_cut 1-3)
PV_MODULES="329.$(ver_cut 2-3)"
PV_BUILD=$(ver_cut 4)
MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
VMWARE_FUSION_VER="10.1.3_9472307"
VMWARE_FUSION_VER="10.$(ver_cut 2-3)/10950653" # https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/
SYSTEMD_UNITS_TAG="gentoo-02"
DESCRIPTION="Emulate a complete PC without the performance overhead of most emulators"
@ -18,9 +18,9 @@ HOMEPAGE="http://www.vmware.com/products/workstation/"
SRC_URI="
https://download3.vmware.com/software/wkst/file/${MY_P}.x86_64.bundle
macos-guests? (
https://github.com/DrDonk/unlocker/archive/b036c40ab1922d9abf4f7d68e34f1eca3b4dc2ad.zip -> unlocker-2.1.1_p1.zip
vmware-tools-darwinPre15? ( https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${VMWARE_FUSION_VER/_//}/packages/com.vmware.fusion.tools.darwinPre15.zip.tar -> com.vmware.fusion.tools.darwinPre15-${PV}.zip.tar )
vmware-tools-darwin? ( https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${VMWARE_FUSION_VER/_//}/packages/com.vmware.fusion.tools.darwin.zip.tar -> com.vmware.fusion.tools.darwin-${PV}.zip.tar )
https://github.com/DrDonk/unlocker/archive/3.0.2.tar.gz -> unlocker-3.0.2.tar.gz
vmware-tools-darwinPre15? ( https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${VMWARE_FUSION_VER}/packages/com.vmware.fusion.tools.darwinPre15.zip.tar -> com.vmware.fusion.tools.darwinPre15-${PV}.zip.tar )
vmware-tools-darwin? ( https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${VMWARE_FUSION_VER}/packages/com.vmware.fusion.tools.darwin.zip.tar -> com.vmware.fusion.tools.darwin-${PV}.zip.tar )
)
systemd? ( https://github.com/akhuettel/systemd-vmware/archive/${SYSTEMD_UNITS_TAG}.tar.gz -> vmware-systemd-${SYSTEMD_UNITS_TAG}.tgz )
"
@ -30,7 +30,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="bundled-libs cups doc macos-guests +modules ovftool server systemd vix"
DARWIN_GUESTS="darwin darwinPre15"
IUSE_VMWARE_GUESTS="${DARWIN_GUESTS} freebsd linux linuxPreGlibc25 netware solaris windows winPre2k winPreVista"
IUSE_VMWARE_GUESTS="${DARWIN_GUESTS} linux linuxPreGlibc25 netware solaris windows winPre2k winPreVista"
for guest in ${IUSE_VMWARE_GUESTS}; do
IUSE+=" vmware-tools-${guest}"
done
@ -193,7 +193,6 @@ RDEPEND="
cups? ( net-print/cups )
sys-apps/tcp-wrappers
sys-apps/util-linux
x11-libs/gksu
x11-libs/libXxf86vm
x11-libs/libdrm
x11-libs/libxshmfence
@ -211,7 +210,6 @@ PDEPEND="
DEPEND="
dev-lang/python:2.7
>=dev-util/patchelf-0.9
macos-guests? ( dev-python/six )
ovftool? ( app-admin/chrpath )
sys-libs/ncurses:5
sys-libs/readline:0
@ -236,9 +234,10 @@ src_unpack() {
fi
done
local bundle=${MY_P}.x86_64.bundle
chmod 755 ${bundle}
./${bundle} --console --extract extracted || die "unable to extract bundle"
local bundle="${MY_P}.x86_64.bundle"
chmod 755 "${bundle}"
# this needs a /tmp mounted without "noexec" because it extracts and executes scripts in there
./${bundle} --console --required --eulas-agreed --extract=extracted || die "unable to extract bundle"
if ! use ovftool; then
rm -r extracted/vmware-ovftool || die "unable to remove dir"
@ -323,7 +322,7 @@ To be able to run ${PN} your user must be in the vmware group.\n
}
src_install() {
local major_minor=$(get_version_component_range 1-2 "${PV}")
local major_minor=$(ver_cut 1-2 "${PV}")
local vmware_installer_version=$(cat "${S}/vmware-installer/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
# revdep-rebuild entry
@ -349,12 +348,12 @@ src_install() {
# workaround for hardcoded search paths needed during shared objects loading
if ! use bundled-libs ; then
dosym /usr/$(get_libdir)/libglib-2.0.so.0 \
dosym ../../../../../../usr/$(get_libdir)/libglib-2.0.so.0 \
"${VM_INSTALL_DIR}"/lib/vmware/lib/libglib-2.0.so.0/libglib-2.0.so.0
# Bug 432918
dosym /usr/$(get_libdir)/libcrypto.so.1.0.0 \
dosym ../../../../../../usr/$(get_libdir)/libcrypto.so.1.0.0 \
"${VM_INSTALL_DIR}"/lib/vmware/lib/libcrypto.so.1.0.2/libcrypto.so.1.0.2
dosym /usr/$(get_libdir)/libssl.so.1.0.0 \
dosym ../../../../../../usr/$(get_libdir)/libssl.so.1.0.0 \
"${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.1.0.2/libssl.so.1.0.2
fi
@ -677,7 +676,7 @@ src_install() {
local version="$(grep -oPm1 '(?<=<version>)[^<]+' ${manifest})"
sqlite3 "${dbfile}" "INSERT INTO components(name,version,buildNumber,component_core_id,longName,description,type) VALUES(\"vmware-tools-$guest\",\"$version\",\"${PV_BUILD}\",1,\"$guest\",\"$guest\",1);"
else
sqlite3 "${dbfile}" "INSERT INTO components(name,version,buildNumber,component_core_id,longName,description,type) VALUES(\"vmware-tools-$guest\",\"${VMWARE_FUSION_VER%_*}\",\"${VMWARE_FUSION_VER#*_}\",1,\"$guest\",\"$guest\",1);"
sqlite3 "${dbfile}" "INSERT INTO components(name,version,buildNumber,component_core_id,longName,description,type) VALUES(\"vmware-tools-$guest\",\"${VMWARE_FUSION_VER%/*}\",\"${VMWARE_FUSION_VER#*/}\",1,\"$guest\",\"$guest\",1);"
fi
insinto "${VM_INSTALL_DIR}/lib/vmware/isoimages"
doins vmware-tools-${guest}/${guest}.iso

View File

@ -10,7 +10,7 @@ MY_PV=$(ver_cut 1-3)
PV_MODULES="330.$(ver_cut 2-3)"
PV_BUILD=$(ver_cut 4)
MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
VMWARE_FUSION_VER="11.0.1/10738065" # https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/
VMWARE_FUSION_VER="11.$(ver_cut 2-3)/10952296" # https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/
SYSTEMD_UNITS_TAG="gentoo-02"
DESCRIPTION="Emulate a complete PC without the performance overhead of most emulators"