summaryrefslogtreecommitdiff
path: root/app-emulation
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/docker/Manifest2
-rw-r--r--app-emulation/docker/docker-17.10.0.ebuild315
-rw-r--r--app-emulation/kompose/Manifest2
-rw-r--r--app-emulation/kompose/kompose-1.4.0.ebuild30
-rw-r--r--app-emulation/vmware-modules/Manifest124
-rw-r--r--app-emulation/vmware-modules/files/271-3.10-00-userns.patch41
-rw-r--r--app-emulation/vmware-modules/files/271-3.10-01-create_proc_entry.patch28
-rw-r--r--app-emulation/vmware-modules/files/271-3.10-02-getname.patch24
-rw-r--r--app-emulation/vmware-modules/files/271-3.10-03-deprecated.patch89
-rw-r--r--app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch115
-rw-r--r--app-emulation/vmware-modules/files/271-3.10-05-dentry.patch34
-rw-r--r--app-emulation/vmware-modules/files/271-3.10-06-inode.patch36
-rw-r--r--app-emulation/vmware-modules/files/271-3.10-07-hub.patch26
-rw-r--r--app-emulation/vmware-modules/files/271-3.10.0.patch809
-rw-r--r--app-emulation/vmware-modules/files/271-3.11-00-readdir.patch41
-rw-r--r--app-emulation/vmware-modules/files/271-3.11-01-filldir.patch53
-rw-r--r--app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch39
-rw-r--r--app-emulation/vmware-modules/files/271-3.15-00-readlink.patch15
-rw-r--r--app-emulation/vmware-modules/files/271-3.15-01-vsock.patch46
-rw-r--r--app-emulation/vmware-modules/files/271-3.17-00-netdev.patch16
-rw-r--r--app-emulation/vmware-modules/files/271-3.19-00-vmnet-warning.patch13
-rw-r--r--app-emulation/vmware-modules/files/271-3.19-01-vmblock-path.patch67
-rw-r--r--app-emulation/vmware-modules/files/271-3.19-02-vmci.patch29
-rw-r--r--app-emulation/vmware-modules/files/271-3.19-03-vmnet.patch29
-rw-r--r--app-emulation/vmware-modules/files/271-3.19-04-vsock.patch12
-rw-r--r--app-emulation/vmware-modules/files/271-3.19-05-vsock.patch15
-rw-r--r--app-emulation/vmware-modules/files/271-3.19-06-vmci_qpair.patch24
-rw-r--r--app-emulation/vmware-modules/files/271-apic.patch12
-rw-r--r--app-emulation/vmware-modules/files/271-filldir.patch91
-rw-r--r--app-emulation/vmware-modules/files/271-hardened.patch170
-rw-r--r--app-emulation/vmware-modules/files/271-makefile-include.patch65
-rw-r--r--app-emulation/vmware-modules/files/271-makefile-kernel-dir.patch85
-rw-r--r--app-emulation/vmware-modules/files/271-netdevice.patch24
-rw-r--r--app-emulation/vmware-modules/files/271-putname.patch13
-rw-r--r--app-emulation/vmware-modules/files/271-vfsfollowlink.patch30
-rw-r--r--app-emulation/vmware-modules/files/271-vmmon.patch44
-rw-r--r--app-emulation/vmware-modules/files/279-3.10-00-userns.patch41
-rw-r--r--app-emulation/vmware-modules/files/279-3.10-01-getname.patch24
-rw-r--r--app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch89
-rw-r--r--app-emulation/vmware-modules/files/279-3.10-04-dentry.patch34
-rw-r--r--app-emulation/vmware-modules/files/279-3.10-05-inode.patch36
-rw-r--r--app-emulation/vmware-modules/files/279-3.15-00-readlink.patch15
-rw-r--r--app-emulation/vmware-modules/files/279-3.15-01-vsock.patch46
-rw-r--r--app-emulation/vmware-modules/files/279-3.17-00-netdev.patch16
-rw-r--r--app-emulation/vmware-modules/files/279-3.18-00-version-redefined.patch24
-rw-r--r--app-emulation/vmware-modules/files/279-3.19-00-compat-namei.patch23
-rw-r--r--app-emulation/vmware-modules/files/279-3.19-01-dentry.patch13
-rw-r--r--app-emulation/vmware-modules/files/279-3.19-02-vmblock-path.patch67
-rw-r--r--app-emulation/vmware-modules/files/279-3.19-03-iovec.patch19
-rw-r--r--app-emulation/vmware-modules/files/279-3.19-04-iovec.patch39
-rw-r--r--app-emulation/vmware-modules/files/279-3.19-05-vmci_qpair.patch24
-rw-r--r--app-emulation/vmware-modules/files/279-3.19-06-vsock.patch15
-rw-r--r--app-emulation/vmware-modules/files/279-3.19-07-vsock.patch12
-rw-r--r--app-emulation/vmware-modules/files/279-4.2-00-cookie.patch79
-rw-r--r--app-emulation/vmware-modules/files/279-5.10-00-userns.patch16
-rw-r--r--app-emulation/vmware-modules/files/279-apic.patch12
-rw-r--r--app-emulation/vmware-modules/files/279-filldir.patch91
-rw-r--r--app-emulation/vmware-modules/files/279-hardened.patch113
-rw-r--r--app-emulation/vmware-modules/files/279-makefile-include.patch65
-rw-r--r--app-emulation/vmware-modules/files/279-makefile-kernel-dir.patch85
-rw-r--r--app-emulation/vmware-modules/files/279-netdevice.patch24
-rw-r--r--app-emulation/vmware-modules/files/279-putname.patch13
-rw-r--r--app-emulation/vmware-modules/files/279-vfsfollowlink.patch30
-rw-r--r--app-emulation/vmware-modules/files/279-vmblock.patch23
-rw-r--r--app-emulation/vmware-modules/files/304-3.10-00-dentry.patch43
-rw-r--r--app-emulation/vmware-modules/files/304-3.10-01-inode.patch94
-rw-r--r--app-emulation/vmware-modules/files/304-3.10-02-control.patch57
-rw-r--r--app-emulation/vmware-modules/files/304-3.10-03-inline.patch14
-rw-r--r--app-emulation/vmware-modules/files/304-3.11-00-readdir.patch41
-rw-r--r--app-emulation/vmware-modules/files/304-3.11-01-filldir.patch53
-rw-r--r--app-emulation/vmware-modules/files/304-3.15-00-vsock.patch46
-rw-r--r--app-emulation/vmware-modules/files/304-3.18-00-version-redefined.patch25
-rw-r--r--app-emulation/vmware-modules/files/304-3.19-00-compat-namei.patch24
-rw-r--r--app-emulation/vmware-modules/files/304-3.19-01-dentry.patch14
-rw-r--r--app-emulation/vmware-modules/files/304-3.19-02-vmblock-path.patch67
-rw-r--r--app-emulation/vmware-modules/files/304-3.19-03-iovec.patch20
-rw-r--r--app-emulation/vmware-modules/files/304-3.19-04-iovec.patch59
-rw-r--r--app-emulation/vmware-modules/files/304-3.19-05-vmci_qpair.patch25
-rw-r--r--app-emulation/vmware-modules/files/304-3.19-06-vsock.patch16
-rw-r--r--app-emulation/vmware-modules/files/304-3.19-07-vsock.patch13
-rw-r--r--app-emulation/vmware-modules/files/304-4.2-00-inode_op.patch45
-rw-r--r--app-emulation/vmware-modules/files/304-4.2-01-inode.patch46
-rw-r--r--app-emulation/vmware-modules/files/304-4.2-01-vmci_vmalloc.patch13
-rw-r--r--app-emulation/vmware-modules/files/304-4.2-02-vmnetInt.patch23
-rw-r--r--app-emulation/vmware-modules/files/304-4.2-02-vsock.patch77
-rw-r--r--app-emulation/vmware-modules/files/304-4.2-03-af_vsock.patch13
-rw-r--r--app-emulation/vmware-modules/files/304-4.2-03-vsock.patch14
-rw-r--r--app-emulation/vmware-modules/files/304-4.2-04-driver.patch50
-rw-r--r--app-emulation/vmware-modules/files/304-4.3-00-misc_deregister.patch34
-rw-r--r--app-emulation/vmware-modules/files/304-4.5-00-get_link.patch67
-rw-r--r--app-emulation/vmware-modules/files/304-apic.patch12
-rw-r--r--app-emulation/vmware-modules/files/304-hardened.patch113
-rw-r--r--app-emulation/vmware-modules/files/304-makefile-include.patch65
-rw-r--r--app-emulation/vmware-modules/files/304-makefile-kernel-dir.patch85
-rw-r--r--app-emulation/vmware-modules/files/304-netdevice.patch24
-rw-r--r--app-emulation/vmware-modules/files/308-3.10-00-dentry.patch43
-rw-r--r--app-emulation/vmware-modules/files/308-3.10-01-inode.patch94
-rw-r--r--app-emulation/vmware-modules/files/308-3.10-02-control.patch57
-rw-r--r--app-emulation/vmware-modules/files/308-3.10-03-inline.patch14
-rw-r--r--app-emulation/vmware-modules/files/308-3.11-00-readdir.patch41
-rw-r--r--app-emulation/vmware-modules/files/308-3.11-01-filldir.patch53
-rw-r--r--app-emulation/vmware-modules/files/308-3.15-00-vsock.patch46
-rw-r--r--app-emulation/vmware-modules/files/308-3.18-00-version-redefined.patch25
-rw-r--r--app-emulation/vmware-modules/files/308-3.19-00-compat-namei.patch24
-rw-r--r--app-emulation/vmware-modules/files/308-3.19-02-vmblock-path.patch67
-rw-r--r--app-emulation/vmware-modules/files/308-3.19-04-iovec.patch59
-rw-r--r--app-emulation/vmware-modules/files/308-3.19-05-vmci_qpair.patch25
-rw-r--r--app-emulation/vmware-modules/files/308-3.19-06-vsock.patch16
-rw-r--r--app-emulation/vmware-modules/files/308-3.19-07-vsock.patch13
-rw-r--r--app-emulation/vmware-modules/files/308-4.01-00-vsock.patch61
-rw-r--r--app-emulation/vmware-modules/files/308-4.02-00-nd_set_link.patch56
-rw-r--r--app-emulation/vmware-modules/files/308-4.02-01-sk_alloc.patch22
-rw-r--r--app-emulation/vmware-modules/files/308-4.03-00-vmci-misc_deregister.patch27
-rw-r--r--app-emulation/vmware-modules/files/308-4.03-00-vmmon-misc_deregister.patch14
-rw-r--r--app-emulation/vmware-modules/files/308-4.05-00-vmblock-follow_link.patch56
-rw-r--r--app-emulation/vmware-modules/files/308-apic.patch12
-rw-r--r--app-emulation/vmware-modules/files/308-hardened.patch89
-rw-r--r--app-emulation/vmware-modules/files/308-makefile-include.patch65
-rw-r--r--app-emulation/vmware-modules/files/308-makefile-kernel-dir.patch85
-rw-r--r--app-emulation/vmware-modules/files/308-netdevice.patch24
-rw-r--r--app-emulation/vmware-modules/files/hardened.patch170
-rw-r--r--app-emulation/vmware-modules/metadata.xml16
-rw-r--r--app-emulation/vmware-modules/vmware-modules-271.3-r1.ebuild107
-rw-r--r--app-emulation/vmware-modules/vmware-modules-279.6.ebuild116
-rw-r--r--app-emulation/vmware-modules/vmware-modules-304.2.ebuild116
-rw-r--r--app-emulation/vmware-modules/vmware-modules-304.3-r1.ebuild118
-rw-r--r--app-emulation/vmware-modules/vmware-modules-308.1.0.ebuild149
-rw-r--r--app-emulation/vmware-player/Manifest13
-rw-r--r--app-emulation/vmware-player/files/vmware-11.0.rc43
-rw-r--r--app-emulation/vmware-player/files/vmware-11.2.rc43
-rw-r--r--app-emulation/vmware-player/files/vmware-12.1.rc43
-rw-r--r--app-emulation/vmware-player/files/vmware-network.service17
-rw-r--r--app-emulation/vmware-player/files/vmware-usbarbitrator.service11
-rw-r--r--app-emulation/vmware-player/metadata.xml16
-rw-r--r--app-emulation/vmware-player/vmware-player-12.1.0.3272444-r2.ebuild417
-rw-r--r--app-emulation/vmware-player/vmware-player-7.1.2.2780323-r1.ebuild258
-rw-r--r--app-emulation/vmware-tools/Manifest43
-rw-r--r--app-emulation/vmware-tools/metadata.xml8
-rw-r--r--app-emulation/vmware-tools/vmware-tools-9.2.3.1031769.ebuild55
-rw-r--r--app-emulation/vmware-tools/vmware-tools-9.6.5.2700073.ebuild54
-rw-r--r--app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild57
-rw-r--r--app-emulation/vmware-tools/vmware-tools-9.9.4.3206955.ebuild57
-rw-r--r--app-emulation/vmware-workstation/Manifest28
-rw-r--r--app-emulation/vmware-workstation/files/configure-hostd.sh20
-rw-r--r--app-emulation/vmware-workstation/files/vmware-10.0.rc36
-rw-r--r--app-emulation/vmware-workstation/files/vmware-11.1.rc43
-rw-r--r--app-emulation/vmware-workstation/files/vmware-12.1.rc43
-rw-r--r--app-emulation/vmware-workstation/files/vmware-9.0.rc36
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-10.0.rc54
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-11.1.rc54
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-12.1.rc54
-rw-r--r--app-emulation/vmware-workstation/files/vmware-server-9.0.rc54
-rw-r--r--app-emulation/vmware-workstation/metadata.xml25
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-10.0.6.2700073-r1.ebuild498
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-11.1.2.2780323-r4.ebuild548
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-11.1.3.3206955-r3.ebuild548
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-11.1.3.3206955-r4.ebuild548
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-12.1.0.3272444-r2.ebuild627
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-9.0.3.1410761.ebuild490
159 files changed, 349 insertions, 11360 deletions
diff --git a/app-emulation/docker/Manifest b/app-emulation/docker/Manifest
index 86a67ea1c8a8..bbd23dc36c00 100644
--- a/app-emulation/docker/Manifest
+++ b/app-emulation/docker/Manifest
@@ -2,9 +2,11 @@ AUX 1.13.1-split-openrc-log.patch 2008 SHA256 5c0f6d4424f0d6e6ddbc5db20c3cc6d44a
DIST docker-17.03.2.tar.gz 7783969 SHA256 171a65c44340c7b5710da6948b0afb9306b126b36c531ddab1a3653fd2980aaa SHA512 9fad6c1fa38f9a14208547ca2d3d6a11a565fe4cebd7b432ccad9e2a57ab4a005df20415d1c797f747a99d309b07d8ec97bb45c67644554622aafe0bf1893e04 WHIRLPOOL e34f04698e4a510ed26c9e8f87510878a940d77dc7558df40173a8ea452a2843327196dea3099844dc389a051e23294671b3bc835120af3ca1f4c9c758de44a3
DIST docker-17.06.2.tar.gz 9684548 SHA256 cfcb5646db32f52c4c394bc688fff405e585beab4ded64251958804a102a5269 SHA512 0a9b7b122aadef911141ec1f606759e892c0673821ddf5f3247a5b2d4476a20018add84a22c5aca32f0f91c1046e5be6d8d3f9ce65c3e4244896bf061b1eac6b WHIRLPOOL d0cc166319dbf735d67796df3836f79b24b9108327276ca0ba272398cdc70d6fae4649d9097b6dd29e62633ee636a216343e0d3ffd781cf63ef4c7a7c8cea259
DIST docker-17.09.0.tar.gz 10132253 SHA256 ef1d7f2c48824495e4109426ba85b75c09cc9463b9ba92703e25ffcbe14536ae SHA512 d96570825fb3dc24516b3b9666e935d5277674221452d8a23e6bcd1116f0bb3a2b8b315f47b98f52e681ab79309c099bb3b5c437af942539708ff3126c993638 WHIRLPOOL ca96166ff3573138713d3d45fcfc42cfed99a70e9db17a1763a9e157e6ce3f301fd01ab3c579aacfcbcab7639986e97bbbbc680fbc65edd76047aee079239b6b
+DIST docker-17.10.0.tar.gz 10252333 SHA256 90f54b988d5241ee0472800e139e0628ae8a58dac168bb32fdb031383f3b46be SHA512 4ec5dae379ecda36b9af7066432507947142631efea471cd7f447677f9db1fe1522fe81ef68b28d3e63b5e759535a1c518ce1ef71f4de0e9dd32c957c682098c WHIRLPOOL 5e8278c663f0a0e793c2f439ce84e541371a45e605f78194a86ab3da4922400d8ef7101b5534ac35927381a658a88929c9a83a8ffee0f984488edb5a3c993eae
EBUILD docker-17.03.2.ebuild 8320 SHA256 7a83f7993f61edb28427d1864db270483682e21f1ee3498d12c98a316eb0ca6a SHA512 f6f1115d0ef9a55e92fdd927731cd4011a0c69fa38f3a57e96c54d481a86e99c4fe856a2c2931d1fb87077b6a69ebc751157efd6e9402518e6e8862a4534b302 WHIRLPOOL 38e30777580017ddf31af256ab612f2236dbd9c839f6c4e1e2be054fd2c4f39e3f222cec838f1d38fe6f3af0998f52cc3a4dfacbf14122e3585688a7aeb1f48c
EBUILD docker-17.06.2.ebuild 8712 SHA256 b622233449ca47beb40144057c8b426fbce76ff17ed8c45c8f88ac45c04e0c22 SHA512 1ddfadbbda4edcab0406005debc9ecd2743babfdadf45ade9d88d18197dd5be4ca2b4313f440adec5140e7032103df7cccd2da9cdb63374d938c56792cc7d477 WHIRLPOOL ab9ccf6ba69a79ff7d00b9d9947d93a8e8a380b6efa65049fdb5403d8645229b01926b3db0a6203da68c2fcf01a950da44550e8496f87b3d590154f9d2e10d7d
EBUILD docker-17.09.0.ebuild 8767 SHA256 5e1ee06656f94a6b7ebee013c2ca7404535ef1eace7f727ed99102dcd19ce699 SHA512 5455e549fbcfa75082e1e0f4211d75439d26b028306ebc9bbecfec36fa951e52d7014e78d8893043194047ddcecbcb0b7fa1c4e2ad947373b1945576b270279f WHIRLPOOL 93f75fd8c11a0700b32aedc3abf90fcdae4c894ae5e0c3077c2bfd838f3cce47508a2277ad0f560ed48828c105b1ea703b18e012429775498402660e7d578863
+EBUILD docker-17.10.0.ebuild 8766 SHA256 1f12a633572fbd9dec5bb9c875fc5b872de6229494c27910fc94f2c912f7199f SHA512 b6ed073a46053c9b0dad42888062890aee6186871f72802e56a131bf1a1b123b0f778307c647c24ddd2be3710b357c56279e7fd2e5894c165b8fd940b8b75ac4 WHIRLPOOL e8a7f8aaaf7804e0669353d94f7d4241876a2bd926156cf586deaad1db8f7f21a831a87f9a345c27cf081ca1254cc953556a6adfa363fe2c3473e6fe305b2b8e
EBUILD docker-9999.ebuild 8077 SHA256 a88fd76547a4100ea43224e72e3d4507d3211a3de6f07b60e3f79ebd87919a75 SHA512 a2ec513765edbfb246460aaf41beae4a24e4fc8413ce20702785ac7403de7a0567017dc205b864d343dabfdeff7405e734a9ea9a9584322862b9b19005c285a4 WHIRLPOOL 9e93646899e5e43064f67b37768d526001d070c048555125991c5eb03f55fa9caf043cf13c045ab97eef45e8f737159a4d18f072798725dbc6d13d33dd5e8fd8
MISC ChangeLog 16614 SHA256 c4a1f03ea867c40c8f3d59df085e2b52f5a65266cd36acd98da7443f383cf106 SHA512 497543224103d2c6229b37d1078ae96f3e5b1513b078071fddcf2658bd0afcf784c7b85fd9edcd9def9caeb35f12e9bae61b19bb0b9ee579c44316ed4d3355e5 WHIRLPOOL 7344124d12051e2cd7fd560c8bc631910de683d20e19d78e4cb9d797be1003b7df05802c094552f7a365033fae9854e24065cc207eabfd2cc7376b6fb787caeb
MISC ChangeLog-2015 9435 SHA256 36770420e0a23ee8b09a9028adc801e536c3735e355134a7d3c8185642453d44 SHA512 dde3d12dae10732a3822e0c84909285afcf325df948c61bae83852157b14d75e10151577eb3eef9af6ee94e8c292e7faac54e82565bceaf858702cd1e81c72aa WHIRLPOOL 5a3b5916981d5ec1d653b26a2789303301c103d1013d4c28fe11f926b88f200c40d1f59ac8ad750e4c55a70806b1f9c5da028e8966972c84a7ccca7820f9a294
diff --git a/app-emulation/docker/docker-17.10.0.ebuild b/app-emulation/docker/docker-17.10.0.ebuild
new file mode 100644
index 000000000000..e46a7d2fc6eb
--- /dev/null
+++ b/app-emulation/docker/docker-17.10.0.ebuild
@@ -0,0 +1,315 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/docker/docker-ce"
+
+if [[ ${PV} = *9999* ]]; then
+ # Docker cannot be fetched via "go get", thanks to autogenerated code
+ EGIT_REPO_URI="https://${EGO_PN}.git"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}/src/${EGO_PN}"
+ inherit git-r3
+else
+ inherit versionator
+ if [ "$(get_version_component_count)" = 4 ]; then
+ MY_PV="$(replace_version_separator 3 '-ce-')"
+ else
+ MY_PV="$PV-ce"
+ fi
+ DOCKER_GITCOMMIT="f4ffd25"
+ EGIT_COMMIT="v${MY_PV}"
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm"
+ [ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
+ inherit golang-vcs-snapshot
+fi
+inherit bash-completion-r1 golang-base linux-info systemd udev user
+
+DESCRIPTION="The core functions you need to create Docker images and run Docker containers"
+HOMEPAGE="https://dockerproject.org"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="apparmor aufs btrfs +container-init +device-mapper hardened overlay pkcs11 seccomp"
+
+# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies
+CDEPEND="
+ >=dev-db/sqlite-3.7.9:3
+ device-mapper? (
+ >=sys-fs/lvm2-2.02.89[thin]
+ )
+ seccomp? ( >=sys-libs/libseccomp-2.2.1 )
+ apparmor? ( sys-libs/libapparmor )
+"
+
+DEPEND="
+ ${CDEPEND}
+
+ dev-go/go-md2man
+
+ btrfs? (
+ >=sys-fs/btrfs-progs-3.16.1
+ )
+"
+
+# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
+# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#optional-dependencies
+RDEPEND="
+ ${CDEPEND}
+ >=net-firewall/iptables-1.4
+ sys-process/procps
+ >=dev-vcs/git-1.7
+ >=app-arch/xz-utils-4.9
+
+ ~app-emulation/containerd-0.2.9_p20170917
+ ~app-emulation/docker-runc-1.0.0_rc4_p20170917[apparmor?,seccomp?]
+ >=app-emulation/docker-proxy-0.8.0_p20170917
+ container-init? ( >=sys-process/tini-0.16.1[static] )
+"
+
+RESTRICT="installsources strip"
+
+S="${WORKDIR}/${P}/src/${EGO_PN}"
+
+# see "contrib/check-config.sh" from upstream's sources
+CONFIG_CHECK="
+ ~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
+ ~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
+ ~KEYS
+ ~VETH ~BRIDGE ~BRIDGE_NETFILTER
+ ~NF_NAT_IPV4 ~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE
+ ~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK
+ ~NF_NAT ~NF_NAT_NEEDED
+ ~POSIX_MQUEUE
+
+ ~USER_NS
+ ~SECCOMP
+ ~CGROUP_PIDS
+ ~MEMCG_SWAP ~MEMCG_SWAP_ENABLED
+
+ ~BLK_CGROUP ~BLK_DEV_THROTTLING ~IOSCHED_CFQ ~CFQ_GROUP_IOSCHED
+ ~CGROUP_PERF
+ ~CGROUP_HUGETLB
+ ~NET_CLS_CGROUP
+ ~CFS_BANDWIDTH ~FAIR_GROUP_SCHED ~RT_GROUP_SCHED
+ ~IP_VS ~IP_VS_PROTO_TCP ~IP_VS_PROTO_UDP ~IP_VS_NFCT ~IP_VS_RR
+
+ ~VXLAN
+ ~XFRM_ALGO ~XFRM_USER
+ ~IPVLAN
+ ~MACVLAN ~DUMMY
+"
+
+ERROR_KEYS="CONFIG_KEYS: is mandatory"
+ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
+ERROR_RESOURCE_COUNTERS="CONFIG_RESOURCE_COUNTERS: is optional for container statistics gathering"
+
+ERROR_BLK_CGROUP="CONFIG_BLK_CGROUP: is optional for container statistics gathering"
+ERROR_IOSCHED_CFQ="CONFIG_IOSCHED_CFQ: is optional for container statistics gathering"
+ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gathering"
+ERROR_CFS_BANDWIDTH="CONFIG_CFS_BANDWIDTH: is optional for container statistics gathering"
+ERROR_XFRM_ALGO="CONFIG_XFRM_ALGO: is optional for secure networks"
+ERROR_XFRM_USER="CONFIG_XFRM_USER: is optional for secure networks"
+
+pkg_setup() {
+ if kernel_is lt 3 10; then
+ ewarn ""
+ ewarn "Using Docker with kernels older than 3.10 is unstable and unsupported."
+ ewarn " - http://docs.docker.com/engine/installation/binaries/#check-kernel-dependencies"
+ fi
+
+ # for where these kernel versions come from, see:
+ # https://www.google.com/search?q=945b2b2d259d1a4364a2799e80e8ff32f8c6ee6f+site%3Akernel.org%2Fpub%2Flinux%2Fkernel+file%3AChangeLog*
+ if ! {
+ kernel_is ge 3 16 \
+ || { kernel_is 3 15 && kernel_is ge 3 15 5; } \
+ || { kernel_is 3 14 && kernel_is ge 3 14 12; } \
+ || { kernel_is 3 12 && kernel_is ge 3 12 25; }
+ }; then
+ ewarn ""
+ ewarn "There is a serious Docker-related kernel panic that has been fixed in 3.16+"
+ ewarn " (and was backported to 3.15.5+, 3.14.12+, and 3.12.25+)"
+ ewarn ""
+ ewarn "See also https://github.com/docker/docker/issues/2960"
+ fi
+
+ if kernel_is le 3 18; then
+ CONFIG_CHECK+="
+ ~RESOURCE_COUNTERS
+ "
+ fi
+
+ if kernel_is le 3 13; then
+ CONFIG_CHECK+="
+ ~NETPRIO_CGROUP
+ "
+ else
+ CONFIG_CHECK+="
+ ~CGROUP_NET_PRIO
+ "
+ fi
+
+ if kernel_is lt 4 5; then
+ CONFIG_CHECK+="
+ ~MEMCG_KMEM
+ "
+ ERROR_MEMCG_KMEM="CONFIG_MEMCG_KMEM: is optional"
+ fi
+
+ if kernel_is lt 4 7; then
+ CONFIG_CHECK+="
+ ~DEVPTS_MULTIPLE_INSTANCES
+ "
+ fi
+
+ if use aufs; then
+ CONFIG_CHECK+="
+ ~AUFS_FS
+ ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
+ "
+ ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used instead of aufs4/aufs3"
+ fi
+
+ if use btrfs; then
+ CONFIG_CHECK+="
+ ~BTRFS_FS
+ ~BTRFS_FS_POSIX_ACL
+ "
+ fi
+
+ if use device-mapper; then
+ CONFIG_CHECK+="
+ ~BLK_DEV_DM ~DM_THIN_PROVISIONING ~EXT4_FS ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
+ "
+ fi
+
+ if use overlay; then
+ CONFIG_CHECK+="
+ ~OVERLAY_FS ~EXT4_FS_SECURITY ~EXT4_FS_POSIX_ACL
+ "
+ fi
+
+ linux-info_pkg_setup
+
+ # create docker group for the code checking for it in /etc/group
+ enewgroup docker
+}
+
+src_compile() {
+ export GOPATH="${WORKDIR}/${P}"
+
+ # setup CFLAGS and LDFLAGS for separate build target
+ # see https://github.com/tianon/docker-overlay/pull/10
+ export CGO_CFLAGS="-I${ROOT}/usr/include"
+ export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
+
+ # if we're building from a tarball, we need the GITCOMMIT value
+ [ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
+
+ # fake golang layout
+ ln -s docker-ce/components/engine ../docker || die
+ ln -s docker-ce/components/cli ../cli || die
+
+ # let's set up some optional features :)
+ export DOCKER_BUILDTAGS=''
+ for gd in aufs btrfs device-mapper overlay; do
+ if ! use $gd; then
+ DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
+ fi
+ done
+
+ for tag in apparmor pkcs11 seccomp; do
+ if use $tag; then
+ DOCKER_BUILDTAGS+=" $tag"
+ fi
+ done
+
+ pushd components/engine || die
+
+ if use hardened; then
+ sed -i "s/EXTLDFLAGS_STATIC='/&-fno-PIC /" hack/make.sh || die
+ grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed'
+ sed "s/LDFLAGS_STATIC_DOCKER='/&-extldflags -fno-PIC /" \
+ -i hack/make/dynbinary-daemon || die
+ grep -q -- '-fno-PIC' hack/make/dynbinary-daemon || die 'hardened sed failed'
+ fi
+
+ # build daemon
+ ./hack/make.sh dynbinary || die 'dynbinary failed'
+
+ popd || die # components/engine
+
+ pushd components/cli || die
+
+ # build cli
+ emake \
+ LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
+ VERSION="$(cat ../../VERSION)" \
+ GITCOMMIT="${DOCKER_GITCOMMIT}" \
+ DISABLE_WARN_OUTSIDE_CONTAINER=1 \
+ dynbinary || die
+
+ # build man pages
+ go build -o gen-manpages github.com/docker/cli/man || die
+ ./gen-manpages --root . --target ./man/man1 || die
+ ./man/md2man-all.sh -q || die
+ rm gen-manpages || die
+ # see "components/cli/scripts/docs/generate-man.sh" (which also does "go get" for go-md2man)
+
+ popd || die # components/cli
+}
+
+src_install() {
+ dosym containerd /usr/bin/docker-containerd
+ dosym containerd-shim /usr/bin/docker-containerd-shim
+ dosym runc /usr/bin/docker-runc
+ use container-init && dosym tini /usr/bin/docker-init
+
+ pushd components/engine || die
+ newbin "$(readlink -f bundles/latest/dynbinary-daemon/dockerd)" dockerd
+
+ newinitd contrib/init/openrc/docker.initd docker
+ newconfd contrib/init/openrc/docker.confd docker
+
+ systemd_dounit contrib/init/systemd/docker.{service,socket}
+
+ udev_dorules contrib/udev/*.rules
+
+ dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
+ dodoc -r docs/*
+
+ insinto /usr/share/vim/vimfiles
+ doins -r contrib/syntax/vim/ftdetect
+ doins -r contrib/syntax/vim/syntax
+
+ # note: intentionally not using "doins" so that we preserve +x bits
+ dodir /usr/share/${PN}/contrib
+ cp -R contrib/* "${ED}/usr/share/${PN}/contrib"
+ popd || die # components/engine
+
+ pushd components/cli || die
+
+ newbin build/docker-* docker
+
+ doman man/man*/*
+
+ dobashcomp contrib/completion/bash/*
+ insinto /usr/share/zsh/site-functions
+ doins contrib/completion/zsh/_*
+ popd || die # components/cli
+}
+
+pkg_postinst() {
+ udev_reload
+
+ elog
+ elog "To use Docker, the Docker daemon must be running as root. To automatically"
+ elog "start the Docker daemon at boot, add Docker to the default runlevel:"
+ elog " rc-update add docker default"
+ elog "Similarly for systemd:"
+ elog " systemctl enable docker.service"
+ elog
+ elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
+ elog " usermod -aG docker youruser"
+ elog
+}
diff --git a/app-emulation/kompose/Manifest b/app-emulation/kompose/Manifest
index 9570deb77e9f..1e876a5ea664 100644
--- a/app-emulation/kompose/Manifest
+++ b/app-emulation/kompose/Manifest
@@ -1,4 +1,6 @@
DIST kompose-1.3.0.tar.gz 5166961 SHA256 c047708123b769d23cd8e68063b01b6229c5e76338ec294ba0e62a4b73ef46d8 SHA512 394cc35022d6c9f3e70cc8ff567f403fad84b54c71a0c7da856313162bf41223d7dff59abff372f7726404dec04283deb5e0c0960f966471f86607140eddb4d4 WHIRLPOOL e0300c3380e058351f6029ca158c1b8ba5a5c91fd5583dbad84dea7faff2f8f472fcb50eda9673d58c1711c7607d4abb2353fd957c18f4ffa4a5f90413a2c704
+DIST kompose-1.4.0.tar.gz 5183071 SHA256 29ea870886bac78850a6b7a864ece63b3f67ed769358193d5ea12c8b0d197f82 SHA512 49d18e0c82d6195752e786d71ec67a388e6c64244dbc0376a7a41b1d31791a833d7a392c19487129d4047d102f1ec423d1531b0626003958c3375f2a0bf22686 WHIRLPOOL 81bbe1ac7f9834dd62d15c6e21acbcf6aa0d057b25906224d954c4db1cb0e3cd2313f5d1c3c08673c70bdbd9a97d9a5c6c8bedb9fbfd717a91b68bd56639f762
EBUILD kompose-1.3.0.ebuild 886 SHA256 1ae3c029d3b1d1fde1055474cecbc2e0099e7439a7f82a305e92552f2f63c834 SHA512 824599363b466e73ecdfc4ce9877e16b788c1650e330b8173203e047225ed0882c17f855e069d86447482fffa7d374b9d25f826c6f32ce61f75dfc1bf90d836a WHIRLPOOL 11593a0e0958a122b95dfba29148e00258d5056e876d5b08f58d07e8579e7c78df82c658f997f75f3b7946dc8feead9b6d18991ad31134c5a47575c67d1062a4
+EBUILD kompose-1.4.0.ebuild 889 SHA256 f5bf98607728f7ba7427c8745fa79c34825a283ace9f876d0ae5ffa83988108b SHA512 5010ab56cc77f0490ae10901ae24ee10fb66cf3e0c1a6c5e25a35e77b3603e3146b627ce81b29de80403771ef83159770ad6a308a6939198cccf38ad6529beae WHIRLPOOL ab1951fac3400eeaa88944ce17a1319fc531dda60daab84a1abe98523885eb300b66ea8ac1cd7bf4cd72ef10a0b45d0444fe7ab23e9babf47a0ae368bb5eba1d
MISC ChangeLog 347 SHA256 d0790ddd06a0fb4b66cbd8218e5133b48d83123901779f34374d13cb9c2774d6 SHA512 994657458b7bca0bf26b7d6c540005ce11555537257d6411896bc6794f2795c96fde797ad2981d74b82003b69326146408690fd0138c609d2d6c0fe123437e36 WHIRLPOOL d246419da647e361abd42ac0cbc70888debfa4713ff8dfaadd7936af2491a044d8624799673b7069452172de2bc5bbc41b909044c80563f3c26bfb411f78dd33
MISC metadata.xml 328 SHA256 784cc118763cc0c5f4c0d3d0f4ac7ee72162fa1560538ba9d6490da5edc3ac22 SHA512 e2091ec84a909ad6c2453bd832817461e39b7c355c28bd99c19d9e85dc4a621606c34066f596a68585c3762b6b156455ca012495c5c336b9ba929d163b923042 WHIRLPOOL c20bd37669f25c96efef1a8dc03c4d79abb7e05fe86d48354c192293c258efcc3bbee4342cf4c576a872ac41e8aded91590a06466e3bed875c4e77dba785838d
diff --git a/app-emulation/kompose/kompose-1.4.0.ebuild b/app-emulation/kompose/kompose-1.4.0.ebuild
new file mode 100644
index 000000000000..78305cc141cb
--- /dev/null
+++ b/app-emulation/kompose/kompose-1.4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/kubernetes/kompose"
+EGIT_COMMIT="v${PV}"
+COMPOSE_COMMIT="c7964e7"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Tool to move from docker-compose to Kubernetes"
+HOMEPAGE="https://github.com/kubernetes/kompose https://kompose.io"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="hardened"
+
+RESTRICT="test"
+
+src_compile() {
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
+ GOPATH="${S}" go build -v -ldflags="-X github.com/kubernetes/kompose/cmd.GITCOMMIT=${COMPOSE_COMMIT}" -o bin/kompose src/${EGO_PN}/main.go || die
+}
+
+src_install() {
+ dobin bin/*
+ dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md}
+}
diff --git a/app-emulation/vmware-modules/Manifest b/app-emulation/vmware-modules/Manifest
deleted file mode 100644
index 4d0435988a8e..000000000000
--- a/app-emulation/vmware-modules/Manifest
+++ /dev/null
@@ -1,124 +0,0 @@
-AUX 271-3.10-00-userns.patch 1690 SHA256 15f290e50f179ef3dcd4737632971b5f0bd3f2c252a7188dc23244d24e45c3d9 SHA512 996aa6933afe7dea1fe4eb7f152c5eb5fff7fe64d56f257593a03b7dd1b2e9a0f702e5b14b51721d938aa389590e5b777ac5abfd514f410a9568e1c34e408908 WHIRLPOOL 70c652d7e0fcf6b8317aba9cbc1248c19bc3282cbd44c3791871c1819533ad877f31e54df6b03aadbfde2d4613f31c02cdd15d2791b6a769ff39d36a59668d75
-AUX 271-3.10-01-create_proc_entry.patch 1120 SHA256 7ac4f33f5a9433c1a9af4066113eb993359cf1d14e9c1a34fb29661791979426 SHA512 4c44be4ccfd827a185e2c6d302879f74d1c8054871b1b31770436bc5865e9feefa3bb4f20f3d1f5914517697e448d7d30e7afa396c310c56ae376774a98a0931 WHIRLPOOL 463d3bdc718b11f3b58511362d9246cc4262c6fb9cfb1a7c12d73e02b905723333e5a99351f5c3dc0f8a3db980da52684559fee09c4be5ae8a99e4d22d5904eb
-AUX 271-3.10-02-getname.patch 729 SHA256 59864b8c33b1b21d816bb2405232d4df1dadc4e969970f704520d01309e8ea2e SHA512 67aaf42b3f7b9602ea3e84ca2f07251ef0ffc2eb2eee2919410325b9ff9ddd3629e5af2eedc91a3f6f409f17b8f69c56f06d8e24573a7e12070fb52ca96c8522 WHIRLPOOL 4348ec879efb941042f11791cc8dafa6b560cf314dd97e407d8b63833043451a7a14c5215b3178afae506566f1ab5f3e499d0ef7d9de00dc44a523e2d597c85f
-AUX 271-3.10-03-deprecated.patch 3859 SHA256 5ae46a919ce41b0ca45489ceb648d0b91a93738cce674a82992d4ad90808f01d SHA512 750c40d130068515193c21120a2428a10e28bb4bd6e8aa82bd86c878dea4af3f3a989eef19e4a06e5c513250cb37f2c4f825df6d0b1ec9d9ddd3e1e2f3deedf8 WHIRLPOOL 23855e04d42f0ea534a0bb9afe34faf8aedfec88c1f3a0d89f29e16a7caeb66f8038d20f291fb4a5f7486421fc1410fe94528b9bcc09e1d0bfb7f7760beb0654
-AUX 271-3.10-04-unused-typedef.patch 6888 SHA256 bb028ec8ae615bec70dfa2c7f0716777dc29395d43b8b1486de0e42646dffcb4 SHA512 fbeee472486c64c2c8ceaf97a4243880326d3f64a71098b53a970d769713e7efbc02a94f8610302aac0971dc0461d2fee358360404373aac49043576ce16082e WHIRLPOOL cc2cd6b7530a746557b4a96e9beb95ec5eef5cd2bfdc33351becd192164aa20b73a0cbd7ecd6975097e678a62c256b9a8e0377d7a117882d2c6059d69712e2b0
-AUX 271-3.10-05-dentry.patch 1265 SHA256 4ed8fbf240e8263ccf9ec85de3a6a42df2c174044dff8b7213b4b5e74f731e71 SHA512 7d7729667d084cb8c89eed5e085efe818e2039f3869667081a0bb0f837c96f395f3d3177b88d2cd38e382c3842f6f2e614a470778dca0f34307972d3732e1d64 WHIRLPOOL 2baf16bfa96de468f87ba430e13272b89d75f85fd3f126ed2f0a7a30da9f455db07352d38dc45db994d284d7529bdeabd3d7ec04972cfb5fc1b698306eaa12dd
-AUX 271-3.10-06-inode.patch 1489 SHA256 d4db76ed1dc40386f4bb59886996e22c677629f1179a139e370cbe8b7859d1a7 SHA512 7c425186a21fd8546b3c2f51d18ff24ce999464d31e97326ddaf9ef134f1efcbc911ac538d9fa2c41b36569a5421633048bdcaf82db4d577dac28f04e1c7f413 WHIRLPOOL df57492be3c7eff7d35d026af595ade477c32c7893f73da61958579af6e97e7401d5f9bf9324ed374000f99a2999fa664be0ab7ec89f76b1378124ffe3efb672
-AUX 271-3.10-07-hub.patch 1044 SHA256 c842a7aee5da7e25a5162d209748f6d019e5869f201bc8e7df1768f937c73486 SHA512 3893ffffee22c883a2845082035a85e6c6c4593722a43f80866ab34c687df18681077fbb45770e1ee50514e8ae1121931c60fb878ff2ed5b8e5b99f3fdeb424d WHIRLPOOL a1c55f16f6cebe7dfa29545e4fad7dbd32bcb53cc89c31699a8d99f14934a0affcd4cf7d9ce123cf91316a8f147a2c21bb72106f028260ca3a4804d60cee7aac
-AUX 271-3.10.0.patch 23418 SHA256 346d1ca7705dd5f791e0d69cdbb346ebd31f2f4f11f3989c23d1a89e11e1b91b SHA512 878678f951b05137deb1656ccd7fd3185887f02649f2a223ef60ccecdedc7aeda6ca08ddd108e379734b5e04ef11d326b20e45c069c53cc52b7a6869b8db6410 WHIRLPOOL 196515870addefcd6857dd3e44a04b8a6c0da39185e7cea7826f1498f5a4c17997ebe43aada7f22a1c3fa94302576ced2a7ed36e2452de00711256c83f7fa41e
-AUX 271-3.11-00-readdir.patch 1063 SHA256 60a33321ef47dc99713677f639c49f46ff7a7e34aeb226eb8d234a4d2ab19ab2 SHA512 ab63a21bf40f5ac02dfafdf353e7b5a139e3e0f4e935b45562526479bf196547da10e2608a368f1cb62a743f969b38f5223679f967b23e13a555f8f38ec7842c WHIRLPOOL 3c9b75aa95656e550620a15cd760cb4b23b22d1c6b93e1b0be2d077d40bc506134fd53d4b5a6ce48ad2723339a97054b1b0d958d38662180ffa2c262f15e648b
-AUX 271-3.11-01-filldir.patch 1619 SHA256 5de58aa1dcd7b9566e32fd8eedac9bec3135a8da20e8bcc6fd3887bba92c4e5c SHA512 779d22bd1184507ec2a06466524b62c33e3bfea7c1c1a41a9a2c96797a6518f3a0159915ff75e9b18f8323e1007a09fc13f83da3ab9ee4b621544643028d0c49 WHIRLPOOL 3c72b7695cf593d757bb6a01ec94e66268aeb1dd8b52d7bb0fcbe7c537707240ac31a1095341887cbf344d77a150edba33cef946baca9b84999c63e6dc708ec6
-AUX 271-3.13-00-vmnet.patch 1297 SHA256 bfee163a4c275bfa67070f2e3488a1346c611851a7e3d7a59fc23967a818e5d0 SHA512 fe9e88748f282969281224753bec10a6b738d88fcd99b0ba9b1c0df3fa109f7d49369edffe57f7f8f96363a186eea09382f328ce51f69c15ee0de477c444f0e5 WHIRLPOOL 2e9e3545b0dc126697e43d149fd9e4e5808204104a8ff461fe627f1cd7a02d1ef3b5f5bbf9fcfce5134743d2377ee33211bc137df0d33385a719606ba8632303
-AUX 271-3.15-00-readlink.patch 544 SHA256 eeeefdd94c2c78adf0ae27c4f62ff612c53ef81c2b4bf1cb8b2b333f72a2de99 SHA512 2a238442f04685dc5daa2dfdcd7fbac8f46e954e90f604c681bfcae59c4a1c2b35d8311fb3560d5c8410207a691aac48da03665556429b54b493a7cda2e16a21 WHIRLPOOL d145b0a8879d365c0d861fccd0f3ec75b5db6fcd7f69dda5d9ab14285f2f65078123a6c9ade760513b5a77707f0ec8d3984e3881c4b546d0487edff353a5962e
-AUX 271-3.15-01-vsock.patch 1419 SHA256 7e12baa018536c6a2b4296d0167bd9fb459fcb3950857314c9491ebf06d572b2 SHA512 34fb51223102f96b9e94d2536d1397ce2d11cc5342d80f0a8797d3309326e2f9f2b3b675bf9180bb0eb915abcabf7fdab60619f5992956c4ee7bf9804a567626 WHIRLPOOL ae3ba7caf99468182363ed9928b1b6c8cbe0d771170b0061924cc55e395e1d2a017090f3aee62fa53cc6f07a17b2446805173494b4bd3283153285f1dcdce624
-AUX 271-3.17-00-netdev.patch 721 SHA256 1da176c9a3cff1a04d0424abd7ab090696a086021e73ca143d50f69252c86b00 SHA512 3b3e79e2afe9d19315de94bd021c73a26cb7d935a1bd5f771dc0eed8100c14522d4c07a58e4b1edea42ff8522a3a2139f55de7bd048e0067fddf6e8cb1aa2262 WHIRLPOOL c3cea09406deb050a42c1ebea0ecc01d3cc98e02794ead3caf26791df67785f0ec7bda621dc51a58ec1a38a7fd472c82e96c7c51d4918c96d44ff2c7129f55c6
-AUX 271-3.19-00-vmnet-warning.patch 592 SHA256 4a91d5a8d07cf0940eb2d247329485ba8722c2da13ec536ee3a5a4ca38a08f5e SHA512 5f75278a842d0579e37d61eae1ba5a031c7071c497a8f09376652904862669cf613ae34ca5f1adb43176724aed9c254057d4cbd1632f2d8c56a75e0d42c330f0 WHIRLPOOL 757219e58c63c1152abc5872c02c2773f3c3c0bdfe48f6e3794600894424453fcd5c467128da951ce212d26b7140f7fe550c106905d6fa97a9700d61dec0af79
-AUX 271-3.19-01-vmblock-path.patch 2943 SHA256 89467ebf6e8d938da494b32ff0bfd774d9dbc2107e5712e0d039f4c9d438fcff SHA512 356cdaba3ad69fcd3e517a3f6edc561684a8757fd8a1e5bf75ce990cdac89bef68d56adf5817cd8577875f182018f354f4aff4202684057a0ec7273137ee0ef6 WHIRLPOOL 753baa0392a7ee61614780f35df8164de5b865bfdbdf185b4c8b6e029d7c294c227ea14fc1231a4e0977638533920f58a0f50c5a3c28c987bb651802084de32b
-AUX 271-3.19-02-vmci.patch 1197 SHA256 6b9e095e0d50b13ddc176f117e417c5b176fbd5fb4017fdca4f73b0e7f078aab SHA512 aa3fd318d56b263ea39a7d1822f2bf6b8f2bcbe096037a5405adfcb0a4ca02d759d639943ade68cb4b45f8f44419219844b1171cf8bd6c74f71b1cdbc86aceb6 WHIRLPOOL b231fa54d26c39cf66de9574099441dcda585f174855c44c418de8c891cde35c78daba0d094eebb0297b14ddad0fa2a0e2ae5c67000e43fd67711888d67dc89b
-AUX 271-3.19-03-vmnet.patch 923 SHA256 f6a8ba5fd7e1a321ee5eedd5b521860d98452dee9aa935de45cd59d2966509ad SHA512 499131c6b85beb1537957083a8db0f378958bc919da4a4ff96c7aa426f460740cb1ad8f855647fbb682b3a89bacc79492e8de1689b38f2260f3d2f24e69995ae WHIRLPOOL b0fbece3b3e8454d41c33b8f901ede5f8cf3638faa61b9bf7400ee63dbc21d857753761838cf8b2a20ce3a56899d16456e00856da76b0c2e4f76263d5bf25770
-AUX 271-3.19-04-vsock.patch 571 SHA256 01964e884d427687ea27843c42d47f581503390ed71501bcca629360927d8f24 SHA512 5f1c56150192ea43480879f7b1686e065b7488b3cf70491024c78c0037e0365500d00d413a1c1aadd7f02dbc9a0f458c740aa74a814c73126d7f3c2df1140c5d WHIRLPOOL 16ebc5c2ac8da04c1cb41c74470ded344bf820c8486b06f062e77e3e707a4fa800a6127889919a979d86a656bcfbe76015f159c34d39401d970eeaba452688d2
-AUX 271-3.19-05-vsock.patch 602 SHA256 8ad74f7573ebdae27c446db708c7ca13f03a965e608836242d7c919f14dd1ba2 SHA512 c1684b6312b67849c0e2a2abafe9ebeaa6f46cdd8c5aeb37e1d1c3bf1db45134ab59254f36f84a8a6c366bfe6631ee7b8e75d7a0bf431c6d9570568cb61cc2ee WHIRLPOOL 4ede77589267d714e4c9eb6fc358b7856745b2d1610deca57a40a329d9ae0f1c96b728983069af556d966bfa5ae009a3cd6706ae83729fe538382ed3730926b3
-AUX 271-3.19-06-vmci_qpair.patch 1061 SHA256 2804d70faabdbee64647eb53e62ad967bbbf79cd5f1734154eed5077d63fcf77 SHA512 ab3ec8b074265c51bdfbdf4324753564fedace64267040b5fdeedceeab5823a74868c6ffc06cfbf4d0e503192efda4c63d8b68e17f1abd5a4defa926728a652e WHIRLPOOL 0eb891718b3bd7534062ff0f26f68281d05681fd91d567d7deb477e925c2823c908bbf897244ca6abdfb53ddbac620c165eddb876514a1c5fb1098361133f685
-AUX 271-apic.patch 302 SHA256 60e7df881281fedcabe9ea4427b324b5e1142a1a2b6ab5236ac0843bd1051048 SHA512 003240043e5875d8c6425c146e708eb3c3d8be7fa48a2ac42b3071f00dafdbd51f7796d6f884298b135adccaf8a3eac32fd82b34a436a724da125dac5f6261d7 WHIRLPOOL 4707d0ddd532d5ec27ee2ba3d0fb25c1972bbc9f958b4b89f2f5cceffdf955ba88cd1be0cde046aa5fa688d52faeab5ccf3f03bbccb3e9b088abc37ad579e8e0
-AUX 271-filldir.patch 2485 SHA256 539e8940b47cb7a5f39ab2ba6f18ceb290a2627c81bd6daead6e5850aec02a63 SHA512 e5f85031f459a79a0f64b15224ae8c1ef23892ef159a37955b9c2a2b13ab6e892325a5aeedd4fd2969da3b187cedcaea8fc41540638d02cf56dce2d3e9194937 WHIRLPOOL a455300e72624e4f9c8d3dc79fa5c3ab1b288e79a04483503006a61d44bc83bf14faf0bfa753f82a70dbd23f870b2f6bfe1b06d23792eb1522a7265799ce03eb
-AUX 271-hardened.patch 5052 SHA256 191cf892bfb9a6288d110191de824bf6243bc6f48f1e62ab49f3582c7ade5af6 SHA512 52dcca8d9f689f0a0d0ca369c0c7ce0d177de3529d2d1325330eb5a9e940a55e8930bbbe7374793bdf29cbdefac9727e9eb21d00f81ad4f5eddba3a51597b7a5 WHIRLPOOL 539731bc36f3e292403f55d74c353deeb28baa312f726b36d2a6060adf3483dfa2ed011baf93eff941fa754ef62f4d6da86868c40550ee2292c4a711e061bde0
-AUX 271-makefile-include.patch 2501 SHA256 208121855fe18ecb279ff40f2833463559363461c2170d32c17040211a01f169 SHA512 c498c025c7eb025f6554cee683242dd73e4a284e4b28c95b75339f4f4a912a156acc1845881fbd78bf399c2092af7413f5d6c4782cd066527ea275518b411c1d WHIRLPOOL e03a6d7139ab7b309e0ca1527cb8b52a8f84f5f5d997a510305d2a6ccdd39f33b18c7276df8ac78d92d2a17a66236f582baaa5e374069d3912090544908a0338
-AUX 271-makefile-kernel-dir.patch 2153 SHA256 d76b1028d21b804836e36478d243cd7914435a34f3fe014058e0a9cc7a020653 SHA512 f18339dc8ac4c864b0c2fb234ad2db8f4638a5cd28e8fd11b5593c82107925b41b42e0d0acac52232a373780d79a3e397f70886534cdf889055e86cfda718f62 WHIRLPOOL 70c869bf4efab6843856addd0c5f5a295ed2fe38f9fc2a8ab2ca55523cd39cb92018d6bd0dac75658fa0f5260962c98f0bbd001593f3f11c2d204c693061c5b6
-AUX 271-netdevice.patch 833 SHA256 8f17ce379abda45a8f94e1dcd6e43367273f97f76edd41f9941beb3b1730a751 SHA512 b4ec7c1694968a1843f10e8bfe0dbfdc99bd3b5fc1391456d91a3648b848b82df681a0748d967afa19e728c4d19b79b6a3cb9fd3e15a52a5cab048a6ac9b06a9 WHIRLPOOL b0cabe2ec1b8ca52d427c02593d6057c98d4ed00c578d006de65460138c37a5be76a7938d85f5a35eb6f49ee5e34065ce62b60a51b0ccf021639a59b27aeac8a
-AUX 271-putname.patch 394 SHA256 b8103d3c72c24696e974e49dcdcdf2d5a2b2c2fdd5f6ca050842b840e906ba77 SHA512 86a0a0ec3ff225940190056e85d498fd7eb260bcc52882fea8921398f572bc46f56c3f2941d3f3d1587a07bc72c8885cbddacf632d2b5fed7d8c9d284399d6d8 WHIRLPOOL e1e8afcafe00131fd6d90b61e5d911da69d7c26b7fd19be085eb5cfd23c2ab19784ae5ddf18928f9cc4a178d87c6d51e8de27dfab8507e2d57fc18868fde9f45
-AUX 271-vfsfollowlink.patch 1219 SHA256 b195f6492a172f682d55fb506ba02c473fd924bb47dc0d1359dd5de163b4da22 SHA512 b675f68175be0b7003d2f80c54dce05a064f8d5bd8744d40571d3d1e0153c01f909e37e0403e53f23a6d61383a9b054c40a2a9ffa95dd765eeffb0c7e739ff1d WHIRLPOOL 3e108ee29c2050029c6079f652e2670529a9f6b220524db214c7dadba3dcaef8fa1ab261f0e10ffa7506456d9f3cccc954bf6a82960e78ebd120c1eb2aac68e8
-AUX 271-vmmon.patch 1581 SHA256 a4e89766232d0fc0456bb026978dedca17fcc62e247c8d65ae747b537e62fd13 SHA512 10aca60b959647c058fa69f851892a0245acad971028876da8d0a0e6002d0e8f6f2677fd0d9b140ee8a1a68cf2cfa3f8937a992f8b0e7e163aa6bcc17b75c979 WHIRLPOOL 28d1a34e89c7a995dbde48d87d8942c6f58e61f4a24189a1463c148c843fdf16cea7df497993eb6fb8d8de228f07ae8a44233bb63e42b54ab1f762e7e24889ba
-AUX 279-3.10-00-userns.patch 1690 SHA256 15f290e50f179ef3dcd4737632971b5f0bd3f2c252a7188dc23244d24e45c3d9 SHA512 996aa6933afe7dea1fe4eb7f152c5eb5fff7fe64d56f257593a03b7dd1b2e9a0f702e5b14b51721d938aa389590e5b777ac5abfd514f410a9568e1c34e408908 WHIRLPOOL 70c652d7e0fcf6b8317aba9cbc1248c19bc3282cbd44c3791871c1819533ad877f31e54df6b03aadbfde2d4613f31c02cdd15d2791b6a769ff39d36a59668d75
-AUX 279-3.10-01-getname.patch 729 SHA256 59864b8c33b1b21d816bb2405232d4df1dadc4e969970f704520d01309e8ea2e SHA512 67aaf42b3f7b9602ea3e84ca2f07251ef0ffc2eb2eee2919410325b9ff9ddd3629e5af2eedc91a3f6f409f17b8f69c56f06d8e24573a7e12070fb52ca96c8522 WHIRLPOOL 4348ec879efb941042f11791cc8dafa6b560cf314dd97e407d8b63833043451a7a14c5215b3178afae506566f1ab5f3e499d0ef7d9de00dc44a523e2d597c85f
-AUX 279-3.10-03-deprecated.patch 3799 SHA256 ab44a1514e1e0c483094f1e4d9d57ae06b80f866260c35c75b3d292a39e333e7 SHA512 c7bd7dda3d6f1617eb2615d667b75000b5c85f6806016d5dd31f4b3508ef89e616c48aaf9785fadfdfb3e34897952d8b14db02fbdbf8e8e25754b7a3bc8b92bf WHIRLPOOL cf8116e9a99b63e099febad091bd153f7c714b718e14717a5b54cca87b34780fc6fdd44a2fa24fd6429fbcd4e34ecc51c54e72415f861fb361ceb6f1eb6a0c39
-AUX 279-3.10-04-dentry.patch 1265 SHA256 4ed8fbf240e8263ccf9ec85de3a6a42df2c174044dff8b7213b4b5e74f731e71 SHA512 7d7729667d084cb8c89eed5e085efe818e2039f3869667081a0bb0f837c96f395f3d3177b88d2cd38e382c3842f6f2e614a470778dca0f34307972d3732e1d64 WHIRLPOOL 2baf16bfa96de468f87ba430e13272b89d75f85fd3f126ed2f0a7a30da9f455db07352d38dc45db994d284d7529bdeabd3d7ec04972cfb5fc1b698306eaa12dd
-AUX 279-3.10-05-inode.patch 1489 SHA256 d4db76ed1dc40386f4bb59886996e22c677629f1179a139e370cbe8b7859d1a7 SHA512 7c425186a21fd8546b3c2f51d18ff24ce999464d31e97326ddaf9ef134f1efcbc911ac538d9fa2c41b36569a5421633048bdcaf82db4d577dac28f04e1c7f413 WHIRLPOOL df57492be3c7eff7d35d026af595ade477c32c7893f73da61958579af6e97e7401d5f9bf9324ed374000f99a2999fa664be0ab7ec89f76b1378124ffe3efb672
-AUX 279-3.15-00-readlink.patch 544 SHA256 eeeefdd94c2c78adf0ae27c4f62ff612c53ef81c2b4bf1cb8b2b333f72a2de99 SHA512 2a238442f04685dc5daa2dfdcd7fbac8f46e954e90f604c681bfcae59c4a1c2b35d8311fb3560d5c8410207a691aac48da03665556429b54b493a7cda2e16a21 WHIRLPOOL d145b0a8879d365c0d861fccd0f3ec75b5db6fcd7f69dda5d9ab14285f2f65078123a6c9ade760513b5a77707f0ec8d3984e3881c4b546d0487edff353a5962e
-AUX 279-3.15-01-vsock.patch 1419 SHA256 7e12baa018536c6a2b4296d0167bd9fb459fcb3950857314c9491ebf06d572b2 SHA512 34fb51223102f96b9e94d2536d1397ce2d11cc5342d80f0a8797d3309326e2f9f2b3b675bf9180bb0eb915abcabf7fdab60619f5992956c4ee7bf9804a567626 WHIRLPOOL ae3ba7caf99468182363ed9928b1b6c8cbe0d771170b0061924cc55e395e1d2a017090f3aee62fa53cc6f07a17b2446805173494b4bd3283153285f1dcdce624
-AUX 279-3.17-00-netdev.patch 721 SHA256 1da176c9a3cff1a04d0424abd7ab090696a086021e73ca143d50f69252c86b00 SHA512 3b3e79e2afe9d19315de94bd021c73a26cb7d935a1bd5f771dc0eed8100c14522d4c07a58e4b1edea42ff8522a3a2139f55de7bd048e0067fddf6e8cb1aa2262 WHIRLPOOL c3cea09406deb050a42c1ebea0ecc01d3cc98e02794ead3caf26791df67785f0ec7bda621dc51a58ec1a38a7fd472c82e96c7c51d4918c96d44ff2c7129f55c6
-AUX 279-3.18-00-version-redefined.patch 1020 SHA256 52ab071998e51e9c3a292d48b42f25442d69e5bfb442525dd28f950c914777c9 SHA512 e2edc74b7905a6409dbf9ced9e365fe16c43537f28cf5dd02adc668392659a41b005070dadee1e910106894721b2510d7c44b763c9be80dd281b0bfd024472e9 WHIRLPOOL c4e439fd98da2894489609ee0cd10162ca2d8eee7a01f9723e700dd666686f909e2a26228efa09d5b261a949d887b1b3886db0c3f121d347ed39bb3424c16d95
-AUX 279-3.19-00-compat-namei.patch 798 SHA256 510b30b679b263f2e0afa35f5d03fcfb5565ed7d3e3a48d08ceca3c497792d8e SHA512 abc9bc179fdbc1eec71ff5695e346ab06a160bdf6db5b97eb2037d5570cad8521aef33fe0ce6a4a683d7ef56274d4f31b494f017b9cdf2b2d2c98ae64cb83ee7 WHIRLPOOL 04f5ac62ac2d5e8a3394f3f2d60d170fc58ac5764582dbfee9ece7a5b4ec34cfe2f170213441b2e445cfa233de7df5c98995b6cc1d7acf5fd6d258ffb69ef82d
-AUX 279-3.19-01-dentry.patch 427 SHA256 d4225cace10bb8b119c8148027ee8b944dd1da315e978b8cf988ca05def55fe9 SHA512 ba68dbdbc745700426de8b5cc3d0d8c745112932e3512e34b915360936aa8f28c17212d1e29e2af73aa40d4bee756ad2461279519b30c6e1643dd935917bd9e1 WHIRLPOOL c4f371097fcce4f35b81b5fd496f130e8966e913f92b6b9a8c23b04240dceb52bf231039606b546555061cec6c94817a42a98cc01713bc021af72996a6904bb0
-AUX 279-3.19-02-vmblock-path.patch 2943 SHA256 89467ebf6e8d938da494b32ff0bfd774d9dbc2107e5712e0d039f4c9d438fcff SHA512 356cdaba3ad69fcd3e517a3f6edc561684a8757fd8a1e5bf75ce990cdac89bef68d56adf5817cd8577875f182018f354f4aff4202684057a0ec7273137ee0ef6 WHIRLPOOL 753baa0392a7ee61614780f35df8164de5b865bfdbdf185b4c8b6e029d7c294c227ea14fc1231a4e0977638533920f58a0f50c5a3c28c987bb651802084de32b
-AUX 279-3.19-03-iovec.patch 500 SHA256 1d041bad1658c6b4441de8ea496e93357e314572eb647ee903ea0ec447ad9563 SHA512 b9714b6795c08b95fe81176a7810b0c011275ba9208cee768a3c40d4a152b71a51e06e59d4d7d3a76b3c0762cdc64ae062fcaf74fa916b62a72f5aaa038202f7 WHIRLPOOL b61dae135310a8d1161540d1823d375279934e8ada36365a811ff0f147fa61609cfeed61f3972a17009c7701ca2026daf64ae13dd1b5524c8338db9037bd653b
-AUX 279-3.19-04-iovec.patch 1536 SHA256 4ed2c1f0323fc47037127631495df076f6b008090451438eaaa7ff1d294f1245 SHA512 503394dca2264fc5eb34695fb493161734b9ac5d0b526cc76730720fdbd03962d3d25692da27ab799053599d8041970ba99b52190578b244a5cd0fefb02bbb47 WHIRLPOOL bf988aa0f51befba684a013c918ace53e494f5a28904d9f715188074d538a7625211f786903c2645dc07a1422182c26b936c0a821d44f871f6627472662d90d9
-AUX 279-3.19-05-vmci_qpair.patch 1061 SHA256 2804d70faabdbee64647eb53e62ad967bbbf79cd5f1734154eed5077d63fcf77 SHA512 ab3ec8b074265c51bdfbdf4324753564fedace64267040b5fdeedceeab5823a74868c6ffc06cfbf4d0e503192efda4c63d8b68e17f1abd5a4defa926728a652e WHIRLPOOL 0eb891718b3bd7534062ff0f26f68281d05681fd91d567d7deb477e925c2823c908bbf897244ca6abdfb53ddbac620c165eddb876514a1c5fb1098361133f685
-AUX 279-3.19-06-vsock.patch 602 SHA256 8ad74f7573ebdae27c446db708c7ca13f03a965e608836242d7c919f14dd1ba2 SHA512 c1684b6312b67849c0e2a2abafe9ebeaa6f46cdd8c5aeb37e1d1c3bf1db45134ab59254f36f84a8a6c366bfe6631ee7b8e75d7a0bf431c6d9570568cb61cc2ee WHIRLPOOL 4ede77589267d714e4c9eb6fc358b7856745b2d1610deca57a40a329d9ae0f1c96b728983069af556d966bfa5ae009a3cd6706ae83729fe538382ed3730926b3
-AUX 279-3.19-07-vsock.patch 571 SHA256 01964e884d427687ea27843c42d47f581503390ed71501bcca629360927d8f24 SHA512 5f1c56150192ea43480879f7b1686e065b7488b3cf70491024c78c0037e0365500d00d413a1c1aadd7f02dbc9a0f458c740aa74a814c73126d7f3c2df1140c5d WHIRLPOOL 16ebc5c2ac8da04c1cb41c74470ded344bf820c8486b06f062e77e3e707a4fa800a6127889919a979d86a656bcfbe76015f159c34d39401d970eeaba452688d2
-AUX 279-4.2-00-cookie.patch 2832 SHA256 742609c70f089bef774cb05cee3bf58a1bfc8f61d53566c1a99f8cd41a3b1cba SHA512 3143e82ac5afb3d408b9ca5e84f02083594fab1bb1e15646518b6021a902fe0767e75b464e65d47cb8eb78a43ef52ee746db16d5c2ec54948e6a190500e4e68f WHIRLPOOL 1ea67e2c19f6dca23e98241eb876e5e7aa30d409b9e73955239ee55e453f9bb16052f349a5c0e26c20c8d1871b65b713cfca10e35cf8bed66f2f205eb899f003
-AUX 279-5.10-00-userns.patch 640 SHA256 fa72410fb6d198a576a42d40993f5b186fa4203893285e9540ff4ed70240dc86 SHA512 c943d045ab704bdf9e33d4fa78e40440c1a3ee0203a522bad44d3f014405279e3e3c2fc5afb551e8a9b1b54632e4b94465d40990f306d586cb4685ebac2ea258 WHIRLPOOL cecf0f9d17fb917acfc284386ee3cbe01b03d2d5d581954a3365fe9152cb358b458b9f88ff65e53a7a660dc2cecdfc8dc292dbec7a307e1f0b5f728e650b306c
-AUX 279-apic.patch 302 SHA256 60e7df881281fedcabe9ea4427b324b5e1142a1a2b6ab5236ac0843bd1051048 SHA512 003240043e5875d8c6425c146e708eb3c3d8be7fa48a2ac42b3071f00dafdbd51f7796d6f884298b135adccaf8a3eac32fd82b34a436a724da125dac5f6261d7 WHIRLPOOL 4707d0ddd532d5ec27ee2ba3d0fb25c1972bbc9f958b4b89f2f5cceffdf955ba88cd1be0cde046aa5fa688d52faeab5ccf3f03bbccb3e9b088abc37ad579e8e0
-AUX 279-filldir.patch 2485 SHA256 539e8940b47cb7a5f39ab2ba6f18ceb290a2627c81bd6daead6e5850aec02a63 SHA512 e5f85031f459a79a0f64b15224ae8c1ef23892ef159a37955b9c2a2b13ab6e892325a5aeedd4fd2969da3b187cedcaea8fc41540638d02cf56dce2d3e9194937 WHIRLPOOL a455300e72624e4f9c8d3dc79fa5c3ab1b288e79a04483503006a61d44bc83bf14faf0bfa753f82a70dbd23f870b2f6bfe1b06d23792eb1522a7265799ce03eb
-AUX 279-hardened.patch 3334 SHA256 198c182b626aeeb0c6e6558e6982b6d9cd2f11bf03515f72972842f5c773e52c SHA512 eb6829742c44677c6d475894a2a996a87feb1c2ab9afda6a045333fc5befb1c2551ea17ec33e665542d322fb43195b6cfcd576665a73cfc82d66a98579521cf3 WHIRLPOOL d8fde574d68978a4850f06469e5a6dfe21acd0a68b744f3f37ffeb98d5f8786eedeb9fb435e1b141044a23fb142ae44879ee09a45229f2be1c84ef744c15cb7a
-AUX 279-makefile-include.patch 2501 SHA256 208121855fe18ecb279ff40f2833463559363461c2170d32c17040211a01f169 SHA512 c498c025c7eb025f6554cee683242dd73e4a284e4b28c95b75339f4f4a912a156acc1845881fbd78bf399c2092af7413f5d6c4782cd066527ea275518b411c1d WHIRLPOOL e03a6d7139ab7b309e0ca1527cb8b52a8f84f5f5d997a510305d2a6ccdd39f33b18c7276df8ac78d92d2a17a66236f582baaa5e374069d3912090544908a0338
-AUX 279-makefile-kernel-dir.patch 2153 SHA256 d76b1028d21b804836e36478d243cd7914435a34f3fe014058e0a9cc7a020653 SHA512 f18339dc8ac4c864b0c2fb234ad2db8f4638a5cd28e8fd11b5593c82107925b41b42e0d0acac52232a373780d79a3e397f70886534cdf889055e86cfda718f62 WHIRLPOOL 70c869bf4efab6843856addd0c5f5a295ed2fe38f9fc2a8ab2ca55523cd39cb92018d6bd0dac75658fa0f5260962c98f0bbd001593f3f11c2d204c693061c5b6
-AUX 279-netdevice.patch 833 SHA256 8f17ce379abda45a8f94e1dcd6e43367273f97f76edd41f9941beb3b1730a751 SHA512 b4ec7c1694968a1843f10e8bfe0dbfdc99bd3b5fc1391456d91a3648b848b82df681a0748d967afa19e728c4d19b79b6a3cb9fd3e15a52a5cab048a6ac9b06a9 WHIRLPOOL b0cabe2ec1b8ca52d427c02593d6057c98d4ed00c578d006de65460138c37a5be76a7938d85f5a35eb6f49ee5e34065ce62b60a51b0ccf021639a59b27aeac8a
-AUX 279-putname.patch 394 SHA256 b8103d3c72c24696e974e49dcdcdf2d5a2b2c2fdd5f6ca050842b840e906ba77 SHA512 86a0a0ec3ff225940190056e85d498fd7eb260bcc52882fea8921398f572bc46f56c3f2941d3f3d1587a07bc72c8885cbddacf632d2b5fed7d8c9d284399d6d8 WHIRLPOOL e1e8afcafe00131fd6d90b61e5d911da69d7c26b7fd19be085eb5cfd23c2ab19784ae5ddf18928f9cc4a178d87c6d51e8de27dfab8507e2d57fc18868fde9f45
-AUX 279-vfsfollowlink.patch 1219 SHA256 b195f6492a172f682d55fb506ba02c473fd924bb47dc0d1359dd5de163b4da22 SHA512 b675f68175be0b7003d2f80c54dce05a064f8d5bd8744d40571d3d1e0153c01f909e37e0403e53f23a6d61383a9b054c40a2a9ffa95dd765eeffb0c7e739ff1d WHIRLPOOL 3e108ee29c2050029c6079f652e2670529a9f6b220524db214c7dadba3dcaef8fa1ab261f0e10ffa7506456d9f3cccc954bf6a82960e78ebd120c1eb2aac68e8
-AUX 279-vmblock.patch 1041 SHA256 217d27619ac782711686cffee44fbc4bbb40eb0657f335357ad1b0d064f30a35 SHA512 e8e565b677110090cb5bdb7c18d3e97c31049d846b82ee0406aa27dbfa9af8afc39512f1314d49edd6108ec576f3cbc565921de8dfdaaefe2822029ef98c303c WHIRLPOOL 769d0cffcb186d6110de049db963e20e049ef11d92b872c1a6ecfe262acad6c17f456376d219ce01e22839ddcb6a21a2d3e995d797f4c962a0838318dc6f56f9
-AUX 304-3.10-00-dentry.patch 1500 SHA256 efdd1ced43e6530c27fc8f60cdfab8ee9221be304f2872c7d76336d4b2609816 SHA512 a4f10f9c6aae9fb6ec6a89d817d75dfca9d737d8aaf3485529ed94f195463571a49baac851f73eb21d631787cd6c357094eed8cd7e34fe697e8c6586e00d031e WHIRLPOOL e858360a691a96bd6e5c9f1a582531f31d958f8e938717606b5635b0f2e2c3cbfc4fd219399160a6b2b45a27018974f1485a0f69765cb47054b4af3d261a2d33
-AUX 304-3.10-01-inode.patch 2885 SHA256 ae6d7f1ad52583378e71a70105c929108a58434f57005fc3d392a02fa6d1c3ff SHA512 c5c5cb94b1a2d7db41de93ed8bb81ff75e3853f9054cfa431d59ac2547f4df05e941bb7678c3f2378ded8eb746e45cb27c7faab22851ad8183d5067a1176af37 WHIRLPOOL 239c5e1ba57cddb394a1a16f5a8fe01f1fa5251eea882c94b64c6a8b8b4ab290d15c091ea3ff89d629f9535190d590397a06d9138408871a4917ea8882d53555
-AUX 304-3.10-02-control.patch 1679 SHA256 1929822dfcee818bf94056995fafbb1e8bb67254b6421dbfb03ff53ef7a22b4c SHA512 8e53dd4d6dc9b78e43396973ee42235ff24488c115d6f958e8090fa5dda0b738ae24b9b9bd56b13ad6c65ce69e2f2099fe929982b8b2894cf296b5b17cd71ab4 WHIRLPOOL fb708d317b3d2b938af9571f7d95c89ddfa08cf5847439be053417612e8b74a5e69211eba33bb3979144d8b199c0ee9cf24a725f89b385ba8a1c72d4c0de8100
-AUX 304-3.10-03-inline.patch 463 SHA256 812963c925af015668180d4bf484fe39d6cf19cd5d3139ea71d895d244fa03cf SHA512 951e9f40a29404b985bcecb659f82bcc20fcdef02aadec76fef7ca5e459309244316799031ac78cabbc29747ee17b754d8aa476ce07f4dc6ed543064e4f79382 WHIRLPOOL 75b7ee8d5ff8f5a122775206e33bb9fa2dde296e663be755dff55d82e083a92d34325627eedaab2901d809a921198f7335c039fdaf29e5b0c2bcabdf24934a31
-AUX 304-3.11-00-readdir.patch 1063 SHA256 60a33321ef47dc99713677f639c49f46ff7a7e34aeb226eb8d234a4d2ab19ab2 SHA512 ab63a21bf40f5ac02dfafdf353e7b5a139e3e0f4e935b45562526479bf196547da10e2608a368f1cb62a743f969b38f5223679f967b23e13a555f8f38ec7842c WHIRLPOOL 3c9b75aa95656e550620a15cd760cb4b23b22d1c6b93e1b0be2d077d40bc506134fd53d4b5a6ce48ad2723339a97054b1b0d958d38662180ffa2c262f15e648b
-AUX 304-3.11-01-filldir.patch 1619 SHA256 5de58aa1dcd7b9566e32fd8eedac9bec3135a8da20e8bcc6fd3887bba92c4e5c SHA512 779d22bd1184507ec2a06466524b62c33e3bfea7c1c1a41a9a2c96797a6518f3a0159915ff75e9b18f8323e1007a09fc13f83da3ab9ee4b621544643028d0c49 WHIRLPOOL 3c72b7695cf593d757bb6a01ec94e66268aeb1dd8b52d7bb0fcbe7c537707240ac31a1095341887cbf344d77a150edba33cef946baca9b84999c63e6dc708ec6
-AUX 304-3.15-00-vsock.patch 1419 SHA256 7e12baa018536c6a2b4296d0167bd9fb459fcb3950857314c9491ebf06d572b2 SHA512 34fb51223102f96b9e94d2536d1397ce2d11cc5342d80f0a8797d3309326e2f9f2b3b675bf9180bb0eb915abcabf7fdab60619f5992956c4ee7bf9804a567626 WHIRLPOOL ae3ba7caf99468182363ed9928b1b6c8cbe0d771170b0061924cc55e395e1d2a017090f3aee62fa53cc6f07a17b2446805173494b4bd3283153285f1dcdce624
-AUX 304-3.18-00-version-redefined.patch 1096 SHA256 0a15dcc65fcd8b8e99866d1f4c7fdc2ab1d4d49982108b5838188bb8a44e8514 SHA512 1a63aca35e50feeb9950ca1867e6961eda62adb1e1d61a3c4ab9b86b6d07b0897caf89e1702ab49384e03aaa68368a9d84eb6aecd1516a81aa0ffa7741304d9b WHIRLPOOL d2ef4bd78a91c5093f57be487fa80fd22aee5f8d158e7227cb4fdb03fb549ba1d834a5683caf0131c11f76dd170531559a52f4a3f867370d69c9feeb17c885a3
-AUX 304-3.19-00-compat-namei.patch 866 SHA256 7c95f4993e086ede3d2cd47014475c78097476c8dc0b9366074ed3dcb82e3fd0 SHA512 592015525aad3c6cd5eb7b46d59a25b9cfd1fdc3782a4e4cdd555a3b2fbd2e7734d8168e04425418c8bd7075c33e20cfa1e36457450bea6ec8a819b511212d5a WHIRLPOOL b02e137b19f70d03c46607e8ffe45f22691e9b6d8391ca41478ff1b8a65dd7a0bd44b4b74cf4fae3876d8d27a274a875487b8db3cb809dd7522e0d417e1a02d2
-AUX 304-3.19-01-dentry.patch 492 SHA256 ff66564d79bffdf3f79c0bb1c383778340382ea16f2d7763e80288f074b7f162 SHA512 8366248eb4f48a71475cb8f7e8cc45905b80df1626a3527abe6df926ee5e3e65f8dc26a44b2c927406c57a25b85764896128b6b20134bf4abecdaf8b39ef2ce2 WHIRLPOOL d8ab2f6a2b99dabae4215bbd2f7df842b0bb88a658496f23de20422df923f28b3bf3716aa5e9c495826135d27583219a5ba4fe14c38abcdb4e2e17178c6adab0
-AUX 304-3.19-02-vmblock-path.patch 2943 SHA256 89467ebf6e8d938da494b32ff0bfd774d9dbc2107e5712e0d039f4c9d438fcff SHA512 356cdaba3ad69fcd3e517a3f6edc561684a8757fd8a1e5bf75ce990cdac89bef68d56adf5817cd8577875f182018f354f4aff4202684057a0ec7273137ee0ef6 WHIRLPOOL 753baa0392a7ee61614780f35df8164de5b865bfdbdf185b4c8b6e029d7c294c227ea14fc1231a4e0977638533920f58a0f50c5a3c28c987bb651802084de32b
-AUX 304-3.19-03-iovec.patch 604 SHA256 169d892f6d2fcd6300412e2cf2871205342ca454ca7c4feb313ae6e1a714f41b SHA512 be86fa1b4c05cb7f1df2b0ee0765592e5c492a17caaad82ac0b251589025e9b2a689e4e2b3713a3ebfaf557de8f5176749657499c67456f96aa9be476149117b WHIRLPOOL 9c676a2de939d89cd5776b8cfcbe8498a307c69a6b21916a8a7356a74610bb272cbb72221cb87d2f2d18f5dbcd7f652d5a13f83fe6ac321f825d62a9992f1ec7
-AUX 304-3.19-04-iovec.patch 2169 SHA256 335056000885960c24ef19216ff0d9a44994cd519b5d0d2fdb4c3ec973d609f8 SHA512 2768b54c1bdd5781b76b866a5055662b76d6d2e99ccbcc5fedcc2244ec369fb7f7ba502ea8554762eff6641ef6fdbeb53f95684a45485a9ccd32892e0a32722d WHIRLPOOL ff9a1e7d57a0e1422c8199a28269ac18cdc546ff901ddcea4e2f485044b066000dd76471d512ecc63b182d8aaebc74dfc9fdd016d4c0a7ed4cea7a60a2e15b63
-AUX 304-3.19-05-vmci_qpair.patch 1165 SHA256 6311745690e2c0a2d6c064dced0ee8518d95c4ade1aa76ff5300ccd6e653aaf9 SHA512 d8a719e314dbd20c26f448031e1bfc536dcaa1d707c05efe90af3ce0e2c6742e65ff83d1196ec5f33a8fed61a7de9f5c9948e2813cba80c074eaa0f1df5d7b30 WHIRLPOOL d410b9c186a82b6583fcedc3caf00163e1804202e5a2203d4eb56238bc134850d19bad1263165750b3c5ef101cb190cb6b4d7c42e81f50cc28136502e8170963
-AUX 304-3.19-06-vsock.patch 706 SHA256 d2c7abdc2b695f091ed17ffc89b4cad44e635b81dc4f70cd06b2693bf29ae2c3 SHA512 50f32d161f2a08b9ae894d2386bad7e0e9da19db552a8367cf5191465c94bf664e90d5c73dd1e69b30b6fc6f98ffed0df404723e3548a648525ded80bea15464 WHIRLPOOL 50689f8709f33e9c950bbe11c2b499abb4ec6d3025ad3bdad98c9ab383562206e23dde350a9b345c4cff97381dcc88ffdbb9df4ba4af8d28ac921ec93927ab74
-AUX 304-3.19-07-vsock.patch 675 SHA256 35ae4e7c2837549ea0a7c05ddeb06267e94e1828176a535e6d97d7b25c1261fa SHA512 552f8564820941d347d1cb8cc3203642e6d8eef40cd1855de3c771be481426df923d1d17be4506836a37bad8f728c617d9c194c6e832f4e6db7cc39eaa1153dc WHIRLPOOL 10732f5c4c2d62ebbdcd338d5959dab081c03fc232dc678a9e210693cd5a5994f07ae7b30d50b2bddadac175afd2e9fef3e61958a5bd9b9e7ef419ccfb3a6681
-AUX 304-4.2-00-inode_op.patch 1614 SHA256 a0f5f7b772973df8179137a9fdadcd459a9403365434162ff0f2e6e920ce37c6 SHA512 ef2deeeed2683e81339d032e7bf363360fbc9335a5ec0b3a2b2e4221e961762d1e42b81507767256724e5d105087ffcd8b3faccaabc3acaed9320366058a24f5 WHIRLPOOL 26713d6cc19330f61262da8986c6b3bf869a6ec53fe9261bca8f165a381eabf0f1a7e66cf71b40fae19b7c66e1561e24fe89ac097f7b2c6581e92e0408e7771e
-AUX 304-4.2-01-inode.patch 1678 SHA256 9cdf18611fb68e852125842222afa2db440938102199c8f63c8388d525694072 SHA512 b26c57bea28c4841111e2dad2a20e19ede9de8a3e099dce1547c1604996f8f213df840bcd46509887c187722d879389b28fa46f4507d8a550d22aa2ad575c78e WHIRLPOOL d63f4417529b383dd872398486110dfe2f95408b7176b24db90c075c9f79b97bdec99a3c37c265a2d226c2c27be85a269474cc098994bcd33a06f2d1c2068647
-AUX 304-4.2-01-vmci_vmalloc.patch 484 SHA256 31ceef7cb3fc9b9273a64b1eb843481f04c5488a1edd40a0e8e698e3f6eac391 SHA512 a0589ec7f163533ce35aac9b23ab8c1ad2bf6c465f1e22c542ecc655ffbe5089ac47b70823810cfd69acd4af962532111daa6ff0fbcf7a2e29efda83270255f2 WHIRLPOOL 327557011366d5d2f701841edf432c17f931f4cdbc51208f0a23e4d03ef4e5110b8151de4512b7a390ab9966a172c5520b7ec8b2ead22e939f7eb958432a0152
-AUX 304-4.2-02-vmnetInt.patch 915 SHA256 8658f039782e74780b40bacb2a0eb62922117ba3a0b0a7768f9efd9bf200cca0 SHA512 caf1296a46f34404a917b3910319dd2b1cd50b6b1255c9836ae379c74270ad0630ec2c62493f3b2c90a0eb0f356f0040259d93cfb788ee057fc997c8c4a56171 WHIRLPOOL 33dd6bc1d263c291943f54355d82ca8b36b1f0451c92844e048ee9ff9c87e237e08985bcf0edac262c29f627b044280a99d5dc1a3b5f48c79d9fa72957ba357c
-AUX 304-4.2-02-vsock.patch 3482 SHA256 e813bac14c61129811ab3abdb2733d6c7f5d2ef8a2ad808f32888a03eddfc8f9 SHA512 d09572f71bea90117bfc6c1783f2f55aa1a87394c6ea52d7a50849713b2f5c8c00ae632246d9496d75a99beacd4121582e118f4f5d0b97f976882233a5b647b1 WHIRLPOOL 3dd275814cc0ef489ccaad425c539ef1c7308201ee6c0fd6128bfe9fe39976b8fc66ecf973a510b04da0321ac2a93e52fa08d12888d1bd44b9219525bfc57858
-AUX 304-4.2-03-af_vsock.patch 665 SHA256 e35240d40292fd75098941f25881ffe7b6a34f6b9b5e5cb8ffba36ecb6246875 SHA512 90606f5a509712d3cb756885c7f00ea0f4a12a3fb028c402011c82fa4e8b6f8bba1aeb4c45381fefe84d4775db997ffe1e413d52efb2814270a2b266dd50ded8 WHIRLPOOL b79dc9dc497ed6330b3825f157e3e22833a5b0231a9ab9bd49c5793191916c43fb33a79176645aebce0172fea3269cdbcb88142e705b08270b4d704e19ca91e7
-AUX 304-4.2-03-vsock.patch 768 SHA256 f58ad63514d4841cc4c8e866a2f083b20cc43ad1fef39778885ad194c2686061 SHA512 dbe42f664ee0e7d1935afc5b29e33fc6a87c8cb36d79a08c0808dec490dfe76334a6c8c951f1cb517df1bec7cbdc7d864f3d4edda1d2fc8e4eb73984e041424d WHIRLPOOL 3960e24bc6e20748c31fff7de2b840d1ab874e595dfa0e948bec79cc3fda80991239c4485ee509018fce83425be68f65fe9a5384bcc42465e4626c08a9f8d4a4
-AUX 304-4.2-04-driver.patch 1495 SHA256 6782262a23876a4062d1b58fbe1501e692a34689c3930e5bd3b44c1de01bc19b SHA512 1b2b4689d62ea6a39acce9e1832f37c6a395a00cd9dc38a67ba0b7c54e4d51457abed828c2283c00b54017a340c2ec5bf4f611be65a6cc60885f7e01b2e91c31 WHIRLPOOL 53a50e2424e23ff3246c98c8bf33f3f97205a2aa01ec2a591964ac98f4e7f404dc2df13cf8b347a3a9bafb18e81aa4e568a0746e22c0d3f8ee84b0a255698c91
-AUX 304-4.3-00-misc_deregister.patch 1081 SHA256 9fded0ffbf9268c4f3806d50c30af7306974d64d3777f5469cff18fe13a0bc80 SHA512 22e7a2a53e72fe262af3b085aaf869b381b630ed07103a1cf755f6cd1365954cc36f8c6228d9cc81a065a55c2465685e3dbe396ec56d1b6ddb9e24b2b58c9cdd WHIRLPOOL a66a146a25662ec23d8ca1a05e4a85a1c8908275710ce828c5184f4055274dac44a7c4845ae9127b613fb91619838039903dccea18f4757a17114d5d254e72aa
-AUX 304-4.5-00-get_link.patch 2435 SHA256 97f8581e2b66aca41fe14367da7b400a6241d73f0a961fbad0c72a6f5ad3b368 SHA512 026117f283c569321851bbb7e24bf606dbf3fbe3291b898ee279620465c34975766ff136d24d013bf9624323f9e04047fd373db9c488ffb44ed9d22645d33523 WHIRLPOOL f7f99f880ac8f154398dc73ca62b931c7b26477903cd3918f6bcf74436ba1f5d1f6c1ca0979ee3910a8e46a74f6369cada0c7147fe84362fa5acb796f483f220
-AUX 304-apic.patch 302 SHA256 60e7df881281fedcabe9ea4427b324b5e1142a1a2b6ab5236ac0843bd1051048 SHA512 003240043e5875d8c6425c146e708eb3c3d8be7fa48a2ac42b3071f00dafdbd51f7796d6f884298b135adccaf8a3eac32fd82b34a436a724da125dac5f6261d7 WHIRLPOOL 4707d0ddd532d5ec27ee2ba3d0fb25c1972bbc9f958b4b89f2f5cceffdf955ba88cd1be0cde046aa5fa688d52faeab5ccf3f03bbccb3e9b088abc37ad579e8e0
-AUX 304-hardened.patch 3334 SHA256 198c182b626aeeb0c6e6558e6982b6d9cd2f11bf03515f72972842f5c773e52c SHA512 eb6829742c44677c6d475894a2a996a87feb1c2ab9afda6a045333fc5befb1c2551ea17ec33e665542d322fb43195b6cfcd576665a73cfc82d66a98579521cf3 WHIRLPOOL d8fde574d68978a4850f06469e5a6dfe21acd0a68b744f3f37ffeb98d5f8786eedeb9fb435e1b141044a23fb142ae44879ee09a45229f2be1c84ef744c15cb7a
-AUX 304-makefile-include.patch 2501 SHA256 208121855fe18ecb279ff40f2833463559363461c2170d32c17040211a01f169 SHA512 c498c025c7eb025f6554cee683242dd73e4a284e4b28c95b75339f4f4a912a156acc1845881fbd78bf399c2092af7413f5d6c4782cd066527ea275518b411c1d WHIRLPOOL e03a6d7139ab7b309e0ca1527cb8b52a8f84f5f5d997a510305d2a6ccdd39f33b18c7276df8ac78d92d2a17a66236f582baaa5e374069d3912090544908a0338
-AUX 304-makefile-kernel-dir.patch 2153 SHA256 d76b1028d21b804836e36478d243cd7914435a34f3fe014058e0a9cc7a020653 SHA512 f18339dc8ac4c864b0c2fb234ad2db8f4638a5cd28e8fd11b5593c82107925b41b42e0d0acac52232a373780d79a3e397f70886534cdf889055e86cfda718f62 WHIRLPOOL 70c869bf4efab6843856addd0c5f5a295ed2fe38f9fc2a8ab2ca55523cd39cb92018d6bd0dac75658fa0f5260962c98f0bbd001593f3f11c2d204c693061c5b6
-AUX 304-netdevice.patch 833 SHA256 8f17ce379abda45a8f94e1dcd6e43367273f97f76edd41f9941beb3b1730a751 SHA512 b4ec7c1694968a1843f10e8bfe0dbfdc99bd3b5fc1391456d91a3648b848b82df681a0748d967afa19e728c4d19b79b6a3cb9fd3e15a52a5cab048a6ac9b06a9 WHIRLPOOL b0cabe2ec1b8ca52d427c02593d6057c98d4ed00c578d006de65460138c37a5be76a7938d85f5a35eb6f49ee5e34065ce62b60a51b0ccf021639a59b27aeac8a
-AUX 308-3.10-00-dentry.patch 1500 SHA256 efdd1ced43e6530c27fc8f60cdfab8ee9221be304f2872c7d76336d4b2609816 SHA512 a4f10f9c6aae9fb6ec6a89d817d75dfca9d737d8aaf3485529ed94f195463571a49baac851f73eb21d631787cd6c357094eed8cd7e34fe697e8c6586e00d031e WHIRLPOOL e858360a691a96bd6e5c9f1a582531f31d958f8e938717606b5635b0f2e2c3cbfc4fd219399160a6b2b45a27018974f1485a0f69765cb47054b4af3d261a2d33
-AUX 308-3.10-01-inode.patch 2885 SHA256 ae6d7f1ad52583378e71a70105c929108a58434f57005fc3d392a02fa6d1c3ff SHA512 c5c5cb94b1a2d7db41de93ed8bb81ff75e3853f9054cfa431d59ac2547f4df05e941bb7678c3f2378ded8eb746e45cb27c7faab22851ad8183d5067a1176af37 WHIRLPOOL 239c5e1ba57cddb394a1a16f5a8fe01f1fa5251eea882c94b64c6a8b8b4ab290d15c091ea3ff89d629f9535190d590397a06d9138408871a4917ea8882d53555
-AUX 308-3.10-02-control.patch 1679 SHA256 1929822dfcee818bf94056995fafbb1e8bb67254b6421dbfb03ff53ef7a22b4c SHA512 8e53dd4d6dc9b78e43396973ee42235ff24488c115d6f958e8090fa5dda0b738ae24b9b9bd56b13ad6c65ce69e2f2099fe929982b8b2894cf296b5b17cd71ab4 WHIRLPOOL fb708d317b3d2b938af9571f7d95c89ddfa08cf5847439be053417612e8b74a5e69211eba33bb3979144d8b199c0ee9cf24a725f89b385ba8a1c72d4c0de8100
-AUX 308-3.10-03-inline.patch 463 SHA256 812963c925af015668180d4bf484fe39d6cf19cd5d3139ea71d895d244fa03cf SHA512 951e9f40a29404b985bcecb659f82bcc20fcdef02aadec76fef7ca5e459309244316799031ac78cabbc29747ee17b754d8aa476ce07f4dc6ed543064e4f79382 WHIRLPOOL 75b7ee8d5ff8f5a122775206e33bb9fa2dde296e663be755dff55d82e083a92d34325627eedaab2901d809a921198f7335c039fdaf29e5b0c2bcabdf24934a31
-AUX 308-3.11-00-readdir.patch 1063 SHA256 60a33321ef47dc99713677f639c49f46ff7a7e34aeb226eb8d234a4d2ab19ab2 SHA512 ab63a21bf40f5ac02dfafdf353e7b5a139e3e0f4e935b45562526479bf196547da10e2608a368f1cb62a743f969b38f5223679f967b23e13a555f8f38ec7842c WHIRLPOOL 3c9b75aa95656e550620a15cd760cb4b23b22d1c6b93e1b0be2d077d40bc506134fd53d4b5a6ce48ad2723339a97054b1b0d958d38662180ffa2c262f15e648b
-AUX 308-3.11-01-filldir.patch 1619 SHA256 5de58aa1dcd7b9566e32fd8eedac9bec3135a8da20e8bcc6fd3887bba92c4e5c SHA512 779d22bd1184507ec2a06466524b62c33e3bfea7c1c1a41a9a2c96797a6518f3a0159915ff75e9b18f8323e1007a09fc13f83da3ab9ee4b621544643028d0c49 WHIRLPOOL 3c72b7695cf593d757bb6a01ec94e66268aeb1dd8b52d7bb0fcbe7c537707240ac31a1095341887cbf344d77a150edba33cef946baca9b84999c63e6dc708ec6
-AUX 308-3.15-00-vsock.patch 1419 SHA256 7e12baa018536c6a2b4296d0167bd9fb459fcb3950857314c9491ebf06d572b2 SHA512 34fb51223102f96b9e94d2536d1397ce2d11cc5342d80f0a8797d3309326e2f9f2b3b675bf9180bb0eb915abcabf7fdab60619f5992956c4ee7bf9804a567626 WHIRLPOOL ae3ba7caf99468182363ed9928b1b6c8cbe0d771170b0061924cc55e395e1d2a017090f3aee62fa53cc6f07a17b2446805173494b4bd3283153285f1dcdce624
-AUX 308-3.18-00-version-redefined.patch 1096 SHA256 0a15dcc65fcd8b8e99866d1f4c7fdc2ab1d4d49982108b5838188bb8a44e8514 SHA512 1a63aca35e50feeb9950ca1867e6961eda62adb1e1d61a3c4ab9b86b6d07b0897caf89e1702ab49384e03aaa68368a9d84eb6aecd1516a81aa0ffa7741304d9b WHIRLPOOL d2ef4bd78a91c5093f57be487fa80fd22aee5f8d158e7227cb4fdb03fb549ba1d834a5683caf0131c11f76dd170531559a52f4a3f867370d69c9feeb17c885a3
-AUX 308-3.19-00-compat-namei.patch 866 SHA256 7c95f4993e086ede3d2cd47014475c78097476c8dc0b9366074ed3dcb82e3fd0 SHA512 592015525aad3c6cd5eb7b46d59a25b9cfd1fdc3782a4e4cdd555a3b2fbd2e7734d8168e04425418c8bd7075c33e20cfa1e36457450bea6ec8a819b511212d5a WHIRLPOOL b02e137b19f70d03c46607e8ffe45f22691e9b6d8391ca41478ff1b8a65dd7a0bd44b4b74cf4fae3876d8d27a274a875487b8db3cb809dd7522e0d417e1a02d2
-AUX 308-3.19-02-vmblock-path.patch 2943 SHA256 89467ebf6e8d938da494b32ff0bfd774d9dbc2107e5712e0d039f4c9d438fcff SHA512 356cdaba3ad69fcd3e517a3f6edc561684a8757fd8a1e5bf75ce990cdac89bef68d56adf5817cd8577875f182018f354f4aff4202684057a0ec7273137ee0ef6 WHIRLPOOL 753baa0392a7ee61614780f35df8164de5b865bfdbdf185b4c8b6e029d7c294c227ea14fc1231a4e0977638533920f58a0f50c5a3c28c987bb651802084de32b
-AUX 308-3.19-04-iovec.patch 2169 SHA256 335056000885960c24ef19216ff0d9a44994cd519b5d0d2fdb4c3ec973d609f8 SHA512 2768b54c1bdd5781b76b866a5055662b76d6d2e99ccbcc5fedcc2244ec369fb7f7ba502ea8554762eff6641ef6fdbeb53f95684a45485a9ccd32892e0a32722d WHIRLPOOL ff9a1e7d57a0e1422c8199a28269ac18cdc546ff901ddcea4e2f485044b066000dd76471d512ecc63b182d8aaebc74dfc9fdd016d4c0a7ed4cea7a60a2e15b63
-AUX 308-3.19-05-vmci_qpair.patch 1165 SHA256 6311745690e2c0a2d6c064dced0ee8518d95c4ade1aa76ff5300ccd6e653aaf9 SHA512 d8a719e314dbd20c26f448031e1bfc536dcaa1d707c05efe90af3ce0e2c6742e65ff83d1196ec5f33a8fed61a7de9f5c9948e2813cba80c074eaa0f1df5d7b30 WHIRLPOOL d410b9c186a82b6583fcedc3caf00163e1804202e5a2203d4eb56238bc134850d19bad1263165750b3c5ef101cb190cb6b4d7c42e81f50cc28136502e8170963
-AUX 308-3.19-06-vsock.patch 706 SHA256 d2c7abdc2b695f091ed17ffc89b4cad44e635b81dc4f70cd06b2693bf29ae2c3 SHA512 50f32d161f2a08b9ae894d2386bad7e0e9da19db552a8367cf5191465c94bf664e90d5c73dd1e69b30b6fc6f98ffed0df404723e3548a648525ded80bea15464 WHIRLPOOL 50689f8709f33e9c950bbe11c2b499abb4ec6d3025ad3bdad98c9ab383562206e23dde350a9b345c4cff97381dcc88ffdbb9df4ba4af8d28ac921ec93927ab74
-AUX 308-3.19-07-vsock.patch 675 SHA256 35ae4e7c2837549ea0a7c05ddeb06267e94e1828176a535e6d97d7b25c1261fa SHA512 552f8564820941d347d1cb8cc3203642e6d8eef40cd1855de3c771be481426df923d1d17be4506836a37bad8f728c617d9c194c6e832f4e6db7cc39eaa1153dc WHIRLPOOL 10732f5c4c2d62ebbdcd338d5959dab081c03fc232dc678a9e210693cd5a5994f07ae7b30d50b2bddadac175afd2e9fef3e61958a5bd9b9e7ef419ccfb3a6681
-AUX 308-4.01-00-vsock.patch 3262 SHA256 72fa0dde43386260208797bac7735bc87faf9010136e66d772b1c58e58b96340 SHA512 9702ea2db83bb5412617fc00b2113a0c7188785db040de6a5eeb60a015f9a1156838767ac70f1ef9b394b808dd267543fd05af34ab428ccab35b0c6bcfc49f62 WHIRLPOOL 161910c8d19c632b163be0e7e16020e971beb6597e100edf4e4f1ee1f3847799b17cb480ed99247f57e9927472e24e6b4557530564a9645f297124fb801901a4
-AUX 308-4.02-00-nd_set_link.patch 1841 SHA256 61c35e4a5477b29b5fc65f04fca4a60ef45299e3a5153084742a5e3b74804717 SHA512 720b19747edef22bfb48d94d11f1bd0c67c8f18e08e4ff284b5d9b13c310e4b1aaa7acbdba55bdc3386e625562ba91253e9f92006f5e6ef5231f84b91e47ad60 WHIRLPOOL ff7cbbc7de21c1e35c783c79115da3d400120756abb4cb5b7d978714fd27bf094899650250167472357bfccc369cc5c617addbb3bec6eafd8066c77fffa17078
-AUX 308-4.02-01-sk_alloc.patch 1033 SHA256 426c8087f648518b9e07d4a6cb94c71cc4bb4d7169ffc44f208145ff29900488 SHA512 e2e2523a78cefb648cbfe99302043e57e7ccd9b2bcac45f2feb039278ddf30aec1ad3c9c9ff5f0cbed993c3b1c557bf6f1116619b00438a9ca2c04d7db8432e5 WHIRLPOOL 9113899ade845cd475c13b47574f17fa07cdc698737492d3138bcb96bc5ee4e437fe0f1eb1f367689b0c49efefddbe71b902a056e20175f24a7cd78f134c7e09
-AUX 308-4.03-00-vmci-misc_deregister.patch 829 SHA256 2b5def2395c7120e0c626a082b6a99381c88e4518c871ff7e6cf2950e4d5b206 SHA512 ad9eed0b7c76fc210af72a438c4f6f882c1e3039151bf9d166a6f62ac64045b7f0cea7281c02fb1b456233bba9bcccd64587974108d0a9a793ba18ec92e1bf54 WHIRLPOOL c25648d92b0285ea395a6e3a0f365199561004ffc610f4462c62280d5befd9e93eb723658bd7fe4e8a505fb0b019e170472631ff6aee8c473aeda9446a7f1f8e
-AUX 308-4.03-00-vmmon-misc_deregister.patch 564 SHA256 68c6ebe4e41866b9d83163fbf1b2f370411438fcb26d74585b58e8799b312092 SHA512 566b90d05185371c07574df8a84633047ed559e2677d7689dab64b14cde417e872a4c32e8ca2c6434d66cf25fac5c6e51a7e735acc3b51c15201f07bf118ed9a WHIRLPOOL a7da87d06d9077cc73b43fe44a3123113b9286a4144e014a473b0921c00e7062c10c633cd6a6976ac3fedf5cfd85e777f2018a1378a0f54bef1354cc6b19052c
-AUX 308-4.05-00-vmblock-follow_link.patch 1764 SHA256 0ae11afc27a80a7ca5be2eca38e4f1c146c6237dfa7df405a35a3acce9b871c9 SHA512 9957ec445ce4691a772f2a7cf1f2eb7ff3b4b215fb47b93e1eef3ba222e4137e65f968335a46ce2a429698b7c10bece7455330beb895455a9e6a3efbf63c27f9 WHIRLPOOL 900f6b5488bb2875c9b1bb85d4013ec1b70cfc189c7c5ce76a0eff82c7ef2dfb2c56a333552fccbcfa84f575b2d3f99c1ce0c295ab940575eb10116a6951e0b7
-AUX 308-apic.patch 302 SHA256 60e7df881281fedcabe9ea4427b324b5e1142a1a2b6ab5236ac0843bd1051048 SHA512 003240043e5875d8c6425c146e708eb3c3d8be7fa48a2ac42b3071f00dafdbd51f7796d6f884298b135adccaf8a3eac32fd82b34a436a724da125dac5f6261d7 WHIRLPOOL 4707d0ddd532d5ec27ee2ba3d0fb25c1972bbc9f958b4b89f2f5cceffdf955ba88cd1be0cde046aa5fa688d52faeab5ccf3f03bbccb3e9b088abc37ad579e8e0
-AUX 308-hardened.patch 2946 SHA256 c13903aa4167bb0c97642787dec5ad4ca69a2ab4b3f26c050562531d71016c1c SHA512 baacfbae28ea36f475c0e8b6c373d4dda8fdc1ef0a97a3cfe8b31204a7deb613086338cddc942d1b92e5775668d28366392033c41cdd79a96a54ce7ca284bae3 WHIRLPOOL 4926de36d53646f36731cbde677f2fdb0f25fb6705be89b7530bad37f3b61815ff1a1b25972de41eeeae671afa36e05df5115be6661efc8cc1c58a36a7648b77
-AUX 308-makefile-include.patch 2501 SHA256 208121855fe18ecb279ff40f2833463559363461c2170d32c17040211a01f169 SHA512 c498c025c7eb025f6554cee683242dd73e4a284e4b28c95b75339f4f4a912a156acc1845881fbd78bf399c2092af7413f5d6c4782cd066527ea275518b411c1d WHIRLPOOL e03a6d7139ab7b309e0ca1527cb8b52a8f84f5f5d997a510305d2a6ccdd39f33b18c7276df8ac78d92d2a17a66236f582baaa5e374069d3912090544908a0338
-AUX 308-makefile-kernel-dir.patch 2153 SHA256 d76b1028d21b804836e36478d243cd7914435a34f3fe014058e0a9cc7a020653 SHA512 f18339dc8ac4c864b0c2fb234ad2db8f4638a5cd28e8fd11b5593c82107925b41b42e0d0acac52232a373780d79a3e397f70886534cdf889055e86cfda718f62 WHIRLPOOL 70c869bf4efab6843856addd0c5f5a295ed2fe38f9fc2a8ab2ca55523cd39cb92018d6bd0dac75658fa0f5260962c98f0bbd001593f3f11c2d204c693061c5b6
-AUX 308-netdevice.patch 833 SHA256 8f17ce379abda45a8f94e1dcd6e43367273f97f76edd41f9941beb3b1730a751 SHA512 b4ec7c1694968a1843f10e8bfe0dbfdc99bd3b5fc1391456d91a3648b848b82df681a0748d967afa19e728c4d19b79b6a3cb9fd3e15a52a5cab048a6ac9b06a9 WHIRLPOOL b0cabe2ec1b8ca52d427c02593d6057c98d4ed00c578d006de65460138c37a5be76a7938d85f5a35eb6f49ee5e34065ce62b60a51b0ccf021639a59b27aeac8a
-AUX hardened.patch 5052 SHA256 191cf892bfb9a6288d110191de824bf6243bc6f48f1e62ab49f3582c7ade5af6 SHA512 52dcca8d9f689f0a0d0ca369c0c7ce0d177de3529d2d1325330eb5a9e940a55e8930bbbe7374793bdf29cbdefac9727e9eb21d00f81ad4f5eddba3a51597b7a5 WHIRLPOOL 539731bc36f3e292403f55d74c353deeb28baa312f726b36d2a6060adf3483dfa2ed011baf93eff941fa754ef62f4d6da86868c40550ee2292c4a711e061bde0
-EBUILD vmware-modules-271.3-r1.ebuild 3734 SHA256 cf23ee820ee71b6d703759fa79a010b4a64cb5f73d9f0f54d1d2f12a61b26f02 SHA512 880c8ac94c639116219300a71ab7abfe1ab38223b52cc25edb2594ae0e394c54709262b121358b7e6eeb70b38335a9f22247c616149b6f94e83b700d28b64b9c WHIRLPOOL 54dea8588a07cf46f8028f9f9f860790e7b76a08638ca82dcaccac5bbb7cb1abd8daeab503263502a56c5d4c1e6b1ced0eaee26dc087cd6c890c133a6c9262f5
-EBUILD vmware-modules-279.6.ebuild 4077 SHA256 e98e005d42845f9cd5e8dfe0a27a52ddd6d8d15ca4d09f460a3be656720c8985 SHA512 ad22fc89112c0be7b9499bab8776850eb67cc77b65f43c73fbc6388b77b416b6ba0b29b4b8d26d2733465b3a941d5909673ba3f848f4218d33c09208aeeef13b WHIRLPOOL ca8177e3ccc2da2eb64a428016c9ad77a502cfb4db1770da084194c37e1132a576524777f3d42d0e57194b74927c646fcebcb442eee39bf3eb25396e132d1194
-EBUILD vmware-modules-304.2.ebuild 4018 SHA256 f7f6fbdace6cc6e0f67069f62d511cceeea5343686052c9f54428ccd30443e01 SHA512 cded892fa639c8fa43b152d47cf3e9331b5bc132d8b4c6db3d8c29267f7e9d1e5d7988c7297b6dbb281df3f0d4a44dd879badddfb148cc134e7a73ec413125e6 WHIRLPOOL bb9c433e93c85185268c720959f3f0155972e005ec97cdead0c0fd5743fe197283f65c6db843b5b4cbf00f4da39d87085675383b6b6a7b4ae2d623047cac2026
-EBUILD vmware-modules-304.3-r1.ebuild 4166 SHA256 55c6bc6bff52f02b605ed006117036c11d71b78dacf156ce758f424e23e6b1eb SHA512 f11c876d5e67a56a3e614f06d70842e909063901e828a10e5299cf751364024893652e1bd5fa611385173e9fc9506b3cb0d4c7d7e1c83b0feae2148af17fbcbb WHIRLPOOL b0005ded232ddd67794235557aa0b270b0373ffacdefe1b78a1c830b466f277f2dd98402bc8c877431df76f958aa47111039bf14c309f6fa40949f9250d57dd9
-EBUILD vmware-modules-308.1.0.ebuild 4840 SHA256 4218d2c265fa12bdce5717a9df1e93881b39579c9f49e7d95bf5931ce5b672de SHA512 c4331f61587add5724a85ec26533fd9b1aea23353a41e8f5af2b7049e543d16e7b79144b8c2af13f6a87cb6a3eaef6dd6625df45c287d26814075a77264aa02f WHIRLPOOL 6a8e0fe0f03295379b554e7fb0f1a69e7c5da45b7442f97ac4ea279a2101cee64c0cdad30f4b1ed64f93a39e00ad9d9ae9228b525632c7e7c8120ec1c3398c03
-MISC ChangeLog 8938 SHA256 9638cdb6f0e956bf309e5d69294ef551ee99ce6b609343588dd6846a611bb073 SHA512 8647d9130e503ee399b9799de4492022542c04fb0ce78b70f9e95428762de42b65db85d09052983bd2791a2a0eb9b09a98b21753e655fba73fe2a4fcf22533f4 WHIRLPOOL 3423d202a2927c84dcfd685cb4a4028abd24f442a080715bc4c52e707c1a5d5ea0f6cef31b527f6ab887da760351f8052b16a27cbe167bd7df6700c907ff1580
-MISC ChangeLog-2015 27252 SHA256 2c987c712dcc1969d5edb0a1f570c73f993f06066e2b57fb6c97d5c11c252ad8 SHA512 c275541dec97b6f348d1bcaa29f95e8e5fb7bea0fad6aa3ff76ba679821bf4517d01173cf5b77cdb1c7c947c1404face3bcf948c1c9befed3a175aff6494eaec WHIRLPOOL 91721ae435f6820e9c71166b9e301c33b591d62bb27a35111c383a0ba2128a1767d9b3b1d8f80604f349f6efcad48fadbc0646b0f9176f96f420177149298f0a
-MISC metadata.xml 727 SHA256 fe14276628a6256ab3c4bc6735826869bae771b94d9a9686d9c5059392df5474 SHA512 e9b59883bb997e0e91b50b1ea8c57ad3465ed1f52cba14208bbbda1ad8d4500cba965592f2721763e24bc8a5ffb0706ce43910a92259c69eef3aaacc8c5aca8d WHIRLPOOL 2c9bf3f08c73ac9fa12e8f402a235cd8f437bc80ac5c3ffb315b63299214aa9dd8a3d78f5725a0db634a8a8d62c0e34162ed059a726c97065495fcd2df52f190
diff --git a/app-emulation/vmware-modules/files/271-3.10-00-userns.patch b/app-emulation/vmware-modules/files/271-3.10-00-userns.patch
deleted file mode 100644
index b1b78b76300e..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10-00-userns.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-correctly initializes UID/GID values
-gets UID correctly in light of user namespace API
-origionally from https://462666.bugs.gentoo.org/attachment.cgi?id=342888
-
---- a/vmblock-only/linux/inode.c 2013-03-20 17:37:48.000000000 +0100
-+++ b/vmblock-only/linux/inode.c 2013-03-20 17:41:22.000000000 +0100
-@@ -135,7 +135,8 @@
- inode->i_size = INODE_TO_IINFO(inode)->nameLen;
- inode->i_version = 1;
- inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
-- inode->i_uid = inode->i_gid = 0;
-+ inode->i_uid = GLOBAL_ROOT_UID;
-+ inode->i_gid = GLOBAL_ROOT_GID;
- inode->i_op = &LinkInodeOps;
-
- d_add(dentry, inode);
-
---- a/vmci-only/linux/driver.c 2013-03-20 17:57:35.000000000 +0100
-+++ b/vmci-only/linux/driver.c 2013-03-20 17:57:43.000000000 +0100
-@@ -740,7 +740,7 @@
- goto init_release;
- }
-
-- user = current_uid();
-+ user = from_kuid(current_user_ns(), current_uid());
- retval = VMCIContext_InitContext(initBlock.cid, initBlock.flags,
- 0 /* Unused */, vmciLinux->userVersion,
- &user, &vmciLinux->context);
-
---- a/vsock-only/linux/af_vsock.c 2013-03-20 18:01:48.000000000 +0100
-+++ b/vsock-only/linux/af_vsock.c 2013-03-20 18:01:58.000000000 +0100
-@@ -2866,7 +2866,7 @@
- vsk->connectTimeout = psk->connectTimeout;
- } else {
- vsk->trusted = capable(CAP_NET_ADMIN);
-- vsk->owner = current_uid();
-+ vsk->owner = from_kuid(current_user_ns(), current_uid());
- vsk->queuePairSize = VSOCK_DEFAULT_QP_SIZE;
- vsk->queuePairMinSize = VSOCK_DEFAULT_QP_SIZE_MIN;
- vsk->queuePairMaxSize = VSOCK_DEFAULT_QP_SIZE_MAX;
-
diff --git a/app-emulation/vmware-modules/files/271-3.10-01-create_proc_entry.patch b/app-emulation/vmware-modules/files/271-3.10-01-create_proc_entry.patch
deleted file mode 100644
index 889ae71be47b..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10-01-create_proc_entry.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-uses the new proc_create function to create /proc entries
-instead of create_proc_entry which was deprecated:
-https://lkml.org/lkml/2013/4/11/215
-
---- a/vmblock-only/linux/control.c 2013-05-21 19:21:19.165750556 +0200
-+++ b/vmblock-only/linux/control.c 2013-05-21 19:22:18.363747723 +0200
-@@ -208,9 +208,10 @@
- VMBlockSetProcEntryOwner(controlProcMountpoint);
-
- /* Create /proc/fs/vmblock/dev */
-- controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME,
-- VMBLOCK_CONTROL_MODE,
-- controlProcDirEntry);
-+ controlProcEntry = proc_create(VMBLOCK_CONTROL_DEVNAME,
-+ VMBLOCK_CONTROL_MODE,
-+ controlProcDirEntry,
-+ &ControlFileOps);
- if (!controlProcEntry) {
- Warning("SetupProcDevice: could not create " VMBLOCK_DEVICE "\n");
- remove_proc_entry(VMBLOCK_CONTROL_MOUNTPOINT, controlProcDirEntry);
-@@ -218,7 +219,6 @@
- return -EINVAL;
- }
-
-- controlProcEntry->proc_fops = &ControlFileOps;
- return 0;
- }
-
diff --git a/app-emulation/vmware-modules/files/271-3.10-02-getname.patch b/app-emulation/vmware-modules/files/271-3.10-02-getname.patch
deleted file mode 100644
index 05ed8dbcc374..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10-02-getname.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-uses __getname/__putname instead of getname. getname was deprecated
-the new code calls __getname (which really is a specific type of
-memory allocator, then copies the string safely from user space
-into the allocated buffer
-
---- vmblock-only/linux/control.c 2014-03-15 15:28:40.871076076 +0100
-+++ vmblock-only/linux/control.c.new 2014-03-15 15:29:15.079074439 +0100
-@@ -279,11 +279,17 @@
- int i;
- int retval;
-
-- name = getname(buf);
-+ name = __getname();
- if (IS_ERR(name)) {
- return PTR_ERR(name);
- }
-
-+ i = strncpy_from_user(name, buf, PATH_MAX);
-+ if (i < 0 || i == PATH_MAX) {
-+ __putname(name);
-+ return -EINVAL;
-+ }
-+
- for (i = strlen(name) - 1; i >= 0 && name[i] == '/'; i--) {
diff --git a/app-emulation/vmware-modules/files/271-3.10-03-deprecated.patch b/app-emulation/vmware-modules/files/271-3.10-03-deprecated.patch
deleted file mode 100644
index 981aabdd1260..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10-03-deprecated.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-undefines DEPRECATED which is unfortunately also defined (as a string)
-in <linux/printk.h>. Realistically, this macro isn't even used, so this
-doesn't matter much. But it hushes some very loud warnings.
-
-diff -rupN vmblock-only/shared/vm_assert.h vmblock-only.new/shared/vm_assert.h
---- vmblock-only/shared/vm_assert.h 2014-10-09 21:50:54.221159088 -0400
-+++ vmblock-only.new/shared/vm_assert.h 2014-10-09 21:53:04.612166156 -0400
-@@ -237,11 +237,13 @@ EXTERN void WarningThrottled(uint32 *cou
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED; %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
-diff -rupN vmci-only/shared/vm_assert.h vmci-only.new/shared/vm_assert.h
---- vmci-only/shared/vm_assert.h 2014-10-09 21:50:54.222159088 -0400
-+++ vmci-only.new/shared/vm_assert.h 2014-10-09 21:52:52.348165492 -0400
-@@ -237,11 +237,13 @@ EXTERN void WarningThrottled(uint32 *cou
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED; %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
-diff -rupN vmmon-only/include/vm_assert.h vmmon-only.new/include/vm_assert.h
---- vmmon-only/include/vm_assert.h 2014-10-09 21:50:54.222159088 -0400
-+++ vmmon-only.new/include/vm_assert.h 2014-10-09 21:52:36.877164653 -0400
-@@ -237,11 +237,13 @@ EXTERN void WarningThrottled(uint32 *cou
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED; %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
-diff -rupN vmnet-only/vm_assert.h vmnet-only.new/vm_assert.h
---- vmnet-only/vm_assert.h 2014-10-09 21:50:54.222159088 -0400
-+++ vmnet-only.new/vm_assert.h 2014-10-09 21:52:57.736165784 -0400
-@@ -237,11 +237,13 @@ EXTERN void WarningThrottled(uint32 *cou
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED; %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
-diff -rupN vsock-only/shared/vm_assert.h vsock-only.new/shared/vm_assert.h
---- vsock-only/shared/vm_assert.h 2014-10-09 21:50:54.222159088 -0400
-+++ vsock-only.new/shared/vm_assert.h 2014-10-09 21:52:45.352165112 -0400
-@@ -237,11 +237,13 @@ EXTERN void WarningThrottled(uint32 *cou
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED; %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
diff --git a/app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch b/app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch
deleted file mode 100644
index d5129ec689a4..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-hushes warnings about unused typedefs which are part of the "static assert"
-technique that the code uses. We simply add an "__attribute__((unused)) to each of them
-
---- vmblock-only/shared/vm_assert.h 2014-10-07 22:43:39.519402467 -0400
-+++ vmblock-only/shared/vm_assert.h 2014-10-07 22:48:01.346409957 -0400
-@@ -317,7 +317,7 @@ EXTERN void WarningThrottled(uint32 *cou
- #define ASSERT_ON_COMPILE(e) \
- do { \
- enum { AssertOnCompileMisused = ((e) ? 1 : -1) }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } while (0)
-
-
---- vmci-only/shared/vm_assert.h 2014-10-07 22:43:39.519402467 -0400
-+++ vmci-only/shared/vm_assert.h 2014-10-07 22:47:51.829409685 -0400
-@@ -317,7 +317,7 @@ EXTERN void WarningThrottled(uint32 *cou
- #define ASSERT_ON_COMPILE(e) \
- do { \
- enum { AssertOnCompileMisused = ((e) ? 1 : -1) }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } while (0)
-
-
---- vmmon-only/include/vm_assert.h 2014-10-07 22:43:39.520402467 -0400
-+++ vmmon-only/include/vm_assert.h 2014-10-07 22:47:39.246409325 -0400
-@@ -317,7 +317,7 @@ EXTERN void WarningThrottled(uint32 *cou
- #define ASSERT_ON_COMPILE(e) \
- do { \
- enum { AssertOnCompileMisused = ((e) ? 1 : -1) }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } while (0)
-
-
---- vmnet-only/vm_assert.h 2014-10-07 22:43:39.520402467 -0400
-+++ vmnet-only/vm_assert.h 2014-10-07 22:47:55.804409799 -0400
-@@ -317,7 +317,7 @@ EXTERN void WarningThrottled(uint32 *cou
- #define ASSERT_ON_COMPILE(e) \
- do { \
- enum { AssertOnCompileMisused = ((e) ? 1 : -1) }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } while (0)
-
-
---- vsock-only/shared/vm_assert.h 2014-10-07 22:47:11.595408534 -0400
-+++ vsock-only/shared/vm_assert.h 2014-10-07 22:45:55.715406363 -0400
-@@ -317,7 +317,7 @@ EXTERN void WarningThrottled(uint32 *cou
- #define ASSERT_ON_COMPILE(e) \
- do { \
- enum { AssertOnCompileMisused = ((e) ? 1 : -1) }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } while (0)
-
-
---- vsock-only/shared/vm_atomic.h 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only/shared/vm_atomic.h 2014-10-07 22:53:06.024418673 -0400
-@@ -2394,7 +2394,7 @@ Atomic_TestBit64(Atomic_uint64 *var, //
- && 8 * sizeof (out) == size \
- && 8 * sizeof (cast) == size \
- ? 1 : -1 }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } \
- \
- \
---- vmci-only/shared/vm_atomic.h 2013-11-05 23:33:27.000000000 -0500
-+++ vmci-only/shared/vm_atomic.h 2014-10-07 22:53:24.873419213 -0400
-@@ -2394,7 +2394,7 @@ Atomic_TestBit64(Atomic_uint64 *var, //
- && 8 * sizeof (out) == size \
- && 8 * sizeof (cast) == size \
- ? 1 : -1 }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } \
- \
- \
-
---- vmblock-only/shared/vm_atomic.h 2013-11-05 23:33:27.000000000 -0500
-+++ vmblock-only/shared/vm_atomic.h 2014-10-07 22:53:31.073419390 -0400
-@@ -2394,7 +2394,7 @@ Atomic_TestBit64(Atomic_uint64 *var, //
- && 8 * sizeof (out) == size \
- && 8 * sizeof (cast) == size \
- ? 1 : -1 }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } \
- \
-
---- vmnet-only/vm_atomic.h 2013-11-06 00:40:52.000000000 -0500
-+++ vmnet-only/vm_atomic.h 2014-10-07 23:04:50.637438831 -0400
-@@ -2394,7 +2394,7 @@ Atomic_TestBit64(Atomic_uint64 *var, //
- && 8 * sizeof (out) == size \
- && 8 * sizeof (cast) == size \
- ? 1 : -1 }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } \
- \
- \
-
---- vmmon-only/include/vm_atomic.h 2013-11-06 00:40:52.000000000 -0500
-+++ vmmon-only/include/vm_atomic.h 2014-10-07 23:04:50.637438831 -0400
-@@ -2394,7 +2394,7 @@ Atomic_TestBit64(Atomic_uint64 *var, //
- && 8 * sizeof (out) == size \
- && 8 * sizeof (cast) == size \
- ? 1 : -1 }; \
-- typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
-+ __attribute__((unused)) typedef char AssertOnCompileFailed[AssertOnCompileMisused]; \
- } \
- \
- \
diff --git a/app-emulation/vmware-modules/files/271-3.10-05-dentry.patch b/app-emulation/vmware-modules/files/271-3.10-05-dentry.patch
deleted file mode 100644
index f4f59d977408..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10-05-dentry.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-starting with kernel 3.6, d_revalidate takes an unsigned int "flags"
-as the second argument, not a nameidata pointer! see fs/namei.c
-for implementation
-
-diff -Naur vmblock-only/linux/dentry.c vmblock-only/linux/dentry.c
---- vmblock-only/linux/dentry.c 2013-11-05 23:33:26.000000000 -0500
-+++ vmblock-only/linux/dentry.c 2014-04-26 10:58:03.062635343 -0400
-@@ -32,7 +32,7 @@
- #include "block.h"
-
-
--static int DentryOpRevalidate(struct dentry *dentry, struct nameidata *nd);
-+static int DentryOpRevalidate(struct dentry *dentry, unsigned int flags);
-
- struct dentry_operations LinkDentryOps = {
- .d_revalidate = DentryOpRevalidate,
-@@ -60,7 +60,7 @@
-
- static int
- DentryOpRevalidate(struct dentry *dentry, // IN: dentry revalidating
-- struct nameidata *nd) // IN: lookup flags & intent
-+ unsigned int flags) // IN: lookup flags & intent
- {
- VMBlockInodeInfo *iinfo;
- struct nameidata actualNd;
-@@ -101,7 +101,7 @@
- if (actualDentry &&
- actualDentry->d_op &&
- actualDentry->d_op->d_revalidate) {
-- return actualDentry->d_op->d_revalidate(actualDentry, nd);
-+ return actualDentry->d_op->d_revalidate(actualDentry, flags);
- }
-
- if (compat_path_lookup(iinfo->name, 0, &actualNd)) {
diff --git a/app-emulation/vmware-modules/files/271-3.10-06-inode.patch b/app-emulation/vmware-modules/files/271-3.10-06-inode.patch
deleted file mode 100644
index 01c88930899c..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10-06-inode.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-starting with kernel 3.6, d_revalidate takes an unsigned int "flags"
-as the second argument, not a nameidata pointer! see fs/namei.c
-for implementation. Also changing vfs_follow_link to nd_set_link.
-See: https://lkml.org/lkml/2013/9/9/236
-
-diff -Naur vmblock-only/linux/inode.c vmblock-only/linux/inode.c
---- vmblock-only/linux/inode.c 2013-11-05 23:33:26.000000000 -0500
-+++ vmblock-only/linux/inode.c 2014-04-26 10:58:03.063635343 -0400
-@@ -36,7 +36,7 @@
-
- /* Inode operations */
- static struct dentry *InodeOpLookup(struct inode *dir,
-- struct dentry *dentry, struct nameidata *nd);
-+ struct dentry *dentry, unsigned int flags);
- static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -75,7 +75,7 @@
- static struct dentry *
- InodeOpLookup(struct inode *dir, // IN: parent directory's inode
- struct dentry *dentry, // IN: dentry to lookup
-- struct nameidata *nd) // IN: lookup intent and information
-+ unsigned int flags) // IN: lookup intent and information
- {
- char *filename;
- struct inode *inode;
-@@ -221,7 +221,8 @@
- goto out;
- }
-
-- ret = vfs_follow_link(nd, iinfo->name);
-+ nd_set_link(nd, iinfo->name);
-+ ret = 0;
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
diff --git a/app-emulation/vmware-modules/files/271-3.10-07-hub.patch b/app-emulation/vmware-modules/files/271-3.10-07-hub.patch
deleted file mode 100644
index eebe4a23b304..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10-07-hub.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-fixes a bug where sizeof was being used on a pointer when they clearly
-meant to use the size of the array referred to. Fortunately, the amount is
-always smaller than the actual size of the buffer, so likely not a security issue
-(and was fixed in vmware-workstaiton 10
-
-diff -rupN vmnet-only/hub.c vmnet-only.new/hub.c
---- vmnet-only/hub.c 2013-11-06 00:40:52.000000000 -0500
-+++ vmnet-only.new/hub.c 2014-10-07 18:45:34.403918680 -0400
-@@ -129,7 +129,7 @@ VNetHubFindHubByID(uint8 idNum[VNET_PVN_
- {
- VNetHub *currHub = vnetHub;
- while (currHub && (currHub->hubType != HUB_TYPE_PVN ||
-- memcmp(idNum, currHub->id.pvnID, sizeof idNum))) {
-+ memcmp(idNum, currHub->id.pvnID, VNET_PVN_ID_LEN))) {
- currHub = currHub->next;
- }
- return currHub;
-@@ -312,7 +312,7 @@ VNetHubAlloc(Bool allocPvn, // IN: TRUE
-
- if (allocPvn) {
- hub->hubType = HUB_TYPE_PVN;
-- memcpy(hub->id.pvnID, id, sizeof id);
-+ memcpy(hub->id.pvnID, id, VNET_PVN_ID_LEN);
- ++pvnInstance;
- } else {
- hub->hubType = HUB_TYPE_VNET;
diff --git a/app-emulation/vmware-modules/files/271-3.10.0.patch b/app-emulation/vmware-modules/files/271-3.10.0.patch
deleted file mode 100644
index 7795b18f5d7e..000000000000
--- a/app-emulation/vmware-modules/files/271-3.10.0.patch
+++ /dev/null
@@ -1,809 +0,0 @@
---- a/vmnet-only/bridge.c
-+++ b/vmnet-only/bridge.c
-@@ -105,8 +105,6 @@ static Bool VNetBridgeCycleDetect(VNetJack *this, int generation);
- static Bool VNetBridgeIsDeviceWireless(struct net_device *dev);
- static void VNetBridgePortsChanged(VNetJack *this);
- static int VNetBridgeIsBridged(VNetJack *this);
--static int VNetBridgeProcRead(char *page, char **start, off_t off,
-- int count, int *eof, void *data);
- static void VNetBridgeComputeHeaderPosIPv6(struct sk_buff *skb);
- static PacketStatus VNetCallSMACFunc(struct SMACState *state,
- struct sk_buff **skb, void *startOfData,
-@@ -225,6 +223,53 @@ VNetBridgeDevCompatible(VNetBridge *bridge, // IN: Bridge
- /*
- *----------------------------------------------------------------------
- *
-+ * VNetBridgeProcShow --
-+ *
-+ * Callback for read operation on this bridge entry in vnets proc fs.
-+ *
-+ * Results:
-+ * Length of read operation.
-+ *
-+ * Side effects:
-+ * None.
-+ *
-+ *----------------------------------------------------------------------
-+ */
-+
-+int
-+VNetBridgeProcShow(struct seq_file *seqf, // IN/OUT: buffer to write into
-+ void *data) // IN: client data - pointer to bridge
-+{
-+ VNetBridge *bridge = (VNetBridge*)data;
-+
-+ if (!bridge) {
-+ return 0;
-+ }
-+
-+ VNetPrintPort(&bridge->port, seqf);
-+
-+ seq_printf(seqf, "dev %s ", bridge->name);
-+
-+ seq_printf(seqf, "\n");
-+
-+ return 0;
-+}
-+
-+static int proc_bridge_open(struct inode *inode, struct file *file)
-+{
-+ return single_open(file, VNetBridgeProcShow, PDE_DATA(inode));
-+}
-+
-+static const struct file_operations proc_bridge_fops = {
-+ .open = proc_bridge_open,
-+ .read = seq_read,
-+ .llseek = seq_lseek,
-+ .release = seq_release,
-+};
-+
-+/*
-+ *----------------------------------------------------------------------
-+ *
- * VNetBridge_Create --
- *
- * Creates a bridge. Allocates struct, allocates internal device,
-@@ -319,17 +364,14 @@ VNetBridge_Create(const char *devName, // IN: name of device (e.g., "eth0")
- * Make proc entry for this jack.
- */
-
-- retval = VNetProc_MakeEntry(bridge->port.jack.name, S_IFREG,
-- &bridge->port.jack.procEntry);
-+ retval = VNetProc_MakeEntryOps(bridge->port.jack.name, S_IFREG,
-+ &bridge->port.jack.procEntry, &proc_bridge_fops, bridge);
- if (retval) {
- if (retval == -ENXIO) {
- bridge->port.jack.procEntry = NULL;
- } else {
- goto out;
- }
-- } else {
-- bridge->port.jack.procEntry->read_proc = VNetBridgeProcRead;
-- bridge->port.jack.procEntry->data = bridge;
- }
-
- /*
-@@ -1719,45 +1761,3 @@ VNetBridgeReceiveFromDev(struct sk_buff *skb, // IN: packet to receive
- return 0;
- }
-
--
--/*
-- *----------------------------------------------------------------------
-- *
-- * VNetBridgeProcRead --
-- *
-- * Callback for read operation on this bridge entry in vnets proc fs.
-- *
-- * Results:
-- * Length of read operation.
-- *
-- * Side effects:
-- * None.
-- *
-- *----------------------------------------------------------------------
-- */
--
--int
--VNetBridgeProcRead(char *page, // IN/OUT: buffer to write into
-- char **start, // OUT: 0 if file < 4k, else offset into page
-- off_t off, // IN: (unused) offset of read into the file
-- int count, // IN: (unused) maximum number of bytes to read
-- int *eof, // OUT: TRUE if there is nothing more to read
-- void *data) // IN: client data - pointer to bridge
--{
-- VNetBridge *bridge = (VNetBridge*)data;
-- int len = 0;
--
-- if (!bridge) {
-- return len;
-- }
--
-- len += VNetPrintPort(&bridge->port, page+len);
--
-- len += sprintf(page+len, "dev %s ", bridge->name);
--
-- len += sprintf(page+len, "\n");
--
-- *start = 0;
-- *eof = 1;
-- return len;
--}
---- a/vmnet-only/driver.c
-+++ b/vmnet-only/driver.c
-@@ -1785,21 +1785,17 @@ VNetSetMACUnique(VNetPort *port, // IN:
- *----------------------------------------------------------------------
- */
-
--int
-+void
- VNetPrintJack(const VNetJack *jack, // IN: jack
-- char *buf) // OUT: info about jack
-+ struct seq_file *seqf) // OUT: info about jack
- {
-- int len = 0;
--
- read_lock(&vnetPeerLock);
- if (!jack->peer) {
-- len += sprintf(buf+len, "connected not ");
-+ seq_printf(seqf, "connected not ");
- } else {
-- len += sprintf(buf+len, "connected %s ", jack->peer->name);
-+ seq_printf(seqf, "connected %s ", jack->peer->name);
- }
- read_unlock(&vnetPeerLock);
--
-- return len;
- }
-
-
-@@ -1819,52 +1815,48 @@ VNetPrintJack(const VNetJack *jack, // IN: jack
- *----------------------------------------------------------------------
- */
-
--int
-+void
- VNetPrintPort(const VNetPort *port, // IN: port
-- char *buf) // OUT: info about port
-+ struct seq_file *seqf) // OUT: info about port
- {
-- int len = 0;
-+ VNetPrintJack(&port->jack, seqf);
-
-- len += VNetPrintJack(&port->jack, buf+len);
--
-- len += sprintf(buf+len, "mac %02x:%02x:%02x:%02x:%02x:%02x ",
-+ seq_printf(seqf, "mac %02x:%02x:%02x:%02x:%02x:%02x ",
- port->paddr[0], port->paddr[1], port->paddr[2],
- port->paddr[3], port->paddr[4], port->paddr[5]);
-
-- len += sprintf(buf+len, "ladrf %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x ",
-+ seq_printf(seqf, "ladrf %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x ",
- port->ladrf[0], port->ladrf[1], port->ladrf[2],
- port->ladrf[3], port->ladrf[4], port->ladrf[5],
- port->ladrf[6], port->ladrf[7]);
-
-- len += sprintf(buf+len, "flags IFF_RUNNING");
-+ seq_printf(seqf, "flags IFF_RUNNING");
-
- if (port->flags & IFF_UP) {
-- len += sprintf(buf+len, ",IFF_UP");
-+ seq_printf(seqf, ",IFF_UP");
- }
-
- if (port->flags & IFF_BROADCAST) {
-- len += sprintf(buf+len, ",IFF_BROADCAST");
-+ seq_printf(seqf, ",IFF_BROADCAST");
- }
-
- if (port->flags & IFF_DEBUG) {
-- len += sprintf(buf+len, ",IFF_DEBUG");
-+ seq_printf(seqf, ",IFF_DEBUG");
- }
-
- if (port->flags & IFF_PROMISC) {
-- len += sprintf(buf+len, ",IFF_PROMISC");
-+ seq_printf(seqf, ",IFF_PROMISC");
- }
-
- if (port->flags & IFF_MULTICAST) {
-- len += sprintf(buf+len, ",IFF_MULTICAST");
-+ seq_printf(seqf, ",IFF_MULTICAST");
- }
-
- if (port->flags & IFF_ALLMULTI) {
-- len += sprintf(buf+len, ",IFF_ALLMULTI");
-+ seq_printf(seqf, ",IFF_ALLMULTI");
- }
-
-- len += sprintf(buf+len, " ");
--
-- return len;
-+ seq_printf(seqf, " ");
- }
-
-
---- a/vmnet-only/hub.c
-+++ b/vmnet-only/hub.c
-@@ -25,6 +25,7 @@
- #include <linux/sched.h>
- #include <linux/slab.h>
- #include <linux/poll.h>
-+#include <linux/seq_file.h>
-
- #include <linux/netdevice.h>
- #include <linux/etherdevice.h>
-@@ -71,8 +72,6 @@ static void VNetHubReceive(VNetJack *this, struct sk_buff *skb);
- static Bool VNetHubCycleDetect(VNetJack *this, int generation);
- static void VNetHubPortsChanged(VNetJack *this);
- static int VNetHubIsBridged(VNetJack *this);
--static int VNetHubProcRead(char *page, char **start, off_t off,
-- int count, int *eof, void *data);
-
- static VNetHub *vnetHub;
- static DEFINE_SPINLOCK(vnetHubLock);
-@@ -241,6 +240,53 @@ VNetHub_AllocPvn(uint8 id[]) // IN: the PVN ID to alloc on
- /*
- *----------------------------------------------------------------------
- *
-+ * VNetHubProcShow --
-+ *
-+ * Callback for read operation on hub entry in vnets proc fs.
-+ *
-+ * Results:
-+ * Length of read operation.
-+ *
-+ * Side effects:
-+ * None.
-+ *
-+ *----------------------------------------------------------------------
-+ */
-+
-+int
-+VNetHubProcShow(struct seq_file *seqf, // IN/OUT: buffer to write into
-+ void *data) // IN: client data - not used
-+{
-+ VNetJack *jack = (VNetJack*)data;
-+ VNetHub *hub;
-+
-+ if (!jack || !jack->private) {
-+ return 0;
-+ }
-+ hub = (VNetHub*)jack->private;
-+
-+ VNetPrintJack(jack, seqf);
-+
-+ seq_printf(seqf, "tx %u ", hub->stats[jack->index].tx);
-+ seq_printf(seqf, "\n");
-+ return 0;
-+}
-+
-+static int proc_hub_open(struct inode *inode, struct file *file)
-+{
-+ return single_open(file, VNetHubProcShow, PDE_DATA(inode));
-+}
-+
-+static const struct file_operations proc_hub_fops = {
-+ .open = proc_hub_open,
-+ .read = seq_read,
-+ .llseek = seq_lseek,
-+ .release = seq_release,
-+};
-+
-+/*
-+ *----------------------------------------------------------------------
-+ *
- * VNetHubAlloc --
- *
- * Allocate a jack on this hub.
-@@ -354,7 +400,7 @@ VNetHubAlloc(Bool allocPvn, // IN: TRUE for PVN, FALSE for vnet
- * Make proc entry for this jack.
- */
-
-- retval = VNetProc_MakeEntry(jack->name, S_IFREG, &jack->procEntry);
-+ retval = VNetProc_MakeEntryOps(jack->name, S_IFREG, &jack->procEntry, &proc_hub_fops, jack);
- if (retval) {
- if (retval == -ENXIO) {
- jack->procEntry = NULL;
-@@ -362,9 +408,6 @@ VNetHubAlloc(Bool allocPvn, // IN: TRUE for PVN, FALSE for vnet
- hub->used[i] = FALSE;
- return NULL;
- }
-- } else {
-- jack->procEntry->read_proc = VNetHubProcRead;
-- jack->procEntry->data = jack;
- }
-
- /*
-@@ -686,46 +729,3 @@ VNetHubIsBridged(VNetJack *this)
- }
-
-
--/*
-- *----------------------------------------------------------------------
-- *
-- * VNetHubProcRead --
-- *
-- * Callback for read operation on hub entry in vnets proc fs.
-- *
-- * Results:
-- * Length of read operation.
-- *
-- * Side effects:
-- * None.
-- *
-- *----------------------------------------------------------------------
-- */
--
--int
--VNetHubProcRead(char *page, // IN/OUT: buffer to write into
-- char **start, // OUT: 0 if file < 4k, else offset into page
-- off_t off, // IN: offset of read into the file
-- int count, // IN: maximum number of bytes to read
-- int *eof, // OUT: TRUE if there is nothing more to read
-- void *data) // IN: client data - not used
--{
-- VNetJack *jack = (VNetJack*)data;
-- VNetHub *hub;
-- int len = 0;
--
-- if (!jack || !jack->private) {
-- return len;
-- }
-- hub = (VNetHub*)jack->private;
--
-- len += VNetPrintJack(jack, page+len);
--
-- len += sprintf(page+len, "tx %u ", hub->stats[jack->index].tx);
--
-- len += sprintf(page+len, "\n");
--
-- *start = 0;
-- *eof = 1;
-- return len;
--}
---- a/vmnet-only/netif.c
-+++ b/vmnet-only/netif.c
-@@ -62,8 +62,6 @@ static int VNetNetifStartXmit(struct sk_buff *skb, struct net_device *dev);
- static struct net_device_stats *VNetNetifGetStats(struct net_device *dev);
- static int VNetNetifSetMAC(struct net_device *dev, void *addr);
- static void VNetNetifSetMulticast(struct net_device *dev);
--static int VNetNetIfProcRead(char *page, char **start, off_t off,
-- int count, int *eof, void *data);
-
- /*
- *----------------------------------------------------------------------
-@@ -116,6 +114,53 @@ VNetNetIfSetup(struct net_device *dev) // IN:
-
- }
-
-+/*
-+ *----------------------------------------------------------------------
-+ *
-+ * VNetNetIfProcShow --
-+ *
-+ * Callback for read operation on this netif entry in vnets proc fs.
-+ *
-+ * Results:
-+ * Length of read operation.
-+ *
-+ * Side effects:
-+ * None.
-+ *
-+ *----------------------------------------------------------------------
-+ */
-+
-+int
-+VNetNetIfProcShow(struct seq_file *seqf, // IN/OUT: buffer to write into
-+ void *data) // IN: client data
-+{
-+ VNetNetIF *netIf = data;
-+
-+ if (!netIf) {
-+ return 0;
-+ }
-+
-+ VNetPrintPort(&netIf->port, seqf);
-+
-+ seq_printf(seqf, "dev %s ", netIf->dev->name);
-+
-+ seq_printf(seqf, "\n");
-+
-+ return 0;
-+}
-+
-+static int proc_netif_open(struct inode *inode, struct file *file)
-+{
-+ return single_open(file, VNetNetIfProcShow, PDE_DATA(inode));
-+}
-+
-+static const struct file_operations proc_netif_fops = {
-+ .open = proc_netif_open,
-+ .read = seq_read,
-+ .llseek = seq_lseek,
-+ .release = seq_release,
-+};
-+
-
- /*
- *----------------------------------------------------------------------
-@@ -180,16 +225,13 @@ VNetNetIf_Create(char *devName, // IN:
- * Make proc entry for this jack.
- */
-
-- retval = VNetProc_MakeEntry(netIf->port.jack.name, S_IFREG,
-- &netIf->port.jack.procEntry);
-+ retval = VNetProc_MakeEntryOps(netIf->port.jack.name, S_IFREG,
-+ &netIf->port.jack.procEntry, &proc_netif_fops, netIf);
- if (retval) {
- netIf->port.jack.procEntry = NULL;
- if (retval != -ENXIO) {
- goto outFreeDev;
- }
-- } else {
-- netIf->port.jack.procEntry->read_proc = VNetNetIfProcRead;
-- netIf->port.jack.procEntry->data = netIf;
- }
-
- /*
-@@ -553,45 +595,3 @@ VNetNetifGetStats(struct net_device *dev) // IN:
- return &netIf->stats;
- }
-
--
--/*
-- *----------------------------------------------------------------------
-- *
-- * VNetNetIfProcRead --
-- *
-- * Callback for read operation on this netif entry in vnets proc fs.
-- *
-- * Results:
-- * Length of read operation.
-- *
-- * Side effects:
-- * None.
-- *
-- *----------------------------------------------------------------------
-- */
--
--int
--VNetNetIfProcRead(char *page, // IN/OUT: buffer to write into
-- char **start, // OUT: 0 if file < 4k, else offset into page
-- off_t off, // IN: (unused) offset of read into the file
-- int count, // IN: (unused) maximum number of bytes to read
-- int *eof, // OUT: TRUE if there is nothing more to read
-- void *data) // IN: client data
--{
-- VNetNetIF *netIf = data;
-- int len = 0;
--
-- if (!netIf) {
-- return len;
-- }
--
-- len += VNetPrintPort(&netIf->port, page+len);
--
-- len += sprintf(page+len, "dev %s ", netIf->dev->name);
--
-- len += sprintf(page+len, "\n");
--
-- *start = 0;
-- *eof = 1;
-- return len;
--}
---- a/vmnet-only/procfs.c
-+++ b/vmnet-only/procfs.c
-@@ -45,10 +45,6 @@
-
- #if defined(CONFIG_PROC_FS)
-
--static int VNetProcMakeEntryInt(VNetProcEntry *parent, char *name, int mode,
-- VNetProcEntry **ret);
--static void VNetProcRemoveEntryInt(VNetProcEntry *node, VNetProcEntry *parent);
--
- static VNetProcEntry *base = NULL;
-
-
-@@ -71,7 +67,12 @@ static VNetProcEntry *base = NULL;
- int
- VNetProc_Init(void)
- {
-- return VNetProcMakeEntryInt(NULL, "vmnet", S_IFDIR, &base);
-+ base = proc_mkdir("vmnet", NULL);
-+ if(IS_ERR(base)) {
-+ base = NULL;
-+ return PTR_ERR(base);
-+ }
-+ return 0;
- }
-
-
-@@ -94,14 +95,14 @@ VNetProc_Init(void)
- void
- VNetProc_Cleanup(void)
- {
-- VNetProcRemoveEntryInt(base, NULL);
-+ proc_remove(base);
- base = NULL;
- }
-
- /*
- *----------------------------------------------------------------------
- *
-- * VNetProcMakeEntryInt --
-+ * VNetProc_MakeEntryOps --
- *
- * Make an entry in the vnets proc file system.
- *
-@@ -116,72 +117,21 @@ VNetProc_Cleanup(void)
- */
-
- int
--VNetProcMakeEntryInt(VNetProcEntry *parent, // IN:
-- char *name, // IN:
-+VNetProc_MakeEntryOps(char *name, // IN:
- int mode, // IN:
-- VNetProcEntry **ret) // OUT:
-+ VNetProcEntry **ret,
-+ const struct file_operations *fops,
-+ void *data
-+ ) // OUT:
- {
- VNetProcEntry *ent;
-- ent = create_proc_entry(name, mode, parent);
-+ ent = proc_create_data(name, mode, base, fops, data);
- *ret = ent;
- if (!ent)
- return -ENOMEM;
- return 0;
- }
-
--
--/*
-- *----------------------------------------------------------------------
-- *
-- * VNetProcRemoveEntryInt --
-- *
-- * Remove a previously installed proc entry.
-- *
-- * Results:
-- * None.
-- *
-- * Side effects:
-- * None.
-- *
-- *----------------------------------------------------------------------
-- */
--
--void
--VNetProcRemoveEntryInt(VNetProcEntry *node,
-- VNetProcEntry *parent)
--{
-- if (node) {
-- remove_proc_entry(node->name, parent);
-- }
--}
--
--
--/*
-- *----------------------------------------------------------------------
-- *
-- * VNetProc_MakeEntry --
-- *
-- * Make an entry in the vnets proc file system.
-- *
-- * Results:
-- * errno. If errno is 0 and ret is non NULL then ret is filled
-- * in with the resulting proc entry.
-- *
-- * Side effects:
-- * None.
-- *
-- *----------------------------------------------------------------------
-- */
--
--int
--VNetProc_MakeEntry(char *name, // IN:
-- int mode, // IN:
-- VNetProcEntry **ret) // OUT:
--{
-- return VNetProcMakeEntryInt(base, name, mode, ret);
--}
--
--
- /*
- *----------------------------------------------------------------------
- *
-@@ -201,7 +151,8 @@ VNetProc_MakeEntry(char *name, // IN:
- void
- VNetProc_RemoveEntry(VNetProcEntry *node)
- {
-- VNetProcRemoveEntryInt(node, base);
-+ if(node)
-+ proc_remove(node);
- }
-
-
-@@ -253,31 +204,6 @@ VNetProc_Cleanup(void)
- }
-
-
--/*
-- *----------------------------------------------------------------------
-- *
-- * VNetProc_MakeEntry --
-- *
-- * Make an entry in the vnets proc file system.
-- *
-- * Results:
-- * errno. If errno is 0 and ret is non NULL then ret is filled
-- * in with the resulting proc entry.
-- *
-- * Side effects:
-- * None.
-- *
-- *----------------------------------------------------------------------
-- */
--
--int
--VNetProc_MakeEntry(char *name,
-- int mode,
-- VNetProcEntry **ret)
--{
-- return -ENXIO;
--}
--
-
- /*
- *----------------------------------------------------------------------
---- a/vmnet-only/userif.c
-+++ b/vmnet-only/userif.c
-@@ -389,7 +389,7 @@ VNetUserIfReceive(VNetJack *this, // IN
- /*
- *----------------------------------------------------------------------
- *
-- * VNetUserIfProcRead --
-+ * VNetUserIfProcShow --
- *
- * Callback for read operation on this userif entry in vnets proc fs.
- *
-@@ -403,30 +403,23 @@ VNetUserIfReceive(VNetJack *this, // IN
- */
-
- static int
--VNetUserIfProcRead(char *page, // IN/OUT: buffer to write into
-- char **start, // OUT: 0 if file < 4k, else offset into
-- // page
-- off_t off, // IN: offset of read into the file
-- int count, // IN: maximum number of bytes to read
-- int *eof, // OUT: TRUE if there is nothing more to
-- // read
-+VNetUserIfProcShow(struct seq_file *seqf, // IN/OUT: buffer to write into
- void *data) // IN: client data - not used
- {
- VNetUserIF *userIf = (VNetUserIF*)data;
-- int len = 0;
-
- if (!userIf) {
-- return len;
-+ return 0;
- }
-
-- len += VNetPrintPort(&userIf->port, page+len);
-+ VNetPrintPort(&userIf->port, seqf);
-
-- len += sprintf(page+len, "read %u written %u queued %u ",
-+ seq_printf(seqf, "read %u written %u queued %u ",
- userIf->stats.read,
- userIf->stats.written,
- userIf->stats.queued);
-
-- len += sprintf(page+len,
-+ seq_printf(seqf,
- "dropped.down %u dropped.mismatch %u "
- "dropped.overflow %u dropped.largePacket %u",
- userIf->stats.droppedDown,
-@@ -434,13 +427,23 @@ VNetUserIfProcRead(char *page, // IN/OUT: buffer to write into
- userIf->stats.droppedOverflow,
- userIf->stats.droppedLargePacket);
-
-- len += sprintf(page+len, "\n");
-+ seq_printf(seqf, "\n");
-
-- *start = 0;
-- *eof = 1;
-- return len;
-+ return 0;
-+}
-+
-+static int proc_userif_open(struct inode *inode, struct file *file)
-+{
-+ return single_open(file, VNetUserIfProcShow, PDE_DATA(inode));
- }
-
-+static const struct file_operations proc_userif_fops = {
-+ .open = proc_userif_open,
-+ .read = seq_read,
-+ .llseek = seq_lseek,
-+ .release = seq_release,
-+};
-+
-
- /*
- *----------------------------------------------------------------------
-@@ -1036,8 +1039,8 @@ VNetUserIf_Create(VNetPort **ret) // OUT
- * Make proc entry for this jack.
- */
-
-- retval = VNetProc_MakeEntry(userIf->port.jack.name, S_IFREG,
-- &userIf->port.jack.procEntry);
-+ retval = VNetProc_MakeEntryOps(userIf->port.jack.name, S_IFREG,
-+ &userIf->port.jack.procEntry, &proc_userif_fops, userIf);
- if (retval) {
- if (retval == -ENXIO) {
- userIf->port.jack.procEntry = NULL;
-@@ -1045,9 +1048,6 @@ VNetUserIf_Create(VNetPort **ret) // OUT
- kfree(userIf);
- return retval;
- }
-- } else {
-- userIf->port.jack.procEntry->read_proc = VNetUserIfProcRead;
-- userIf->port.jack.procEntry->data = userIf;
- }
-
- /*
---- a/vmnet-only/vnetInt.h
-+++ b/vmnet-only/vnetInt.h
-@@ -171,12 +171,14 @@ VNetJack *VNetDisconnect(VNetJack *jack);
-
- void VNetSend(const VNetJack *jack, struct sk_buff *skb);
-
--int VNetProc_MakeEntry(char *name, int mode,
-- VNetProcEntry **ret);
-+int VNetProc_MakeEntryOps(char *name, int mode,
-+ VNetProcEntry **ret,
-+ const struct file_operations *fops,
-+ void *data);
-
- void VNetProc_RemoveEntry(VNetProcEntry *node);
-
--int VNetPrintJack(const VNetJack *jack, char *buf);
-+void VNetPrintJack(const VNetJack *jack, struct seq_file *seqf);
-
- int VNet_MakeMACAddress(VNetPort *port);
-
-@@ -196,7 +198,7 @@ Bool VNetPacketMatch(const uint8 *destAddr, const uint8 *ifAddr,
-
- Bool VNetCycleDetectIf(const char *name, int generation);
-
--int VNetPrintPort(const VNetPort *port, char *buf);
-+void VNetPrintPort(const VNetPort *port, struct seq_file *seqf);
-
- int VNetSnprintf(char *str, size_t size, const char *format, ...);
-
---
---- a/vmblock-only/linux/control.c 2013-05-21 19:21:19.165750556 +0200
-+++ b/vmblock-only/linux/control.c 2013-05-21 19:22:18.363747723 +0200
-@@ -208,9 +208,10 @@
- VMBlockSetProcEntryOwner(controlProcMountpoint);
-
- /* Create /proc/fs/vmblock/dev */
-- controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME,
-- VMBLOCK_CONTROL_MODE,
-- controlProcDirEntry);
-+ controlProcEntry = proc_create(VMBLOCK_CONTROL_DEVNAME,
-+ VMBLOCK_CONTROL_MODE,
-+ controlProcDirEntry,
-+ &ControlFileOps);
- if (!controlProcEntry) {
- Warning("SetupProcDevice: could not create " VMBLOCK_DEVICE "\n");
- remove_proc_entry(VMBLOCK_CONTROL_MOUNTPOINT, controlProcDirEntry);
-@@ -218,7 +219,6 @@
- return -EINVAL;
- }
-
-- controlProcEntry->proc_fops = &ControlFileOps;
- return 0;
- }
-
diff --git a/app-emulation/vmware-modules/files/271-3.11-00-readdir.patch b/app-emulation/vmware-modules/files/271-3.11-00-readdir.patch
deleted file mode 100644
index b2f76d3e2b30..000000000000
--- a/app-emulation/vmware-modules/files/271-3.11-00-readdir.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-replaces usage of vfs_readdir with iterate_dir. origionally found here:
-https://bugs.gentoo.org/show_bug.cgi?id=508204
-
-diff -Naur vmblock-only/linux/file.c vmblock-only/linux/file.c
---- vmblock-only/linux/file.c 2013-11-05 23:33:26.000000000 -0500
-+++ vmblock-only/linux/file.c 2014-04-26 10:58:03.062635343 -0400
-@@ -166,11 +166,9 @@
-
- static int
- FileOpReaddir(struct file *file, // IN
-- void *dirent, // IN
-- filldir_t filldir) // IN
-+ struct dir_context *ctx)
- {
- int ret;
-- FilldirInfo info;
- struct file *actualFile;
-
- if (!file) {
-@@ -184,11 +182,8 @@
- return -EINVAL;
- }
-
-- info.filldir = filldir;
-- info.dirent = dirent;
--
- actualFile->f_pos = file->f_pos;
-- ret = vfs_readdir(actualFile, Filldir, &info);
-+ ret = iterate_dir(actualFile, ctx);
- file->f_pos = actualFile->f_pos;
-
- return ret;
-@@ -237,7 +232,7 @@
-
-
- struct file_operations RootFileOps = {
-- .readdir = FileOpReaddir,
-+ .iterate = FileOpReaddir,
- .open = FileOpOpen,
- .release = FileOpRelease,
- };
diff --git a/app-emulation/vmware-modules/files/271-3.11-01-filldir.patch b/app-emulation/vmware-modules/files/271-3.11-01-filldir.patch
deleted file mode 100644
index 2eec99b7c1f8..000000000000
--- a/app-emulation/vmware-modules/files/271-3.11-01-filldir.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-simply remove the code for Filldir since it is no longer used with the new
-iterate_dir API
-
-diff -rupN vmblock-only/linux/file.c vmblock-only.new/linux/file.c
---- vmblock-only/linux/file.c 2014-10-07 23:22:46.832469618 -0400
-+++ vmblock-only.new/linux/file.c 2014-10-07 23:24:35.276472720 -0400
-@@ -38,46 +38,6 @@ typedef u64 inode_num_t;
- typedef ino_t inode_num_t;
- #endif
-
--/* Specifically for our filldir_t callback */
--typedef struct FilldirInfo {
-- filldir_t filldir;
-- void *dirent;
--} FilldirInfo;
--
--
--/*
-- *----------------------------------------------------------------------------
-- *
-- * Filldir --
-- *
-- * Callback function for readdir that we use in place of the one provided.
-- * This allows us to specify that each dentry is a symlink, but pass through
-- * everything else to the original filldir function.
-- *
-- * Results:
-- * Original filldir's return value.
-- *
-- * Side effects:
-- * Directory information gets copied to user's buffer.
-- *
-- *----------------------------------------------------------------------------
-- */
--
--static int
--Filldir(void *buf, // IN: Dirent buffer passed from FileOpReaddir
-- const char *name, // IN: Dirent name
-- int namelen, // IN: len of dirent's name
-- loff_t offset, // IN: Offset
-- inode_num_t ino, // IN: Inode number of dirent
-- unsigned int d_type) // IN: Type of file
--{
-- FilldirInfo *info = buf;
--
-- /* Specify DT_LNK regardless */
-- return info->filldir(info->dirent, name, namelen, offset, ino, DT_LNK);
--}
--
--
- /* File operations */
-
- /*
diff --git a/app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch b/app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch
deleted file mode 100644
index 1bf22077b727..000000000000
--- a/app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-the new API to get the hooknum
-origionally from http://forums.gentoo.org/viewtopic-t-979802-start-25.html
-
---- work/vmnet-only/filter.c 2013-08-27 20:29:04.000000000 +0100
-+++ patched/vmnet-only/filter.c 2014-01-26 01:09:05.184893854 +0000
-@@ -27,6 +27,7 @@
- #include "compat_module.h"
- #include <linux/mutex.h>
- #include <linux/netdevice.h>
-+#include <linux/version.h>
- #if COMPAT_LINUX_VERSION_CHECK_LT(3, 2, 0)
- # include <linux/module.h>
- #else
-@@ -203,7 +204,11 @@
- #endif
-
- static unsigned int
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
- VNetFilterHookFn(unsigned int hooknum, // IN:
-+#else
-+VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:
-+#endif
- #ifdef VMW_NFHOOK_USES_SKB
- struct sk_buff *skb, // IN:
- #else
-@@ -252,7 +257,12 @@
-
- /* When the host transmits, hooknum is VMW_NF_INET_POST_ROUTING. */
- /* When the host receives, hooknum is VMW_NF_INET_LOCAL_IN. */
-- transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
-+
-+ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
-+ transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
-+ #else
-+ transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
-+ #endif
-
- packetHeader = compat_skb_network_header(skb);
- ip = (struct iphdr*)packetHeader;
diff --git a/app-emulation/vmware-modules/files/271-3.15-00-readlink.patch b/app-emulation/vmware-modules/files/271-3.15-00-readlink.patch
deleted file mode 100644
index b8ee07822021..000000000000
--- a/app-emulation/vmware-modules/files/271-3.15-00-readlink.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-replacing usage of vfs_readlink with new readlink_copy API
-see: http://permalink.gmane.org/gmane.linux.kernel.commits.head/445090
-
-diff -rupN vmblock-only/linux/inode.c vmblock-only/linux/inode.c
---- vmblock-only/linux/inode.c 2014-10-05 23:20:14.545218357 -0400
-+++ vmblock-only/linux/inode.c 2014-10-05 23:33:01.549259933 -0400
-@@ -178,7 +178,7 @@ InodeOpReadlink(struct dentry *dentry,
- return -EINVAL;
- }
-
-- return vfs_readlink(dentry, buffer, buflen, iinfo->name);
-+ return readlink_copy(buffer, buflen, iinfo->name);
- }
-
-
diff --git a/app-emulation/vmware-modules/files/271-3.15-01-vsock.patch b/app-emulation/vmware-modules/files/271-3.15-01-vsock.patch
deleted file mode 100644
index 9e8d9d1a32f7..000000000000
--- a/app-emulation/vmware-modules/files/271-3.15-01-vsock.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-removing the no longer existing second parameter to sk_data_ready
-doesn't seem it ever served a purpose.
-
-diff -rupN vsock-only/linux/notify.c vsock-only.new/linux/notify.c
---- vsock-only/linux/notify.c 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only.new/linux/notify.c 2014-10-05 23:46:47.943304728 -0400
-@@ -515,8 +515,11 @@ VSockVmciHandleWrote(struct sock *sk,
- vsk = vsock_sk(sk);
- PKT_FIELD(vsk, sentWaitingRead) = FALSE;
- #endif
--
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
-
-diff -rupN vsock-only/linux/notifyQState.c vsock-only.new/linux/notifyQState.c
---- vsock-only/linux/notifyQState.c 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only.new/linux/notifyQState.c 2014-10-05 23:46:33.231303931 -0400
-@@ -164,7 +164,11 @@ VSockVmciHandleWrote(struct sock *sk,
- struct sockaddr_vm *dst, // IN: unused
- struct sockaddr_vm *src) // IN: unused
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
-
-@@ -566,7 +570,11 @@ VSockVmciNotifyPktRecvPostDequeue(struct
- }
-
- /* See the comment in VSockVmciNotifyPktSendPostEnqueue */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
- return err;
diff --git a/app-emulation/vmware-modules/files/271-3.17-00-netdev.patch b/app-emulation/vmware-modules/files/271-3.17-00-netdev.patch
deleted file mode 100644
index e3ee3aa09939..000000000000
--- a/app-emulation/vmware-modules/files/271-3.17-00-netdev.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-new alloc_netdev requires a new parameter. All examples in the kernel i've seen just
-use the constant NET_NAME_UNKNOWN.
-origionally from: https://communities.vmware.com/message/2425189
-
-diff -rupN vmnet-only/netif.c vmnet-only.new/netif.c
---- vmnet-only/netif.c 2013-11-06 00:40:52.000000000 -0500
-+++ vmnet-only.new/netif.c 2014-10-09 17:29:12.361307961 -0400
-@@ -149,7 +149,7 @@ VNetNetIf_Create(char *devName, // IN:
- memcpy(deviceName, devName, sizeof deviceName);
- NULL_TERMINATE_STRING(deviceName);
-
-- dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
-+ dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_USER, VNetNetIfSetup);
- if (!dev) {
- retval = -ENOMEM;
- goto out;
diff --git a/app-emulation/vmware-modules/files/271-3.19-00-vmnet-warning.patch b/app-emulation/vmware-modules/files/271-3.19-00-vmnet-warning.patch
deleted file mode 100644
index b4d30c97a59c..000000000000
--- a/app-emulation/vmware-modules/files/271-3.19-00-vmnet-warning.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -rupN vmnet-only/vm_device_version.h vmnet-only.new/vm_device_version.h
---- vmnet-only/vm_device_version.h 2013-11-06 00:40:52.000000000 -0500
-+++ vmnet-only.new/vm_device_version.h 2015-05-05 12:03:06.879202223 -0400
-@@ -53,7 +53,9 @@
- * VMware HD Audio codec
- * VMware HD Audio controller
- */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
- #define PCI_VENDOR_ID_VMWARE 0x15AD
-+#endif
- #define PCI_DEVICE_ID_VMWARE_SVGA2 0x0405
- #define PCI_DEVICE_ID_VMWARE_SVGA 0x0710
- #define PCI_DEVICE_ID_VMWARE_NET 0x0720
diff --git a/app-emulation/vmware-modules/files/271-3.19-01-vmblock-path.patch b/app-emulation/vmware-modules/files/271-3.19-01-vmblock-path.patch
deleted file mode 100644
index 178d1478ae59..000000000000
--- a/app-emulation/vmware-modules/files/271-3.19-01-vmblock-path.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Sources:
-https://531682.bugs.gentoo.org/attachment.cgi?id=396484
-https://531682.bugs.gentoo.org/attachment.cgi?id=396482
-diff -rupN vmblock-only.orig/linux/dentry.c vmblock-only/linux/dentry.c
---- vmblock-only.orig/linux/dentry.c 2015-02-14 18:05:46.000000000 -0500
-+++ vmblock-only/linux/dentry.c 2015-02-14 18:09:59.000000000 -0500
-@@ -63,7 +63,7 @@ DentryOpRevalidate(struct dentry *dentry
- unsigned int flags) // IN: lookup flags & intent
- {
- VMBlockInodeInfo *iinfo;
-- struct nameidata actualNd;
-+ struct path actualNd;
- struct dentry *actualDentry;
- int ret;
-
-diff -rupN vmblock-only.orig/linux/filesystem.c vmblock-only/linux/filesystem.c
---- vmblock-only.orig/linux/filesystem.c 2014-11-20 19:29:15.000000000 -0500
-+++ vmblock-only/linux/filesystem.c 2015-02-14 18:10:49.000000000 -0500
-@@ -322,7 +322,7 @@ Iget(struct super_block *sb, // IN: f
- {
- VMBlockInodeInfo *iinfo;
- struct inode *inode;
-- struct nameidata actualNd;
-+ struct path actualNd;
-
- ASSERT(sb);
-
-diff -rupN vmblock-only.orig/shared/compat_namei.h vmblock-only/shared/compat_namei.h
---- vmblock-only.orig/shared/compat_namei.h 2014-11-20 19:29:15.000000000 -0500
-+++ vmblock-only/shared/compat_namei.h 2015-02-14 18:08:38.000000000 -0500
-@@ -26,21 +26,21 @@
- * struct. They were both replaced with a struct path.
- */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
--#define compat_vmw_nd_to_dentry(nd) (nd).path.dentry
-+#define compat_vmw_nd_to_dentry(nd) (nd).dentry
- #else
- #define compat_vmw_nd_to_dentry(nd) (nd).dentry
- #endif
-
- /* In 2.6.25-rc2, path_release(&nd) was replaced with path_put(&nd.path). */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
--#define compat_path_release(nd) path_put(&(nd)->path)
-+#define compat_path_release(nd) path_put(nd)
- #else
- #define compat_path_release(nd) path_release(nd)
- #endif
-
- /* path_lookup was removed in 2.6.39 merge window VFS merge */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
--#define compat_path_lookup(name, flags, nd) kern_path(name, flags, &((nd)->path))
-+#define compat_path_lookup(name, flags, nd) kern_path(name, flags, nd)
- #else
- #define compat_path_lookup(name, flags, nd) path_lookup(name, flags, nd)
- #endif
-diff -u vmblock-only.orig/linux/file.c vmblock-only/linux/file.c
---- vmblock-only.orig/linux/file.c 2015-02-11 12:18:29.000000000 -0500
-+++ vmblock-only/linux/file.c 2015-02-11 12:41:41.000000000 -0500
-@@ -92,7 +92,7 @@
- * and that would try to acquire the inode's semaphore; if the two inodes
- * are the same we'll deadlock.
- */
-- if (actualFile->f_dentry && inode == actualFile->f_dentry->d_inode) {
-+ if (actualFile->f_path.dentry && inode == actualFile->f_path.dentry->d_inode) {
- Warning("FileOpOpen: identical inode encountered, open cannot succeed.\n");
- if (filp_close(actualFile, current->files) < 0) {
- Warning("FileOpOpen: unable to close opened file.\n");
diff --git a/app-emulation/vmware-modules/files/271-3.19-02-vmci.patch b/app-emulation/vmware-modules/files/271-3.19-02-vmci.patch
deleted file mode 100644
index a8ec2b11daf9..000000000000
--- a/app-emulation/vmware-modules/files/271-3.19-02-vmci.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -rupN vmci-only/linux/vmciKernelIf.c vmci-only.new/linux/vmciKernelIf.c
---- vmci-only/linux/vmciKernelIf.c 2015-05-05 11:22:55.276071501 -0400
-+++ vmci-only.new/linux/vmciKernelIf.c 2015-05-05 11:23:58.912074950 -0400
-@@ -40,6 +40,7 @@
- #include <linux/socket.h> /* For memcpy_{to,from}iovec(). */
- #include <linux/vmalloc.h>
- #include <linux/wait.h>
-+#include <linux/skbuff.h>
-
- #include "compat_highmem.h"
- #include "compat_interrupt.h"
-diff -rupN vmci-only/linux/vmciKernelIf.c vmci-only.new/linux/vmciKernelIf.c
---- vmci-only/linux/vmciKernelIf.c 2013-11-05 23:33:26.000000000 -0500
-+++ vmci-only.new/linux/vmciKernelIf.c 2015-05-05 11:21:59.929068500 -0400
-@@ -1246,11 +1246,11 @@ __VMCIMemcpyFromQueue(void *dest,
- }
-
- if (isIovec) {
-- struct iovec *iov = (struct iovec *)dest;
-+ struct msghdr *msg = dest;
- int err;
-
- /* The iovec will track bytesCopied internally. */
-- err = memcpy_toiovec(iov, (uint8 *)va + pageOffset, toCopy);
-+ err = memcpy_to_msg(msg, (uint8 *)va + pageOffset, toCopy);
- if (err != 0) {
- kunmap(kernelIf->page[pageIndex]);
- return VMCI_ERROR_INVALID_ARGS;
-
diff --git a/app-emulation/vmware-modules/files/271-3.19-03-vmnet.patch b/app-emulation/vmware-modules/files/271-3.19-03-vmnet.patch
deleted file mode 100644
index 041bfb6a6210..000000000000
--- a/app-emulation/vmware-modules/files/271-3.19-03-vmnet.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -ur vmnet-only.orig/driver.c vmnet-only/driver.c
---- vmnet-only.orig/driver.c 2014-06-13 02:38:25.000000000 +0200
-+++ vmnet-only/driver.c 2015-02-21 17:31:22.630656305 +0100
-@@ -1236,8 +1236,8 @@
- struct inode *inode = NULL;
- long err;
-
-- if (filp && filp->f_dentry) {
-- inode = filp->f_dentry->d_inode;
-+ if (filp && filp->f_path.dentry) {
-+ inode = filp->f_path.dentry->d_inode;
- }
- err = VNetFileOpIoctl(inode, filp, iocmd, ioarg);
- return err;
-diff -ur vmnet-only.orig/userif.c vmnet-only/userif.c
---- vmnet-only.orig/userif.c 2014-06-13 02:38:25.000000000 +0200
-+++ vmnet-only/userif.c 2015-02-21 17:37:46.154589854 +0100
-@@ -523,7 +523,10 @@
- .iov_base = buf,
- .iov_len = len,
- };
-- return skb_copy_datagram_iovec(skb, 0, &iov, len);
-+ struct iov_iter to;
-+
-+ iov_iter_init(&to, READ, &iov, 1, len);
-+ return skb_copy_datagram_iter(skb, 0, &to, len);
- }
-
-
diff --git a/app-emulation/vmware-modules/files/271-3.19-04-vsock.patch b/app-emulation/vmware-modules/files/271-3.19-04-vsock.patch
deleted file mode 100644
index 8c9d3cb6dfe3..000000000000
--- a/app-emulation/vmware-modules/files/271-3.19-04-vsock.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2015-05-05 11:26:05.145081792 -0400
-+++ vsock-only.new/linux/af_vsock.c 2015-05-05 11:30:54.304097466 -0400
-@@ -4266,7 +4266,7 @@ VSockVmciDgramSendmsg(struct kiocb *kioc
- goto out;
- }
-
-- memcpy_fromiovec(VMCI_DG_PAYLOAD(dg), msg->msg_iov, len);
-+ memcpy_from_msg(VMCI_DG_PAYLOAD(dg), msg, len);
-
- dg->dst = VMCI_MAKE_HANDLE(remoteAddr->svm_cid, remoteAddr->svm_port);
- dg->src = VMCI_MAKE_HANDLE(vsk->localAddr.svm_cid, vsk->localAddr.svm_port);
diff --git a/app-emulation/vmware-modules/files/271-3.19-05-vsock.patch b/app-emulation/vmware-modules/files/271-3.19-05-vsock.patch
deleted file mode 100644
index 2e412301d096..000000000000
--- a/app-emulation/vmware-modules/files/271-3.19-05-vsock.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2015-05-05 11:31:35.710099711 -0400
-+++ vsock-only.new/linux/af_vsock.c 2015-05-05 11:36:33.260115840 -0400
-@@ -4727,7 +4727,11 @@ VSockVmciDgramRecvmsg(struct kiocb *kioc
- }
-
- /* Place the datagram payload in the user's iovec. */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
- err = skb_copy_datagram_iovec(skb, sizeof *dg, msg->msg_iov, payloadLen);
-+#else
-+ err = skb_copy_datagram_iter(skb, sizeof *dg, &msg->msg_iter, payloadLen);
-+#endif
- if (err) {
- goto out;
- }
diff --git a/app-emulation/vmware-modules/files/271-3.19-06-vmci_qpair.patch b/app-emulation/vmware-modules/files/271-3.19-06-vmci_qpair.patch
deleted file mode 100644
index 1849a378456e..000000000000
--- a/app-emulation/vmware-modules/files/271-3.19-06-vmci_qpair.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -rupN vsock-only.old/linux/af_vsock.c vsock-only/linux/af_vsock.c
---- vsock-only.old/linux/af_vsock.c 2015-05-06 20:41:47.684046762 -0400
-+++ vsock-only/linux/af_vsock.c 2015-05-06 20:52:15.245080779 -0400
-@@ -4629,7 +4629,7 @@ VSockVmciStreamSendmsg(struct kiocb *kio
- * able to send.
- */
-
-- written = vmci_qpair_enquev(vsk->qpair, msg->msg_iov,
-+ written = vmci_qpair_enquev(vsk->qpair, &msg->msg_iter.iov,
- len - totalWritten, 0);
- if (written < 0) {
- err = -ENOMEM;
-@@ -4874,9 +4874,9 @@ VSockVmciStreamRecvmsg(struct kiocb *kio
- }
-
- if (flags & MSG_PEEK) {
-- read = vmci_qpair_peekv(vsk->qpair, msg->msg_iov, len - copied, 0);
-+ read = vmci_qpair_peekv(vsk->qpair, &msg->msg_iter.iov, len - copied, 0);
- } else {
-- read = vmci_qpair_dequev(vsk->qpair, msg->msg_iov, len - copied, 0);
-+ read = vmci_qpair_dequev(vsk->qpair, &msg->msg_iter.iov, len - copied, 0);
- }
-
- if (read < 0) {
diff --git a/app-emulation/vmware-modules/files/271-apic.patch b/app-emulation/vmware-modules/files/271-apic.patch
deleted file mode 100644
index 66cd45933246..000000000000
--- a/app-emulation/vmware-modules/files/271-apic.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/vmmon-only/linux/hostif.c b/vmmon-only/linux/hostif.c
-index f1f4b10..c43242f 100644
---- a/vmmon-only/linux/hostif.c
-+++ b/vmmon-only/linux/hostif.c
-@@ -55,6 +55,7 @@
- #include <linux/kthread.h>
- #include <linux/wait.h>
-
-+#include <asm/apic.h>
-
- #include "vmware.h"
- #include "x86apic.h"
diff --git a/app-emulation/vmware-modules/files/271-filldir.patch b/app-emulation/vmware-modules/files/271-filldir.patch
deleted file mode 100644
index 6eb1f315cd97..000000000000
--- a/app-emulation/vmware-modules/files/271-filldir.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-diff --git a/vmblock-only/linux/file.c b/vmblock-only/linux/file.c
-index d7ac1f6..5499169 100644
---- a/vmblock-only/linux/file.c
-+++ b/vmblock-only/linux/file.c
-@@ -38,46 +38,6 @@ typedef u64 inode_num_t;
- typedef ino_t inode_num_t;
- #endif
-
--/* Specifically for our filldir_t callback */
--typedef struct FilldirInfo {
-- filldir_t filldir;
-- void *dirent;
--} FilldirInfo;
--
--
--/*
-- *----------------------------------------------------------------------------
-- *
-- * Filldir --
-- *
-- * Callback function for readdir that we use in place of the one provided.
-- * This allows us to specify that each dentry is a symlink, but pass through
-- * everything else to the original filldir function.
-- *
-- * Results:
-- * Original filldir's return value.
-- *
-- * Side effects:
-- * Directory information gets copied to user's buffer.
-- *
-- *----------------------------------------------------------------------------
-- */
--
--static int
--Filldir(void *buf, // IN: Dirent buffer passed from FileOpReaddir
-- const char *name, // IN: Dirent name
-- int namelen, // IN: len of dirent's name
-- loff_t offset, // IN: Offset
-- inode_num_t ino, // IN: Inode number of dirent
-- unsigned int d_type) // IN: Type of file
--{
-- FilldirInfo *info = buf;
--
-- /* Specify DT_LNK regardless */
-- return info->filldir(info->dirent, name, namelen, offset, ino, DT_LNK);
--}
--
--
- /* File operations */
-
- /*
-@@ -166,11 +126,10 @@ FileOpOpen(struct inode *inode, // IN
-
- static int
- FileOpReaddir(struct file *file, // IN
-- void *dirent, // IN
-- filldir_t filldir) // IN
-+ struct dir_context *ctx) // IN
- {
- int ret;
-- FilldirInfo info;
-+
- struct file *actualFile;
-
- if (!file) {
-@@ -184,12 +143,10 @@ FileOpReaddir(struct file *file, // IN
- return -EINVAL;
- }
-
-- info.filldir = filldir;
-- info.dirent = dirent;
--
-- actualFile->f_pos = file->f_pos;
-- ret = vfs_readdir(actualFile, Filldir, &info);
-- file->f_pos = actualFile->f_pos;
-+ /* Ricky Wong Yung Fei:
-+ * Manipulation of pos is now handled internally by iterate_dir().
-+ */
-+ ret = iterate_dir(actualFile, ctx);
-
- return ret;
- }
-@@ -237,7 +194,7 @@ FileOpRelease(struct inode *inode, // IN
-
-
- struct file_operations RootFileOps = {
-- .readdir = FileOpReaddir,
-+ .iterate = FileOpReaddir,
- .open = FileOpOpen,
- .release = FileOpRelease,
- };
diff --git a/app-emulation/vmware-modules/files/271-hardened.patch b/app-emulation/vmware-modules/files/271-hardened.patch
deleted file mode 100644
index ea1b0f300751..000000000000
--- a/app-emulation/vmware-modules/files/271-hardened.patch
+++ /dev/null
@@ -1,170 +0,0 @@
-diff --git a/vmci-only/linux/driver.c b/vmci-only/linux/driver.c
-index 921f25c..41a39e3 100644
---- a/vmci-only/linux/driver.c
-+++ b/vmci-only/linux/driver.c
-@@ -241,7 +241,24 @@ static unsigned int LinuxDriverPoll(struct file *file, poll_table *wait);
- #define LinuxDriverUnlockIoctlPerFD(mutex) do {} while (0)
- #endif
-
--static struct file_operations vmuser_fops;
-+/*
-+ * Moved file operations initialize here because of incompatibilites
-+ * with Gentoo hardened profile/hardend Linux 3.
-+ */
-+static struct file_operations vmuser_fops = {
-+ .owner = THIS_MODULE,
-+ .poll = LinuxDriverPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
-+#else
-+ .ioctl = LinuxDriver_Ioctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
-+#endif
-+ .open = LinuxDriver_Open,
-+ .release = LinuxDriver_Close
-+};
-
-
- /*
-@@ -378,26 +395,6 @@ vmci_host_init(void)
- return -ENOMEM;
- }
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vmuser_fops, 0, sizeof vmuser_fops);
-- vmuser_fops.owner = THIS_MODULE;
-- vmuser_fops.poll = LinuxDriverPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
--#else
-- vmuser_fops.ioctl = LinuxDriver_Ioctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
--#endif
-- vmuser_fops.open = LinuxDriver_Open;
-- vmuser_fops.release = LinuxDriver_Close;
--
- sprintf(linuxState.deviceName, "vmci");
- linuxState.major = 10;
- linuxState.misc.minor = MISC_DYNAMIC_MINOR;
-diff --git a/vmmon-only/linux/driver.c b/vmmon-only/linux/driver.c
-index b21dd44..960c2aa 100644
---- a/vmmon-only/linux/driver.c
-+++ b/vmmon-only/linux/driver.c
-@@ -178,7 +178,22 @@ static struct vm_operations_struct vmuser_mops = {
- #endif
- };
-
--static struct file_operations vmuser_fops;
-+static struct file_operations vmuser_fops = {
-+ .owner = THIS_MODULE,
-+ .poll = LinuxDriverPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
-+#else
-+ .ioctl = LinuxDriver_Ioctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
-+#endif
-+ .open = LinuxDriver_Open,
-+ .release = LinuxDriver_Close,
-+ .mmap = LinuxDriverMmap
-+};
-+
- static struct timer_list tscTimer;
-
- /*
-@@ -357,27 +372,6 @@ init_module(void)
- spin_lock_init(&linuxState.pollListLock);
- #endif
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vmuser_fops, 0, sizeof vmuser_fops);
-- vmuser_fops.owner = THIS_MODULE;
-- vmuser_fops.poll = LinuxDriverPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
--#else
-- vmuser_fops.ioctl = LinuxDriver_Ioctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
--#endif
-- vmuser_fops.open = LinuxDriver_Open;
-- vmuser_fops.release = LinuxDriver_Close;
-- vmuser_fops.mmap = LinuxDriverMmap;
--
- #ifdef VMX86_DEVEL
- devel_init_module();
- linuxState.minor = 0;
-diff --git a/vmnet-only/driver.c b/vmnet-only/driver.c
-index b12b982..40bd4cf 100644
---- a/vmnet-only/driver.c
-+++ b/vmnet-only/driver.c
-@@ -165,7 +165,22 @@ static long VNetFileOpUnlockedIoctl(struct file * filp,
- unsigned int iocmd, unsigned long ioarg);
- #endif
-
--static struct file_operations vnetFileOps;
-+static struct file_operations vnetFileOps = {
-+ .owner = THIS_MODULE,
-+ .read = VNetFileOpRead,
-+ .write = VNetFileOpWrite,
-+ .poll = VNetFileOpPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = VNetFileOpUnlockedIoctl,
-+#else
-+ .ioctl = VNetFileOpIoctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = VNetFileOpUnlockedIoctl,
-+#endif
-+ .open = VNetFileOpOpen,
-+ .release = VNetFileOpClose
-+};
-
- /*
- * Utility functions
-@@ -476,28 +491,6 @@ init_module(void)
- goto err_proto;
- }
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vnetFileOps, 0, sizeof vnetFileOps);
-- vnetFileOps.owner = THIS_MODULE;
-- vnetFileOps.read = VNetFileOpRead;
-- vnetFileOps.write = VNetFileOpWrite;
-- vnetFileOps.poll = VNetFileOpPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
--#else
-- vnetFileOps.ioctl = VNetFileOpIoctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
--#endif
-- vnetFileOps.open = VNetFileOpOpen;
-- vnetFileOps.release = VNetFileOpClose;
--
- retval = register_chrdev(VNET_MAJOR_NUMBER, "vmnet", &vnetFileOps);
- if (retval) {
- LOG(0, (KERN_NOTICE "/dev/vmnet: could not register major device %d\n",
diff --git a/app-emulation/vmware-modules/files/271-makefile-include.patch b/app-emulation/vmware-modules/files/271-makefile-include.patch
deleted file mode 100644
index 39c300030805..000000000000
--- a/app-emulation/vmware-modules/files/271-makefile-include.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff --git a/vmblock-only/Makefile.kernel b/vmblock-only/Makefile.kernel
-index ab7a727..e3ec9d2 100644
---- a/vmblock-only/Makefile.kernel
-+++ b/vmblock-only/Makefile.kernel
-@@ -19,7 +19,7 @@
-
- INCLUDE += -I$(SRCROOT)/include
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachecreate.c, -DVMW_KMEMCR_HAS_DTOR, )
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachector.c, -DVMW_KMEMCR_CTOR_HAS_3_ARGS, )
-diff --git a/vmci-only/Makefile.kernel b/vmci-only/Makefile.kernel
-index ba343ee..861ea83 100644
---- a/vmci-only/Makefile.kernel
-+++ b/vmci-only/Makefile.kernel
-@@ -21,7 +21,7 @@ CC_OPTS += -DVMCI
-
- INCLUDE += -I$(SRCROOT)/shared -I$(SRCROOT)/common -I$(SRCROOT)/linux
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- obj-m += $(DRIVER).o
-
-diff --git a/vmmon-only/Makefile.kernel b/vmmon-only/Makefile.kernel
-index 8770d1d..c4746c3 100644
---- a/vmmon-only/Makefile.kernel
-+++ b/vmmon-only/Makefile.kernel
-@@ -22,7 +22,7 @@ CC_OPTS += -DVMMON -DVMCORE
- INCLUDE := -I$(SRCROOT)/include -I$(SRCROOT)/common -I$(SRCROOT)/linux \
- -I$(SRCROOT)/vmcore
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/smpcall.c, -DVMW_HAVE_SMP_CALL_3ARG, )
-
-diff --git a/vmnet-only/Makefile.kernel b/vmnet-only/Makefile.kernel
-index d1e3133..665d428 100644
---- a/vmnet-only/Makefile.kernel
-+++ b/vmnet-only/Makefile.kernel
-@@ -19,7 +19,7 @@
-
- INCLUDE := -I$(SRCROOT)
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_net.c,-DVMW_NETDEV_HAS_NET, )
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_dev_net.c,-DVMW_NETDEV_HAS_DEV_NET, )
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/nfhook_uses_skb.c,-DVMW_NFHOOK_USES_SKB, )
-diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
-index b4629ee..264b8cb 100644
---- a/vsock-only/Makefile.kernel
-+++ b/vsock-only/Makefile.kernel
-@@ -25,7 +25,7 @@ INCLUDE += -I$(SRCROOT)/include
- INCLUDE += -I$(SRCROOT)/linux
- INCLUDE += -I$(SRCROOT)/common
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/netcreate_num_params.c, -DVMW_NETCREATE_KERNARG, )
-
-
diff --git a/app-emulation/vmware-modules/files/271-makefile-kernel-dir.patch b/app-emulation/vmware-modules/files/271-makefile-kernel-dir.patch
deleted file mode 100644
index 1a647a3302d8..000000000000
--- a/app-emulation/vmware-modules/files/271-makefile-kernel-dir.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-diff --git a/vmblock-only/Makefile b/vmblock-only/Makefile
-index 2b81323..746c8b8 100644
---- a/vmblock-only/Makefile
-+++ b/vmblock-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmblock
- PRODUCT := ws
-diff --git a/vmci-only/Makefile b/vmci-only/Makefile
-index 8e9c5be..6ec828b 100644
---- a/vmci-only/Makefile
-+++ b/vmci-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmci
- PRODUCT := ws
-diff --git a/vmmon-only/Makefile b/vmmon-only/Makefile
-index 5bd867b..91a83d4 100644
---- a/vmmon-only/Makefile
-+++ b/vmmon-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmmon
- PRODUCT := @@PRODUCT@@
-diff --git a/vmnet-only/Makefile b/vmnet-only/Makefile
-index d4eb73c..c7c6d38 100644
---- a/vmnet-only/Makefile
-+++ b/vmnet-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmnet
- PRODUCT := @@PRODUCT@@
-diff --git a/vsock-only/Makefile b/vsock-only/Makefile
-index 93dd61d..9765696 100644
---- a/vsock-only/Makefile
-+++ b/vsock-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vsock
- PRODUCT := ws
diff --git a/app-emulation/vmware-modules/files/271-netdevice.patch b/app-emulation/vmware-modules/files/271-netdevice.patch
deleted file mode 100644
index 35231a3205e3..000000000000
--- a/app-emulation/vmware-modules/files/271-netdevice.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/vmnet-only/compat_netdevice.h b/vmnet-only/compat_netdevice.h
-index 7a56304..9ff4548 100644
---- a/vmnet-only/compat_netdevice.h
-+++ b/vmnet-only/compat_netdevice.h
-@@ -47,6 +47,19 @@
- # define net_device device
- #endif
-
-+/* it looks like these have been removed from the kernel 3.1
-+ * probably because the "transition" is considered complete.
-+ * so to keep this source compatible we just redefine them like they were
-+ * previously
-+ */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
-+#define HAVE_ALLOC_NETDEV /* feature macro: alloc_xxxdev
-+ functions are available. */
-+#define HAVE_FREE_NETDEV /* free_netdev() */
-+#define HAVE_NETDEV_PRIV /* netdev_priv() */
-+#define HAVE_NETIF_QUEUE
-+#define HAVE_NET_DEVICE_OPS
-+#endif
-
- /*
- * SET_MODULE_OWNER appeared sometime during 2.3.x. It was setting
diff --git a/app-emulation/vmware-modules/files/271-putname.patch b/app-emulation/vmware-modules/files/271-putname.patch
deleted file mode 100644
index 6e76130fa165..000000000000
--- a/app-emulation/vmware-modules/files/271-putname.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/vmblock-only/linux/control.c b/vmblock-only/linux/control.c
-index 79716bd..2dd83fe 100644
---- a/vmblock-only/linux/control.c
-+++ b/vmblock-only/linux/control.c
-@@ -293,7 +293,7 @@ ExecuteBlockOp(const char __user *buf, // IN: buffer with name
-
- retval = i < 0 ? -EINVAL : blockOp(name, blocker);
-
-- putname(name);
-+ __putname(name);
-
- return retval;
- }
diff --git a/app-emulation/vmware-modules/files/271-vfsfollowlink.patch b/app-emulation/vmware-modules/files/271-vfsfollowlink.patch
deleted file mode 100644
index 13f600e39f33..000000000000
--- a/app-emulation/vmware-modules/files/271-vfsfollowlink.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Naur a/linux/inode.c b/linux/inode.c
---- a/vmblock-only/linux/inode.c 2013-10-03 04:29:47.471339204 -0400
-+++ b/vmblock-only/linux/inode.c 2013-10-03 04:31:56.607334636 -0400
-@@ -36,7 +36,7 @@
-
- /* Inode operations */
- static struct dentry *InodeOpLookup(struct inode *dir,
-- struct dentry *dentry, struct nameidata *nd);
-+ struct dentry *dentry, unsigned int flags);
- static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -75,7 +75,7 @@
- static struct dentry *
- InodeOpLookup(struct inode *dir, // IN: parent directory's inode
- struct dentry *dentry, // IN: dentry to lookup
-- struct nameidata *nd) // IN: lookup intent and information
-+ unsigned int flags) // IN: lookup intent and information
- {
- char *filename;
- struct inode *inode;
-@@ -221,7 +221,7 @@
- goto out;
- }
-
-- ret = vfs_follow_link(nd, iinfo->name);
-+ nd_set_link(nd, iinfo->name);
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
diff --git a/app-emulation/vmware-modules/files/271-vmmon.patch b/app-emulation/vmware-modules/files/271-vmmon.patch
deleted file mode 100644
index f1979641a4d6..000000000000
--- a/app-emulation/vmware-modules/files/271-vmmon.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -ru source900/vmmon-only/linux/hostif.c source/vmmon-only/linux/hostif.c
---- source900/vmmon-only/linux/hostif.c 2012-07-23 18:18:55.000000000 +0900
-+++ source/vmmon-only/linux/hostif.c 2012-08-03 16:20:23.200420885 +0900
-@@ -48,6 +48,7 @@
- #include <linux/smp_lock.h>
- #endif
-
-+#include <asm/asm.h>
- #include <asm/io.h>
- #include <asm/uaccess.h>
- #include <linux/mc146818rtc.h>
-@@ -3586,31 +3587,14 @@
- {
- int ret;
- unsigned low, high;
--#if defined(VM_X86_64)
- asm volatile("2: rdmsr ; xor %0,%0\n"
- "1:\n\t"
- ".section .fixup,\"ax\"\n\t"
- "3: mov %4,%0 ; jmp 1b\n\t"
- ".previous\n\t"
-- ".section __ex_table,\"a\"\n\t"
-- ".balign 8\n"
-- ".quad 2b,3b\n"
-- ".previous\n"
-+ _ASM_EXTABLE(2b,3b)
- : "=r"(ret), "=a"(low), "=d"(high)
- : "c"(msr), "i"(-EFAULT), "1"(0), "2"(0)); // init eax/edx to 0
--#else
-- asm volatile("2: rdmsr ; xor %0,%0\n"
-- "1:\n\t"
-- ".section .fixup,\"ax\"\n\t"
-- "3: mov %4,%0 ; jmp 1b\n\t"
-- ".previous\n\t"
-- ".section __ex_table,\"a\"\n"
-- ".balign 4\n"
-- ".long 2b,3b\n"
-- ".previous\n"
-- : "=r"(ret), "=a"(low), "=d"(high)
-- : "c"(msr), "i"(-EFAULT), "1"(0), "2"(0)); // init eax/edx to 0
--#endif // VM_X86_64
- *val = (low | ((u64)(high) << 32));
-
- return ret;
diff --git a/app-emulation/vmware-modules/files/279-3.10-00-userns.patch b/app-emulation/vmware-modules/files/279-3.10-00-userns.patch
deleted file mode 100644
index b1b78b76300e..000000000000
--- a/app-emulation/vmware-modules/files/279-3.10-00-userns.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-correctly initializes UID/GID values
-gets UID correctly in light of user namespace API
-origionally from https://462666.bugs.gentoo.org/attachment.cgi?id=342888
-
---- a/vmblock-only/linux/inode.c 2013-03-20 17:37:48.000000000 +0100
-+++ b/vmblock-only/linux/inode.c 2013-03-20 17:41:22.000000000 +0100
-@@ -135,7 +135,8 @@
- inode->i_size = INODE_TO_IINFO(inode)->nameLen;
- inode->i_version = 1;
- inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
-- inode->i_uid = inode->i_gid = 0;
-+ inode->i_uid = GLOBAL_ROOT_UID;
-+ inode->i_gid = GLOBAL_ROOT_GID;
- inode->i_op = &LinkInodeOps;
-
- d_add(dentry, inode);
-
---- a/vmci-only/linux/driver.c 2013-03-20 17:57:35.000000000 +0100
-+++ b/vmci-only/linux/driver.c 2013-03-20 17:57:43.000000000 +0100
-@@ -740,7 +740,7 @@
- goto init_release;
- }
-
-- user = current_uid();
-+ user = from_kuid(current_user_ns(), current_uid());
- retval = VMCIContext_InitContext(initBlock.cid, initBlock.flags,
- 0 /* Unused */, vmciLinux->userVersion,
- &user, &vmciLinux->context);
-
---- a/vsock-only/linux/af_vsock.c 2013-03-20 18:01:48.000000000 +0100
-+++ b/vsock-only/linux/af_vsock.c 2013-03-20 18:01:58.000000000 +0100
-@@ -2866,7 +2866,7 @@
- vsk->connectTimeout = psk->connectTimeout;
- } else {
- vsk->trusted = capable(CAP_NET_ADMIN);
-- vsk->owner = current_uid();
-+ vsk->owner = from_kuid(current_user_ns(), current_uid());
- vsk->queuePairSize = VSOCK_DEFAULT_QP_SIZE;
- vsk->queuePairMinSize = VSOCK_DEFAULT_QP_SIZE_MIN;
- vsk->queuePairMaxSize = VSOCK_DEFAULT_QP_SIZE_MAX;
-
diff --git a/app-emulation/vmware-modules/files/279-3.10-01-getname.patch b/app-emulation/vmware-modules/files/279-3.10-01-getname.patch
deleted file mode 100644
index 05ed8dbcc374..000000000000
--- a/app-emulation/vmware-modules/files/279-3.10-01-getname.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-uses __getname/__putname instead of getname. getname was deprecated
-the new code calls __getname (which really is a specific type of
-memory allocator, then copies the string safely from user space
-into the allocated buffer
-
---- vmblock-only/linux/control.c 2014-03-15 15:28:40.871076076 +0100
-+++ vmblock-only/linux/control.c.new 2014-03-15 15:29:15.079074439 +0100
-@@ -279,11 +279,17 @@
- int i;
- int retval;
-
-- name = getname(buf);
-+ name = __getname();
- if (IS_ERR(name)) {
- return PTR_ERR(name);
- }
-
-+ i = strncpy_from_user(name, buf, PATH_MAX);
-+ if (i < 0 || i == PATH_MAX) {
-+ __putname(name);
-+ return -EINVAL;
-+ }
-+
- for (i = strlen(name) - 1; i >= 0 && name[i] == '/'; i--) {
diff --git a/app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch b/app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch
deleted file mode 100644
index 98b28aabcdeb..000000000000
--- a/app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-undefines DEPRECATED which is unfortunately also defined (as a string)
-in <linux/printk.h>. Realistically, this macro isn't even used, so this
-doesn't matter much. But it hushes some very loud warnings.
-
-diff -rupN vmblock-only/shared/vm_assert.h vmblock-only.new/shared/vm_assert.h
---- vmblock-only/shared/vm_assert.h 2014-04-14 17:41:41.000000000 -0400
-+++ vmblock-only.new/shared/vm_assert.h 2014-10-11 17:37:23.010352172 -0400
-@@ -251,11 +251,13 @@ void WarningThrottled(uint32 *count, con
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED. %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
-diff -rupN vmci-only/shared/vm_assert.h vmci-only.new/shared/vm_assert.h
---- vmci-only/shared/vm_assert.h 2014-04-14 17:41:41.000000000 -0400
-+++ vmci-only.new/shared/vm_assert.h 2014-10-11 17:37:08.936352130 -0400
-@@ -251,11 +251,13 @@ void WarningThrottled(uint32 *count, con
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED. %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
-diff -rupN vmmon-only/include/vm_assert.h vmmon-only.new/include/vm_assert.h
---- vmmon-only/include/vm_assert.h 2014-04-14 20:06:20.000000000 -0400
-+++ vmmon-only.new/include/vm_assert.h 2014-10-11 17:36:45.289352058 -0400
-@@ -251,11 +251,13 @@ void WarningThrottled(uint32 *count, con
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED. %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
-diff -rupN vmnet-only/vm_assert.h vmnet-only.new/vm_assert.h
---- vmnet-only/vm_assert.h 2014-04-14 20:06:21.000000000 -0400
-+++ vmnet-only.new/vm_assert.h 2014-10-11 17:37:14.364352146 -0400
-@@ -251,11 +251,13 @@ void WarningThrottled(uint32 *count, con
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED. %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
-diff -rupN vsock-only/shared/vm_assert.h vsock-only.new/shared/vm_assert.h
---- vsock-only/shared/vm_assert.h 2014-04-14 17:41:41.000000000 -0400
-+++ vsock-only.new/shared/vm_assert.h 2014-10-11 17:37:02.778352111 -0400
-@@ -251,11 +251,13 @@ void WarningThrottled(uint32 *count, con
- #define LOG_ONCE(_s) DO_ONCE(Log _s)
-
- #ifdef VMX86_DEVEL
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) DO_ONCE( \
- Warning("%s:%d: %s is DEPRECATED. %s\n", \
- __FILE__, __LINE__, __FUNCTION__, \
- _fix))
- #else
-+ #undef DEPRECATED
- #define DEPRECATED(_fix) do {} while (0)
- #endif
-
diff --git a/app-emulation/vmware-modules/files/279-3.10-04-dentry.patch b/app-emulation/vmware-modules/files/279-3.10-04-dentry.patch
deleted file mode 100644
index f4f59d977408..000000000000
--- a/app-emulation/vmware-modules/files/279-3.10-04-dentry.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-starting with kernel 3.6, d_revalidate takes an unsigned int "flags"
-as the second argument, not a nameidata pointer! see fs/namei.c
-for implementation
-
-diff -Naur vmblock-only/linux/dentry.c vmblock-only/linux/dentry.c
---- vmblock-only/linux/dentry.c 2013-11-05 23:33:26.000000000 -0500
-+++ vmblock-only/linux/dentry.c 2014-04-26 10:58:03.062635343 -0400
-@@ -32,7 +32,7 @@
- #include "block.h"
-
-
--static int DentryOpRevalidate(struct dentry *dentry, struct nameidata *nd);
-+static int DentryOpRevalidate(struct dentry *dentry, unsigned int flags);
-
- struct dentry_operations LinkDentryOps = {
- .d_revalidate = DentryOpRevalidate,
-@@ -60,7 +60,7 @@
-
- static int
- DentryOpRevalidate(struct dentry *dentry, // IN: dentry revalidating
-- struct nameidata *nd) // IN: lookup flags & intent
-+ unsigned int flags) // IN: lookup flags & intent
- {
- VMBlockInodeInfo *iinfo;
- struct nameidata actualNd;
-@@ -101,7 +101,7 @@
- if (actualDentry &&
- actualDentry->d_op &&
- actualDentry->d_op->d_revalidate) {
-- return actualDentry->d_op->d_revalidate(actualDentry, nd);
-+ return actualDentry->d_op->d_revalidate(actualDentry, flags);
- }
-
- if (compat_path_lookup(iinfo->name, 0, &actualNd)) {
diff --git a/app-emulation/vmware-modules/files/279-3.10-05-inode.patch b/app-emulation/vmware-modules/files/279-3.10-05-inode.patch
deleted file mode 100644
index 01c88930899c..000000000000
--- a/app-emulation/vmware-modules/files/279-3.10-05-inode.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-starting with kernel 3.6, d_revalidate takes an unsigned int "flags"
-as the second argument, not a nameidata pointer! see fs/namei.c
-for implementation. Also changing vfs_follow_link to nd_set_link.
-See: https://lkml.org/lkml/2013/9/9/236
-
-diff -Naur vmblock-only/linux/inode.c vmblock-only/linux/inode.c
---- vmblock-only/linux/inode.c 2013-11-05 23:33:26.000000000 -0500
-+++ vmblock-only/linux/inode.c 2014-04-26 10:58:03.063635343 -0400
-@@ -36,7 +36,7 @@
-
- /* Inode operations */
- static struct dentry *InodeOpLookup(struct inode *dir,
-- struct dentry *dentry, struct nameidata *nd);
-+ struct dentry *dentry, unsigned int flags);
- static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -75,7 +75,7 @@
- static struct dentry *
- InodeOpLookup(struct inode *dir, // IN: parent directory's inode
- struct dentry *dentry, // IN: dentry to lookup
-- struct nameidata *nd) // IN: lookup intent and information
-+ unsigned int flags) // IN: lookup intent and information
- {
- char *filename;
- struct inode *inode;
-@@ -221,7 +221,8 @@
- goto out;
- }
-
-- ret = vfs_follow_link(nd, iinfo->name);
-+ nd_set_link(nd, iinfo->name);
-+ ret = 0;
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
diff --git a/app-emulation/vmware-modules/files/279-3.15-00-readlink.patch b/app-emulation/vmware-modules/files/279-3.15-00-readlink.patch
deleted file mode 100644
index b8ee07822021..000000000000
--- a/app-emulation/vmware-modules/files/279-3.15-00-readlink.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-replacing usage of vfs_readlink with new readlink_copy API
-see: http://permalink.gmane.org/gmane.linux.kernel.commits.head/445090
-
-diff -rupN vmblock-only/linux/inode.c vmblock-only/linux/inode.c
---- vmblock-only/linux/inode.c 2014-10-05 23:20:14.545218357 -0400
-+++ vmblock-only/linux/inode.c 2014-10-05 23:33:01.549259933 -0400
-@@ -178,7 +178,7 @@ InodeOpReadlink(struct dentry *dentry,
- return -EINVAL;
- }
-
-- return vfs_readlink(dentry, buffer, buflen, iinfo->name);
-+ return readlink_copy(buffer, buflen, iinfo->name);
- }
-
-
diff --git a/app-emulation/vmware-modules/files/279-3.15-01-vsock.patch b/app-emulation/vmware-modules/files/279-3.15-01-vsock.patch
deleted file mode 100644
index 9e8d9d1a32f7..000000000000
--- a/app-emulation/vmware-modules/files/279-3.15-01-vsock.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-removing the no longer existing second parameter to sk_data_ready
-doesn't seem it ever served a purpose.
-
-diff -rupN vsock-only/linux/notify.c vsock-only.new/linux/notify.c
---- vsock-only/linux/notify.c 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only.new/linux/notify.c 2014-10-05 23:46:47.943304728 -0400
-@@ -515,8 +515,11 @@ VSockVmciHandleWrote(struct sock *sk,
- vsk = vsock_sk(sk);
- PKT_FIELD(vsk, sentWaitingRead) = FALSE;
- #endif
--
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
-
-diff -rupN vsock-only/linux/notifyQState.c vsock-only.new/linux/notifyQState.c
---- vsock-only/linux/notifyQState.c 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only.new/linux/notifyQState.c 2014-10-05 23:46:33.231303931 -0400
-@@ -164,7 +164,11 @@ VSockVmciHandleWrote(struct sock *sk,
- struct sockaddr_vm *dst, // IN: unused
- struct sockaddr_vm *src) // IN: unused
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
-
-@@ -566,7 +570,11 @@ VSockVmciNotifyPktRecvPostDequeue(struct
- }
-
- /* See the comment in VSockVmciNotifyPktSendPostEnqueue */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
- return err;
diff --git a/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch b/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch
deleted file mode 100644
index e3ee3aa09939..000000000000
--- a/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-new alloc_netdev requires a new parameter. All examples in the kernel i've seen just
-use the constant NET_NAME_UNKNOWN.
-origionally from: https://communities.vmware.com/message/2425189
-
-diff -rupN vmnet-only/netif.c vmnet-only.new/netif.c
---- vmnet-only/netif.c 2013-11-06 00:40:52.000000000 -0500
-+++ vmnet-only.new/netif.c 2014-10-09 17:29:12.361307961 -0400
-@@ -149,7 +149,7 @@ VNetNetIf_Create(char *devName, // IN:
- memcpy(deviceName, devName, sizeof deviceName);
- NULL_TERMINATE_STRING(deviceName);
-
-- dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
-+ dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_USER, VNetNetIfSetup);
- if (!dev) {
- retval = -ENOMEM;
- goto out;
diff --git a/app-emulation/vmware-modules/files/279-3.18-00-version-redefined.patch b/app-emulation/vmware-modules/files/279-3.18-00-version-redefined.patch
deleted file mode 100644
index 2d3882430580..000000000000
--- a/app-emulation/vmware-modules/files/279-3.18-00-version-redefined.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/vmci-only/shared/vm_device_version.h 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmci-only/shared/vm_device_version.h 2015-02-24 03:58:06.041605450 +0300
-@@ -53,7 +53,9 @@
- * VMware HD Audio codec
- * VMware HD Audio controller
- */
-+#ifndef PCI_VENDOR_ID_VMWARE
- #define PCI_VENDOR_ID_VMWARE 0x15AD
-+#endif
- #define PCI_DEVICE_ID_VMWARE_SVGA2 0x0405
- #define PCI_DEVICE_ID_VMWARE_SVGA 0x0710
- #define PCI_DEVICE_ID_VMWARE_VGA 0x0711
---- a/vmnet-only/vm_device_version.h 2015-02-07 03:54:16.000000000 +0300
-+++ c/vmnet-only/vm_device_version.h 2015-02-24 03:58:06.044604981 +0300
-@@ -53,7 +53,9 @@
- * VMware HD Audio codec
- * VMware HD Audio controller
- */
-+#ifndef PCI_VENDOR_ID_VMWARE
- #define PCI_VENDOR_ID_VMWARE 0x15AD
-+#endif
- #define PCI_DEVICE_ID_VMWARE_SVGA2 0x0405
- #define PCI_DEVICE_ID_VMWARE_SVGA 0x0710
- #define PCI_DEVICE_ID_VMWARE_VGA 0x0711
diff --git a/app-emulation/vmware-modules/files/279-3.19-00-compat-namei.patch b/app-emulation/vmware-modules/files/279-3.19-00-compat-namei.patch
deleted file mode 100644
index ec73500e979c..000000000000
--- a/app-emulation/vmware-modules/files/279-3.19-00-compat-namei.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/vmblock-only/shared/compat_namei.h 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/shared/compat_namei.h 2015-02-24 03:51:25.235286047 +0300
-@@ -21,6 +21,20 @@
-
- #include <linux/namei.h>
-
-+/* Copy-n-paste from kernel's source/fs/namei.c */
-+struct nameidata {
-+ struct path path;
-+ struct qstr last;
-+ struct path root;
-+ struct inode *inode; /* path.dentry.d_inode */
-+ unsigned int flags;
-+ unsigned seq, m_seq;
-+ int last_type;
-+ unsigned depth;
-+ struct file *base;
-+ char *saved_names[MAX_NESTED_LINKS + 1];
-+};
-+
- /*
- * In 2.6.25-rc2, dentry and mount objects were removed from the nameidata
- * struct. They were both replaced with a struct path.
diff --git a/app-emulation/vmware-modules/files/279-3.19-01-dentry.patch b/app-emulation/vmware-modules/files/279-3.19-01-dentry.patch
deleted file mode 100644
index 6f11a520a447..000000000000
--- a/app-emulation/vmware-modules/files/279-3.19-01-dentry.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/vmnet-only/driver.c 2015-02-07 03:54:17.000000000 +0300
-+++ c/vmnet-only/driver.c 2015-02-24 03:58:06.043605137 +0300
-@@ -1191,8 +1191,8 @@
- struct inode *inode = NULL;
- long err;
-
-- if (filp && filp->f_dentry) {
-- inode = filp->f_dentry->d_inode;
-+ if (filp && filp->f_path.dentry) {
-+ inode = filp->f_path.dentry->d_inode;
- }
- err = VNetFileOpIoctl(inode, filp, iocmd, ioarg);
- return err;
diff --git a/app-emulation/vmware-modules/files/279-3.19-02-vmblock-path.patch b/app-emulation/vmware-modules/files/279-3.19-02-vmblock-path.patch
deleted file mode 100644
index 178d1478ae59..000000000000
--- a/app-emulation/vmware-modules/files/279-3.19-02-vmblock-path.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Sources:
-https://531682.bugs.gentoo.org/attachment.cgi?id=396484
-https://531682.bugs.gentoo.org/attachment.cgi?id=396482
-diff -rupN vmblock-only.orig/linux/dentry.c vmblock-only/linux/dentry.c
---- vmblock-only.orig/linux/dentry.c 2015-02-14 18:05:46.000000000 -0500
-+++ vmblock-only/linux/dentry.c 2015-02-14 18:09:59.000000000 -0500
-@@ -63,7 +63,7 @@ DentryOpRevalidate(struct dentry *dentry
- unsigned int flags) // IN: lookup flags & intent
- {
- VMBlockInodeInfo *iinfo;
-- struct nameidata actualNd;
-+ struct path actualNd;
- struct dentry *actualDentry;
- int ret;
-
-diff -rupN vmblock-only.orig/linux/filesystem.c vmblock-only/linux/filesystem.c
---- vmblock-only.orig/linux/filesystem.c 2014-11-20 19:29:15.000000000 -0500
-+++ vmblock-only/linux/filesystem.c 2015-02-14 18:10:49.000000000 -0500
-@@ -322,7 +322,7 @@ Iget(struct super_block *sb, // IN: f
- {
- VMBlockInodeInfo *iinfo;
- struct inode *inode;
-- struct nameidata actualNd;
-+ struct path actualNd;
-
- ASSERT(sb);
-
-diff -rupN vmblock-only.orig/shared/compat_namei.h vmblock-only/shared/compat_namei.h
---- vmblock-only.orig/shared/compat_namei.h 2014-11-20 19:29:15.000000000 -0500
-+++ vmblock-only/shared/compat_namei.h 2015-02-14 18:08:38.000000000 -0500
-@@ -26,21 +26,21 @@
- * struct. They were both replaced with a struct path.
- */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
--#define compat_vmw_nd_to_dentry(nd) (nd).path.dentry
-+#define compat_vmw_nd_to_dentry(nd) (nd).dentry
- #else
- #define compat_vmw_nd_to_dentry(nd) (nd).dentry
- #endif
-
- /* In 2.6.25-rc2, path_release(&nd) was replaced with path_put(&nd.path). */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
--#define compat_path_release(nd) path_put(&(nd)->path)
-+#define compat_path_release(nd) path_put(nd)
- #else
- #define compat_path_release(nd) path_release(nd)
- #endif
-
- /* path_lookup was removed in 2.6.39 merge window VFS merge */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
--#define compat_path_lookup(name, flags, nd) kern_path(name, flags, &((nd)->path))
-+#define compat_path_lookup(name, flags, nd) kern_path(name, flags, nd)
- #else
- #define compat_path_lookup(name, flags, nd) path_lookup(name, flags, nd)
- #endif
-diff -u vmblock-only.orig/linux/file.c vmblock-only/linux/file.c
---- vmblock-only.orig/linux/file.c 2015-02-11 12:18:29.000000000 -0500
-+++ vmblock-only/linux/file.c 2015-02-11 12:41:41.000000000 -0500
-@@ -92,7 +92,7 @@
- * and that would try to acquire the inode's semaphore; if the two inodes
- * are the same we'll deadlock.
- */
-- if (actualFile->f_dentry && inode == actualFile->f_dentry->d_inode) {
-+ if (actualFile->f_path.dentry && inode == actualFile->f_path.dentry->d_inode) {
- Warning("FileOpOpen: identical inode encountered, open cannot succeed.\n");
- if (filp_close(actualFile, current->files) < 0) {
- Warning("FileOpOpen: unable to close opened file.\n");
diff --git a/app-emulation/vmware-modules/files/279-3.19-03-iovec.patch b/app-emulation/vmware-modules/files/279-3.19-03-iovec.patch
deleted file mode 100644
index b016fec1e652..000000000000
--- a/app-emulation/vmware-modules/files/279-3.19-03-iovec.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/vmnet-only/userif.c 2015-02-07 03:54:17.000000000 +0300
-+++ c/vmnet-only/userif.c 2015-02-24 03:58:06.043605137 +0300
-@@ -523,7 +523,15 @@
- .iov_base = buf,
- .iov_len = len,
- };
-- return skb_copy_datagram_iovec(skb, 0, &iov, len);
-+
-+
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
-+ return skb_copy_datagram_iovec(skb, 0, &iov, len);
-+#else
-+ struct iov_iter to;
-+ iov_iter_init(&to, READ, &iov, 1, len);
-+ return skb_copy_datagram_iter(skb, 0, &to, len);
-+#endif
- }
-
-
diff --git a/app-emulation/vmware-modules/files/279-3.19-04-iovec.patch b/app-emulation/vmware-modules/files/279-3.19-04-iovec.patch
deleted file mode 100644
index 9103c555663d..000000000000
--- a/app-emulation/vmware-modules/files/279-3.19-04-iovec.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -rupN vmci-only.old/linux/vmciKernelIf.c vmci-only/linux/vmciKernelIf.c
---- vmci-only.old/linux/vmciKernelIf.c 2015-04-28 18:05:56.000000000 +0000
-+++ vmci-only/linux/vmciKernelIf.c 2015-07-06 08:02:08.314262258 +0000
-@@ -40,6 +40,7 @@
- #include <linux/socket.h> /* For memcpy_{to,from}iovec(). */
- #include <linux/vmalloc.h>
- #include <linux/wait.h>
-+#include <linux/skbuff.h>
-
- #include "compat_highmem.h"
- #include "compat_interrupt.h"
-@@ -1227,11 +1228,11 @@ __VMCIMemcpyToQueue(VMCIQueue *queue,
- }
-
- if (isIovec) {
-- struct iovec *iov = (struct iovec *)src;
-+ struct msghdr *msg = (struct msghdr *)src;
- int err;
-
- /* The iovec will track bytesCopied internally. */
-- err = memcpy_fromiovec((uint8 *)va + pageOffset, iov, toCopy);
-+ err = memcpy_from_msg((u8 *)va + pageOffset, msg, toCopy);
- if (err != 0) {
- if (!kernelIf->isDataMapped) {
- kunmap(kernelIf->page[pageIndex]);
-@@ -1302,11 +1303,11 @@ __VMCIMemcpyFromQueue(void *dest,
- }
-
- if (isIovec) {
-- struct iovec *iov = (struct iovec *)dest;
-+ struct msghdr *msg = (struct msghdr *)dest;
- int err;
-
- /* The iovec will track bytesCopied internally. */
-- err = memcpy_toiovec(iov, (uint8 *)va + pageOffset, toCopy);
-+ err = memcpy_to_msg(msg, (uint8 *)va + pageOffset, toCopy);
- if (err != 0) {
- if (!kernelIf->isDataMapped) {
- kunmap(kernelIf->page[pageIndex]);
diff --git a/app-emulation/vmware-modules/files/279-3.19-05-vmci_qpair.patch b/app-emulation/vmware-modules/files/279-3.19-05-vmci_qpair.patch
deleted file mode 100644
index 1849a378456e..000000000000
--- a/app-emulation/vmware-modules/files/279-3.19-05-vmci_qpair.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -rupN vsock-only.old/linux/af_vsock.c vsock-only/linux/af_vsock.c
---- vsock-only.old/linux/af_vsock.c 2015-05-06 20:41:47.684046762 -0400
-+++ vsock-only/linux/af_vsock.c 2015-05-06 20:52:15.245080779 -0400
-@@ -4629,7 +4629,7 @@ VSockVmciStreamSendmsg(struct kiocb *kio
- * able to send.
- */
-
-- written = vmci_qpair_enquev(vsk->qpair, msg->msg_iov,
-+ written = vmci_qpair_enquev(vsk->qpair, &msg->msg_iter.iov,
- len - totalWritten, 0);
- if (written < 0) {
- err = -ENOMEM;
-@@ -4874,9 +4874,9 @@ VSockVmciStreamRecvmsg(struct kiocb *kio
- }
-
- if (flags & MSG_PEEK) {
-- read = vmci_qpair_peekv(vsk->qpair, msg->msg_iov, len - copied, 0);
-+ read = vmci_qpair_peekv(vsk->qpair, &msg->msg_iter.iov, len - copied, 0);
- } else {
-- read = vmci_qpair_dequev(vsk->qpair, msg->msg_iov, len - copied, 0);
-+ read = vmci_qpair_dequev(vsk->qpair, &msg->msg_iter.iov, len - copied, 0);
- }
-
- if (read < 0) {
diff --git a/app-emulation/vmware-modules/files/279-3.19-06-vsock.patch b/app-emulation/vmware-modules/files/279-3.19-06-vsock.patch
deleted file mode 100644
index 2e412301d096..000000000000
--- a/app-emulation/vmware-modules/files/279-3.19-06-vsock.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2015-05-05 11:31:35.710099711 -0400
-+++ vsock-only.new/linux/af_vsock.c 2015-05-05 11:36:33.260115840 -0400
-@@ -4727,7 +4727,11 @@ VSockVmciDgramRecvmsg(struct kiocb *kioc
- }
-
- /* Place the datagram payload in the user's iovec. */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
- err = skb_copy_datagram_iovec(skb, sizeof *dg, msg->msg_iov, payloadLen);
-+#else
-+ err = skb_copy_datagram_iter(skb, sizeof *dg, &msg->msg_iter, payloadLen);
-+#endif
- if (err) {
- goto out;
- }
diff --git a/app-emulation/vmware-modules/files/279-3.19-07-vsock.patch b/app-emulation/vmware-modules/files/279-3.19-07-vsock.patch
deleted file mode 100644
index 8c9d3cb6dfe3..000000000000
--- a/app-emulation/vmware-modules/files/279-3.19-07-vsock.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2015-05-05 11:26:05.145081792 -0400
-+++ vsock-only.new/linux/af_vsock.c 2015-05-05 11:30:54.304097466 -0400
-@@ -4266,7 +4266,7 @@ VSockVmciDgramSendmsg(struct kiocb *kioc
- goto out;
- }
-
-- memcpy_fromiovec(VMCI_DG_PAYLOAD(dg), msg->msg_iov, len);
-+ memcpy_from_msg(VMCI_DG_PAYLOAD(dg), msg, len);
-
- dg->dst = VMCI_MAKE_HANDLE(remoteAddr->svm_cid, remoteAddr->svm_port);
- dg->src = VMCI_MAKE_HANDLE(vsk->localAddr.svm_cid, vsk->localAddr.svm_port);
diff --git a/app-emulation/vmware-modules/files/279-4.2-00-cookie.patch b/app-emulation/vmware-modules/files/279-4.2-00-cookie.patch
deleted file mode 100644
index e2ab8a15f16b..000000000000
--- a/app-emulation/vmware-modules/files/279-4.2-00-cookie.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-See https://bugs.gentoo.org/show_bug.cgi?id=559602
-Patch by Mike Auty <ikelos@gentoo.org>
-
-diff --git a/vmblock-only/linux/inode.c b/vmblock-only/linux/inode.c
-index 4811abd..2cbc1f6 100644
---- a/vmblock-only/linux/inode.c
-+++ b/vmblock-only/linux/inode.c
-@@ -38,7 +38,9 @@
- static struct dentry *InodeOpLookup(struct inode *dir,
- struct dentry *dentry, unsigned int flags);
- static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie);
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
- #else
- static int InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -207,7 +209,12 @@ static void *
- static int
- #endif
- InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink
-- struct nameidata *nd) // OUT: stores result
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+ void **cookie
-+#else
-+ struct nameidata *nd
-+#endif
-+ ) // OUT: stores result
- {
- int ret;
- VMBlockInodeInfo *iinfo;
-diff --git a/vmblock-only/linux/inode.c b/vmblock-only/linux/inode.c
-index acb2803..4811abd 100644
---- a/vmblock-only/linux/inode.c
-+++ b/vmblock-only/linux/inode.c
-@@ -199,7 +199,9 @@ InodeOpReadlink(struct dentry *dentry, // IN : dentry of symlink
- *----------------------------------------------------------------------------
- */
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+static const char *
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *
- #else
- static int
-@@ -222,8 +224,12 @@ InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink
- goto out;
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+ return *cookie = (char *)(iinfo->name);
-+#else
- nd_set_link(nd, iinfo->name);
- ret = 0;
-+#endif
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-diff --git a/vmnet-only/vmnetInt.h b/vmnet-only/vmnetInt.h
-index 23b5d19..d129f7b 100644
---- a/vmnet-only/vmnetInt.h
-+++ b/vmnet-only/vmnetInt.h
-@@ -78,8 +78,13 @@
-
- extern struct proto vmnet_proto;
- #ifdef VMW_NETDEV_HAS_NET
-+# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
- # define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \
-- PF_NETLINK, _pri, &vmnet_proto)
-+ PF_NETLINK, _pri, &vmnet_proto, 1)
-+# else
-+# define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \
-+ PF_NETLINK, _pri, &vmnet_proto)
-+# endif
- #else
- # define compat_sk_alloc(_bri, _pri) sk_alloc(PF_NETLINK, _pri, &vmnet_proto, 1)
- #endif
diff --git a/app-emulation/vmware-modules/files/279-5.10-00-userns.patch b/app-emulation/vmware-modules/files/279-5.10-00-userns.patch
deleted file mode 100644
index 7a1bb987fecd..000000000000
--- a/app-emulation/vmware-modules/files/279-5.10-00-userns.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-correctly initializes UID/GID values
-gets UID correctly in light of user namespace API
-origionally from https://462666.bugs.gentoo.org/attachment.cgi?id=342888
-
---- a/vmblock-only/linux/inode.c 2013-03-20 17:37:48.000000000 +0100
-+++ b/vmblock-only/linux/inode.c 2013-03-20 17:41:22.000000000 +0100
-@@ -135,7 +135,8 @@
- inode->i_size = INODE_TO_IINFO(inode)->nameLen;
- inode->i_version = 1;
- inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
-- inode->i_uid = inode->i_gid = 0;
-+ inode->i_uid = GLOBAL_ROOT_UID;
-+ inode->i_gid = GLOBAL_ROOT_GID;
- inode->i_op = &LinkInodeOps;
-
- d_add(dentry, inode);
diff --git a/app-emulation/vmware-modules/files/279-apic.patch b/app-emulation/vmware-modules/files/279-apic.patch
deleted file mode 100644
index 66cd45933246..000000000000
--- a/app-emulation/vmware-modules/files/279-apic.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/vmmon-only/linux/hostif.c b/vmmon-only/linux/hostif.c
-index f1f4b10..c43242f 100644
---- a/vmmon-only/linux/hostif.c
-+++ b/vmmon-only/linux/hostif.c
-@@ -55,6 +55,7 @@
- #include <linux/kthread.h>
- #include <linux/wait.h>
-
-+#include <asm/apic.h>
-
- #include "vmware.h"
- #include "x86apic.h"
diff --git a/app-emulation/vmware-modules/files/279-filldir.patch b/app-emulation/vmware-modules/files/279-filldir.patch
deleted file mode 100644
index 6eb1f315cd97..000000000000
--- a/app-emulation/vmware-modules/files/279-filldir.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-diff --git a/vmblock-only/linux/file.c b/vmblock-only/linux/file.c
-index d7ac1f6..5499169 100644
---- a/vmblock-only/linux/file.c
-+++ b/vmblock-only/linux/file.c
-@@ -38,46 +38,6 @@ typedef u64 inode_num_t;
- typedef ino_t inode_num_t;
- #endif
-
--/* Specifically for our filldir_t callback */
--typedef struct FilldirInfo {
-- filldir_t filldir;
-- void *dirent;
--} FilldirInfo;
--
--
--/*
-- *----------------------------------------------------------------------------
-- *
-- * Filldir --
-- *
-- * Callback function for readdir that we use in place of the one provided.
-- * This allows us to specify that each dentry is a symlink, but pass through
-- * everything else to the original filldir function.
-- *
-- * Results:
-- * Original filldir's return value.
-- *
-- * Side effects:
-- * Directory information gets copied to user's buffer.
-- *
-- *----------------------------------------------------------------------------
-- */
--
--static int
--Filldir(void *buf, // IN: Dirent buffer passed from FileOpReaddir
-- const char *name, // IN: Dirent name
-- int namelen, // IN: len of dirent's name
-- loff_t offset, // IN: Offset
-- inode_num_t ino, // IN: Inode number of dirent
-- unsigned int d_type) // IN: Type of file
--{
-- FilldirInfo *info = buf;
--
-- /* Specify DT_LNK regardless */
-- return info->filldir(info->dirent, name, namelen, offset, ino, DT_LNK);
--}
--
--
- /* File operations */
-
- /*
-@@ -166,11 +126,10 @@ FileOpOpen(struct inode *inode, // IN
-
- static int
- FileOpReaddir(struct file *file, // IN
-- void *dirent, // IN
-- filldir_t filldir) // IN
-+ struct dir_context *ctx) // IN
- {
- int ret;
-- FilldirInfo info;
-+
- struct file *actualFile;
-
- if (!file) {
-@@ -184,12 +143,10 @@ FileOpReaddir(struct file *file, // IN
- return -EINVAL;
- }
-
-- info.filldir = filldir;
-- info.dirent = dirent;
--
-- actualFile->f_pos = file->f_pos;
-- ret = vfs_readdir(actualFile, Filldir, &info);
-- file->f_pos = actualFile->f_pos;
-+ /* Ricky Wong Yung Fei:
-+ * Manipulation of pos is now handled internally by iterate_dir().
-+ */
-+ ret = iterate_dir(actualFile, ctx);
-
- return ret;
- }
-@@ -237,7 +194,7 @@ FileOpRelease(struct inode *inode, // IN
-
-
- struct file_operations RootFileOps = {
-- .readdir = FileOpReaddir,
-+ .iterate = FileOpReaddir,
- .open = FileOpOpen,
- .release = FileOpRelease,
- };
diff --git a/app-emulation/vmware-modules/files/279-hardened.patch b/app-emulation/vmware-modules/files/279-hardened.patch
deleted file mode 100644
index cc3e04152877..000000000000
--- a/app-emulation/vmware-modules/files/279-hardened.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-diff --git a/vmmon-only/linux/driver.c b/vmmon-only/linux/driver.c
-index b21dd44..960c2aa 100644
---- a/vmmon-only/linux/driver.c
-+++ b/vmmon-only/linux/driver.c
-@@ -178,7 +178,22 @@ static struct vm_operations_struct vmuser_mops = {
- #endif
- };
-
--static struct file_operations vmuser_fops;
-+static struct file_operations vmuser_fops = {
-+ .owner = THIS_MODULE,
-+ .poll = LinuxDriverPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
-+#else
-+ .ioctl = LinuxDriver_Ioctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
-+#endif
-+ .open = LinuxDriver_Open,
-+ .release = LinuxDriver_Close,
-+ .mmap = LinuxDriverMmap
-+};
-+
- static struct timer_list tscTimer;
-
- /*
-@@ -357,27 +372,6 @@ init_module(void)
- spin_lock_init(&linuxState.pollListLock);
- #endif
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vmuser_fops, 0, sizeof vmuser_fops);
-- vmuser_fops.owner = THIS_MODULE;
-- vmuser_fops.poll = LinuxDriverPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
--#else
-- vmuser_fops.ioctl = LinuxDriver_Ioctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
--#endif
-- vmuser_fops.open = LinuxDriver_Open;
-- vmuser_fops.release = LinuxDriver_Close;
-- vmuser_fops.mmap = LinuxDriverMmap;
--
- #ifdef VMX86_DEVEL
- devel_init_module();
- linuxState.minor = 0;
-diff --git a/vmnet-only/driver.c b/vmnet-only/driver.c
-index b12b982..40bd4cf 100644
---- a/vmnet-only/driver.c
-+++ b/vmnet-only/driver.c
-@@ -165,7 +165,22 @@ static long VNetFileOpUnlockedIoctl(struct file * filp,
- unsigned int iocmd, unsigned long ioarg);
- #endif
-
--static struct file_operations vnetFileOps;
-+static struct file_operations vnetFileOps = {
-+ .owner = THIS_MODULE,
-+ .read = VNetFileOpRead,
-+ .write = VNetFileOpWrite,
-+ .poll = VNetFileOpPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = VNetFileOpUnlockedIoctl,
-+#else
-+ .ioctl = VNetFileOpIoctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = VNetFileOpUnlockedIoctl,
-+#endif
-+ .open = VNetFileOpOpen,
-+ .release = VNetFileOpClose
-+};
-
- /*
- * Utility functions
-@@ -476,28 +491,6 @@ init_module(void)
- goto err_proto;
- }
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vnetFileOps, 0, sizeof vnetFileOps);
-- vnetFileOps.owner = THIS_MODULE;
-- vnetFileOps.read = VNetFileOpRead;
-- vnetFileOps.write = VNetFileOpWrite;
-- vnetFileOps.poll = VNetFileOpPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
--#else
-- vnetFileOps.ioctl = VNetFileOpIoctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
--#endif
-- vnetFileOps.open = VNetFileOpOpen;
-- vnetFileOps.release = VNetFileOpClose;
--
- retval = register_chrdev(VNET_MAJOR_NUMBER, "vmnet", &vnetFileOps);
- if (retval) {
- LOG(0, (KERN_NOTICE "/dev/vmnet: could not register major device %d\n",
diff --git a/app-emulation/vmware-modules/files/279-makefile-include.patch b/app-emulation/vmware-modules/files/279-makefile-include.patch
deleted file mode 100644
index 39c300030805..000000000000
--- a/app-emulation/vmware-modules/files/279-makefile-include.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff --git a/vmblock-only/Makefile.kernel b/vmblock-only/Makefile.kernel
-index ab7a727..e3ec9d2 100644
---- a/vmblock-only/Makefile.kernel
-+++ b/vmblock-only/Makefile.kernel
-@@ -19,7 +19,7 @@
-
- INCLUDE += -I$(SRCROOT)/include
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachecreate.c, -DVMW_KMEMCR_HAS_DTOR, )
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachector.c, -DVMW_KMEMCR_CTOR_HAS_3_ARGS, )
-diff --git a/vmci-only/Makefile.kernel b/vmci-only/Makefile.kernel
-index ba343ee..861ea83 100644
---- a/vmci-only/Makefile.kernel
-+++ b/vmci-only/Makefile.kernel
-@@ -21,7 +21,7 @@ CC_OPTS += -DVMCI
-
- INCLUDE += -I$(SRCROOT)/shared -I$(SRCROOT)/common -I$(SRCROOT)/linux
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- obj-m += $(DRIVER).o
-
-diff --git a/vmmon-only/Makefile.kernel b/vmmon-only/Makefile.kernel
-index 8770d1d..c4746c3 100644
---- a/vmmon-only/Makefile.kernel
-+++ b/vmmon-only/Makefile.kernel
-@@ -22,7 +22,7 @@ CC_OPTS += -DVMMON -DVMCORE
- INCLUDE := -I$(SRCROOT)/include -I$(SRCROOT)/common -I$(SRCROOT)/linux \
- -I$(SRCROOT)/vmcore
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/smpcall.c, -DVMW_HAVE_SMP_CALL_3ARG, )
-
-diff --git a/vmnet-only/Makefile.kernel b/vmnet-only/Makefile.kernel
-index d1e3133..665d428 100644
---- a/vmnet-only/Makefile.kernel
-+++ b/vmnet-only/Makefile.kernel
-@@ -19,7 +19,7 @@
-
- INCLUDE := -I$(SRCROOT)
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_net.c,-DVMW_NETDEV_HAS_NET, )
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_dev_net.c,-DVMW_NETDEV_HAS_DEV_NET, )
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/nfhook_uses_skb.c,-DVMW_NFHOOK_USES_SKB, )
-diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
-index b4629ee..264b8cb 100644
---- a/vsock-only/Makefile.kernel
-+++ b/vsock-only/Makefile.kernel
-@@ -25,7 +25,7 @@ INCLUDE += -I$(SRCROOT)/include
- INCLUDE += -I$(SRCROOT)/linux
- INCLUDE += -I$(SRCROOT)/common
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/netcreate_num_params.c, -DVMW_NETCREATE_KERNARG, )
-
-
diff --git a/app-emulation/vmware-modules/files/279-makefile-kernel-dir.patch b/app-emulation/vmware-modules/files/279-makefile-kernel-dir.patch
deleted file mode 100644
index 1a647a3302d8..000000000000
--- a/app-emulation/vmware-modules/files/279-makefile-kernel-dir.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-diff --git a/vmblock-only/Makefile b/vmblock-only/Makefile
-index 2b81323..746c8b8 100644
---- a/vmblock-only/Makefile
-+++ b/vmblock-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmblock
- PRODUCT := ws
-diff --git a/vmci-only/Makefile b/vmci-only/Makefile
-index 8e9c5be..6ec828b 100644
---- a/vmci-only/Makefile
-+++ b/vmci-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmci
- PRODUCT := ws
-diff --git a/vmmon-only/Makefile b/vmmon-only/Makefile
-index 5bd867b..91a83d4 100644
---- a/vmmon-only/Makefile
-+++ b/vmmon-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmmon
- PRODUCT := @@PRODUCT@@
-diff --git a/vmnet-only/Makefile b/vmnet-only/Makefile
-index d4eb73c..c7c6d38 100644
---- a/vmnet-only/Makefile
-+++ b/vmnet-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmnet
- PRODUCT := @@PRODUCT@@
-diff --git a/vsock-only/Makefile b/vsock-only/Makefile
-index 93dd61d..9765696 100644
---- a/vsock-only/Makefile
-+++ b/vsock-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vsock
- PRODUCT := ws
diff --git a/app-emulation/vmware-modules/files/279-netdevice.patch b/app-emulation/vmware-modules/files/279-netdevice.patch
deleted file mode 100644
index 35231a3205e3..000000000000
--- a/app-emulation/vmware-modules/files/279-netdevice.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/vmnet-only/compat_netdevice.h b/vmnet-only/compat_netdevice.h
-index 7a56304..9ff4548 100644
---- a/vmnet-only/compat_netdevice.h
-+++ b/vmnet-only/compat_netdevice.h
-@@ -47,6 +47,19 @@
- # define net_device device
- #endif
-
-+/* it looks like these have been removed from the kernel 3.1
-+ * probably because the "transition" is considered complete.
-+ * so to keep this source compatible we just redefine them like they were
-+ * previously
-+ */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
-+#define HAVE_ALLOC_NETDEV /* feature macro: alloc_xxxdev
-+ functions are available. */
-+#define HAVE_FREE_NETDEV /* free_netdev() */
-+#define HAVE_NETDEV_PRIV /* netdev_priv() */
-+#define HAVE_NETIF_QUEUE
-+#define HAVE_NET_DEVICE_OPS
-+#endif
-
- /*
- * SET_MODULE_OWNER appeared sometime during 2.3.x. It was setting
diff --git a/app-emulation/vmware-modules/files/279-putname.patch b/app-emulation/vmware-modules/files/279-putname.patch
deleted file mode 100644
index 6e76130fa165..000000000000
--- a/app-emulation/vmware-modules/files/279-putname.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/vmblock-only/linux/control.c b/vmblock-only/linux/control.c
-index 79716bd..2dd83fe 100644
---- a/vmblock-only/linux/control.c
-+++ b/vmblock-only/linux/control.c
-@@ -293,7 +293,7 @@ ExecuteBlockOp(const char __user *buf, // IN: buffer with name
-
- retval = i < 0 ? -EINVAL : blockOp(name, blocker);
-
-- putname(name);
-+ __putname(name);
-
- return retval;
- }
diff --git a/app-emulation/vmware-modules/files/279-vfsfollowlink.patch b/app-emulation/vmware-modules/files/279-vfsfollowlink.patch
deleted file mode 100644
index 13f600e39f33..000000000000
--- a/app-emulation/vmware-modules/files/279-vfsfollowlink.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Naur a/linux/inode.c b/linux/inode.c
---- a/vmblock-only/linux/inode.c 2013-10-03 04:29:47.471339204 -0400
-+++ b/vmblock-only/linux/inode.c 2013-10-03 04:31:56.607334636 -0400
-@@ -36,7 +36,7 @@
-
- /* Inode operations */
- static struct dentry *InodeOpLookup(struct inode *dir,
-- struct dentry *dentry, struct nameidata *nd);
-+ struct dentry *dentry, unsigned int flags);
- static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -75,7 +75,7 @@
- static struct dentry *
- InodeOpLookup(struct inode *dir, // IN: parent directory's inode
- struct dentry *dentry, // IN: dentry to lookup
-- struct nameidata *nd) // IN: lookup intent and information
-+ unsigned int flags) // IN: lookup intent and information
- {
- char *filename;
- struct inode *inode;
-@@ -221,7 +221,7 @@
- goto out;
- }
-
-- ret = vfs_follow_link(nd, iinfo->name);
-+ nd_set_link(nd, iinfo->name);
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
diff --git a/app-emulation/vmware-modules/files/279-vmblock.patch b/app-emulation/vmware-modules/files/279-vmblock.patch
deleted file mode 100644
index 0daf60355618..000000000000
--- a/app-emulation/vmware-modules/files/279-vmblock.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -ruN work.orig/vmblock-only/linux/control.c work/vmblock-only/linux/control.c
---- work.orig/vmblock-only/linux/control.c 2013-11-02 18:05:39.960226399 +0100
-+++ work/vmblock-only/linux/control.c 2013-11-02 18:09:11.760231432 +0100
-@@ -208,17 +208,14 @@
- VMBlockSetProcEntryOwner(controlProcMountpoint);
-
- /* Create /proc/fs/vmblock/dev */
-- controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME,
-- VMBLOCK_CONTROL_MODE,
-- controlProcDirEntry);
-- if (!controlProcEntry) {
-+ controlProcEntry = proc_create(VMBLOCK_CONTROL_DEVNAME, VMBLOCK_CONTROL_MODE, controlProcDirEntry, &ControlFileOps);
-+ if (controlProcEntry == NULL) {
- Warning("SetupProcDevice: could not create " VMBLOCK_DEVICE "\n");
- remove_proc_entry(VMBLOCK_CONTROL_MOUNTPOINT, controlProcDirEntry);
- remove_proc_entry(VMBLOCK_CONTROL_PROC_DIRNAME, NULL);
- return -EINVAL;
- }
-
-- controlProcEntry->proc_fops = &ControlFileOps;
- return 0;
- }
-
diff --git a/app-emulation/vmware-modules/files/304-3.10-00-dentry.patch b/app-emulation/vmware-modules/files/304-3.10-00-dentry.patch
deleted file mode 100644
index 5cc445fcadf9..000000000000
--- a/app-emulation/vmware-modules/files/304-3.10-00-dentry.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Minor change the API, now it just gets passed flags instead of a pointer to the nameidata
---- a/vmblock-only/linux/dentry.c 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/linux/dentry.c 2015-02-24 03:58:06.038605919 +0300
-@@ -32,7 +32,11 @@
- #include "block.h"
-
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
- static int DentryOpRevalidate(struct dentry *dentry, struct nameidata *nd);
-+#else
-+static int DentryOpRevalidate(struct dentry *dentry, unsigned int);
-+#endif
-
- struct dentry_operations LinkDentryOps = {
- .d_revalidate = DentryOpRevalidate,
-@@ -58,9 +62,12 @@
- *----------------------------------------------------------------------------
- */
-
--static int
--DentryOpRevalidate(struct dentry *dentry, // IN: dentry revalidating
-- struct nameidata *nd) // IN: lookup flags & intent
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
-+static int DentryOpRevalidate(struct dentry *dentry, struct nameidata *nd)
-+#else
-+static int DentryOpRevalidate(struct dentry *dentry, unsigned int flags)
-+#endif
-+
- {
- VMBlockInodeInfo *iinfo;
- struct nameidata actualNd;
-@@ -101,7 +108,11 @@
- if (actualDentry &&
- actualDentry->d_op &&
- actualDentry->d_op->d_revalidate) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
-+ return actualDentry->d_op->d_revalidate(actualDentry, flags);
-+#else
- return actualDentry->d_op->d_revalidate(actualDentry, nd);
-+#endif
- }
-
- if (compat_path_lookup(iinfo->name, 0, &actualNd)) {
diff --git a/app-emulation/vmware-modules/files/304-3.10-01-inode.patch b/app-emulation/vmware-modules/files/304-3.10-01-inode.patch
deleted file mode 100644
index e12d84d10e7b..000000000000
--- a/app-emulation/vmware-modules/files/304-3.10-01-inode.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-Minor change the API, now it just gets passed flags instead of a pointer to the nameidata
-Properly initializes UID/GID with repsect to namespaces
-Some changes the readlink/setlink APIs
---- a/vmblock-only/linux/inode.c 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/linux/inode.c 2015-02-24 03:58:06.039605762 +0300
-@@ -35,9 +35,15 @@
-
-
- /* Inode operations */
--static struct dentry *InodeOpLookup(struct inode *dir,
-- struct dentry *dentry, struct nameidata *nd);
-+
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
-+static struct dentry *InodeOpLookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd);
- static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
-+#else
-+static struct dentry *InodeOpLookup(struct inode *, struct dentry *, unsigned int);
-+static int InodeOpReadlink(struct dentry *, char __user *, int);
-+#endif
-+
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
- #else
-@@ -49,12 +55,15 @@
- .lookup = InodeOpLookup,
- };
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
- static struct inode_operations LinkInodeOps = {
-+#else
-+struct inode_operations LinkInodeOps = {
-+#endif
- .readlink = InodeOpReadlink,
- .follow_link = InodeOpFollowlink,
- };
-
--
- /*
- *----------------------------------------------------------------------------
- *
-@@ -75,7 +84,11 @@
- static struct dentry *
- InodeOpLookup(struct inode *dir, // IN: parent directory's inode
- struct dentry *dentry, // IN: dentry to lookup
-- struct nameidata *nd) // IN: lookup intent and information
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
-+ struct nameidata *nd) // IN: lookup intent and information
-+#else
-+ unsigned int flags)
-+#endif
- {
- char *filename;
- struct inode *inode;
-@@ -135,7 +148,12 @@
- inode->i_size = INODE_TO_IINFO(inode)->nameLen;
- inode->i_version = 1;
- inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
- inode->i_uid = inode->i_gid = 0;
-+#else
-+ inode->i_gid = make_kgid(current_user_ns(), 0);
-+ inode->i_uid = make_kuid(current_user_ns(), 0);
-+#endif
- inode->i_op = &LinkInodeOps;
-
- d_add(dentry, inode);
-@@ -177,7 +195,12 @@
- return -EINVAL;
- }
-
-- return vfs_readlink(dentry, buffer, buflen, iinfo->name);
-+#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 14, 99)
-+ return vfs_readlink(dentry, buffer, buflen, iinfo->name);
-+#else
-+ return readlink_copy(buffer, buflen, iinfo->name);
-+#endif
-+
- }
-
-
-@@ -221,7 +244,7 @@
- goto out;
- }
-
-- ret = vfs_follow_link(nd, iinfo->name);
-+ nd_set_link(nd, iinfo->name);
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-@@ -230,3 +253,4 @@
- return ret;
- #endif
- }
-+
diff --git a/app-emulation/vmware-modules/files/304-3.10-02-control.patch b/app-emulation/vmware-modules/files/304-3.10-02-control.patch
deleted file mode 100644
index 928835337511..000000000000
--- a/app-emulation/vmware-modules/files/304-3.10-02-control.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-The API to create proc entries now takes the file ops structure directly, instead of being set after the fact
-Using new __getname/__putname API
---- a/vmblock-only/linux/control.c 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/linux/control.c 2015-02-24 03:58:06.038605919 +0300
-@@ -208,9 +208,11 @@
- VMBlockSetProcEntryOwner(controlProcMountpoint);
-
- /* Create /proc/fs/vmblock/dev */
-- controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME,
-- VMBLOCK_CONTROL_MODE,
-- controlProcDirEntry);
-+ controlProcEntry = proc_create(VMBLOCK_CONTROL_DEVNAME,
-+ VMBLOCK_CONTROL_MODE,
-+ controlProcDirEntry,
-+ &ControlFileOps);
-+
- if (!controlProcEntry) {
- Warning("SetupProcDevice: could not create " VMBLOCK_DEVICE "\n");
- remove_proc_entry(VMBLOCK_CONTROL_MOUNTPOINT, controlProcDirEntry);
-@@ -218,7 +220,10 @@
- return -EINVAL;
- }
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
- controlProcEntry->proc_fops = &ControlFileOps;
-+#endif
-+
- return 0;
- }
-
-@@ -287,18 +287,24 @@ ExecuteBlockOp(const char __user *buf,
- int i;
- int retval;
-
-- name = getname(buf);
-+ name = __getname();
- if (IS_ERR(name)) {
- return PTR_ERR(name);
- }
-
-+ i = strncpy_from_user(name, buf, PATH_MAX);
-+ if (i < 0 || i == PATH_MAX) {
-+ __putname(name);
-+ return -EINVAL;
-+ }
-+
- for (i = strlen(name) - 1; i >= 0 && name[i] == '/'; i--) {
- name[i] = '\0';
- }
-
- retval = i < 0 ? -EINVAL : blockOp(name, blocker);
-
-- putname(name);
-+ __putname(name);
-
- return retval;
- }
diff --git a/app-emulation/vmware-modules/files/304-3.10-03-inline.patch b/app-emulation/vmware-modules/files/304-3.10-03-inline.patch
deleted file mode 100644
index fa8f36a35c29..000000000000
--- a/app-emulation/vmware-modules/files/304-3.10-03-inline.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Hushes a warning
---- a/vmmon-only/linux/driver.c 2015-02-07 03:54:16.000000000 +0300
-+++ c/vmmon-only/linux/driver.c 2015-02-24 03:58:06.042605293 +0300
-@@ -1328,7 +1328,9 @@
- *-----------------------------------------------------------------------------
- */
-
--__attribute__((always_inline)) static Bool
-+#include <linux/compiler-gcc.h>
-+
-+__always_inline static Bool
- LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
- {
- TSCDelta tscDelta;
diff --git a/app-emulation/vmware-modules/files/304-3.11-00-readdir.patch b/app-emulation/vmware-modules/files/304-3.11-00-readdir.patch
deleted file mode 100644
index b2f76d3e2b30..000000000000
--- a/app-emulation/vmware-modules/files/304-3.11-00-readdir.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-replaces usage of vfs_readdir with iterate_dir. origionally found here:
-https://bugs.gentoo.org/show_bug.cgi?id=508204
-
-diff -Naur vmblock-only/linux/file.c vmblock-only/linux/file.c
---- vmblock-only/linux/file.c 2013-11-05 23:33:26.000000000 -0500
-+++ vmblock-only/linux/file.c 2014-04-26 10:58:03.062635343 -0400
-@@ -166,11 +166,9 @@
-
- static int
- FileOpReaddir(struct file *file, // IN
-- void *dirent, // IN
-- filldir_t filldir) // IN
-+ struct dir_context *ctx)
- {
- int ret;
-- FilldirInfo info;
- struct file *actualFile;
-
- if (!file) {
-@@ -184,11 +182,8 @@
- return -EINVAL;
- }
-
-- info.filldir = filldir;
-- info.dirent = dirent;
--
- actualFile->f_pos = file->f_pos;
-- ret = vfs_readdir(actualFile, Filldir, &info);
-+ ret = iterate_dir(actualFile, ctx);
- file->f_pos = actualFile->f_pos;
-
- return ret;
-@@ -237,7 +232,7 @@
-
-
- struct file_operations RootFileOps = {
-- .readdir = FileOpReaddir,
-+ .iterate = FileOpReaddir,
- .open = FileOpOpen,
- .release = FileOpRelease,
- };
diff --git a/app-emulation/vmware-modules/files/304-3.11-01-filldir.patch b/app-emulation/vmware-modules/files/304-3.11-01-filldir.patch
deleted file mode 100644
index 2eec99b7c1f8..000000000000
--- a/app-emulation/vmware-modules/files/304-3.11-01-filldir.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-simply remove the code for Filldir since it is no longer used with the new
-iterate_dir API
-
-diff -rupN vmblock-only/linux/file.c vmblock-only.new/linux/file.c
---- vmblock-only/linux/file.c 2014-10-07 23:22:46.832469618 -0400
-+++ vmblock-only.new/linux/file.c 2014-10-07 23:24:35.276472720 -0400
-@@ -38,46 +38,6 @@ typedef u64 inode_num_t;
- typedef ino_t inode_num_t;
- #endif
-
--/* Specifically for our filldir_t callback */
--typedef struct FilldirInfo {
-- filldir_t filldir;
-- void *dirent;
--} FilldirInfo;
--
--
--/*
-- *----------------------------------------------------------------------------
-- *
-- * Filldir --
-- *
-- * Callback function for readdir that we use in place of the one provided.
-- * This allows us to specify that each dentry is a symlink, but pass through
-- * everything else to the original filldir function.
-- *
-- * Results:
-- * Original filldir's return value.
-- *
-- * Side effects:
-- * Directory information gets copied to user's buffer.
-- *
-- *----------------------------------------------------------------------------
-- */
--
--static int
--Filldir(void *buf, // IN: Dirent buffer passed from FileOpReaddir
-- const char *name, // IN: Dirent name
-- int namelen, // IN: len of dirent's name
-- loff_t offset, // IN: Offset
-- inode_num_t ino, // IN: Inode number of dirent
-- unsigned int d_type) // IN: Type of file
--{
-- FilldirInfo *info = buf;
--
-- /* Specify DT_LNK regardless */
-- return info->filldir(info->dirent, name, namelen, offset, ino, DT_LNK);
--}
--
--
- /* File operations */
-
- /*
diff --git a/app-emulation/vmware-modules/files/304-3.15-00-vsock.patch b/app-emulation/vmware-modules/files/304-3.15-00-vsock.patch
deleted file mode 100644
index 9e8d9d1a32f7..000000000000
--- a/app-emulation/vmware-modules/files/304-3.15-00-vsock.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-removing the no longer existing second parameter to sk_data_ready
-doesn't seem it ever served a purpose.
-
-diff -rupN vsock-only/linux/notify.c vsock-only.new/linux/notify.c
---- vsock-only/linux/notify.c 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only.new/linux/notify.c 2014-10-05 23:46:47.943304728 -0400
-@@ -515,8 +515,11 @@ VSockVmciHandleWrote(struct sock *sk,
- vsk = vsock_sk(sk);
- PKT_FIELD(vsk, sentWaitingRead) = FALSE;
- #endif
--
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
-
-diff -rupN vsock-only/linux/notifyQState.c vsock-only.new/linux/notifyQState.c
---- vsock-only/linux/notifyQState.c 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only.new/linux/notifyQState.c 2014-10-05 23:46:33.231303931 -0400
-@@ -164,7 +164,11 @@ VSockVmciHandleWrote(struct sock *sk,
- struct sockaddr_vm *dst, // IN: unused
- struct sockaddr_vm *src) // IN: unused
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
-
-@@ -566,7 +570,11 @@ VSockVmciNotifyPktRecvPostDequeue(struct
- }
-
- /* See the comment in VSockVmciNotifyPktSendPostEnqueue */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
- return err;
diff --git a/app-emulation/vmware-modules/files/304-3.18-00-version-redefined.patch b/app-emulation/vmware-modules/files/304-3.18-00-version-redefined.patch
deleted file mode 100644
index 22d6325c9a90..000000000000
--- a/app-emulation/vmware-modules/files/304-3.18-00-version-redefined.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Hushes some (but not all warnings) relating to redefinitions of this define
---- a/vmci-only/shared/vm_device_version.h 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmci-only/shared/vm_device_version.h 2015-02-24 03:58:06.041605450 +0300
-@@ -53,7 +53,9 @@
- * VMware HD Audio codec
- * VMware HD Audio controller
- */
-+#ifndef PCI_VENDOR_ID_VMWARE
- #define PCI_VENDOR_ID_VMWARE 0x15AD
-+#endif
- #define PCI_DEVICE_ID_VMWARE_SVGA2 0x0405
- #define PCI_DEVICE_ID_VMWARE_SVGA 0x0710
- #define PCI_DEVICE_ID_VMWARE_VGA 0x0711
---- a/vmnet-only/vm_device_version.h 2015-02-07 03:54:16.000000000 +0300
-+++ c/vmnet-only/vm_device_version.h 2015-02-24 03:58:06.044604981 +0300
-@@ -53,7 +53,9 @@
- * VMware HD Audio codec
- * VMware HD Audio controller
- */
-+#ifndef PCI_VENDOR_ID_VMWARE
- #define PCI_VENDOR_ID_VMWARE 0x15AD
-+#endif
- #define PCI_DEVICE_ID_VMWARE_SVGA2 0x0405
- #define PCI_DEVICE_ID_VMWARE_SVGA 0x0710
- #define PCI_DEVICE_ID_VMWARE_VGA 0x0711
diff --git a/app-emulation/vmware-modules/files/304-3.19-00-compat-namei.patch b/app-emulation/vmware-modules/files/304-3.19-00-compat-namei.patch
deleted file mode 100644
index 0182077254a1..000000000000
--- a/app-emulation/vmware-modules/files/304-3.19-00-compat-namei.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-A copy of this since it is no longer exported by the kernel headers
---- a/vmblock-only/shared/compat_namei.h 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/shared/compat_namei.h 2015-02-24 03:51:25.235286047 +0300
-@@ -21,6 +21,20 @@
-
- #include <linux/namei.h>
-
-+/* Copy-n-paste from kernel's source/fs/namei.c */
-+struct nameidata {
-+ struct path path;
-+ struct qstr last;
-+ struct path root;
-+ struct inode *inode; /* path.dentry.d_inode */
-+ unsigned int flags;
-+ unsigned seq, m_seq;
-+ int last_type;
-+ unsigned depth;
-+ struct file *base;
-+ char *saved_names[MAX_NESTED_LINKS + 1];
-+};
-+
- /*
- * In 2.6.25-rc2, dentry and mount objects were removed from the nameidata
- * struct. They were both replaced with a struct path.
diff --git a/app-emulation/vmware-modules/files/304-3.19-01-dentry.patch b/app-emulation/vmware-modules/files/304-3.19-01-dentry.patch
deleted file mode 100644
index 3e3be6542dda..000000000000
--- a/app-emulation/vmware-modules/files/304-3.19-01-dentry.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-There is an level of abstrxtion in the newre API as of 3.19 here
---- a/vmnet-only/driver.c 2015-02-07 03:54:17.000000000 +0300
-+++ c/vmnet-only/driver.c 2015-02-24 03:58:06.043605137 +0300
-@@ -1191,8 +1191,8 @@
- struct inode *inode = NULL;
- long err;
-
-- if (filp && filp->f_dentry) {
-- inode = filp->f_dentry->d_inode;
-+ if (filp && filp->f_path.dentry) {
-+ inode = filp->f_path.dentry->d_inode;
- }
- err = VNetFileOpIoctl(inode, filp, iocmd, ioarg);
- return err;
diff --git a/app-emulation/vmware-modules/files/304-3.19-02-vmblock-path.patch b/app-emulation/vmware-modules/files/304-3.19-02-vmblock-path.patch
deleted file mode 100644
index 178d1478ae59..000000000000
--- a/app-emulation/vmware-modules/files/304-3.19-02-vmblock-path.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Sources:
-https://531682.bugs.gentoo.org/attachment.cgi?id=396484
-https://531682.bugs.gentoo.org/attachment.cgi?id=396482
-diff -rupN vmblock-only.orig/linux/dentry.c vmblock-only/linux/dentry.c
---- vmblock-only.orig/linux/dentry.c 2015-02-14 18:05:46.000000000 -0500
-+++ vmblock-only/linux/dentry.c 2015-02-14 18:09:59.000000000 -0500
-@@ -63,7 +63,7 @@ DentryOpRevalidate(struct dentry *dentry
- unsigned int flags) // IN: lookup flags & intent
- {
- VMBlockInodeInfo *iinfo;
-- struct nameidata actualNd;
-+ struct path actualNd;
- struct dentry *actualDentry;
- int ret;
-
-diff -rupN vmblock-only.orig/linux/filesystem.c vmblock-only/linux/filesystem.c
---- vmblock-only.orig/linux/filesystem.c 2014-11-20 19:29:15.000000000 -0500
-+++ vmblock-only/linux/filesystem.c 2015-02-14 18:10:49.000000000 -0500
-@@ -322,7 +322,7 @@ Iget(struct super_block *sb, // IN: f
- {
- VMBlockInodeInfo *iinfo;
- struct inode *inode;
-- struct nameidata actualNd;
-+ struct path actualNd;
-
- ASSERT(sb);
-
-diff -rupN vmblock-only.orig/shared/compat_namei.h vmblock-only/shared/compat_namei.h
---- vmblock-only.orig/shared/compat_namei.h 2014-11-20 19:29:15.000000000 -0500
-+++ vmblock-only/shared/compat_namei.h 2015-02-14 18:08:38.000000000 -0500
-@@ -26,21 +26,21 @@
- * struct. They were both replaced with a struct path.
- */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
--#define compat_vmw_nd_to_dentry(nd) (nd).path.dentry
-+#define compat_vmw_nd_to_dentry(nd) (nd).dentry
- #else
- #define compat_vmw_nd_to_dentry(nd) (nd).dentry
- #endif
-
- /* In 2.6.25-rc2, path_release(&nd) was replaced with path_put(&nd.path). */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
--#define compat_path_release(nd) path_put(&(nd)->path)
-+#define compat_path_release(nd) path_put(nd)
- #else
- #define compat_path_release(nd) path_release(nd)
- #endif
-
- /* path_lookup was removed in 2.6.39 merge window VFS merge */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
--#define compat_path_lookup(name, flags, nd) kern_path(name, flags, &((nd)->path))
-+#define compat_path_lookup(name, flags, nd) kern_path(name, flags, nd)
- #else
- #define compat_path_lookup(name, flags, nd) path_lookup(name, flags, nd)
- #endif
-diff -u vmblock-only.orig/linux/file.c vmblock-only/linux/file.c
---- vmblock-only.orig/linux/file.c 2015-02-11 12:18:29.000000000 -0500
-+++ vmblock-only/linux/file.c 2015-02-11 12:41:41.000000000 -0500
-@@ -92,7 +92,7 @@
- * and that would try to acquire the inode's semaphore; if the two inodes
- * are the same we'll deadlock.
- */
-- if (actualFile->f_dentry && inode == actualFile->f_dentry->d_inode) {
-+ if (actualFile->f_path.dentry && inode == actualFile->f_path.dentry->d_inode) {
- Warning("FileOpOpen: identical inode encountered, open cannot succeed.\n");
- if (filp_close(actualFile, current->files) < 0) {
- Warning("FileOpOpen: unable to close opened file.\n");
diff --git a/app-emulation/vmware-modules/files/304-3.19-03-iovec.patch b/app-emulation/vmware-modules/files/304-3.19-03-iovec.patch
deleted file mode 100644
index 726d1173b3b3..000000000000
--- a/app-emulation/vmware-modules/files/304-3.19-03-iovec.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-using new iterator based API, this matches exactly the changes made upstream as of vmware-modules-304.2
---- a/vmnet-only/userif.c 2015-02-07 03:54:17.000000000 +0300
-+++ c/vmnet-only/userif.c 2015-02-24 03:58:06.043605137 +0300
-@@ -523,7 +523,15 @@
- .iov_base = buf,
- .iov_len = len,
- };
-- return skb_copy_datagram_iovec(skb, 0, &iov, len);
-+
-+
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
-+ return skb_copy_datagram_iovec(skb, 0, &iov, len);
-+#else
-+ struct iov_iter to;
-+ iov_iter_init(&to, READ, &iov, 1, len);
-+ return skb_copy_datagram_iter(skb, 0, &to, len);
-+#endif
- }
-
-
diff --git a/app-emulation/vmware-modules/files/304-3.19-04-iovec.patch b/app-emulation/vmware-modules/files/304-3.19-04-iovec.patch
deleted file mode 100644
index 83f0cc8fcbbf..000000000000
--- a/app-emulation/vmware-modules/files/304-3.19-04-iovec.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-Some parts of the iovec API were replaced by the similar message API. Refactoring the code to use that.
---- a/vmci-only/linux/vmciKernelIf.c 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmci-only/linux/vmciKernelIf.c 2015-02-24 03:58:06.041605450 +0300
-@@ -40,6 +40,7 @@
- #include <linux/socket.h> /* For memcpy_{to,from}iovec(). */
- #include <linux/vmalloc.h>
- #include <linux/wait.h>
-+#include <linux/skbuff.h>
-
- #include "compat_highmem.h"
- #include "compat_interrupt.h"
-@@ -1196,21 +1197,21 @@
- } else {
- toCopy = size - bytesCopied;
- }
--
-+ /* Code cloned from kernels drivers/misc/vmw_vmci/vmci_queue_pair.c */
- if (isIovec) {
-- struct iovec *iov = (struct iovec *)src;
-- int err;
-+ struct msghdr *msg = (struct msghdr *)src;
-+ int err;
-
-- /* The iovec will track bytesCopied internally. */
-- err = memcpy_fromiovec((uint8 *)va + pageOffset, iov, toCopy);
-- if (err != 0) {
-- if (kernelIf->host) {
-- kunmap(kernelIf->u.h.page[pageIndex]);
-+ /* The iovec will track bytes_copied internally. */
-+ err = memcpy_from_msg((u8 *)va + pageOffset, msg, toCopy);
-+ if (err != 0) {
-+ if (kernelIf->host)
-+ kunmap(kernelIf->u.h.page[pageIndex]);
-+ return VMCI_ERROR_INVALID_ARGS;
- }
-- return VMCI_ERROR_INVALID_ARGS;
-- }
-- } else {
-- memcpy((uint8 *)va + pageOffset, (uint8 *)src + bytesCopied, toCopy);
-+ } else {
-+ memcpy((u8 *)va + pageOffset,
-+ (u8 *)src + bytesCopied, toCopy);
- }
-
- bytesCopied += toCopy;
-@@ -1273,11 +1274,11 @@
- }
-
- if (isIovec) {
-- struct iovec *iov = (struct iovec *)dest;
-+ struct msghdr *msg = (struct msghdr *)dest;
- int err;
-
- /* The iovec will track bytesCopied internally. */
-- err = memcpy_toiovec(iov, (uint8 *)va + pageOffset, toCopy);
-+ err = memcpy_to_msg(msg, (uint8 *)va + pageOffset, toCopy);
- if (err != 0) {
- if (kernelIf->host) {
- kunmap(kernelIf->u.h.page[pageIndex]);
diff --git a/app-emulation/vmware-modules/files/304-3.19-05-vmci_qpair.patch b/app-emulation/vmware-modules/files/304-3.19-05-vmci_qpair.patch
deleted file mode 100644
index 4dec3c468206..000000000000
--- a/app-emulation/vmware-modules/files/304-3.19-05-vmci_qpair.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Some parts of the iovec API were replaced by the similar message API. Refactoring the code to use that.
-diff -rupN vsock-only.old/linux/af_vsock.c vsock-only/linux/af_vsock.c
---- vsock-only.old/linux/af_vsock.c 2015-05-06 20:41:47.684046762 -0400
-+++ vsock-only/linux/af_vsock.c 2015-05-06 20:52:15.245080779 -0400
-@@ -4629,7 +4629,7 @@ VSockVmciStreamSendmsg(struct kiocb *kio
- * able to send.
- */
-
-- written = vmci_qpair_enquev(vsk->qpair, msg->msg_iov,
-+ written = vmci_qpair_enquev(vsk->qpair, &msg->msg_iter.iov,
- len - totalWritten, 0);
- if (written < 0) {
- err = -ENOMEM;
-@@ -4874,9 +4874,9 @@ VSockVmciStreamRecvmsg(struct kiocb *kio
- }
-
- if (flags & MSG_PEEK) {
-- read = vmci_qpair_peekv(vsk->qpair, msg->msg_iov, len - copied, 0);
-+ read = vmci_qpair_peekv(vsk->qpair, &msg->msg_iter.iov, len - copied, 0);
- } else {
-- read = vmci_qpair_dequev(vsk->qpair, msg->msg_iov, len - copied, 0);
-+ read = vmci_qpair_dequev(vsk->qpair, &msg->msg_iter.iov, len - copied, 0);
- }
-
- if (read < 0) {
diff --git a/app-emulation/vmware-modules/files/304-3.19-06-vsock.patch b/app-emulation/vmware-modules/files/304-3.19-06-vsock.patch
deleted file mode 100644
index 9a2096e679a4..000000000000
--- a/app-emulation/vmware-modules/files/304-3.19-06-vsock.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Some parts of the iovec API were replaced by the similar message API. Refactoring the code to use that.
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2015-05-05 11:31:35.710099711 -0400
-+++ vsock-only.new/linux/af_vsock.c 2015-05-05 11:36:33.260115840 -0400
-@@ -4727,7 +4727,11 @@ VSockVmciDgramRecvmsg(struct kiocb *kioc
- }
-
- /* Place the datagram payload in the user's iovec. */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
- err = skb_copy_datagram_iovec(skb, sizeof *dg, msg->msg_iov, payloadLen);
-+#else
-+ err = skb_copy_datagram_iter(skb, sizeof *dg, &msg->msg_iter, payloadLen);
-+#endif
- if (err) {
- goto out;
- }
diff --git a/app-emulation/vmware-modules/files/304-3.19-07-vsock.patch b/app-emulation/vmware-modules/files/304-3.19-07-vsock.patch
deleted file mode 100644
index 6aec2cd3d7b5..000000000000
--- a/app-emulation/vmware-modules/files/304-3.19-07-vsock.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Some parts of the iovec API were replaced by the similar message API. Refactoring the code to use that.
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2015-05-05 11:26:05.145081792 -0400
-+++ vsock-only.new/linux/af_vsock.c 2015-05-05 11:30:54.304097466 -0400
-@@ -4266,7 +4266,7 @@ VSockVmciDgramSendmsg(struct kiocb *kioc
- goto out;
- }
-
-- memcpy_fromiovec(VMCI_DG_PAYLOAD(dg), msg->msg_iov, len);
-+ memcpy_from_msg(VMCI_DG_PAYLOAD(dg), msg, len);
-
- dg->dst = VMCI_MAKE_HANDLE(remoteAddr->svm_cid, remoteAddr->svm_port);
- dg->src = VMCI_MAKE_HANDLE(vsk->localAddr.svm_cid, vsk->localAddr.svm_port);
diff --git a/app-emulation/vmware-modules/files/304-4.2-00-inode_op.patch b/app-emulation/vmware-modules/files/304-4.2-00-inode_op.patch
deleted file mode 100644
index e6f2acbbb6a0..000000000000
--- a/app-emulation/vmware-modules/files/304-4.2-00-inode_op.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -rupN vmblock-only/linux/inode.c vmblock-only.new/linux/inode.c
---- vmblock-only/linux/inode.c 2016-03-16 21:24:25.771034759 -0400
-+++ vmblock-only.new/linux/inode.c 2016-03-16 21:26:22.697036311 -0400
-@@ -44,7 +44,9 @@ static struct dentry *InodeOpLookup(stru
- static int InodeOpReadlink(struct dentry *, char __user *, int);
- #endif
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie);
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
- #else
- static int InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -220,7 +222,9 @@ InodeOpReadlink(struct dentry *dentry,
- *
- *----------------------------------------------------------------------------
- */
--
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie)
-+#else
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *
- #else
-@@ -228,6 +232,7 @@ static int
- #endif
- InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink
- struct nameidata *nd) // OUT: stores result
-+#endif
- {
- int ret;
- VMBlockInodeInfo *iinfo;
-@@ -244,7 +249,11 @@ InodeOpFollowlink(struct dentry *dentry,
- goto out;
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+ return *cookie = (char *)(iinfo->name);
-+#else
- nd_set_link(nd, iinfo->name);
-+#endif
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
diff --git a/app-emulation/vmware-modules/files/304-4.2-01-inode.patch b/app-emulation/vmware-modules/files/304-4.2-01-inode.patch
deleted file mode 100644
index 35a275bf3367..000000000000
--- a/app-emulation/vmware-modules/files/304-4.2-01-inode.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- vmblock-only/linux/inode.c.orig 2015-09-28 01:11:08.000000000 +0300
-+++ vmblock-only/linux/inode.c 2015-09-28 01:14:32.318043465 +0300
-@@ -44,7 +44,9 @@
- static int InodeOpReadlink(struct dentry *, char __user *, int);
- #endif
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie);
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
- #else
- static int InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -221,13 +223,15 @@
- *----------------------------------------------------------------------------
- */
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
--static void *
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie)
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-+static void * InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink
-+ struct nameidata *nd) // OUT: stores result
- #else
--static int
--#endif
--InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink
-+static int InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink
- struct nameidata *nd) // OUT: stores result
-+#endif
- {
- int ret;
- VMBlockInodeInfo *iinfo;
-@@ -244,7 +248,11 @@
- goto out;
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+ return *cookie = (char *)(iinfo->name);
-+#else
- nd_set_link(nd, iinfo->name);
-+#endif
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
diff --git a/app-emulation/vmware-modules/files/304-4.2-01-vmci_vmalloc.patch b/app-emulation/vmware-modules/files/304-4.2-01-vmci_vmalloc.patch
deleted file mode 100644
index 2296c060bff1..000000000000
--- a/app-emulation/vmware-modules/files/304-4.2-01-vmci_vmalloc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -rupN vmci-only/linux/driver.c vmci-only.new/linux/driver.c
---- vmci-only/linux/driver.c 2015-11-03 19:27:55.000000000 -0500
-+++ vmci-only.new/linux/driver.c 2016-03-16 21:30:47.646039829 -0400
-@@ -26,6 +26,9 @@
-
- #include <linux/file.h>
- #include <linux/fs.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+#include <linux/vmalloc.h>
-+#endif
- #include <linux/init.h>
- #if defined(__x86_64__) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
- # include <linux/ioctl32.h>
diff --git a/app-emulation/vmware-modules/files/304-4.2-02-vmnetInt.patch b/app-emulation/vmware-modules/files/304-4.2-02-vmnetInt.patch
deleted file mode 100644
index 11c76d0423e3..000000000000
--- a/app-emulation/vmware-modules/files/304-4.2-02-vmnetInt.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- vmnet-only/vmnetInt.h.orig 2015-05-31 16:40:39.000000000 +0300
-+++ vmnet-only/vmnetInt.h 2015-09-28 01:22:01.553054142 +0300
-@@ -78,12 +78,16 @@
-
- extern struct proto vmnet_proto;
- #ifdef VMW_NETDEV_HAS_NET
--# define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \
-- PF_NETLINK, _pri, &vmnet_proto)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+# define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \
-+ PF_NETLINK, _pri, &vmnet_proto, 1)
- #else
--# define compat_sk_alloc(_bri, _pri) sk_alloc(PF_NETLINK, _pri, &vmnet_proto, 1)
-+# define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \
-+ PF_NETLINK, _pri, &vmnet_proto)
-+#endif
-+#else
-+# define compat_sk_alloc(_bri, _pri) sk_alloc(PF_NETLINK, _pri, &vmnet_proto, 1)
- #endif
--
-
- #ifdef NF_IP_LOCAL_IN
- #define VMW_NF_INET_LOCAL_IN NF_IP_LOCAL_IN
diff --git a/app-emulation/vmware-modules/files/304-4.2-02-vsock.patch b/app-emulation/vmware-modules/files/304-4.2-02-vsock.patch
deleted file mode 100644
index bdac109e6c60..000000000000
--- a/app-emulation/vmware-modules/files/304-4.2-02-vsock.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2016-03-16 21:31:24.582040320 -0400
-+++ vsock-only.new/linux/af_vsock.c 2016-03-16 21:37:22.140045067 -0400
-@@ -231,7 +231,16 @@ static int VSockVmciStreamSetsockopt(str
-
- static int VSockVmciStreamGetsockopt(struct socket *sock, int level, int optname,
- char __user *optval, int __user * optlen);
--
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+static int VSockVmciDgramSendmsg(
-+ struct socket *sock, struct msghdr *msg, size_t len);
-+static int VSockVmciDgramRecvmsg(struct socket *sock,
-+ struct msghdr *msg, size_t len, int flags);
-+static int VSockVmciStreamSendmsg(
-+ struct socket *sock, struct msghdr *msg, size_t len);
-+static int VSockVmciStreamRecvmsg(struct socket *sock,
-+ struct msghdr *msg, size_t len, int flags);
-+#else
- static int VSockVmciDgramSendmsg(struct kiocb *kiocb,
- struct socket *sock, struct msghdr *msg, size_t len);
- static int VSockVmciDgramRecvmsg(struct kiocb *kiocb, struct socket *sock,
-@@ -240,6 +249,7 @@ static int VSockVmciStreamSendmsg(struct
- struct socket *sock, struct msghdr *msg, size_t len);
- static int VSockVmciStreamRecvmsg(struct kiocb *kiocb, struct socket *sock,
- struct msghdr *msg, size_t len, int flags);
-+#endif
-
- static int VSockVmciCreate(
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
-@@ -4210,7 +4220,11 @@ VSockVmciShutdown(struct socket *sock,
- */
-
- static int
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+VSockVmciDgramSendmsg(
-+#else
- VSockVmciDgramSendmsg(struct kiocb *kiocb, // UNUSED
-+#endif
- struct socket *sock, // IN: socket to send on
- struct msghdr *msg, // IN: message to send
- size_t len) // IN: length of message
-@@ -4540,7 +4554,11 @@ VSockVmciStreamGetsockopt(struct socket
- */
-
- static int
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+VSockVmciStreamSendmsg(
-+#else
- VSockVmciStreamSendmsg(struct kiocb *kiocb, // UNUSED
-+#endif
- struct socket *sock, // IN: socket to send on
- struct msghdr *msg, // IN: message to send
- size_t len) // IN: length of message
-@@ -4709,7 +4727,11 @@ out:
- */
-
- static int
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+VSockVmciDgramRecvmsg(
-+#else
- VSockVmciDgramRecvmsg(struct kiocb *kiocb, // UNUSED
-+#endif
- struct socket *sock, // IN: socket to receive from
- struct msghdr *msg, // IN/OUT: message to receive into
- size_t len, // IN: length of receive buffer
-@@ -4804,7 +4826,11 @@ out:
- */
-
- static int
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+VSockVmciStreamRecvmsg(
-+#else
- VSockVmciStreamRecvmsg(struct kiocb *kiocb, // UNUSED
-+#endif
- struct socket *sock, // IN: socket to receive from
- struct msghdr *msg, // IN/OUT: message to receive into
- size_t len, // IN: length of receive buffer
diff --git a/app-emulation/vmware-modules/files/304-4.2-03-af_vsock.patch b/app-emulation/vmware-modules/files/304-4.2-03-af_vsock.patch
deleted file mode 100644
index 6155df425972..000000000000
--- a/app-emulation/vmware-modules/files/304-4.2-03-af_vsock.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- vsock-only/linux/af_vsock.c.orig 2015-09-28 01:26:51.354061029 +0300
-+++ vsock-only/linux/af_vsock.c 2015-09-28 01:25:11.196058649 +0300
-@@ -2826,7 +2826,9 @@
- * network namespace, and the option to zero the sock was dropped.
- *
- */
--#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+ sk = sk_alloc(net, vsockVmciFamilyOps.family, priority, &vsockVmciProto, 1);
-+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
- sk = sk_alloc(vsockVmciFamilyOps.family, priority,
- vsockVmciProto.slab_obj_size, vsockVmciProto.slab);
- #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
diff --git a/app-emulation/vmware-modules/files/304-4.2-03-vsock.patch b/app-emulation/vmware-modules/files/304-4.2-03-vsock.patch
deleted file mode 100644
index a2504a6a15e3..000000000000
--- a/app-emulation/vmware-modules/files/304-4.2-03-vsock.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2016-03-16 21:38:01.401045589 -0400
-+++ vsock-only.new/linux/af_vsock.c 2016-03-16 21:39:32.529046799 -0400
-@@ -2836,7 +2836,9 @@ __VSockVmciCreate(struct net *net,
- * network namespace, and the option to zero the sock was dropped.
- *
- */
--#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+ sk = sk_alloc(net, vsockVmciFamilyOps.family, priority, &vsockVmciProto, 1);
-+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
- sk = sk_alloc(vsockVmciFamilyOps.family, priority,
- vsockVmciProto.slab_obj_size, vsockVmciProto.slab);
- #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
diff --git a/app-emulation/vmware-modules/files/304-4.2-04-driver.patch b/app-emulation/vmware-modules/files/304-4.2-04-driver.patch
deleted file mode 100644
index 237aa2297a3a..000000000000
--- a/app-emulation/vmware-modules/files/304-4.2-04-driver.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- vmci-only/linux/driver.c.orig 2015-09-28 01:33:04.416069896 +0300
-+++ vmci-only/linux/driver.c 2015-09-28 01:34:32.814071997 +0300
-@@ -26,6 +26,7 @@
-
- #include <linux/file.h>
- #include <linux/fs.h>
-+#include <linux/vmalloc.h>
- #include <linux/init.h>
- #if defined(__x86_64__) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 12)
- # include <linux/ioctl32.h>
-@@ -713,7 +714,7 @@
-
- case IOCTL_VMCI_INIT_CONTEXT: {
- VMCIInitBlock initBlock;
-- VMCIHostUser user;
-+ uid_t user;
-
- retval = copy_from_user(&initBlock, (void *)ioarg, sizeof initBlock);
- if (retval != 0) {
-@@ -736,7 +736,11 @@
- goto init_release;
- }
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
- user = current_uid();
-+#else
-+ user = from_kuid(&init_user_ns, current_uid());
-+#endif
- retval = VMCIContext_InitContext(initBlock.cid, initBlock.flags,
- 0 /* Unused */, vmciLinux->userVersion,
- &user, &vmciLinux->context);
-
-@@ -1683,7 +1684,7 @@
- /* This should be last to make sure we are done initializing. */
- retval = pci_register_driver(&vmci_driver);
- if (retval < 0) {
-- vfree(data_buffer);
-+ kvfree(data_buffer);
- data_buffer = NULL;
- return retval;
- }
-@@ -2470,7 +2471,7 @@
-
- if (guestDeviceInit) {
- pci_unregister_driver(&vmci_driver);
-- vfree(data_buffer);
-+ kvfree(data_buffer);
- guestDeviceInit = FALSE;
- }
-
diff --git a/app-emulation/vmware-modules/files/304-4.3-00-misc_deregister.patch b/app-emulation/vmware-modules/files/304-4.3-00-misc_deregister.patch
deleted file mode 100644
index 32d960dfbcae..000000000000
--- a/app-emulation/vmware-modules/files/304-4.3-00-misc_deregister.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -rupN vmci-only/linux/driver.c vmci-only.new/linux/driver.c
---- vmci-only/linux/driver.c 2016-03-16 21:59:30.229062702 -0400
-+++ vmci-only.new/linux/driver.c 2016-03-16 21:58:35.452061974 -0400
-@@ -2469,7 +2469,9 @@ vmci_init(void)
- static void __exit
- vmci_exit(void)
- {
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0)
- int retval;
-+#endif
-
- if (guestDeviceInit) {
- pci_unregister_driver(&vmci_driver);
-
-diff -rupN vmci-only/linux/driver.c vmci-only.new/linux/driver.c
---- vmci-only/linux/driver.c 2016-03-16 21:53:24.184057841 -0400
-+++ vmci-only.new/linux/driver.c 2016-03-16 21:54:37.558058816 -0400
-@@ -2482,12 +2482,16 @@ vmci_exit(void)
-
- VMCI_HostCleanup();
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+ misc_deregister(&linuxState.misc);
-+#else
- retval = misc_deregister(&linuxState.misc);
- if (retval) {
- Warning(LGPFX "Module %s: error unregistering\n", VMCI_MODULE_NAME);
- } else {
- Log(LGPFX"Module %s: unloaded\n", VMCI_MODULE_NAME);
- }
-+#endif
-
- hostDeviceInit = FALSE;
- }
diff --git a/app-emulation/vmware-modules/files/304-4.5-00-get_link.patch b/app-emulation/vmware-modules/files/304-4.5-00-get_link.patch
deleted file mode 100644
index 169fc71d9e22..000000000000
--- a/app-emulation/vmware-modules/files/304-4.5-00-get_link.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-diff -rupN vmblock-only/linux/inode.c vmblock-only.new/linux/inode.c
---- vmblock-only/linux/inode.c 2016-03-16 22:22:00.470080630 -0400
-+++ vmblock-only.new/linux/inode.c 2016-03-16 22:23:33.016081859 -0400
-@@ -44,7 +44,9 @@ static struct dentry *InodeOpLookup(stru
- static int InodeOpReadlink(struct dentry *, char __user *, int);
- #endif
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
-+const char *InodeOpGetLink(struct dentry *dentry, struct inode *inode, struct delayed_call *done);
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
- static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie);
- #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -63,7 +65,11 @@ static struct inode_operations LinkInode
- struct inode_operations LinkInodeOps = {
- #endif
- .readlink = InodeOpReadlink,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
-+ .get_link = InodeOpGetLink,
-+#else
- .follow_link = InodeOpFollowlink,
-+#endif
- };
-
- /*
-@@ -222,7 +228,9 @@ InodeOpReadlink(struct dentry *dentry,
- *
- *----------------------------------------------------------------------------
- */
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
-+const char *InodeOpGetLink(struct dentry *dentry, struct inode *inode, struct delayed_call *done)
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
- static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie)
- #else
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-@@ -238,18 +246,28 @@ InodeOpFollowlink(struct dentry *dentry,
- VMBlockInodeInfo *iinfo;
-
- if (!dentry) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
-+ ret = -ECHILD;
-+#else
- Warning("InodeOpReadlink: invalid args from kernel\n");
- ret = -EINVAL;
-+#endif
- goto out;
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
-+ iinfo = INODE_TO_IINFO(inode);
-+#else
- iinfo = INODE_TO_IINFO(dentry->d_inode);
-+#endif
- if (!iinfo) {
- ret = -EINVAL;
- goto out;
- }
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0)
-+ return (char *)(iinfo->name);
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
- return *cookie = (char *)(iinfo->name);
- #else
- nd_set_link(nd, iinfo->name);
diff --git a/app-emulation/vmware-modules/files/304-apic.patch b/app-emulation/vmware-modules/files/304-apic.patch
deleted file mode 100644
index 66cd45933246..000000000000
--- a/app-emulation/vmware-modules/files/304-apic.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/vmmon-only/linux/hostif.c b/vmmon-only/linux/hostif.c
-index f1f4b10..c43242f 100644
---- a/vmmon-only/linux/hostif.c
-+++ b/vmmon-only/linux/hostif.c
-@@ -55,6 +55,7 @@
- #include <linux/kthread.h>
- #include <linux/wait.h>
-
-+#include <asm/apic.h>
-
- #include "vmware.h"
- #include "x86apic.h"
diff --git a/app-emulation/vmware-modules/files/304-hardened.patch b/app-emulation/vmware-modules/files/304-hardened.patch
deleted file mode 100644
index cc3e04152877..000000000000
--- a/app-emulation/vmware-modules/files/304-hardened.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-diff --git a/vmmon-only/linux/driver.c b/vmmon-only/linux/driver.c
-index b21dd44..960c2aa 100644
---- a/vmmon-only/linux/driver.c
-+++ b/vmmon-only/linux/driver.c
-@@ -178,7 +178,22 @@ static struct vm_operations_struct vmuser_mops = {
- #endif
- };
-
--static struct file_operations vmuser_fops;
-+static struct file_operations vmuser_fops = {
-+ .owner = THIS_MODULE,
-+ .poll = LinuxDriverPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
-+#else
-+ .ioctl = LinuxDriver_Ioctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
-+#endif
-+ .open = LinuxDriver_Open,
-+ .release = LinuxDriver_Close,
-+ .mmap = LinuxDriverMmap
-+};
-+
- static struct timer_list tscTimer;
-
- /*
-@@ -357,27 +372,6 @@ init_module(void)
- spin_lock_init(&linuxState.pollListLock);
- #endif
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vmuser_fops, 0, sizeof vmuser_fops);
-- vmuser_fops.owner = THIS_MODULE;
-- vmuser_fops.poll = LinuxDriverPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
--#else
-- vmuser_fops.ioctl = LinuxDriver_Ioctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
--#endif
-- vmuser_fops.open = LinuxDriver_Open;
-- vmuser_fops.release = LinuxDriver_Close;
-- vmuser_fops.mmap = LinuxDriverMmap;
--
- #ifdef VMX86_DEVEL
- devel_init_module();
- linuxState.minor = 0;
-diff --git a/vmnet-only/driver.c b/vmnet-only/driver.c
-index b12b982..40bd4cf 100644
---- a/vmnet-only/driver.c
-+++ b/vmnet-only/driver.c
-@@ -165,7 +165,22 @@ static long VNetFileOpUnlockedIoctl(struct file * filp,
- unsigned int iocmd, unsigned long ioarg);
- #endif
-
--static struct file_operations vnetFileOps;
-+static struct file_operations vnetFileOps = {
-+ .owner = THIS_MODULE,
-+ .read = VNetFileOpRead,
-+ .write = VNetFileOpWrite,
-+ .poll = VNetFileOpPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = VNetFileOpUnlockedIoctl,
-+#else
-+ .ioctl = VNetFileOpIoctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = VNetFileOpUnlockedIoctl,
-+#endif
-+ .open = VNetFileOpOpen,
-+ .release = VNetFileOpClose
-+};
-
- /*
- * Utility functions
-@@ -476,28 +491,6 @@ init_module(void)
- goto err_proto;
- }
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vnetFileOps, 0, sizeof vnetFileOps);
-- vnetFileOps.owner = THIS_MODULE;
-- vnetFileOps.read = VNetFileOpRead;
-- vnetFileOps.write = VNetFileOpWrite;
-- vnetFileOps.poll = VNetFileOpPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
--#else
-- vnetFileOps.ioctl = VNetFileOpIoctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
--#endif
-- vnetFileOps.open = VNetFileOpOpen;
-- vnetFileOps.release = VNetFileOpClose;
--
- retval = register_chrdev(VNET_MAJOR_NUMBER, "vmnet", &vnetFileOps);
- if (retval) {
- LOG(0, (KERN_NOTICE "/dev/vmnet: could not register major device %d\n",
diff --git a/app-emulation/vmware-modules/files/304-makefile-include.patch b/app-emulation/vmware-modules/files/304-makefile-include.patch
deleted file mode 100644
index 39c300030805..000000000000
--- a/app-emulation/vmware-modules/files/304-makefile-include.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff --git a/vmblock-only/Makefile.kernel b/vmblock-only/Makefile.kernel
-index ab7a727..e3ec9d2 100644
---- a/vmblock-only/Makefile.kernel
-+++ b/vmblock-only/Makefile.kernel
-@@ -19,7 +19,7 @@
-
- INCLUDE += -I$(SRCROOT)/include
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachecreate.c, -DVMW_KMEMCR_HAS_DTOR, )
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachector.c, -DVMW_KMEMCR_CTOR_HAS_3_ARGS, )
-diff --git a/vmci-only/Makefile.kernel b/vmci-only/Makefile.kernel
-index ba343ee..861ea83 100644
---- a/vmci-only/Makefile.kernel
-+++ b/vmci-only/Makefile.kernel
-@@ -21,7 +21,7 @@ CC_OPTS += -DVMCI
-
- INCLUDE += -I$(SRCROOT)/shared -I$(SRCROOT)/common -I$(SRCROOT)/linux
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- obj-m += $(DRIVER).o
-
-diff --git a/vmmon-only/Makefile.kernel b/vmmon-only/Makefile.kernel
-index 8770d1d..c4746c3 100644
---- a/vmmon-only/Makefile.kernel
-+++ b/vmmon-only/Makefile.kernel
-@@ -22,7 +22,7 @@ CC_OPTS += -DVMMON -DVMCORE
- INCLUDE := -I$(SRCROOT)/include -I$(SRCROOT)/common -I$(SRCROOT)/linux \
- -I$(SRCROOT)/vmcore
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/smpcall.c, -DVMW_HAVE_SMP_CALL_3ARG, )
-
-diff --git a/vmnet-only/Makefile.kernel b/vmnet-only/Makefile.kernel
-index d1e3133..665d428 100644
---- a/vmnet-only/Makefile.kernel
-+++ b/vmnet-only/Makefile.kernel
-@@ -19,7 +19,7 @@
-
- INCLUDE := -I$(SRCROOT)
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_net.c,-DVMW_NETDEV_HAS_NET, )
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_dev_net.c,-DVMW_NETDEV_HAS_DEV_NET, )
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/nfhook_uses_skb.c,-DVMW_NFHOOK_USES_SKB, )
-diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
-index b4629ee..264b8cb 100644
---- a/vsock-only/Makefile.kernel
-+++ b/vsock-only/Makefile.kernel
-@@ -25,7 +25,7 @@ INCLUDE += -I$(SRCROOT)/include
- INCLUDE += -I$(SRCROOT)/linux
- INCLUDE += -I$(SRCROOT)/common
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/netcreate_num_params.c, -DVMW_NETCREATE_KERNARG, )
-
-
diff --git a/app-emulation/vmware-modules/files/304-makefile-kernel-dir.patch b/app-emulation/vmware-modules/files/304-makefile-kernel-dir.patch
deleted file mode 100644
index 1a647a3302d8..000000000000
--- a/app-emulation/vmware-modules/files/304-makefile-kernel-dir.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-diff --git a/vmblock-only/Makefile b/vmblock-only/Makefile
-index 2b81323..746c8b8 100644
---- a/vmblock-only/Makefile
-+++ b/vmblock-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmblock
- PRODUCT := ws
-diff --git a/vmci-only/Makefile b/vmci-only/Makefile
-index 8e9c5be..6ec828b 100644
---- a/vmci-only/Makefile
-+++ b/vmci-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmci
- PRODUCT := ws
-diff --git a/vmmon-only/Makefile b/vmmon-only/Makefile
-index 5bd867b..91a83d4 100644
---- a/vmmon-only/Makefile
-+++ b/vmmon-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmmon
- PRODUCT := @@PRODUCT@@
-diff --git a/vmnet-only/Makefile b/vmnet-only/Makefile
-index d4eb73c..c7c6d38 100644
---- a/vmnet-only/Makefile
-+++ b/vmnet-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmnet
- PRODUCT := @@PRODUCT@@
-diff --git a/vsock-only/Makefile b/vsock-only/Makefile
-index 93dd61d..9765696 100644
---- a/vsock-only/Makefile
-+++ b/vsock-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vsock
- PRODUCT := ws
diff --git a/app-emulation/vmware-modules/files/304-netdevice.patch b/app-emulation/vmware-modules/files/304-netdevice.patch
deleted file mode 100644
index 35231a3205e3..000000000000
--- a/app-emulation/vmware-modules/files/304-netdevice.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/vmnet-only/compat_netdevice.h b/vmnet-only/compat_netdevice.h
-index 7a56304..9ff4548 100644
---- a/vmnet-only/compat_netdevice.h
-+++ b/vmnet-only/compat_netdevice.h
-@@ -47,6 +47,19 @@
- # define net_device device
- #endif
-
-+/* it looks like these have been removed from the kernel 3.1
-+ * probably because the "transition" is considered complete.
-+ * so to keep this source compatible we just redefine them like they were
-+ * previously
-+ */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
-+#define HAVE_ALLOC_NETDEV /* feature macro: alloc_xxxdev
-+ functions are available. */
-+#define HAVE_FREE_NETDEV /* free_netdev() */
-+#define HAVE_NETDEV_PRIV /* netdev_priv() */
-+#define HAVE_NETIF_QUEUE
-+#define HAVE_NET_DEVICE_OPS
-+#endif
-
- /*
- * SET_MODULE_OWNER appeared sometime during 2.3.x. It was setting
diff --git a/app-emulation/vmware-modules/files/308-3.10-00-dentry.patch b/app-emulation/vmware-modules/files/308-3.10-00-dentry.patch
deleted file mode 100644
index 5cc445fcadf9..000000000000
--- a/app-emulation/vmware-modules/files/308-3.10-00-dentry.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Minor change the API, now it just gets passed flags instead of a pointer to the nameidata
---- a/vmblock-only/linux/dentry.c 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/linux/dentry.c 2015-02-24 03:58:06.038605919 +0300
-@@ -32,7 +32,11 @@
- #include "block.h"
-
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
- static int DentryOpRevalidate(struct dentry *dentry, struct nameidata *nd);
-+#else
-+static int DentryOpRevalidate(struct dentry *dentry, unsigned int);
-+#endif
-
- struct dentry_operations LinkDentryOps = {
- .d_revalidate = DentryOpRevalidate,
-@@ -58,9 +62,12 @@
- *----------------------------------------------------------------------------
- */
-
--static int
--DentryOpRevalidate(struct dentry *dentry, // IN: dentry revalidating
-- struct nameidata *nd) // IN: lookup flags & intent
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
-+static int DentryOpRevalidate(struct dentry *dentry, struct nameidata *nd)
-+#else
-+static int DentryOpRevalidate(struct dentry *dentry, unsigned int flags)
-+#endif
-+
- {
- VMBlockInodeInfo *iinfo;
- struct nameidata actualNd;
-@@ -101,7 +108,11 @@
- if (actualDentry &&
- actualDentry->d_op &&
- actualDentry->d_op->d_revalidate) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
-+ return actualDentry->d_op->d_revalidate(actualDentry, flags);
-+#else
- return actualDentry->d_op->d_revalidate(actualDentry, nd);
-+#endif
- }
-
- if (compat_path_lookup(iinfo->name, 0, &actualNd)) {
diff --git a/app-emulation/vmware-modules/files/308-3.10-01-inode.patch b/app-emulation/vmware-modules/files/308-3.10-01-inode.patch
deleted file mode 100644
index e12d84d10e7b..000000000000
--- a/app-emulation/vmware-modules/files/308-3.10-01-inode.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-Minor change the API, now it just gets passed flags instead of a pointer to the nameidata
-Properly initializes UID/GID with repsect to namespaces
-Some changes the readlink/setlink APIs
---- a/vmblock-only/linux/inode.c 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/linux/inode.c 2015-02-24 03:58:06.039605762 +0300
-@@ -35,9 +35,15 @@
-
-
- /* Inode operations */
--static struct dentry *InodeOpLookup(struct inode *dir,
-- struct dentry *dentry, struct nameidata *nd);
-+
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
-+static struct dentry *InodeOpLookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd);
- static int InodeOpReadlink(struct dentry *dentry, char __user *buffer, int buflen);
-+#else
-+static struct dentry *InodeOpLookup(struct inode *, struct dentry *, unsigned int);
-+static int InodeOpReadlink(struct dentry *, char __user *, int);
-+#endif
-+
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
- #else
-@@ -49,12 +55,15 @@
- .lookup = InodeOpLookup,
- };
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
- static struct inode_operations LinkInodeOps = {
-+#else
-+struct inode_operations LinkInodeOps = {
-+#endif
- .readlink = InodeOpReadlink,
- .follow_link = InodeOpFollowlink,
- };
-
--
- /*
- *----------------------------------------------------------------------------
- *
-@@ -75,7 +84,11 @@
- static struct dentry *
- InodeOpLookup(struct inode *dir, // IN: parent directory's inode
- struct dentry *dentry, // IN: dentry to lookup
-- struct nameidata *nd) // IN: lookup intent and information
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
-+ struct nameidata *nd) // IN: lookup intent and information
-+#else
-+ unsigned int flags)
-+#endif
- {
- char *filename;
- struct inode *inode;
-@@ -135,7 +148,12 @@
- inode->i_size = INODE_TO_IINFO(inode)->nameLen;
- inode->i_version = 1;
- inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
- inode->i_uid = inode->i_gid = 0;
-+#else
-+ inode->i_gid = make_kgid(current_user_ns(), 0);
-+ inode->i_uid = make_kuid(current_user_ns(), 0);
-+#endif
- inode->i_op = &LinkInodeOps;
-
- d_add(dentry, inode);
-@@ -177,7 +195,12 @@
- return -EINVAL;
- }
-
-- return vfs_readlink(dentry, buffer, buflen, iinfo->name);
-+#if LINUX_VERSION_CODE <= KERNEL_VERSION(3, 14, 99)
-+ return vfs_readlink(dentry, buffer, buflen, iinfo->name);
-+#else
-+ return readlink_copy(buffer, buflen, iinfo->name);
-+#endif
-+
- }
-
-
-@@ -221,7 +244,7 @@
- goto out;
- }
-
-- ret = vfs_follow_link(nd, iinfo->name);
-+ nd_set_link(nd, iinfo->name);
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-@@ -230,3 +253,4 @@
- return ret;
- #endif
- }
-+
diff --git a/app-emulation/vmware-modules/files/308-3.10-02-control.patch b/app-emulation/vmware-modules/files/308-3.10-02-control.patch
deleted file mode 100644
index 928835337511..000000000000
--- a/app-emulation/vmware-modules/files/308-3.10-02-control.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-The API to create proc entries now takes the file ops structure directly, instead of being set after the fact
-Using new __getname/__putname API
---- a/vmblock-only/linux/control.c 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/linux/control.c 2015-02-24 03:58:06.038605919 +0300
-@@ -208,9 +208,11 @@
- VMBlockSetProcEntryOwner(controlProcMountpoint);
-
- /* Create /proc/fs/vmblock/dev */
-- controlProcEntry = create_proc_entry(VMBLOCK_CONTROL_DEVNAME,
-- VMBLOCK_CONTROL_MODE,
-- controlProcDirEntry);
-+ controlProcEntry = proc_create(VMBLOCK_CONTROL_DEVNAME,
-+ VMBLOCK_CONTROL_MODE,
-+ controlProcDirEntry,
-+ &ControlFileOps);
-+
- if (!controlProcEntry) {
- Warning("SetupProcDevice: could not create " VMBLOCK_DEVICE "\n");
- remove_proc_entry(VMBLOCK_CONTROL_MOUNTPOINT, controlProcDirEntry);
-@@ -218,7 +220,10 @@
- return -EINVAL;
- }
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0)
- controlProcEntry->proc_fops = &ControlFileOps;
-+#endif
-+
- return 0;
- }
-
-@@ -287,18 +287,24 @@ ExecuteBlockOp(const char __user *buf,
- int i;
- int retval;
-
-- name = getname(buf);
-+ name = __getname();
- if (IS_ERR(name)) {
- return PTR_ERR(name);
- }
-
-+ i = strncpy_from_user(name, buf, PATH_MAX);
-+ if (i < 0 || i == PATH_MAX) {
-+ __putname(name);
-+ return -EINVAL;
-+ }
-+
- for (i = strlen(name) - 1; i >= 0 && name[i] == '/'; i--) {
- name[i] = '\0';
- }
-
- retval = i < 0 ? -EINVAL : blockOp(name, blocker);
-
-- putname(name);
-+ __putname(name);
-
- return retval;
- }
diff --git a/app-emulation/vmware-modules/files/308-3.10-03-inline.patch b/app-emulation/vmware-modules/files/308-3.10-03-inline.patch
deleted file mode 100644
index fa8f36a35c29..000000000000
--- a/app-emulation/vmware-modules/files/308-3.10-03-inline.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Hushes a warning
---- a/vmmon-only/linux/driver.c 2015-02-07 03:54:16.000000000 +0300
-+++ c/vmmon-only/linux/driver.c 2015-02-24 03:58:06.042605293 +0300
-@@ -1328,7 +1328,9 @@
- *-----------------------------------------------------------------------------
- */
-
--__attribute__((always_inline)) static Bool
-+#include <linux/compiler-gcc.h>
-+
-+__always_inline static Bool
- LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
- {
- TSCDelta tscDelta;
diff --git a/app-emulation/vmware-modules/files/308-3.11-00-readdir.patch b/app-emulation/vmware-modules/files/308-3.11-00-readdir.patch
deleted file mode 100644
index b2f76d3e2b30..000000000000
--- a/app-emulation/vmware-modules/files/308-3.11-00-readdir.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-replaces usage of vfs_readdir with iterate_dir. origionally found here:
-https://bugs.gentoo.org/show_bug.cgi?id=508204
-
-diff -Naur vmblock-only/linux/file.c vmblock-only/linux/file.c
---- vmblock-only/linux/file.c 2013-11-05 23:33:26.000000000 -0500
-+++ vmblock-only/linux/file.c 2014-04-26 10:58:03.062635343 -0400
-@@ -166,11 +166,9 @@
-
- static int
- FileOpReaddir(struct file *file, // IN
-- void *dirent, // IN
-- filldir_t filldir) // IN
-+ struct dir_context *ctx)
- {
- int ret;
-- FilldirInfo info;
- struct file *actualFile;
-
- if (!file) {
-@@ -184,11 +182,8 @@
- return -EINVAL;
- }
-
-- info.filldir = filldir;
-- info.dirent = dirent;
--
- actualFile->f_pos = file->f_pos;
-- ret = vfs_readdir(actualFile, Filldir, &info);
-+ ret = iterate_dir(actualFile, ctx);
- file->f_pos = actualFile->f_pos;
-
- return ret;
-@@ -237,7 +232,7 @@
-
-
- struct file_operations RootFileOps = {
-- .readdir = FileOpReaddir,
-+ .iterate = FileOpReaddir,
- .open = FileOpOpen,
- .release = FileOpRelease,
- };
diff --git a/app-emulation/vmware-modules/files/308-3.11-01-filldir.patch b/app-emulation/vmware-modules/files/308-3.11-01-filldir.patch
deleted file mode 100644
index 2eec99b7c1f8..000000000000
--- a/app-emulation/vmware-modules/files/308-3.11-01-filldir.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-simply remove the code for Filldir since it is no longer used with the new
-iterate_dir API
-
-diff -rupN vmblock-only/linux/file.c vmblock-only.new/linux/file.c
---- vmblock-only/linux/file.c 2014-10-07 23:22:46.832469618 -0400
-+++ vmblock-only.new/linux/file.c 2014-10-07 23:24:35.276472720 -0400
-@@ -38,46 +38,6 @@ typedef u64 inode_num_t;
- typedef ino_t inode_num_t;
- #endif
-
--/* Specifically for our filldir_t callback */
--typedef struct FilldirInfo {
-- filldir_t filldir;
-- void *dirent;
--} FilldirInfo;
--
--
--/*
-- *----------------------------------------------------------------------------
-- *
-- * Filldir --
-- *
-- * Callback function for readdir that we use in place of the one provided.
-- * This allows us to specify that each dentry is a symlink, but pass through
-- * everything else to the original filldir function.
-- *
-- * Results:
-- * Original filldir's return value.
-- *
-- * Side effects:
-- * Directory information gets copied to user's buffer.
-- *
-- *----------------------------------------------------------------------------
-- */
--
--static int
--Filldir(void *buf, // IN: Dirent buffer passed from FileOpReaddir
-- const char *name, // IN: Dirent name
-- int namelen, // IN: len of dirent's name
-- loff_t offset, // IN: Offset
-- inode_num_t ino, // IN: Inode number of dirent
-- unsigned int d_type) // IN: Type of file
--{
-- FilldirInfo *info = buf;
--
-- /* Specify DT_LNK regardless */
-- return info->filldir(info->dirent, name, namelen, offset, ino, DT_LNK);
--}
--
--
- /* File operations */
-
- /*
diff --git a/app-emulation/vmware-modules/files/308-3.15-00-vsock.patch b/app-emulation/vmware-modules/files/308-3.15-00-vsock.patch
deleted file mode 100644
index 9e8d9d1a32f7..000000000000
--- a/app-emulation/vmware-modules/files/308-3.15-00-vsock.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-removing the no longer existing second parameter to sk_data_ready
-doesn't seem it ever served a purpose.
-
-diff -rupN vsock-only/linux/notify.c vsock-only.new/linux/notify.c
---- vsock-only/linux/notify.c 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only.new/linux/notify.c 2014-10-05 23:46:47.943304728 -0400
-@@ -515,8 +515,11 @@ VSockVmciHandleWrote(struct sock *sk,
- vsk = vsock_sk(sk);
- PKT_FIELD(vsk, sentWaitingRead) = FALSE;
- #endif
--
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
-
-diff -rupN vsock-only/linux/notifyQState.c vsock-only.new/linux/notifyQState.c
---- vsock-only/linux/notifyQState.c 2013-11-05 23:33:27.000000000 -0500
-+++ vsock-only.new/linux/notifyQState.c 2014-10-05 23:46:33.231303931 -0400
-@@ -164,7 +164,11 @@ VSockVmciHandleWrote(struct sock *sk,
- struct sockaddr_vm *dst, // IN: unused
- struct sockaddr_vm *src) // IN: unused
- {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
-
-@@ -566,7 +570,11 @@ VSockVmciNotifyPktRecvPostDequeue(struct
- }
-
- /* See the comment in VSockVmciNotifyPktSendPostEnqueue */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
-+ sk->sk_data_ready(sk);
-+#else
- sk->sk_data_ready(sk, 0);
-+#endif
- }
-
- return err;
diff --git a/app-emulation/vmware-modules/files/308-3.18-00-version-redefined.patch b/app-emulation/vmware-modules/files/308-3.18-00-version-redefined.patch
deleted file mode 100644
index 22d6325c9a90..000000000000
--- a/app-emulation/vmware-modules/files/308-3.18-00-version-redefined.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Hushes some (but not all warnings) relating to redefinitions of this define
---- a/vmci-only/shared/vm_device_version.h 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmci-only/shared/vm_device_version.h 2015-02-24 03:58:06.041605450 +0300
-@@ -53,7 +53,9 @@
- * VMware HD Audio codec
- * VMware HD Audio controller
- */
-+#ifndef PCI_VENDOR_ID_VMWARE
- #define PCI_VENDOR_ID_VMWARE 0x15AD
-+#endif
- #define PCI_DEVICE_ID_VMWARE_SVGA2 0x0405
- #define PCI_DEVICE_ID_VMWARE_SVGA 0x0710
- #define PCI_DEVICE_ID_VMWARE_VGA 0x0711
---- a/vmnet-only/vm_device_version.h 2015-02-07 03:54:16.000000000 +0300
-+++ c/vmnet-only/vm_device_version.h 2015-02-24 03:58:06.044604981 +0300
-@@ -53,7 +53,9 @@
- * VMware HD Audio codec
- * VMware HD Audio controller
- */
-+#ifndef PCI_VENDOR_ID_VMWARE
- #define PCI_VENDOR_ID_VMWARE 0x15AD
-+#endif
- #define PCI_DEVICE_ID_VMWARE_SVGA2 0x0405
- #define PCI_DEVICE_ID_VMWARE_SVGA 0x0710
- #define PCI_DEVICE_ID_VMWARE_VGA 0x0711
diff --git a/app-emulation/vmware-modules/files/308-3.19-00-compat-namei.patch b/app-emulation/vmware-modules/files/308-3.19-00-compat-namei.patch
deleted file mode 100644
index 0182077254a1..000000000000
--- a/app-emulation/vmware-modules/files/308-3.19-00-compat-namei.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-A copy of this since it is no longer exported by the kernel headers
---- a/vmblock-only/shared/compat_namei.h 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmblock-only/shared/compat_namei.h 2015-02-24 03:51:25.235286047 +0300
-@@ -21,6 +21,20 @@
-
- #include <linux/namei.h>
-
-+/* Copy-n-paste from kernel's source/fs/namei.c */
-+struct nameidata {
-+ struct path path;
-+ struct qstr last;
-+ struct path root;
-+ struct inode *inode; /* path.dentry.d_inode */
-+ unsigned int flags;
-+ unsigned seq, m_seq;
-+ int last_type;
-+ unsigned depth;
-+ struct file *base;
-+ char *saved_names[MAX_NESTED_LINKS + 1];
-+};
-+
- /*
- * In 2.6.25-rc2, dentry and mount objects were removed from the nameidata
- * struct. They were both replaced with a struct path.
diff --git a/app-emulation/vmware-modules/files/308-3.19-02-vmblock-path.patch b/app-emulation/vmware-modules/files/308-3.19-02-vmblock-path.patch
deleted file mode 100644
index 178d1478ae59..000000000000
--- a/app-emulation/vmware-modules/files/308-3.19-02-vmblock-path.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Sources:
-https://531682.bugs.gentoo.org/attachment.cgi?id=396484
-https://531682.bugs.gentoo.org/attachment.cgi?id=396482
-diff -rupN vmblock-only.orig/linux/dentry.c vmblock-only/linux/dentry.c
---- vmblock-only.orig/linux/dentry.c 2015-02-14 18:05:46.000000000 -0500
-+++ vmblock-only/linux/dentry.c 2015-02-14 18:09:59.000000000 -0500
-@@ -63,7 +63,7 @@ DentryOpRevalidate(struct dentry *dentry
- unsigned int flags) // IN: lookup flags & intent
- {
- VMBlockInodeInfo *iinfo;
-- struct nameidata actualNd;
-+ struct path actualNd;
- struct dentry *actualDentry;
- int ret;
-
-diff -rupN vmblock-only.orig/linux/filesystem.c vmblock-only/linux/filesystem.c
---- vmblock-only.orig/linux/filesystem.c 2014-11-20 19:29:15.000000000 -0500
-+++ vmblock-only/linux/filesystem.c 2015-02-14 18:10:49.000000000 -0500
-@@ -322,7 +322,7 @@ Iget(struct super_block *sb, // IN: f
- {
- VMBlockInodeInfo *iinfo;
- struct inode *inode;
-- struct nameidata actualNd;
-+ struct path actualNd;
-
- ASSERT(sb);
-
-diff -rupN vmblock-only.orig/shared/compat_namei.h vmblock-only/shared/compat_namei.h
---- vmblock-only.orig/shared/compat_namei.h 2014-11-20 19:29:15.000000000 -0500
-+++ vmblock-only/shared/compat_namei.h 2015-02-14 18:08:38.000000000 -0500
-@@ -26,21 +26,21 @@
- * struct. They were both replaced with a struct path.
- */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
--#define compat_vmw_nd_to_dentry(nd) (nd).path.dentry
-+#define compat_vmw_nd_to_dentry(nd) (nd).dentry
- #else
- #define compat_vmw_nd_to_dentry(nd) (nd).dentry
- #endif
-
- /* In 2.6.25-rc2, path_release(&nd) was replaced with path_put(&nd.path). */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 25)
--#define compat_path_release(nd) path_put(&(nd)->path)
-+#define compat_path_release(nd) path_put(nd)
- #else
- #define compat_path_release(nd) path_release(nd)
- #endif
-
- /* path_lookup was removed in 2.6.39 merge window VFS merge */
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
--#define compat_path_lookup(name, flags, nd) kern_path(name, flags, &((nd)->path))
-+#define compat_path_lookup(name, flags, nd) kern_path(name, flags, nd)
- #else
- #define compat_path_lookup(name, flags, nd) path_lookup(name, flags, nd)
- #endif
-diff -u vmblock-only.orig/linux/file.c vmblock-only/linux/file.c
---- vmblock-only.orig/linux/file.c 2015-02-11 12:18:29.000000000 -0500
-+++ vmblock-only/linux/file.c 2015-02-11 12:41:41.000000000 -0500
-@@ -92,7 +92,7 @@
- * and that would try to acquire the inode's semaphore; if the two inodes
- * are the same we'll deadlock.
- */
-- if (actualFile->f_dentry && inode == actualFile->f_dentry->d_inode) {
-+ if (actualFile->f_path.dentry && inode == actualFile->f_path.dentry->d_inode) {
- Warning("FileOpOpen: identical inode encountered, open cannot succeed.\n");
- if (filp_close(actualFile, current->files) < 0) {
- Warning("FileOpOpen: unable to close opened file.\n");
diff --git a/app-emulation/vmware-modules/files/308-3.19-04-iovec.patch b/app-emulation/vmware-modules/files/308-3.19-04-iovec.patch
deleted file mode 100644
index 83f0cc8fcbbf..000000000000
--- a/app-emulation/vmware-modules/files/308-3.19-04-iovec.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-Some parts of the iovec API were replaced by the similar message API. Refactoring the code to use that.
---- a/vmci-only/linux/vmciKernelIf.c 2015-02-07 03:11:55.000000000 +0300
-+++ c/vmci-only/linux/vmciKernelIf.c 2015-02-24 03:58:06.041605450 +0300
-@@ -40,6 +40,7 @@
- #include <linux/socket.h> /* For memcpy_{to,from}iovec(). */
- #include <linux/vmalloc.h>
- #include <linux/wait.h>
-+#include <linux/skbuff.h>
-
- #include "compat_highmem.h"
- #include "compat_interrupt.h"
-@@ -1196,21 +1197,21 @@
- } else {
- toCopy = size - bytesCopied;
- }
--
-+ /* Code cloned from kernels drivers/misc/vmw_vmci/vmci_queue_pair.c */
- if (isIovec) {
-- struct iovec *iov = (struct iovec *)src;
-- int err;
-+ struct msghdr *msg = (struct msghdr *)src;
-+ int err;
-
-- /* The iovec will track bytesCopied internally. */
-- err = memcpy_fromiovec((uint8 *)va + pageOffset, iov, toCopy);
-- if (err != 0) {
-- if (kernelIf->host) {
-- kunmap(kernelIf->u.h.page[pageIndex]);
-+ /* The iovec will track bytes_copied internally. */
-+ err = memcpy_from_msg((u8 *)va + pageOffset, msg, toCopy);
-+ if (err != 0) {
-+ if (kernelIf->host)
-+ kunmap(kernelIf->u.h.page[pageIndex]);
-+ return VMCI_ERROR_INVALID_ARGS;
- }
-- return VMCI_ERROR_INVALID_ARGS;
-- }
-- } else {
-- memcpy((uint8 *)va + pageOffset, (uint8 *)src + bytesCopied, toCopy);
-+ } else {
-+ memcpy((u8 *)va + pageOffset,
-+ (u8 *)src + bytesCopied, toCopy);
- }
-
- bytesCopied += toCopy;
-@@ -1273,11 +1274,11 @@
- }
-
- if (isIovec) {
-- struct iovec *iov = (struct iovec *)dest;
-+ struct msghdr *msg = (struct msghdr *)dest;
- int err;
-
- /* The iovec will track bytesCopied internally. */
-- err = memcpy_toiovec(iov, (uint8 *)va + pageOffset, toCopy);
-+ err = memcpy_to_msg(msg, (uint8 *)va + pageOffset, toCopy);
- if (err != 0) {
- if (kernelIf->host) {
- kunmap(kernelIf->u.h.page[pageIndex]);
diff --git a/app-emulation/vmware-modules/files/308-3.19-05-vmci_qpair.patch b/app-emulation/vmware-modules/files/308-3.19-05-vmci_qpair.patch
deleted file mode 100644
index 4dec3c468206..000000000000
--- a/app-emulation/vmware-modules/files/308-3.19-05-vmci_qpair.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Some parts of the iovec API were replaced by the similar message API. Refactoring the code to use that.
-diff -rupN vsock-only.old/linux/af_vsock.c vsock-only/linux/af_vsock.c
---- vsock-only.old/linux/af_vsock.c 2015-05-06 20:41:47.684046762 -0400
-+++ vsock-only/linux/af_vsock.c 2015-05-06 20:52:15.245080779 -0400
-@@ -4629,7 +4629,7 @@ VSockVmciStreamSendmsg(struct kiocb *kio
- * able to send.
- */
-
-- written = vmci_qpair_enquev(vsk->qpair, msg->msg_iov,
-+ written = vmci_qpair_enquev(vsk->qpair, &msg->msg_iter.iov,
- len - totalWritten, 0);
- if (written < 0) {
- err = -ENOMEM;
-@@ -4874,9 +4874,9 @@ VSockVmciStreamRecvmsg(struct kiocb *kio
- }
-
- if (flags & MSG_PEEK) {
-- read = vmci_qpair_peekv(vsk->qpair, msg->msg_iov, len - copied, 0);
-+ read = vmci_qpair_peekv(vsk->qpair, &msg->msg_iter.iov, len - copied, 0);
- } else {
-- read = vmci_qpair_dequev(vsk->qpair, msg->msg_iov, len - copied, 0);
-+ read = vmci_qpair_dequev(vsk->qpair, &msg->msg_iter.iov, len - copied, 0);
- }
-
- if (read < 0) {
diff --git a/app-emulation/vmware-modules/files/308-3.19-06-vsock.patch b/app-emulation/vmware-modules/files/308-3.19-06-vsock.patch
deleted file mode 100644
index 9a2096e679a4..000000000000
--- a/app-emulation/vmware-modules/files/308-3.19-06-vsock.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Some parts of the iovec API were replaced by the similar message API. Refactoring the code to use that.
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2015-05-05 11:31:35.710099711 -0400
-+++ vsock-only.new/linux/af_vsock.c 2015-05-05 11:36:33.260115840 -0400
-@@ -4727,7 +4727,11 @@ VSockVmciDgramRecvmsg(struct kiocb *kioc
- }
-
- /* Place the datagram payload in the user's iovec. */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
- err = skb_copy_datagram_iovec(skb, sizeof *dg, msg->msg_iov, payloadLen);
-+#else
-+ err = skb_copy_datagram_iter(skb, sizeof *dg, &msg->msg_iter, payloadLen);
-+#endif
- if (err) {
- goto out;
- }
diff --git a/app-emulation/vmware-modules/files/308-3.19-07-vsock.patch b/app-emulation/vmware-modules/files/308-3.19-07-vsock.patch
deleted file mode 100644
index 6aec2cd3d7b5..000000000000
--- a/app-emulation/vmware-modules/files/308-3.19-07-vsock.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Some parts of the iovec API were replaced by the similar message API. Refactoring the code to use that.
-diff -rupN vsock-only/linux/af_vsock.c vsock-only.new/linux/af_vsock.c
---- vsock-only/linux/af_vsock.c 2015-05-05 11:26:05.145081792 -0400
-+++ vsock-only.new/linux/af_vsock.c 2015-05-05 11:30:54.304097466 -0400
-@@ -4266,7 +4266,7 @@ VSockVmciDgramSendmsg(struct kiocb *kioc
- goto out;
- }
-
-- memcpy_fromiovec(VMCI_DG_PAYLOAD(dg), msg->msg_iov, len);
-+ memcpy_from_msg(VMCI_DG_PAYLOAD(dg), msg, len);
-
- dg->dst = VMCI_MAKE_HANDLE(remoteAddr->svm_cid, remoteAddr->svm_port);
- dg->src = VMCI_MAKE_HANDLE(vsk->localAddr.svm_cid, vsk->localAddr.svm_port);
diff --git a/app-emulation/vmware-modules/files/308-4.01-00-vsock.patch b/app-emulation/vmware-modules/files/308-4.01-00-vsock.patch
deleted file mode 100644
index 5735cd50650e..000000000000
--- a/app-emulation/vmware-modules/files/308-4.01-00-vsock.patch
+++ /dev/null
@@ -1,61 +0,0 @@
---- vsock-only/linux/af_vsock.c 2015-05-03 00:55:58.955156116 +0200
-+++ vsock-only/linux/af_vsock.c.new 2015-05-03 01:01:14.305173750 +0200
-@@ -233,14 +233,10 @@
- static int VSockVmciStreamGetsockopt(struct socket *sock, int level, int optname,
- char __user *optval, int __user * optlen);
-
--static int VSockVmciDgramSendmsg(struct kiocb *kiocb,
-- struct socket *sock, struct msghdr *msg, size_t len);
--static int VSockVmciDgramRecvmsg(struct kiocb *kiocb, struct socket *sock,
-- struct msghdr *msg, size_t len, int flags);
--static int VSockVmciStreamSendmsg(struct kiocb *kiocb,
-- struct socket *sock, struct msghdr *msg, size_t len);
--static int VSockVmciStreamRecvmsg(struct kiocb *kiocb, struct socket *sock,
-- struct msghdr *msg, size_t len, int flags);
-+static int VSockVmciDgramSendmsg(struct socket *sock, struct msghdr *msg, size_t len);
-+static int VSockVmciDgramRecvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags);
-+static int VSockVmciStreamSendmsg(struct socket *sock, struct msghdr *msg, size_t len);
-+static int VSockVmciStreamRecvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags);
-
- static int VSockVmciCreate(
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
-@@ -4211,8 +4207,7 @@
- */
-
- static int
--VSockVmciDgramSendmsg(struct kiocb *kiocb, // UNUSED
-- struct socket *sock, // IN: socket to send on
-+VSockVmciDgramSendmsg(struct socket *sock, // IN: socket to send on
- struct msghdr *msg, // IN: message to send
- size_t len) // IN: length of message
- {
-@@ -4541,8 +4536,7 @@
- */
-
- static int
--VSockVmciStreamSendmsg(struct kiocb *kiocb, // UNUSED
-- struct socket *sock, // IN: socket to send on
-+VSockVmciStreamSendmsg(struct socket *sock, // IN: socket to send on
- struct msghdr *msg, // IN: message to send
- size_t len) // IN: length of message
- {
-@@ -4710,8 +4704,7 @@
- */
-
- static int
--VSockVmciDgramRecvmsg(struct kiocb *kiocb, // UNUSED
-- struct socket *sock, // IN: socket to receive from
-+VSockVmciDgramRecvmsg(struct socket *sock, // IN: socket to receive from
- struct msghdr *msg, // IN/OUT: message to receive into
- size_t len, // IN: length of receive buffer
- int flags) // IN: receive flags
-@@ -4803,8 +4796,7 @@
- */
-
- static int
--VSockVmciStreamRecvmsg(struct kiocb *kiocb, // UNUSED
-- struct socket *sock, // IN: socket to receive from
-+VSockVmciStreamRecvmsg(struct socket *sock, // IN: socket to receive from
- struct msghdr *msg, // IN/OUT: message to receive into
- size_t len, // IN: length of receive buffer
- int flags) // IN: receive flags
diff --git a/app-emulation/vmware-modules/files/308-4.02-00-nd_set_link.patch b/app-emulation/vmware-modules/files/308-4.02-00-nd_set_link.patch
deleted file mode 100644
index 66609bff6308..000000000000
--- a/app-emulation/vmware-modules/files/308-4.02-00-nd_set_link.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- vmci-only/linux/driver.c 2015-02-07 01:11:55.000000000 +0100
-+++ vmci-only/linux/driver.c.new 2015-07-23 00:28:25.713804866 +0200
-@@ -37,6 +37,7 @@
- #include <linux/moduleparam.h>
- #include <linux/poll.h>
- #include <linux/smp.h>
-+#include <linux/vmalloc.h>
-
- #include "compat_highmem.h"
- #include "compat_interrupt.h"
---- vmblock-only/linux/inode.c 2015-08-23 00:34:11.959377109 +0200
-+++ vmblock-only/linux/inode.c.new 2015-08-23 00:37:49.839389292 +0200
-@@ -38,7 +38,9 @@
- static int InodeOpReadlink(struct dentry *, char __user *, int);
- #endif
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 99)
-+static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie);
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
- #else
- static int InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -203,13 +205,19 @@
- *----------------------------------------------------------------------------
- */
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 99)
-+static const char *
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *
- #else
- static int
- #endif
- InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 99)
-+ void **cookie) // OUT: stores opaque pointer
-+#else
- struct nameidata *nd) // OUT: stores result
-+#endif
- {
- int ret;
- VMBlockInodeInfo *iinfo;
-@@ -226,7 +234,11 @@
- goto out;
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 99)
-+ return *cookie = iinfo->name;
-+#else
- nd_set_link(nd, iinfo->name);
-+#endif
-
- out:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
diff --git a/app-emulation/vmware-modules/files/308-4.02-01-sk_alloc.patch b/app-emulation/vmware-modules/files/308-4.02-01-sk_alloc.patch
deleted file mode 100644
index 6437d6022a36..000000000000
--- a/app-emulation/vmware-modules/files/308-4.02-01-sk_alloc.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- vmnet-only/vmnetInt.h 2015-05-28 01:46:53.023206897 +0200
-+++ vmnet-only/vmnetInt.h.new 2015-05-28 01:47:07.911207730 +0200
-@@ -79,7 +79,7 @@
- extern struct proto vmnet_proto;
- #ifdef VMW_NETDEV_HAS_NET
- # define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \
-- PF_NETLINK, _pri, &vmnet_proto)
-+ PF_NETLINK, _pri, &vmnet_proto, 0)
- #else
- # define compat_sk_alloc(_bri, _pri) sk_alloc(PF_NETLINK, _pri, &vmnet_proto, 1)
- #endif
---- vsock-only/linux/af_vsock.c 2015-05-28 01:50:03.553217551 +0200
-+++ vsock-only/linux/af_vsock.c.new 2015-05-28 01:54:55.248233862 +0200
-@@ -2829,7 +2829,7 @@
- #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
- sk = sk_alloc(vsockVmciFamilyOps.family, priority, &vsockVmciProto, 1);
- #else
-- sk = sk_alloc(net, vsockVmciFamilyOps.family, priority, &vsockVmciProto);
-+ sk = sk_alloc(net, vsockVmciFamilyOps.family, priority, &vsockVmciProto, 0);
- #endif
- if (!sk) {
- return NULL;
diff --git a/app-emulation/vmware-modules/files/308-4.03-00-vmci-misc_deregister.patch b/app-emulation/vmware-modules/files/308-4.03-00-vmci-misc_deregister.patch
deleted file mode 100644
index b2d93a66db84..000000000000
--- a/app-emulation/vmware-modules/files/308-4.03-00-vmci-misc_deregister.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -ru work.old/vmci-only/linux/driver.c work/vmci-only/linux/driver.c
---- work.old/vmci-only/linux/driver.c 2015-09-14 21:07:49.751696932 +0200
-+++ work/vmci-only/linux/driver.c 2015-09-14 22:10:48.015908198 +0200
-@@ -2467,8 +2467,6 @@
- static void __exit
- vmci_exit(void)
- {
-- int retval;
--
- if (guestDeviceInit) {
- pci_unregister_driver(&vmci_driver);
- vfree(data_buffer);
-@@ -2480,12 +2478,8 @@
-
- VMCI_HostCleanup();
-
-- retval = misc_deregister(&linuxState.misc);
-- if (retval) {
-- Warning(LGPFX "Module %s: error unregistering\n", VMCI_MODULE_NAME);
-- } else {
-- Log(LGPFX"Module %s: unloaded\n", VMCI_MODULE_NAME);
-- }
-+ misc_deregister(&linuxState.misc);
-+ Log(LGPFX"Module %s: unloaded\n", VMCI_MODULE_NAME);
-
- hostDeviceInit = FALSE;
- }
diff --git a/app-emulation/vmware-modules/files/308-4.03-00-vmmon-misc_deregister.patch b/app-emulation/vmware-modules/files/308-4.03-00-vmmon-misc_deregister.patch
deleted file mode 100644
index 9f0df66faa22..000000000000
--- a/app-emulation/vmware-modules/files/308-4.03-00-vmmon-misc_deregister.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ru work.old/vmmon-only/linux/driver.c work/vmmon-only/linux/driver.c
---- work.old/vmmon-only/linux/driver.c 2015-08-14 22:39:49.000000000 +0200
-+++ work/vmmon-only/linux/driver.c 2015-09-14 22:11:06.807909249 +0200
-@@ -387,9 +387,7 @@
- #ifdef VMX86_DEVEL
- unregister_chrdev(linuxState.major, linuxState.deviceName);
- #else
-- if (misc_deregister(&linuxState.misc)) {
-- Warning("Module %s: error unregistering\n", linuxState.deviceName);
-- }
-+ misc_deregister(&linuxState.misc);
- #endif
-
- Log("Module %s: unloaded\n", linuxState.deviceName);
diff --git a/app-emulation/vmware-modules/files/308-4.05-00-vmblock-follow_link.patch b/app-emulation/vmware-modules/files/308-4.05-00-vmblock-follow_link.patch
deleted file mode 100644
index c13929243275..000000000000
--- a/app-emulation/vmware-modules/files/308-4.05-00-vmblock-follow_link.patch
+++ /dev/null
@@ -1,56 +0,0 @@
---- vmblock-only/linux/inode.c 2016-01-30 19:13:04.019947435 +0100
-+++ vmblock-only/linux/inode.c.new 2016-01-30 19:13:56.226950354 +0100
-@@ -44,7 +44,9 @@
- static int InodeOpReadlink(struct dentry *, char __user *, int);
- #endif
-
--#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 99)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 99)
-+static const char *InodeOpFollowlink(struct dentry *dentry, struct inode *inode, void **cookie);
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 99)
- static const char *InodeOpFollowlink(struct dentry *dentry, void **cookie);
- #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
- static void *InodeOpFollowlink(struct dentry *dentry, struct nameidata *nd);
-@@ -63,7 +65,11 @@
- struct inode_operations LinkInodeOps = {
- #endif
- .readlink = InodeOpReadlink,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 99)
-+ .get_link = InodeOpFollowlink,
-+#else
- .follow_link = InodeOpFollowlink,
-+#endif
- };
-
- /*
-@@ -231,6 +237,9 @@
- static int
- #endif
- InodeOpFollowlink(struct dentry *dentry, // IN : dentry of symlink
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 99)
-+ struct inode *inode,
-+#endif
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 99)
- void **cookie) // OUT: stores opaque pointer
- #else
-@@ -241,12 +250,20 @@
- VMBlockInodeInfo *iinfo;
-
- if (!dentry) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 99)
-+ ret = -ECHILD;
-+#else
- Warning("InodeOpReadlink: invalid args from kernel\n");
- ret = -EINVAL;
-+#endif
- goto out;
- }
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 99)
-+ iinfo = INODE_TO_IINFO(inode);
-+#else
- iinfo = INODE_TO_IINFO(dentry->d_inode);
-+#endif
- if (!iinfo) {
- ret = -EINVAL;
- goto out;
diff --git a/app-emulation/vmware-modules/files/308-apic.patch b/app-emulation/vmware-modules/files/308-apic.patch
deleted file mode 100644
index 66cd45933246..000000000000
--- a/app-emulation/vmware-modules/files/308-apic.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/vmmon-only/linux/hostif.c b/vmmon-only/linux/hostif.c
-index f1f4b10..c43242f 100644
---- a/vmmon-only/linux/hostif.c
-+++ b/vmmon-only/linux/hostif.c
-@@ -55,6 +55,7 @@
- #include <linux/kthread.h>
- #include <linux/wait.h>
-
-+#include <asm/apic.h>
-
- #include "vmware.h"
- #include "x86apic.h"
diff --git a/app-emulation/vmware-modules/files/308-hardened.patch b/app-emulation/vmware-modules/files/308-hardened.patch
deleted file mode 100644
index 31d5917c37ce..000000000000
--- a/app-emulation/vmware-modules/files/308-hardened.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-diff --git a/vmmon-only/linux/driver.c b/vmmon-only/linux/driver.c
-index b21dd44..960c2aa 100644
---- a/vmmon-only/linux/driver.c
-+++ b/vmmon-only/linux/driver.c
-@@ -178,7 +178,16 @@ static struct vm_operations_struct vmuser_mops = {
- #endif
- };
-
--static struct file_operations vmuser_fops;
-+static struct file_operations vmuser_fops = {
-+ .owner = THIS_MODULE,
-+ .poll = LinuxDriverPoll,
-+ .unlocked_ioctl = LinuxDriver_Ioctl,
-+ .compat_ioctl = LinuxDriver_Ioctl,
-+ .open = LinuxDriver_Open,
-+ .release = LinuxDriver_Close,
-+ .mmap = LinuxDriverMmap
-+};
-+
- static struct timer_list tscTimer;
- static Atomic_uint32 tsckHz;
- static VmTimeStart tsckHzStartTime;
-@@ -357,21 +372,6 @@ init_module(void)
- linuxState.fastClockPriority = -20;
- linuxState.swapSize = VMMON_UNKNOWN_SWAP_SIZE;
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vmuser_fops, 0, sizeof vmuser_fops);
-- vmuser_fops.owner = THIS_MODULE;
-- vmuser_fops.poll = LinuxDriverPoll;
-- vmuser_fops.unlocked_ioctl = LinuxDriver_Ioctl;
-- vmuser_fops.compat_ioctl = LinuxDriver_Ioctl;
-- vmuser_fops.open = LinuxDriver_Open;
-- vmuser_fops.release = LinuxDriver_Close;
-- vmuser_fops.mmap = LinuxDriverMmap;
--
- #ifdef VMX86_DEVEL
- devel_init_module();
- linuxState.minor = 0;
-diff --git a/vmnet-only/driver.c b/vmnet-only/driver.c
-index b12b982..40bd4cf 100644
---- a/vmnet-only/driver.c
-+++ b/vmnet-only/driver.c
-@@ -165,7 +165,16 @@ static long VNetFileOpUnlockedIoctl(struct file * filp,
- unsigned int iocmd, unsigned long ioarg);
- #endif
-
--static struct file_operations vnetFileOps;
-+static struct file_operations vnetFileOps = {
-+ .owner = THIS_MODULE,
-+ .read = VNetFileOpRead,
-+ .write = VNetFileOpWrite,
-+ .poll = VNetFileOpPoll,
-+ .unlocked_ioctl = VNetFileOpUnlockedIoctl,
-+ .compat_ioctl = VNetFileOpUnlockedIoctl,
-+ .open = VNetFileOpOpen,
-+ .release = VNetFileOpClose
-+};
-
- /*
- * Utility functions
-@@ -476,22 +491,6 @@ init_module(void)
- goto err_proto;
- }
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vnetFileOps, 0, sizeof vnetFileOps);
-- vnetFileOps.owner = THIS_MODULE;
-- vnetFileOps.read = VNetFileOpRead;
-- vnetFileOps.write = VNetFileOpWrite;
-- vnetFileOps.poll = VNetFileOpPoll;
-- vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
-- vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
-- vnetFileOps.open = VNetFileOpOpen;
-- vnetFileOps.release = VNetFileOpClose;
--
- retval = register_chrdev(VNET_MAJOR_NUMBER, "vmnet", &vnetFileOps);
- if (retval) {
- LOG(0, (KERN_NOTICE "/dev/vmnet: could not register major device %d\n",
diff --git a/app-emulation/vmware-modules/files/308-makefile-include.patch b/app-emulation/vmware-modules/files/308-makefile-include.patch
deleted file mode 100644
index 39c300030805..000000000000
--- a/app-emulation/vmware-modules/files/308-makefile-include.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff --git a/vmblock-only/Makefile.kernel b/vmblock-only/Makefile.kernel
-index ab7a727..e3ec9d2 100644
---- a/vmblock-only/Makefile.kernel
-+++ b/vmblock-only/Makefile.kernel
-@@ -19,7 +19,7 @@
-
- INCLUDE += -I$(SRCROOT)/include
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachecreate.c, -DVMW_KMEMCR_HAS_DTOR, )
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/cachector.c, -DVMW_KMEMCR_CTOR_HAS_3_ARGS, )
-diff --git a/vmci-only/Makefile.kernel b/vmci-only/Makefile.kernel
-index ba343ee..861ea83 100644
---- a/vmci-only/Makefile.kernel
-+++ b/vmci-only/Makefile.kernel
-@@ -21,7 +21,7 @@ CC_OPTS += -DVMCI
-
- INCLUDE += -I$(SRCROOT)/shared -I$(SRCROOT)/common -I$(SRCROOT)/linux
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- obj-m += $(DRIVER).o
-
-diff --git a/vmmon-only/Makefile.kernel b/vmmon-only/Makefile.kernel
-index 8770d1d..c4746c3 100644
---- a/vmmon-only/Makefile.kernel
-+++ b/vmmon-only/Makefile.kernel
-@@ -22,7 +22,7 @@ CC_OPTS += -DVMMON -DVMCORE
- INCLUDE := -I$(SRCROOT)/include -I$(SRCROOT)/common -I$(SRCROOT)/linux \
- -I$(SRCROOT)/vmcore
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
-
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/smpcall.c, -DVMW_HAVE_SMP_CALL_3ARG, )
-
-diff --git a/vmnet-only/Makefile.kernel b/vmnet-only/Makefile.kernel
-index d1e3133..665d428 100644
---- a/vmnet-only/Makefile.kernel
-+++ b/vmnet-only/Makefile.kernel
-@@ -19,7 +19,7 @@
-
- INCLUDE := -I$(SRCROOT)
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_net.c,-DVMW_NETDEV_HAS_NET, )
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/netdev_has_dev_net.c,-DVMW_NETDEV_HAS_DEV_NET, )
- EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/nfhook_uses_skb.c,-DVMW_NFHOOK_USES_SKB, )
-diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
-index b4629ee..264b8cb 100644
---- a/vsock-only/Makefile.kernel
-+++ b/vsock-only/Makefile.kernel
-@@ -25,7 +25,7 @@ INCLUDE += -I$(SRCROOT)/include
- INCLUDE += -I$(SRCROOT)/linux
- INCLUDE += -I$(SRCROOT)/common
-
--EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
-+EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE) $(LINUXINCLUDE)
- EXTRA_CFLAGS += $(call vm_check_build, $(AUTOCONF_DIR)/netcreate_num_params.c, -DVMW_NETCREATE_KERNARG, )
-
-
diff --git a/app-emulation/vmware-modules/files/308-makefile-kernel-dir.patch b/app-emulation/vmware-modules/files/308-makefile-kernel-dir.patch
deleted file mode 100644
index 1a647a3302d8..000000000000
--- a/app-emulation/vmware-modules/files/308-makefile-kernel-dir.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-diff --git a/vmblock-only/Makefile b/vmblock-only/Makefile
-index 2b81323..746c8b8 100644
---- a/vmblock-only/Makefile
-+++ b/vmblock-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmblock
- PRODUCT := ws
-diff --git a/vmci-only/Makefile b/vmci-only/Makefile
-index 8e9c5be..6ec828b 100644
---- a/vmci-only/Makefile
-+++ b/vmci-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmci
- PRODUCT := ws
-diff --git a/vmmon-only/Makefile b/vmmon-only/Makefile
-index 5bd867b..91a83d4 100644
---- a/vmmon-only/Makefile
-+++ b/vmmon-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmmon
- PRODUCT := @@PRODUCT@@
-diff --git a/vmnet-only/Makefile b/vmnet-only/Makefile
-index d4eb73c..c7c6d38 100644
---- a/vmnet-only/Makefile
-+++ b/vmnet-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vmnet
- PRODUCT := @@PRODUCT@@
-diff --git a/vsock-only/Makefile b/vsock-only/Makefile
-index 93dd61d..9765696 100644
---- a/vsock-only/Makefile
-+++ b/vsock-only/Makefile
-@@ -49,10 +49,10 @@ VM_UNAME = $(shell uname -r)
- ifdef LINUXINCLUDE
- HEADER_DIR = $(LINUXINCLUDE)
- else
--HEADER_DIR = /lib/modules/$(VM_UNAME)/build/include
-+HEADER_DIR = $(KERNEL_DIR)
- endif
-
--BUILD_DIR = $(HEADER_DIR)/..
-+BUILD_DIR = $(KBUILD_OUTPUT)
-
- DRIVER := vsock
- PRODUCT := ws
diff --git a/app-emulation/vmware-modules/files/308-netdevice.patch b/app-emulation/vmware-modules/files/308-netdevice.patch
deleted file mode 100644
index 35231a3205e3..000000000000
--- a/app-emulation/vmware-modules/files/308-netdevice.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/vmnet-only/compat_netdevice.h b/vmnet-only/compat_netdevice.h
-index 7a56304..9ff4548 100644
---- a/vmnet-only/compat_netdevice.h
-+++ b/vmnet-only/compat_netdevice.h
-@@ -47,6 +47,19 @@
- # define net_device device
- #endif
-
-+/* it looks like these have been removed from the kernel 3.1
-+ * probably because the "transition" is considered complete.
-+ * so to keep this source compatible we just redefine them like they were
-+ * previously
-+ */
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0)
-+#define HAVE_ALLOC_NETDEV /* feature macro: alloc_xxxdev
-+ functions are available. */
-+#define HAVE_FREE_NETDEV /* free_netdev() */
-+#define HAVE_NETDEV_PRIV /* netdev_priv() */
-+#define HAVE_NETIF_QUEUE
-+#define HAVE_NET_DEVICE_OPS
-+#endif
-
- /*
- * SET_MODULE_OWNER appeared sometime during 2.3.x. It was setting
diff --git a/app-emulation/vmware-modules/files/hardened.patch b/app-emulation/vmware-modules/files/hardened.patch
deleted file mode 100644
index ea1b0f300751..000000000000
--- a/app-emulation/vmware-modules/files/hardened.patch
+++ /dev/null
@@ -1,170 +0,0 @@
-diff --git a/vmci-only/linux/driver.c b/vmci-only/linux/driver.c
-index 921f25c..41a39e3 100644
---- a/vmci-only/linux/driver.c
-+++ b/vmci-only/linux/driver.c
-@@ -241,7 +241,24 @@ static unsigned int LinuxDriverPoll(struct file *file, poll_table *wait);
- #define LinuxDriverUnlockIoctlPerFD(mutex) do {} while (0)
- #endif
-
--static struct file_operations vmuser_fops;
-+/*
-+ * Moved file operations initialize here because of incompatibilites
-+ * with Gentoo hardened profile/hardend Linux 3.
-+ */
-+static struct file_operations vmuser_fops = {
-+ .owner = THIS_MODULE,
-+ .poll = LinuxDriverPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
-+#else
-+ .ioctl = LinuxDriver_Ioctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
-+#endif
-+ .open = LinuxDriver_Open,
-+ .release = LinuxDriver_Close
-+};
-
-
- /*
-@@ -378,26 +395,6 @@ vmci_host_init(void)
- return -ENOMEM;
- }
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vmuser_fops, 0, sizeof vmuser_fops);
-- vmuser_fops.owner = THIS_MODULE;
-- vmuser_fops.poll = LinuxDriverPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
--#else
-- vmuser_fops.ioctl = LinuxDriver_Ioctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
--#endif
-- vmuser_fops.open = LinuxDriver_Open;
-- vmuser_fops.release = LinuxDriver_Close;
--
- sprintf(linuxState.deviceName, "vmci");
- linuxState.major = 10;
- linuxState.misc.minor = MISC_DYNAMIC_MINOR;
-diff --git a/vmmon-only/linux/driver.c b/vmmon-only/linux/driver.c
-index b21dd44..960c2aa 100644
---- a/vmmon-only/linux/driver.c
-+++ b/vmmon-only/linux/driver.c
-@@ -178,7 +178,22 @@ static struct vm_operations_struct vmuser_mops = {
- #endif
- };
-
--static struct file_operations vmuser_fops;
-+static struct file_operations vmuser_fops = {
-+ .owner = THIS_MODULE,
-+ .poll = LinuxDriverPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = LinuxDriver_UnlockedIoctl,
-+#else
-+ .ioctl = LinuxDriver_Ioctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = LinuxDriver_UnlockedIoctl,
-+#endif
-+ .open = LinuxDriver_Open,
-+ .release = LinuxDriver_Close,
-+ .mmap = LinuxDriverMmap
-+};
-+
- static struct timer_list tscTimer;
-
- /*
-@@ -357,27 +372,6 @@ init_module(void)
- spin_lock_init(&linuxState.pollListLock);
- #endif
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vmuser_fops, 0, sizeof vmuser_fops);
-- vmuser_fops.owner = THIS_MODULE;
-- vmuser_fops.poll = LinuxDriverPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vmuser_fops.unlocked_ioctl = LinuxDriver_UnlockedIoctl;
--#else
-- vmuser_fops.ioctl = LinuxDriver_Ioctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vmuser_fops.compat_ioctl = LinuxDriver_UnlockedIoctl;
--#endif
-- vmuser_fops.open = LinuxDriver_Open;
-- vmuser_fops.release = LinuxDriver_Close;
-- vmuser_fops.mmap = LinuxDriverMmap;
--
- #ifdef VMX86_DEVEL
- devel_init_module();
- linuxState.minor = 0;
-diff --git a/vmnet-only/driver.c b/vmnet-only/driver.c
-index b12b982..40bd4cf 100644
---- a/vmnet-only/driver.c
-+++ b/vmnet-only/driver.c
-@@ -165,7 +165,22 @@ static long VNetFileOpUnlockedIoctl(struct file * filp,
- unsigned int iocmd, unsigned long ioarg);
- #endif
-
--static struct file_operations vnetFileOps;
-+static struct file_operations vnetFileOps = {
-+ .owner = THIS_MODULE,
-+ .read = VNetFileOpRead,
-+ .write = VNetFileOpWrite,
-+ .poll = VNetFileOpPoll,
-+#ifdef HAVE_UNLOCKED_IOCTL
-+ .unlocked_ioctl = VNetFileOpUnlockedIoctl,
-+#else
-+ .ioctl = VNetFileOpIoctl,
-+#endif
-+#ifdef HAVE_COMPAT_IOCTL
-+ .compat_ioctl = VNetFileOpUnlockedIoctl,
-+#endif
-+ .open = VNetFileOpOpen,
-+ .release = VNetFileOpClose
-+};
-
- /*
- * Utility functions
-@@ -476,28 +491,6 @@ init_module(void)
- goto err_proto;
- }
-
-- /*
-- * Initialize the file_operations structure. Because this code is always
-- * compiled as a module, this is fine to do it here and not in a static
-- * initializer.
-- */
--
-- memset(&vnetFileOps, 0, sizeof vnetFileOps);
-- vnetFileOps.owner = THIS_MODULE;
-- vnetFileOps.read = VNetFileOpRead;
-- vnetFileOps.write = VNetFileOpWrite;
-- vnetFileOps.poll = VNetFileOpPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
-- vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
--#else
-- vnetFileOps.ioctl = VNetFileOpIoctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
-- vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
--#endif
-- vnetFileOps.open = VNetFileOpOpen;
-- vnetFileOps.release = VNetFileOpClose;
--
- retval = register_chrdev(VNET_MAJOR_NUMBER, "vmnet", &vnetFileOps);
- if (retval) {
- LOG(0, (KERN_NOTICE "/dev/vmnet: could not register major device %d\n",
diff --git a/app-emulation/vmware-modules/metadata.xml b/app-emulation/vmware-modules/metadata.xml
deleted file mode 100644
index dec09dcab00e..000000000000
--- a/app-emulation/vmware-modules/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>vmware@gentoo.org</email>
- <name>Gentoo VMware Project</name>
- </maintainer>
- <longdescription>
- VMware kernel modules.
- </longdescription>
- <use>
- <flag name="pax_kernel">Apply patch needed for pax enabled kernels</flag>
- <flag name="vmci">Build the Virtual Machine Communication Interface module; disable this if you want to use the module from the mainline kernel</flag>
- <flag name="vsock">Build the VMware VMCI transport for Virtual Sockets; disable this if you want to use the module from the mainline kernel</flag>
- </use>
-</pkgmetadata>
diff --git a/app-emulation/vmware-modules/vmware-modules-271.3-r1.ebuild b/app-emulation/vmware-modules/vmware-modules-271.3-r1.ebuild
deleted file mode 100644
index 68aa1dae9529..000000000000
--- a/app-emulation/vmware-modules/vmware-modules-271.3-r1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-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-5.0.${PV_MINOR}*
- =app-emulation/vmware-workstation-9.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 -mavx -mpclmul -maes
-
- 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}/${PV_MAJOR}-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}-3.10-00-userns.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-01-create_proc_entry.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-02-getname.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-03-deprecated.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-04-unused-typedef.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-05-dentry.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-06-inode.patch"
-
- # fixes a memcpy/memcmp bug in the hub code
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-07-hub.patch"
-
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.11-00-readdir.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.11-01-filldir.patch"
- kernel_is ge 3 13 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.13-00-vmnet.patch"
- kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-00-readlink.patch"
- kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-01-vsock.patch"
- kernel_is ge 3 17 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.17-00-netdev.patch"
-
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-00-vmnet-warning.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-01-vmblock-path.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-02-vmci.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-03-vmnet.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-04-vsock.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-05-vsock.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-06-vmci_qpair.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}"
-}
diff --git a/app-emulation/vmware-modules/vmware-modules-279.6.ebuild b/app-emulation/vmware-modules/vmware-modules-279.6.ebuild
deleted file mode 100644
index 9543d955b8b8..000000000000
--- a/app-emulation/vmware-modules/vmware-modules-279.6.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 +vmci +vsock"
-
-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
- if use vmci ; then
- CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI"
- else
- CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI"
- fi
- if use vsock ; then
- CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI_VSOCKETS"
- else
- CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI_VSOCKETS"
- fi
-
- linux-info_pkg_setup
-
- linux-mod_pkg_setup
-
- VMWARE_GROUP=${VMWARE_GROUP:-vmware}
-
- VMWARE_MODULE_LIST_ALL="vmblock vmmon vmnet vmci vsock"
- VMWARE_MODULE_LIST="vmblock vmmon vmnet"
- use vmci && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} vmci"
- use vsock && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} 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 -mavx -mpclmul -maes
-
- 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_ALL}; 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}/279-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"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-5.10-00-userns.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-01-getname.patch"
- #kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-03-deprecated.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-04-dentry.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-05-inode.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-filldir.patch"
- kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-00-readlink.patch"
- kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-01-vsock.patch"
- kernel_is ge 3 17 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.17-00-netdev.patch"
- kernel_is ge 3 18 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.18-00-version-redefined.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-00-compat-namei.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-01-dentry.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-02-vmblock-path.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-03-iovec.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-04-iovec.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-05-vmci_qpair.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-06-vsock.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-07-vsock.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-00-cookie.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=="vmw_vmci", GROUP="vmware", MODE="660"
- KERNEL=="vmmon", GROUP="vmware", MODE="660"
- KERNEL=="vsock", GROUP="vmware", MODE="660"
- EOF
- udev_dorules "${udevrules}"
-}
diff --git a/app-emulation/vmware-modules/vmware-modules-304.2.ebuild b/app-emulation/vmware-modules/vmware-modules-304.2.ebuild
deleted file mode 100644
index 64f231386494..000000000000
--- a/app-emulation/vmware-modules/vmware-modules-304.2.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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"
-IUSE="pax_kernel +vmci +vsock"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- || ( =app-emulation/vmware-player-7.1.${PV_MINOR}*
- =app-emulation/vmware-workstation-11.1.${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
- if use vmci ; then
- CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI"
- else
- CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI"
- fi
- if use vsock ; then
- CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI_VSOCKETS"
- else
- CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI_VSOCKETS"
- fi
-
- linux-info_pkg_setup
-
- linux-mod_pkg_setup
-
- VMWARE_GROUP=${VMWARE_GROUP:-vmware}
-
- VMWARE_MODULE_LIST_ALL="vmblock vmmon vmnet vmci vsock"
- VMWARE_MODULE_LIST="vmblock vmmon vmnet"
- use vmci && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} vmci"
- use vsock && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} 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 -mavx -mpclmul -maes
-
- 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_ALL}; 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}/${PV_MAJOR}-hardened.patch"
- epatch "${FILESDIR}/${PV_MAJOR}-apic.patch"
-
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-00-dentry.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-01-inode.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-02-control.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-03-inline.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.11-00-readdir.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.11-01-filldir.patch"
- kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-00-vsock.patch"
- kernel_is ge 3 18 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.18-00-version-redefined.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-00-compat-namei.patch"
- #kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-01-dentry.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-02-vmblock-path.patch"
- #kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-03-iovec.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-04-iovec.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-05-vmci_qpair.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-06-vsock.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-07-vsock.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-01-inode.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-02-vmnetInt.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-03-af_vsock.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-04-driver.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=="vmw_vmci", GROUP="vmware", MODE="660"
- KERNEL=="vmmon", GROUP="vmware", MODE="660"
- KERNEL=="vsock", GROUP="vmware", MODE="660"
- EOF
- udev_dorules "${udevrules}"
-}
diff --git a/app-emulation/vmware-modules/vmware-modules-304.3-r1.ebuild b/app-emulation/vmware-modules/vmware-modules-304.3-r1.ebuild
deleted file mode 100644
index 461d897ea8c7..000000000000
--- a/app-emulation/vmware-modules/vmware-modules-304.3-r1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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"
-IUSE="pax_kernel +vmci +vsock"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- || ( =app-emulation/vmware-player-7.1.${PV_MINOR}*
- =app-emulation/vmware-workstation-11.1.${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
- if use vmci ; then
- CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI"
- else
- CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI"
- fi
- if use vsock ; then
- CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI_VSOCKETS"
- else
- CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI_VSOCKETS"
- fi
-
- linux-info_pkg_setup
-
- linux-mod_pkg_setup
-
- VMWARE_GROUP=${VMWARE_GROUP:-vmware}
-
- VMWARE_MODULE_LIST_ALL="vmblock vmmon vmnet vmci vsock"
- VMWARE_MODULE_LIST="vmblock vmmon vmnet"
- use vmci && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} vmci"
- use vsock && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} 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_ALL}; 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}/${PV_MAJOR}-hardened.patch"
- epatch "${FILESDIR}/${PV_MAJOR}-apic.patch"
-
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-00-dentry.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-01-inode.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-02-control.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-03-inline.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.11-00-readdir.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.11-01-filldir.patch"
- kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-00-vsock.patch"
- kernel_is ge 3 18 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.18-00-version-redefined.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-00-compat-namei.patch"
- #kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-01-dentry.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-02-vmblock-path.patch"
- #kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-03-iovec.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-04-iovec.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-05-vmci_qpair.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-06-vsock.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-07-vsock.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-00-inode_op.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-01-vmci_vmalloc.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-02-vsock.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.2-03-vsock.patch"
- kernel_is ge 4 3 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.3-00-misc_deregister.patch"
- kernel_is ge 4 5 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.5-00-get_link.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=="vmw_vmci", GROUP="vmware", MODE="660"
- KERNEL=="vmmon", GROUP="vmware", MODE="660"
- KERNEL=="vsock", GROUP="vmware", MODE="660"
- EOF
- udev_dorules "${udevrules}"
-}
diff --git a/app-emulation/vmware-modules/vmware-modules-308.1.0.ebuild b/app-emulation/vmware-modules/vmware-modules-308.1.0.ebuild
deleted file mode 100644
index 8c5f3412c69b..000000000000
--- a/app-emulation/vmware-modules/vmware-modules-308.1.0.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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-3)
-
-DESCRIPTION="VMware kernel modules"
-HOMEPAGE="http://www.vmware.com/"
-
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="pax_kernel +vmci +vsock"
-REQUIRED_USE="!vsock? ( !vmci )"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- || ( =app-emulation/vmware-player-12.${PV_MINOR}*
- =app-emulation/vmware-workstation-12.${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
- if use vmci ; then
- CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI"
- else
- CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI"
- fi
- if use vsock ; then
- CONFIG_CHECK="${CONFIG_CHECK} !VMWARE_VMCI_VSOCKETS"
- else
- CONFIG_CHECK="${CONFIG_CHECK} VMWARE_VMCI_VSOCKETS"
- fi
-
- linux-info_pkg_setup
-
- linux-mod_pkg_setup
-
- VMWARE_GROUP=${VMWARE_GROUP:-vmware}
-
- VMWARE_MODULE_LIST_ALL="vmblock vmmon vmnet vmci vsock"
- VMWARE_MODULE_LIST="vmblock vmmon vmnet"
- use vmci && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} vmci"
- use vsock && VMWARE_MODULE_LIST="${VMWARE_MODULE_LIST} 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 -mavx -mpclmul -maes
- append-cflags -mno-sse # Found a problem similar to bug #492964
-
- 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_ALL}; 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}/${PV_MAJOR}-hardened.patch"
- epatch "${FILESDIR}/${PV_MAJOR}-apic.patch"
-
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-00-dentry.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-01-inode.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-02-control.patch"
- kernel_is ge 3 10 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.10-03-inline.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.11-00-readdir.patch"
- kernel_is ge 3 11 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.11-01-filldir.patch"
- kernel_is ge 3 15 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.15-00-vsock.patch"
- kernel_is ge 3 18 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.18-00-version-redefined.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-00-compat-namei.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-02-vmblock-path.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-04-iovec.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-05-vmci_qpair.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-06-vsock.patch"
- kernel_is ge 3 19 0 && epatch "${FILESDIR}/${PV_MAJOR}-3.19-07-vsock.patch"
- kernel_is ge 4 1 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.01-00-vsock.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.02-00-nd_set_link.patch"
- kernel_is ge 4 2 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.02-01-sk_alloc.patch"
- kernel_is ge 4 3 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.03-00-vmci-misc_deregister.patch"
- kernel_is ge 4 5 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.05-00-vmblock-follow_link.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=="vmw_vmci", GROUP="vmware", MODE="660"
- KERNEL=="vmmon", GROUP="vmware", MODE="660"
- KERNEL=="vsock", GROUP="vmware", MODE="660"
- EOF
- udev_dorules "${udevrules}"
-
- if ! use vmci ; then
- dodir /etc/modprobe.d/
-
- cat > "${D}"/etc/modprobe.d/vmware.conf <<-EOF
- # Support for vmware vmci in kernel module
- alias vmci vmw_vmci
- EOF
-
- export installed_modprobe_conf=1
- fi
- if ! use vsock ; then
- dodir /etc/modprobe.d/
- cat >> "${D}"/etc/modprobe.d/vmware.conf <<-EOF
- # Support for vmware vsock in kernel module
- alias vsock vmw_vsock_vmci_transport
- EOF
-
- export installed_modprobe_conf=1
- fi
-}
-
-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
-}
diff --git a/app-emulation/vmware-player/Manifest b/app-emulation/vmware-player/Manifest
deleted file mode 100644
index 95af6cc2d35b..000000000000
--- a/app-emulation/vmware-player/Manifest
+++ /dev/null
@@ -1,13 +0,0 @@
-AUX vmware-11.0.rc 1044 SHA256 23ce4ff2fd3c51555de1c530b65c8bfbf954884e541febc9f9587fe51c9e750a SHA512 e8f98615184856e9fa7d97ee3d9ecb1e329719645228a2c056c3b95f2bb5e0498b985899dfb0bc50e20a307a5462153a438ea82dccfb91ca0375b80e93915455 WHIRLPOOL 0f9d7d3d24c88270e5ace9f186d78e4b1aac4f855d7fbd9898a2192e633f43fb34bd35b3bf97e730f04cac04227bedebfd2b062af93756db147d1c9cedcda018
-AUX vmware-11.2.rc 1044 SHA256 23ce4ff2fd3c51555de1c530b65c8bfbf954884e541febc9f9587fe51c9e750a SHA512 e8f98615184856e9fa7d97ee3d9ecb1e329719645228a2c056c3b95f2bb5e0498b985899dfb0bc50e20a307a5462153a438ea82dccfb91ca0375b80e93915455 WHIRLPOOL 0f9d7d3d24c88270e5ace9f186d78e4b1aac4f855d7fbd9898a2192e633f43fb34bd35b3bf97e730f04cac04227bedebfd2b062af93756db147d1c9cedcda018
-AUX vmware-12.1.rc 1044 SHA256 23ce4ff2fd3c51555de1c530b65c8bfbf954884e541febc9f9587fe51c9e750a SHA512 e8f98615184856e9fa7d97ee3d9ecb1e329719645228a2c056c3b95f2bb5e0498b985899dfb0bc50e20a307a5462153a438ea82dccfb91ca0375b80e93915455 WHIRLPOOL 0f9d7d3d24c88270e5ace9f186d78e4b1aac4f855d7fbd9898a2192e633f43fb34bd35b3bf97e730f04cac04227bedebfd2b062af93756db147d1c9cedcda018
-AUX vmware-network.service 494 SHA256 a631394a2393321be96ea7f2c3783c3c5f3a5f3d9359ae153df48dffd6bd3c32 SHA512 d853c0744cd47f5cd81c37e0de89fd98406baa606238f169ee9fcf62ce3805d7c712f4b3811528f09d081f13fdb00fd816fba01e0a48ff143379a7bdc88a504a WHIRLPOOL 9e4f6c22e9e9036aa21309314688d50e21bcdaa70116c92592d2cf705b3170697ae67bb754cdb29ae647966b36896e953decebd6df9ad4b0624b4a0bb57eff9d
-AUX vmware-usbarbitrator.service 205 SHA256 73e84b3bda78b63c40908f9a51b6eeb457e77b43050f5b09129f1a064f59e0d0 SHA512 8f07533c43afaefd4043724f6e03e5c7694624252de2b47ad4344d733983369988bbe05acebcb3f73d718395637f262646f837a4263a38bd2ab13897f3051dea WHIRLPOOL 893e618df1d1331740cb1fdc62ad97ef706125668186450a914f4f6391e8fdc74e34fad779832df4ef10c5d9f3ac9c2336458b69a5aa122436140c14309ce546
-DIST VMware-Player-12.1.0-3272444.x86_64.bundle.tar 138854400 SHA256 ae124888e3cef2cb8d687d0029b32ddf56dca8314d125cad66539c16501a1787 SHA512 0766ff543c4d61ff842ee8aa7b7ef7ed13c1a8adaadef2872cdd47b8029fb0b794588d9d49e4ad8cd5919793663e465439d2b7d8782f72f28461f8a008141151 WHIRLPOOL d972d76ba01295ece11cfee89a138ecea00b512de93f1a279a4ef8444333e672e094216ccaa59a4a8b78432d8b49998addb0b0a0b1abc566f8ccaa7724f7f580
-DIST VMware-Player-7.1.2-2780323.x86_64.bundle.tar 211128320 SHA256 baa60996b3bed5ba89db1a0fd9a2cc263ea07ac1cf2d6f3aab68c728cc960efc SHA512 c4465a4cbf97b9fe3aa2d6a1c690047251a37929867e0b3cbddf6643b59ef8e618809973543150e6cd9a3bdba0c9c04fb55171616c2179a0ff80ee7302e07fc2 WHIRLPOOL f0bc539647a5f3838a486d62506881f752e426e2e7299b20f2828c285cb041c777f93f3d29627ff4187edfd92e43e37e70647828ce537adb67db0fe3e99fccb0
-DIST vmware-systemd-gentoo-02.tgz 14064 SHA256 7ab23cb41bb8fbeca43bfd3baee35928731177620ae374ebb3b19b827d1a3210 SHA512 3a382bfd5f1eb2b218d8012588ea55c1f22786dba35a1fc0fdfdb4e40b05e0e735ed09c6961684f6442e863c3ed72024ce01f19113bbd9ca47c32e3f43c55f42 WHIRLPOOL dd7ac934584894f4a0ae86a9122080c49a4d09924011bc12dc1530ac6b5ee11fac6d55d6e5b306bb24d749a509236d3e39870b4d6b2ff5de37f6e54707ff8bb6
-EBUILD vmware-player-12.1.0.3272444-r2.ebuild 11020 SHA256 71ac70d8ed316e744d9117007c43d83ff037c8abd1908aba1587befac4a5bdc1 SHA512 7050ef8d95c0e1915fc7024ed9fbe51c4049065b0b9f683227f720203b308c231216fb9f14d75f60fa3c6e1b603e8b8ce3548d6e7bfa0fb464588ae99a1a93a1 WHIRLPOOL 348310907af766c80b83f426fb5d599ed8fa6e00cb1daabfec197d302387d781c288380750be92311b204c7b193eae8f89b727e05b35b33cb2ea70d991a4d620
-EBUILD vmware-player-7.1.2.2780323-r1.ebuild 6906 SHA256 eded3de0816daab1d774f167b66dd1c87be3968f5e26ec94f57d0e52cb806bb8 SHA512 d9fefdd91290d9912b984d7b0d09b4723a51e7d1c9ab7eb657ca3944bc6a9683db59e7d9c9252f43b2c44432032453bbb70ca8f5bc8a4e06784673ca9d5e0e77 WHIRLPOOL 82a991a313e2d652e376668f4f9c77451dec7a8ded151828d5c225b3909223a02e0b7482b696fcdcb0cd877f4542bdc3470b019c2d024346a0d509c04b668233
-MISC ChangeLog 7193 SHA256 d9d1a1b0c3341a843ab861b1ba65b0ae1fd8ae2122e0bf8e40343fe5b8aeaeb0 SHA512 3dc479d24a9425550867cb3fb8b5b0d29218944780b18c3fa84f212306d413cbb9dd27c6a71aeb01c82f02516485ff056f303613136711a03b17d13e544b7a30 WHIRLPOOL 5af1d75f642242367c7ccbc24d1be610ffcfbf39116fea51a16af217f3b769c67430470173da717f6d1e51a373c22f61b8e153cb6bf23f507245085be8897773
-MISC ChangeLog-2015 33854 SHA256 97380aee6c2a29a2068a954fe4aa8a9cdddf1fe1c0b9a8014094040d451b7332 SHA512 ebf57389ea5522106f7d7528ccdcd87f8210020624d04c9b2c416fe6a04239fa57edde656487ddf3dfc269e4249aaeaf9e29075bb34b4304a273bd837a48ca09 WHIRLPOOL 61bba1cad5bb46d17e4a602615245f5a5516e4c45406867bdf5818acb9bf147b12d5683b742cdcc1c7fc748759d7f1e32b491bb578e793ff1dbd2415801638cf
-MISC metadata.xml 617 SHA256 1c110e7b85416c47564f2bc90663e759f6a1c47b887d841c1cfac50c4abe6bf1 SHA512 623526c4ad0c1f13d7f1af2e46c2b3fd571fc9456ca579e2fe514e8fb5c1c8515924433a7b19c2108c762d44db83f54b66590502be392f3de1151898cd422962 WHIRLPOOL 73d1a464d8980f28470d93e6daf8c8c7329b622a9c949ff440b71b972dd832a58568f68bbddca1d987476ed3caffcb6fb5a3c3e8b8ae217d9975bdc0fbf2f9e2
diff --git a/app-emulation/vmware-player/files/vmware-11.0.rc b/app-emulation/vmware-player/files/vmware-11.0.rc
deleted file mode 100644
index 2ba649336fdf..000000000000
--- a/app-emulation/vmware-player/files/vmware-11.0.rc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
-
- # quiet for vmci because it may not be there
- modprobe -vq vmci || modprobe -v vmw_vmci
- eend $?
-
- # vmci or vmw_vmci was loaded by the previous modprobe
- # no need to do it here
- modprobe -av vmmon vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
-
- # quiet for vmci because it may not be there
- modprobe -rvq vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-player/files/vmware-11.2.rc b/app-emulation/vmware-player/files/vmware-11.2.rc
deleted file mode 100644
index 2ba649336fdf..000000000000
--- a/app-emulation/vmware-player/files/vmware-11.2.rc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
-
- # quiet for vmci because it may not be there
- modprobe -vq vmci || modprobe -v vmw_vmci
- eend $?
-
- # vmci or vmw_vmci was loaded by the previous modprobe
- # no need to do it here
- modprobe -av vmmon vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
-
- # quiet for vmci because it may not be there
- modprobe -rvq vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-player/files/vmware-12.1.rc b/app-emulation/vmware-player/files/vmware-12.1.rc
deleted file mode 100644
index 2ba649336fdf..000000000000
--- a/app-emulation/vmware-player/files/vmware-12.1.rc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
-
- # quiet for vmci because it may not be there
- modprobe -vq vmci || modprobe -v vmw_vmci
- eend $?
-
- # vmci or vmw_vmci was loaded by the previous modprobe
- # no need to do it here
- modprobe -av vmmon vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
-
- # quiet for vmci because it may not be there
- modprobe -rvq vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-player/files/vmware-network.service b/app-emulation/vmware-player/files/vmware-network.service
deleted file mode 100644
index abc6648f3156..000000000000
--- a/app-emulation/vmware-player/files/vmware-network.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=VMware Network
-Requires=local-fs.target
-Wants=network.target vmware-usbarbitrator.service
-After=local-fs.target network.target vmware-usbarbitrator.service
-
-[Service]
-Type=simple
-ExecStartPre=/sbin/modprobe -av vmci vmmon vsock vmblock vmnet
-ExecStart=/opt/vmware/bin/vmware-networks --start
-ExecStop=/opt/vmware/bin/vmware-networks --stop
-ExecStopPost=/sbin/modprobe -rv vmmon vsock vmblock vmnet vmci
-TimeoutSec=0
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target
diff --git a/app-emulation/vmware-player/files/vmware-usbarbitrator.service b/app-emulation/vmware-player/files/vmware-usbarbitrator.service
deleted file mode 100644
index 16a0fb81bfc9..000000000000
--- a/app-emulation/vmware-player/files/vmware-usbarbitrator.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=VMware USB Arbitrator
-Requires=local-fs.target
-Before=vmware-network.service
-
-[Service]
-Type=forking
-ExecStart=/opt/vmware/bin/vmware-usbarbitrator
-
-[Install]
-WantedBy=multi-user.target
diff --git a/app-emulation/vmware-player/metadata.xml b/app-emulation/vmware-player/metadata.xml
deleted file mode 100644
index 0bc0f1d5c46a..000000000000
--- a/app-emulation/vmware-player/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>vmware@gentoo.org</email>
- <name>Gentoo VMware Project</name>
- </maintainer>
- <use>
- <flag name="bundled-libs">Use precompiled bundled libraries instead of the system installation</flag>
- <flag name="ovftool">Install OVF tool for importing and exporting appliance files</flag>
- <flag name="vmware-tools">Install VMware Tools images</flag>
- </use>
- <upstream>
- <remote-id type="github">akhuettel/systemd-vmware</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-emulation/vmware-player/vmware-player-12.1.0.3272444-r2.ebuild b/app-emulation/vmware-player/vmware-player-12.1.0.3272444-r2.ebuild
deleted file mode 100644
index 85ad0cf2794a..000000000000
--- a/app-emulation/vmware-player/vmware-player-12.1.0.3272444-r2.ebuild
+++ /dev/null
@@ -1,417 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils versionator readme.gentoo-r1 fdo-mime gnome2-utils pax-utils systemd vmware-bundle
-
-MY_PN="VMware-Player"
-MY_PV=$(get_version_component_range 1-3)
-PV_MODULES="308.$(get_version_component_range 2-3)"
-PV_BUILD=$(get_version_component_range 4)
-MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
-
-SYSTEMD_UNITS_TAG="gentoo-02"
-
-DESCRIPTION="Emulate a complete PC without the performance overhead of most emulators"
-HOMEPAGE="http://www.vmware.com/products/player/"
-BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/player/${MY_PV}/${PV_BUILD}/linux/core/"
-SRC_URI="
- ${BASE_URI}${MY_P}.x86_64.bundle.tar
- https://github.com/akhuettel/systemd-vmware/archive/${SYSTEMD_UNITS_TAG}.tar.gz -> vmware-systemd-${SYSTEMD_UNITS_TAG}.tgz
-"
-
-LICENSE="vmware GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="bundled-libs cups doc ovftool +vmware-tools"
-RESTRICT="mirror strip preserve-libs"
-
-BUNDLED_LIBS_DIR=/opt/vmware/lib/vmware/lib
-
-BUNDLED_LIBS="
- libXau.so.6
- libXcomposite.so.1
- libXcursor.so.1
- libXdamage.so.1
- libXdmcp.so.6
- libXfixes.so.3
- libXft.so.2
- libXinerama.so.1
- libXrandr.so.2
- libXrender.so.1
- libaio.so.1
- libatk-1.0.so.0
- libatkmm-1.6.so.1
- libatspi.so.0
- libcairo.so.2
- libcairomm-1.0.so.1
- libcrypto.so.1.0.1
- libcurl.so.4
- libdbus-1.so.3
- libfontconfig.so.1
- libfreetype.so.6
- libfuse.so.2
- libgailutil.so.18
- libgcc_s.so.1
- libgcrypt.so.11
- libgdk-x11-2.0.so.0
- libgdk_pixbuf-2.0.so.0
- libgdkmm-2.4.so.1
- libgio-2.0.so.0
- libgiomm-2.4.so.1
- libglib-2.0.so.0
- libglibmm-2.4.so.1
- libglibmm_generate_extra_defs-2.4.so.1
- libgmodule-2.0.so.0
- libgobject-2.0.so.0
- libgpg-error.so.0
- libgthread-2.0.so.0
- libgtk-x11-2.0.so.0
- libgtkmm-2.4.so.1
- libpango-1.0.so.0
- libpangocairo-1.0.so.0
- libpangoft2-1.0.so.0
- libpangomm-1.4.so.1
- libpangox-1.0.so.0
- libpangoxft-1.0.so.0
- libpcsclite.so.1
- libpixman-1.so.0
- libpng12.so.0
- librsvg-2.so.2
- libsigc-2.0.so.0
- libssl.so.1.0.1
- libstdc++.so.6
- libxml2.so.2
- libz.so.1
-"
-
-BUNDLED_LIB_DEPENDS="
- app-accessibility/at-spi2-core
- dev-cpp/atkmm
- dev-cpp/cairomm
- dev-cpp/glibmm:2
- dev-cpp/gtkmm:2.4
- dev-cpp/pangomm
- dev-libs/atk
- dev-libs/glib:2
- dev-libs/libaio
- dev-libs/libgcrypt:11/11
- dev-libs/libgpg-error
- dev-libs/libsigc++:2
- dev-libs/libxml2
- dev-libs/openssl:0
- gnome-base/librsvg:2
- media-libs/fontconfig
- media-libs/freetype
- media-libs/libpng:1.2
- net-misc/curl
- sys-apps/dbus
- sys-apps/pcsc-lite
- sys-fs/fuse
- sys-libs/zlib
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXfixes
- x11-libs/libXft
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/pango
- x11-libs/pangox-compat
- x11-libs/pixman
-"
-
-# vmware should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="
- app-arch/bzip2
- dev-libs/dbus-glib
- dev-libs/expat
- dev-libs/gmp:0
- dev-libs/icu
- dev-libs/json-c
- dev-libs/libcroco
- dev-libs/libffi
- dev-libs/libgcrypt:0/20
- dev-libs/libtasn1:0/6
- dev-libs/nettle:0/6
- gnome-base/gconf
- gnome-base/libgnome-keyring
- media-gfx/graphite2
- media-libs/alsa-lib
- media-libs/harfbuzz:0/0.9.18
- media-libs/libart_lgpl
- media-libs/libpng:0
- media-libs/libvorbis
- media-libs/mesa
- net-dns/libidn
- net-libs/gnutls
- net-print/cups
- sys-apps/tcp-wrappers
- sys-apps/util-linux
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXtst
- x11-libs/libXxf86vm
- x11-libs/libdrm
- x11-libs/libxcb
- x11-libs/libxshmfence
- x11-libs/startup-notification
- x11-libs/xcb-util
- x11-themes/hicolor-icon-theme
- bundled-libs? (
- media-libs/jbigkit:0/2.1
- media-libs/tiff:3
- virtual/jpeg:62
- )
- !bundled-libs? ( ${BUNDLED_LIB_DEPENDS} )
- !app-emulation/vmware-workstation
-"
-PDEPEND="~app-emulation/vmware-modules-${PV_MODULES}
- vmware-tools? ( app-emulation/vmware-tools )"
-DEPEND=">=dev-util/patchelf-0.9"
-
-S=${WORKDIR}
-VM_INSTALL_DIR="/opt/vmware"
-
-QA_PREBUILT="/opt/*"
-
-QA_WX_LOAD="opt/vmware/lib/vmware/tools-upgraders/vmware-tools-upgrader-32 opt/vmware/lib/vmware/bin/vmware-vmx-stats opt/vmware/lib/vmware/bin/vmware-vmx-debug opt/vmware/lib/vmware/bin/vmware-vmx"
-
-src_unpack() {
- default
- local bundle=${MY_P}.x86_64.bundle
-
- local component; for component in \
- vmware-player \
- vmware-player-app \
- vmware-player-setup \
- vmware-vmx \
- vmware-network-editor \
- vmware-usbarbitrator
- do
- vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}"
- done
-
- if use ovftool; then
- vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
- fi
-}
-
-clean_bundled_libs() {
- einfo "Removing bundled libraries"
- for libname in ${BUNDLED_LIBS} ; do
- rm -rv "${S}"/lib/lib/${libname} || die "Failed removing bundled ${libname}"
- done
-
- rm -rv "${S}"/lib/libconf || die "Failed removing bundled gtk conf libs"
-
- # Among the bundled libs there are libcrypto.so.1.0.1 and libssl.so.1.0.1
- # (needed by libcds.so) which seem to be compiled from openssl-1.0.1h.
- # Upstream real sonames are *so.1.0.0 so it's necessary to fix DT_NEEDED link
- # in libcds.so to be able to use system libs.
- pushd >/dev/null .
- cd "${S}"/lib/lib/libcds.so
- einfo "Patching libcds.so"
- patchelf --replace-needed libssl.so.1.0.{1,0} \
- --replace-needed libcrypto.so.1.0.{1,0} \
- libcds.so
- popd >/dev/null
-
- # vmware-player seems to use a custom version of libgksu2.so, for this reason
- # we leave the bundled version. The libvmware-gksu.so library declares simply DT_NEEDED
- # libgksu2.so.0 but it uses at runtime the bundled version, patch the lib to avoid portage
- # preserve-libs mechanism to be triggered when a system lib is available (but not required)
- pushd >/dev/null .
- cd "${S}"/lib/lib/libvmware-gksu.so
- einfo "Patching libvmware-gksu.so"
- patchelf --set-rpath "\$ORIGIN/../libgksu2.so.0" \
- libvmware-gksu.so
- popd >/dev/null
-}
-
-src_prepare() {
- rm -f bin/vmware-modconfig
- rm -rf lib/modules/binary
- # Bug 459566
- mv lib/libvmware-netcfg.so lib/lib/
-
- if ! use bundled-libs ; then
- clean_bundled_libs
- fi
-
- DOC_CONTENTS="
-/etc/env.d is updated during ${PN} installation. Please run:\n
-env-update && source /etc/profile\n
-Before you can use ${PN}, you must configure a default network setup.
-You can do this by running 'emerge --config ${PN}'.\n
-To be able to run ${PN} your user must be in the vmware group.\n
-You MUST set USE=bundled-libs if you are running gcc-5, otherwise vmware will not start.
-"
-}
-
-src_install() {
- local major_minor=$(get_version_component_range 1-2 "${PV}")
-
- # revdep-rebuild entry
- insinto /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${VM_INSTALL_DIR}\"" >> ${T}/10${PN}
- doins "${T}"/10${PN}
-
- # install the binaries
- into "${VM_INSTALL_DIR}"
- dobin bin/*
-
- # install the libraries
- insinto "${VM_INSTALL_DIR}"/lib/vmware
- doins -r lib/*
-
- # workaround for hardcoded search paths needed during shared objects loading
- if ! use bundled-libs ; then
- 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 \
- "${VM_INSTALL_DIR}"/lib/vmware/lib/libcrypto.so.1.0.1/libcrypto.so.1.0.1
- dosym /usr/$(get_libdir)/libssl.so.1.0.0 \
- "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.1.0.1/libssl.so.1.0.1
- fi
-
- # 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
-
- if use doc; then
- dodoc doc/*
- fi
-
- exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup
- doexe vmware-config
-
- # 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 vmplayer{,-daemon} \
- vmware-{acetool,modconfig{,-console},gksu,fuseUI} ; 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/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
- fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/libgksu2.so.0/gksu-run-helper
- fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
-
- pax-mark -m "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx
-
- # create the environment
- local envd="${T}/90vmware"
- cat > "${envd}" <<-EOF
- PATH='${VM_INSTALL_DIR}/bin'
- ROOTPATH='${VM_INSTALL_DIR}/bin'
- EOF
-
- use bundled-libs && echo 'VMWARE_USE_SHIPPED_LIBS=1' >> "${envd}"
-
- 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 = "${MY_PV}"
- product.buildNumber = "${PV_BUILD}"
- EOF
-
- # 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}" || die
- newinitd "${initscript}" vmware
-
- # fill in variable placeholders
- if use bundled-libs ; then
- 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}} || die
- fi
- sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
- -e "/^Encoding/d" \
- -i "${D}/usr/share/applications/vmware-player.desktop" || die
-
- # install systemd unit files
- systemd_dounit "${WORKDIR}/systemd-vmware-${SYSTEMD_UNITS_TAG}/"*.{service,target}
-
- readme.gentoo_create_doc
-}
-
-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
- readme.gentoo_print_elog
-
- ewarn "${P} is using an old version of libgcrypt library which"
- ewarn "is going to be soon removed from portage due to security reasons"
- ewarn "(see https://bugs.gentoo.org/show_bug.cgi?id=541564)."
- ewarn "Until vmware is fixed upstream you're exposed to security issues!"
-}
-
-pkg_prerm() {
- einfo "Stopping ${PN} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-emulation/vmware-player/vmware-player-7.1.2.2780323-r1.ebuild b/app-emulation/vmware-player/vmware-player-7.1.2.2780323-r1.ebuild
deleted file mode 100644
index 225ca12f528e..000000000000
--- a/app-emulation/vmware-player/vmware-player-7.1.2.2780323-r1.ebuild
+++ /dev/null
@@ -1,258 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils versionator readme.gentoo fdo-mime gnome2-utils pax-utils systemd vmware-bundle
-
-MY_PN="VMware-Player"
-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}"
-
-DESCRIPTION="Emulate a complete PC without the performance overhead of most emulators"
-HOMEPAGE="http://www.vmware.com/products/player/"
-BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/player/${MY_PV}/${PV_BUILD}/linux/core/"
-SRC_URI="
- amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
- "
-
-LICENSE="vmware GPL-2"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="cups doc ovftool +vmware-tools"
-RESTRICT="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:2.6
- dev-cpp/pangomm:1.4
- dev-libs/atk
- dev-libs/glib:2
- dev-libs/libaio
- dev-libs/libsigc++:2
- 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*
- 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
- !app-emulation/vmware-workstation"
-PDEPEND="~app-emulation/vmware-modules-304.${PV_MINOR}
- vmware-tools? ( app-emulation/vmware-tools )"
-
-S=${WORKDIR}
-VM_INSTALL_DIR="/opt/vmware"
-
-QA_PREBUILT="/opt/*"
-
-QA_WX_LOAD="opt/vmware/lib/vmware/bin/vmware-vmx-stats opt/vmware/lib/vmware/bin/vmware-vmx-debug opt/vmware/lib/vmware/bin/vmware-vmx"
-
-src_unpack() {
- default
- local bundle=${A%.tar}
-
- local component ; for component in \
- vmware-player \
- vmware-player-app \
- vmware-vmx \
- vmware-usbarbitrator \
- vmware-network-editor \
- vmware-player-setup
- do
- vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}"
- done
-
- use ovftool && \
- vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
-}
-
-src_prepare() {
- rm -f bin/vmware-modconfig
- rm -rf lib/modules/binary
- # Bug 459566
- mv lib/libvmware-netcfg.so lib/lib/
-
- DOC_CONTENTS="
-/etc/env.d is updated during ${PN} installation. Please run:\n
-env-update && source /etc/profile\n
-Before you can use ${PN}, you must configure a default network setup.
-You can do this by running 'emerge --config ${PN}'.\n
-To be able to run ${PN} your user must be in the vmware group.
-"
-}
-
-src_install() {
- # install the binaries
- into "${VM_INSTALL_DIR}"
- dobin bin/* || die "failed to install 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
-
- # https://github.com/gentoo/vmware/issues/7
- dosym "${VM_INSTALL_DIR}"/lib/vmware/ /usr/$(get_libdir)/vmware
-
- # 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
-
- # install documentation
- if use doc; then
- dodoc doc/*
- fi
-
- exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup
- doexe vmware-config
-
- # 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 vmplayer{,-daemon} \
- vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; 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/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 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
-
- pax-mark -m "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx
-
- # create the environment
- local envd="${T}/90vmware"
- cat > "${envd}" <<-EOF
- PATH='${VM_INSTALL_DIR}/bin'
- ROOTPATH='${VM_INSTALL_DIR}/bin'
- EOF
- doenvd "${envd}" || die
-
- # create the configuration
- dodir /etc/vmware || die
-
- 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 = "${MY_PV}"
- product.buildNumber = "${PV_BUILD}"
- EOF
-
- # install the init.d script
- local initscript="${T}/vmware.rc"
-
- sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
- "${FILESDIR}/vmware-11.${PV_MINOR}.rc" > "${initscript}" || die
- newinitd "${initscript}" vmware || die
-
- systemd_dounit "${FILESDIR}/vmware-usbarbitrator.service"
- systemd_dounit "${FILESDIR}/vmware-network.service"
-
- # 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}} || die
- sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
- -e "/^Encoding/d" \
- -i "${D}/usr/share/applications/${PN}.desktop" || die
-
- readme.gentoo_create_doc
-}
-
-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
- readme.gentoo_pkg_postinst
-}
-
-pkg_prerm() {
- einfo "Stopping ${PN} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-emulation/vmware-tools/Manifest b/app-emulation/vmware-tools/Manifest
deleted file mode 100644
index f435eb26a9cc..000000000000
--- a/app-emulation/vmware-tools/Manifest
+++ /dev/null
@@ -1,43 +0,0 @@
-DIST vmware-tools-freebsd-9.2.3-1031769.i386.component.tar 15216640 SHA256 a54e3fa823495b18dca3635dde7f37c5c15a6374ec6a863bfccaf02bcb75fd9b SHA512 9d0eb0699ba3d36ed7a1810e553632fdc1ae0339848de2e4c2123222e3063da1164c73d2aca38bfd82b3825f1a8940fe76a461f9bdb9280f0f3473587824d890 WHIRLPOOL aa2309ef38995e301059ce9dbbe0c680aa74aa95b2cb07cf930e71a6c9f620be777b83ef3ad8e93f53760a7b266ffa08b77c34f137fe01d3b51d5ba68ffb4686
-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.5-2700073.i386.component.tar 15216640 SHA256 d900d0ee4f9f185f1914f80cb9b0a7df8fcf027e1009def7c2b81a7ac15e5d0b SHA512 5e070544e85137b7f032e2c1e4567233adadac274abc727b4dcfdfdddd455bc5f080499b306c6bdf7e5bbe17f6610fdece1c2ef541d5b89081ec5d342145071e WHIRLPOOL 1cc29331cefb25628425553707b8c8572eddc1b208856eac409d0123901918677d95fe82cc6028f0debcd7b28a8d524e1f29357b399629c30653eced80d12a7b
-DIST vmware-tools-freebsd-9.6.5-2700073.x86_64.component.tar 15216640 SHA256 7a2435330281b039727ab8a10736a95393bc143e6b3bfea6e9b7d18a7bf4ba15 SHA512 e78b1d85bcff951d4661374eb687c388d0b299d3d1cd6e4344d3a0439219f82a1e59f335cd5284fb371304223038ef358b59006504b061d702981bec7afa3408 WHIRLPOOL 42ea166a2b5ec8986d4d7b04dc2d13c76fb2509d6f9993d1dcceb7479332de0032589acfc749996a255b5487173f8ec03dc859b897a5f894fd2dde964db45220
-DIST vmware-tools-freebsd-9.9.3-2780323.x86_64.component.tar 15267840 SHA256 9f0c62ff9ec11b6920b7eed08a60f445b2e39f98408d74e290789ff405f7a8cf SHA512 ab0a97ae7ab5b6762fdba067606725f00eaa0917e209a5f84852c6ea154e24639cc488f9c9bd6e215d2b0048fdff8ee1adbd1292015eb3712811f54459d7c316 WHIRLPOOL db81fb392d8800c8e2a0fe5f883fd88810ea88b927f9e66a17758d0c864059dcac1f1a0bcaa1a135e0d9b300798185710ab3fffa4cd82e264a73d6e0bba21d1e
-DIST vmware-tools-freebsd-9.9.4-3206955.x86_64.component.tar 15267840 SHA256 83206e70e79749f7fa50a26930046c58061b538e3b912d2270a93ee400c5a365 SHA512 3112c0cb5ff2cd6a2309f6bdf51bfccee5e1a8dc01910239a30adbdd516c7f9838133d245a3fd0c95eb909e9fe9b8df0b89135adeb90d5bd4843ddc2db7782ff WHIRLPOOL 29f36ad06ecd4cb7f9faa91924cb7a756cea9c18faf8fff67c0bbc1be10a8a1145724375f09467fefa1a41bd7f6f9196698806833ee105c6a86dd49910260b40
-DIST vmware-tools-linux-9.2.3-1031769.i386.component.tar 66211840 SHA256 0383d632139dbb463bba02c3f6770c877b2fc254710b05167b1d0d4213fbc11c SHA512 076d952a70bec0be1dcdc22534a57631faa1e74136cd1baac479d6f98d924a8d870958aa02aaaa9eef98e23609470ab85bde5ab7afacbc15516a5d7ad7b023c2 WHIRLPOOL 4429145db5528b8160115a7c55bc895e8b52745c9c3b08024a096e3bdefbb0e11ef6fdad976178e96fa32320711f30c2889c8830535dc6f6dfb8f6cbb214be03
-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.5-2700073.i386.component.tar 61337600 SHA256 aad21f54da7bb37169dc85fd84062f3976618ce63034c6785235bd6d5aa580f4 SHA512 133c4958d904755ef9a4fdc13ea686aa69b325301c435a8cf7ea77a246a072099864c3b3654d5ad35bfda2b849d3c0e31afdc8654959f0ca2df07c9d822bf9f7 WHIRLPOOL 66ceb444996985f264892d7bbee5ab8a7122796691fedf321e108e1bc81c54646ca3fe325688f4824ef781e7f9ae7058d4f440e2f0219bd58c985195eb9332b2
-DIST vmware-tools-linux-9.6.5-2700073.x86_64.component.tar 61337600 SHA256 dd1fea6f4e99f676cef89d6ad1f9880e28d324f5051a95a6216cb48045c39ea8 SHA512 a607713f410a405ff8364adc7a300223ffa26d5cfd8f0612ec39c371057d6a65744de5e4a2eb552e488cdcb9dbc9ae6ddff7e89b533a9cbe531969453eefe291 WHIRLPOOL 5d851d3a3b9e7ab3b5ff48fa43f40330e88c6cdf083b9a975032b9d2868e9ad3e6e73d9c64db5fba0838eebcf182d9406434abf20d4fe76f74b136a00948684c
-DIST vmware-tools-linux-9.9.3-2780323.x86_64.component.tar 62095360 SHA256 6ed266ef888c8fd9a9f0d49083767f525b03bb2725d241c048308e8660b67254 SHA512 af12a60a70727db6ff98bfcc1693eda8c78fc09f3c5769eb42cd2ddfc36b6ae411309414d922d6fbcbfddab7875822a57d1bbe4afe2e00afd6afc09c8d959d89 WHIRLPOOL b46ef6bd824758bd2c4fdf8b3934a99baa23a4c2c6b9728a9ff464363c8c31050ffbe1392470191514f50d2f1ac208092f5d789e8cde1681d317636cce87d1b3
-DIST vmware-tools-linux-9.9.4-3206955.x86_64.component.tar 62085120 SHA256 d1482b6c78f5a7bf5820b174fe5fdd6f0fcaa3ed66c12eefa32e6b59358c376c SHA512 4c2b64b399a802fc1f7ef13878d0c8772507c971d5f515c6323e29a65b6d6fcb27ed48996ad5c6db0ff4d9a19db597b6d8b2eb1c3292cacd47cba9db5c65ef5f WHIRLPOOL 2ee2ad16b108aedf106f5dc017a08859505229734e4b87f81714c436f2fe43469acf6e41bd88473325d67c8396ea4330e7eb4141581da988bd2636ee153eadb8
-DIST vmware-tools-netware-9.2.3-1031769.i386.component.tar 81920 SHA256 906680d060a59414fa1726ef71b29f90f3923b823d4a123d72f345f6c35bab97 SHA512 892b0e9e18a80ab33dc6113447d281e31eb1925fea67ad9d90bfe6af808f855c8efaef6800540037062c4062bacc575fd638b7a49b34998006f5a49696558623 WHIRLPOOL b97bb7314868b1600a349d3b6af0b516aa3bd17124f3cf6bc309f1cdc21617b4c0abbbf74bb080aaaa64f31dc6ebb57905851678600cb6fce48e235428a5099c
-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.5-2700073.i386.component.tar 81920 SHA256 5ec311062c98a8bd86fa86d2b762b89ad2642c0ba7d95f8d42734c43f3dc7139 SHA512 d5ad09faee4fc5e4d3e9f5ab0423dc4a28cd316b70193277dfc4e26b8daef372af4ba3e9994ed488a6a051ab4f0e2980f6e8a1ab0b911f7f93d29556d3826617 WHIRLPOOL a911c63efece39e149f4086cfdd8e5c29adce1f2553481328988bc946ab6c6653033f967b7f8970c3b859bb245c57e4d70a432bda3a618da9c5b740f8303e24b
-DIST vmware-tools-netware-9.6.5-2700073.x86_64.component.tar 81920 SHA256 78d3a8e66efeeb831658e50fe012e1d1d6bc4cfdf426008c6a21456757e5238c SHA512 bb6a37252beb66c6843ee851dbb71d169f1eace25f2874ec6c577d32ba1df5791e046fb5039e09ee11f536cb0078685665070d2399756130c3bdd6bad2a43e20 WHIRLPOOL 05c41c61715f9cddc89cadf1d2891be9bc13933a1649761087022b592e28b08db5a12b69ea3055750bb7f19688be1f18df4422ebb0650133e2711a30a7bafec6
-DIST vmware-tools-netware-9.9.3-2780323.x86_64.component.tar 81920 SHA256 51ae6356bf0e28ef074f3e64363e1a360018f9be44f33ab6928e532f8f90af9a SHA512 9eadd29b6329eceaa4d90084d80bb635a46f0830420e947398391735935b626bef8d20dd8ec473c18d423c06cf4cf7a51ac77e2a2c95f9f417c7c73b08e100c6 WHIRLPOOL ce3d82023b378acf48efe3073e79ee272a8e3e36ff5cdee742870b7230ecfbcb8b3b2db7d8a7081e547176aae16f1e2df914593bdc2be4bb29e5ac1301158eae
-DIST vmware-tools-netware-9.9.4-3206955.x86_64.component.tar 81920 SHA256 b95be3085178f75eb8b3f69a4c5ca8e4418615e72f42f3b254b3571f8b8e72d5 SHA512 758496e9cae854d02badec3474edeb7e53b4604edd5f1c84216d3488d8f65763a97840a4db023bb7513c91bb3c44d03a8fa67d4435cf6ccb16679ab995ee4159 WHIRLPOOL 4974e17b438633afd5a8046369dd1d935b6587a40d1e1e4bd378606a13914310f8f4e60d084a3ab735b510d8b13403afb41e078235227ce269786d54d0fabc64
-DIST vmware-tools-solaris-9.2.3-1031769.i386.component.tar 13096960 SHA256 bb38d98351c0bb7f1c268a5ec1140bf2023276fd82dc31895fc6039f983ce964 SHA512 5abbb8e7e31753301a02dc411ca41a4857fb41b0c97a1264e954a53a5f15869dec7e01f8b65190aaf20e86c04e929beb88d6f14261761801480f453ce6b3107b WHIRLPOOL 3ebfa56078c49d53bc17215124a901931fcc3fdcd660ad55f72ea0c8cb81a31463bc83ecc480d7e7cccba602c3a37157e560a99231edae3b8e2c1e26242ce252
-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.5-2700073.i386.component.tar 12830720 SHA256 dfff56bd05aea2f732d893be9bd7b52d5b0a3f4f993bb8a275a429fabedd03d5 SHA512 e5c51665119fce5655cc24cc6ff5815250cd291ab7216eaa5eba6056b70e31734c111ae33189c4cb78c9f95336141f012c35c61cbf1ac2887dd264af8e5d7823 WHIRLPOOL 6429b2ed61a1ecba0ab290a9e37c642350782f257364b984abdda3b448e0b11996c0c1c909811620074b1b18a1206cc5f7a6872765766b3d0dcb2d1a978cc784
-DIST vmware-tools-solaris-9.6.5-2700073.x86_64.component.tar 12830720 SHA256 4995ee79f2aa8093fd8caa9bf5e9d2085f3b9a5b6de6b105069c68a97a01ef11 SHA512 f36aa070959bfe94dca921f7c776f878a56a116b5ab7a0da6a55acd34943b7b9631a4184d3aaa773387aed303922aa8d7e9f5b3f24c5d8d9eafbf3d02fb9bf88 WHIRLPOOL 558aa2a21da94b4741d3dc6195ee705e918947511408560ca836937ca094fe66efd2582e967e7fac941dabbaee86b4727f7010782eded8abdcfc05d66fe779a7
-DIST vmware-tools-solaris-9.9.3-2780323.x86_64.component.tar 13015040 SHA256 5ab7c353c8d73be85f756d34deaf5da7aa30a15a4d60f8c22565826d97d3f401 SHA512 8d9b1fe9f02a28da0cefc79d96accb0617a08928bed4189d00abe9f9424e83a28e06ca772c50ea7e4d14ac7f4d6a51b9e3e017b8d9cb5400811d8e2a05d470ea WHIRLPOOL addf9abb4cb07e2e015cdb5c2209dbc9b2371b712772dd337c577e3a7c83c2bc2fcbe468395b551c8b44d2366d0c12be74d76a513f4f690643dd0cbc6a74e57c
-DIST vmware-tools-solaris-9.9.4-3206955.x86_64.component.tar 13015040 SHA256 3dfb5754640c100ae7047573be1b20f83e395e99592313e0f168f62a9a947163 SHA512 d56f859037aa5c9081ae036c719dd97e4ae2c20b65bd9d0670b189b030778058999f90656bc6ebe752ef2f22d43458752764cace8441bbfbb1086187dcaa2be3 WHIRLPOOL bd4464dc630ea0c2f310200a80d54171f60fc872fc83007672c4cd5d912db090a535ef46cb0c86931da9dfd44929850a0f8aee14f909d5b5512278cf90e8f27e
-DIST vmware-tools-winPre2k-9.2.3-1031769.i386.component.tar 11253760 SHA256 a83173fbed35fd6484740fa1c3899ef18c84f0e2728e8db2cca442c809bafe1f SHA512 466625a1e342afae65203b1f04568c4d6c57eee2022890ca463a750d67c6fbbd1f9e5c557515298db0566d9297ffcb32183ff476a5e9368fa05b63b073ade467 WHIRLPOOL a5192928c6fc5c198e818bcf5f623660ae4741017a25cf4e691005ff8284666afb3d5e1dbc037a4caa5889e1bf102e91e4a9f06b630c041674cb0d53d8c0d0f4
-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.5-2700073.i386.component.tar 11458560 SHA256 8b381b1c787466a96bf0f9536df05f58aa62c5c10d6fdeaedd136c6a49e09b8c SHA512 17bcbc4aa84e5e212732860cf34d4c4d8b4c806bd137b497e6dab9f023cf26af5a43a83f6f4d30f9d6e7df87f85b7a33e8ab0626c56450ea024b17e45ab1e1db WHIRLPOOL c3b45bbf5cc49f8b9dd64517dbd9e258ae60de59ea6beeed0b88745f7ba8beef1da9cba577d7829fa25dccf2c51ca919f36db5e7c141e7a4e1d62abe5b9fd187
-DIST vmware-tools-winPre2k-9.6.5-2700073.x86_64.component.tar 11458560 SHA256 55e856f7a701174c3f1f0257d2a8054b836b5e14b328cadcd21e792db03afd3f SHA512 bbc80f18ec0e08d26850220124d0e9187fe9d80472dbd55269c63d05b51ecc7374d7e6066aa5e9fc9bcd027b218925084fb30ddd48dc3828df9c09a9c3579699 WHIRLPOOL f01ad51f8944a167e19abc876f31a6e08f85920d1e17272edff44e4c4871090694e87749cdbd83ffab6deba8569cfec4b600b9de5f930e57405e831dc73a0cd9
-DIST vmware-tools-winPre2k-9.9.3-2780323.x86_64.component.tar 11530240 SHA256 5615f563e42b090a87e30423d5e930fc39712bd9bcf597a83b8df85341e0f563 SHA512 904c9323903f25fc1ffec2e0e7c21c7af9928b408a26e0d4e800597b134643e838a312f44b6600244cb3a855f025912384e10b4bc8f362ae7732216ea8ce642f WHIRLPOOL effa090a63d488738f0a17bf164b0594a33a7a5905d317d08589e1e3467783ac674b07b294a8678c3dbbb0ec6e8c784da74b3e3dd61b9b55e4a1bc4794cbdd8a
-DIST vmware-tools-winPre2k-9.9.4-3206955.x86_64.component.tar 11530240 SHA256 58956405bda8c1eeda43dc22b5bbd9e077cc653f6b4bc2ff1bf0dc071152b2a6 SHA512 6394d73f0258bb831d52e4202ddded8173d3c0dbba3a5686f0eae362196a59b5fd7e9d40403483f7bffa90ab3d6daee340a86d69e9a9b5beb278e17b1c98f8e0 WHIRLPOOL a0620f05d8f6b9acdfdaf462a2718888e31e738c332aa189c367f277403c9a6e038eea0386f1ec4b8a9e9e5671a3e51bb67c7dc80d42f2f05b5244ed5ae79e04
-DIST vmware-tools-windows-9.2.3-1031769.i386.component.tar 61777920 SHA256 0fa4f7aac30b589292b6064c23702e6a257ac27ce1342c96755352f6f39e3b04 SHA512 776c834b49ad8f4bbe84ba800aa866e740e1dd236496065ebd46ddafa35621d4356f99a6f0bb45dfb1fe337bc75452236b5d5c87ec8c5ab6b5a1b6c18bc8d542 WHIRLPOOL 787725514f0ee1a48b64cc2f3b25f706290e386f9762857290ca2a84baea4a21205900b37df197976205baf27606023ea7626337b580299d4f6d63288c8ba39b
-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.5-2700073.i386.component.tar 69294080 SHA256 6aba23b1bd9f7877c7fd54102f634dbf6d0d61fe2640d2e56f280395ad595f45 SHA512 fb63d93dd2ca26aeae42f27ce4b0dcda4991f10e0077a8384b8c7bbc3dbf73fa1f62f986a6c5661b70aed59e3841dc9a63b0de76c637ef62d919f9b667149dae WHIRLPOOL 8969ab16cc660b39626f40af69563bd85f40547d4656e156c4ef79221b6d71f8c9cd1b9ec6e0657f1c61f7104748cf84c356a5ff50339462f998d677a762eee5
-DIST vmware-tools-windows-9.6.5-2700073.x86_64.component.tar 69294080 SHA256 effeb7d57c0c916de4b18f80df4cd8d9fcf00d0dda886b2ba0ce23179b3ad0fa SHA512 bcf036d3fa54b1b0ae98370a54f0e5d95ba68a6476fc79f60615d5754f370b8724d0ccaa6c826f843ebb3e1eb1afceb03701214774ff0b1e40742be5e9adad3f WHIRLPOOL 595918763b0b31ab07725b19c9642730bfb4ed14cec44ed4920bed0aed38b3d71ffab9a931b2923aef63514ff180f4f2221e1b6694418578ca1d2960531e4438
-DIST vmware-tools-windows-9.9.3-2780323.x86_64.component.tar 71495680 SHA256 fa53a1cb525876a5e809dd5429b4572091642ddc2d731ef3b9a242378c972696 SHA512 9e9db19c116f02e0885e07dd6803b6353439125331deb5722a949a10f023dcc694431599e2dd9a4f7a51dfd48510317854ce513684112444443f63e77e0d2c5d WHIRLPOOL dc32f12d603db31e0ec0853ab936c478f1eb0c04cf669e3b7e48ad058bc035e35ad8ba0783616f6370acb1d3c3ef777673d39c663f889998a62593e814aa93eb
-DIST vmware-tools-windows-9.9.4-3206955.x86_64.component.tar 71516160 SHA256 1cce945c3d0678a3dda897685f658c585d6e7b085182b475bfc25f682e7e1530 SHA512 1aeac6144a33ad63d6020397af64966bc35e7cdfdaa434177058386c8466c24a95c2a9386da84f9973d65caa32126f89e422ae5cf8c63813310f1896781fc364 WHIRLPOOL 7cb6c351ab79edda774c101e66df7819c0d1e9a62585ffde4597189d5151669cafe23215c46230e2ed33c3f61e8c081e25141f549631a75eb2a20393a344416d
-EBUILD vmware-tools-9.2.3.1031769.ebuild 1611 SHA256 aebddcb4eb384b37264288013d55bb97cfba355fbb147db3df955557b07030dd SHA512 3181eabdaf5540e71085f3094e2c63ccbff72ace2f79874116b0cfef3368d26aabc7b6e983fe666e4f78195595d003acbb8ae5d881deb26ecea02773d82d1d5d WHIRLPOOL 6a5885e4e4096677ef3f96afec0904bc5497b57e64f1f0060b93d83104bdd509b042347914a0f553479f1a398286917534b1a49e867330959edb603f9ab28b49
-EBUILD vmware-tools-9.6.5.2700073.ebuild 1457 SHA256 a13b0fd9fc0dd713bba0ddff3a63a99b28606db28166039211df808c8939e0fe SHA512 ab7bc23300e65e27753c547c7278e1ae53b93a2f68a7535cf08f0bf5ec38f4215e9efbcae5013a872ad09f2b7c2a5c69ecb901461362550aa44e3f0c046fec07 WHIRLPOOL 5b170114a481c5a300fbbc6ea9423853e345d0606aea610aadf3d0219fb374d2591cfda5db53ee9204ae436ab899a774c2a661f6a8edeb9188c0f401f2c2ac8b
-EBUILD vmware-tools-9.9.3.2780323.ebuild 1549 SHA256 d1af7ce6caa54b671078145f8ac038942446ddbfae34eba4c3e25a31640ea1ec SHA512 5d1c930f316d77351df6dc00bce67daf131eb0e2ad0c67848d5dc25468e2ff1624e30f4173b5dfcfddcbb98e6eb4a730c24433055718c49715f903af9216faf7 WHIRLPOOL 78377cd30501805475fda7f3d2209452f060f5e6cd8585f1b3653eacfc3fa634ef8197b54e87f8192819832343d3d5ddc564bea760b1a8d845fc54267a3e842a
-EBUILD vmware-tools-9.9.4.3206955.ebuild 1549 SHA256 5736c2a92ece7b69b3aa3b77f8e73d5b24b542bb23dfe0c64fefd3bcabbc2814 SHA512 0973931a64398fe7c4fe09714af499fb717000b435b99b0f24dae3e13fe2283513bf827573ea566ac5e42e608f2147a35b204d696dc79560e2152f7ac55defa6 WHIRLPOOL 2aa7a398c0b00900c3a2daefe0527f06386a60c04d0d74fcc3c14a2312a09fc851311ddaa12d0278d5010802b3bd06505dab00386102e1402b5a35fb744c7676
-MISC ChangeLog 3824 SHA256 f893d6f452f222aaaba8bf02b1ab422ede0b453180eab837604171c07e6a7657 SHA512 0fa9020e2f104bff15624aca9fbde1c5ccdab4273a2bd748aaeaeeb0e74fed18dfa0c89e17f0ec9003563a562ed48422b1f9a0c22017614e4e3e20b967652c55 WHIRLPOOL 6800b19f5781ed6b8c683425e68548dc154cc19ccb579eff6279e72a273a6e33bc038b1ef418df576a811fe8d1d61bee3cf0b3d5db2a99296009965ce25d0985
-MISC ChangeLog-2015 4314 SHA256 1167ae132d195da30b9eb27cff9f726c1e0d0054ba810ed625c139cef0ca2326 SHA512 94c1f3e7d390678c773e6ff97040d2e799957a61549400de6c6ae500cac05a1162fc6c540aeef5b2efd186eab1e4dce1a7a867f5a1dccde0b82eeb27830670e8 WHIRLPOOL d61b5c0bb5cb91b12d53174266a05cbe7cbb680b03985c043961aababa93c0bce2bd624860ab9d09d27998e7fcaa67dededc710305129b95458f3d361c6637ed
-MISC metadata.xml 255 SHA256 98da52ca4692ce96dbee54438584d3b814e82da0edca11abaf4f591cc0b54749 SHA512 71a0c207256c071fef621ce9c7f0f1e184c31fed4dc59597f59997f8b7a346f0d6f84c1e22bcf57ef61bb79c3c9a65bf97eb0bf6a6676d4b8e4a219c2c65a3f3 WHIRLPOOL 0615d0afa61deae35d4e117b0f5e00153b0bb8b4923e3ffbaee7571efd5204f8ba8d3552132bd3fde07a714d2c03b5c58e91799cf4f55d35ed2b9f9cbac2e07f
diff --git a/app-emulation/vmware-tools/metadata.xml b/app-emulation/vmware-tools/metadata.xml
deleted file mode 100644
index 4e48633499ff..000000000000
--- a/app-emulation/vmware-tools/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>vmware@gentoo.org</email>
- <name>Gentoo VMware Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/app-emulation/vmware-tools/vmware-tools-9.2.3.1031769.ebuild b/app-emulation/vmware-tools/vmware-tools-9.2.3.1031769.ebuild
deleted file mode 100644
index 51b46d81ef42..000000000000
--- a/app-emulation/vmware-tools/vmware-tools-9.2.3.1031769.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit versionator vmware-bundle
-
-MY_PV="$(replace_version_separator 3 - $PV)"
-#BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/5.0.$(get_version_component_range 3)/$(get_version_component_range 4)/linux/packages/"
-BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/5.0.2/$(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
-}
diff --git a/app-emulation/vmware-tools/vmware-tools-9.6.5.2700073.ebuild b/app-emulation/vmware-tools/vmware-tools-9.6.5.2700073.ebuild
deleted file mode 100644
index 317af3d175d7..000000000000
--- a/app-emulation/vmware-tools/vmware-tools-9.6.5.2700073.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit versionator vmware-bundle
-
-MY_PV="$(replace_version_separator 3 - $PV)"
-BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/6.0.6/$(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
-}
diff --git a/app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild b/app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild
deleted file mode 100644
index 40bad920c8ef..000000000000
--- a/app-emulation/vmware-tools/vmware-tools-9.9.3.2780323.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit versionator vmware-bundle
-
-MY_PV="$(replace_version_separator 3 - $PV)"
-BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/7.1.2/$(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"
-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 )
- )"
- 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 somethingdone;
- local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
- if use "vmware_guest_${guest}" ; then
- doins "${guest}".iso{,.sig}
- somethingdone=yes
- fi
- done
-
- [ -n "${somethingdone}" ] || ewarn "You should set VMWARE_GUEST in make.conf to specify which operating systems you need."
-}
diff --git a/app-emulation/vmware-tools/vmware-tools-9.9.4.3206955.ebuild b/app-emulation/vmware-tools/vmware-tools-9.9.4.3206955.ebuild
deleted file mode 100644
index b6749751331d..000000000000
--- a/app-emulation/vmware-tools/vmware-tools-9.9.4.3206955.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit versionator vmware-bundle
-
-MY_PV="$(replace_version_separator 3 - $PV)"
-BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/7.1.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"
-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 )
- )"
- 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 somethingdone;
- local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
- if use "vmware_guest_${guest}" ; then
- doins "${guest}".iso{,.sig}
- somethingdone=yes
- fi
- done
-
- [ -n "${somethingdone}" ] || ewarn "You should set VMWARE_GUEST in make.conf to specify which operating systems you need."
-}
diff --git a/app-emulation/vmware-workstation/Manifest b/app-emulation/vmware-workstation/Manifest
deleted file mode 100644
index c066cf7f687c..000000000000
--- a/app-emulation/vmware-workstation/Manifest
+++ /dev/null
@@ -1,28 +0,0 @@
-AUX configure-hostd.sh 372 SHA256 072604b18a4122d72004caa33fee4e5a8624f37c6c4a32ac9fb5f834d7cf157b SHA512 87c84f5e51e8b4585a9a55f13771cd8b84f2e4e0bb33679e3a1b23eb84a5be5d523a57b6c770095c1d21712a98e9317bbd215ab027843b0586b35ecf9fb85b49 WHIRLPOOL 6bd9bbfa93bcd85e6b8c135e517fb3b16287696f49080d731d5ea82166c7ac609ca2c508f2c6cd45143f6fd1e2e8cd2310c462b21e34131a9320edfeae623811
-AUX vmware-10.0.rc 867 SHA256 85163df564acd5009ed16db496223a412e17747b4b20f77a7956f7cd089502c7 SHA512 7c5c830734f22463f1469b0b0a38fe8732f9824a6d66f41ac86c287a511012a014778ca96446898f0ac686e8188459e5725ee95e51a4d2e865ccf80db27d5fb5 WHIRLPOOL 34fe46e87383d4068eabf30cccb683f6d573e361305d19b0da32ee886c8cc43fc27df933525bf02d5c47c8a0d1747b7f582324e727a99876cf23ad940afb8778
-AUX vmware-11.1.rc 1044 SHA256 23ce4ff2fd3c51555de1c530b65c8bfbf954884e541febc9f9587fe51c9e750a SHA512 e8f98615184856e9fa7d97ee3d9ecb1e329719645228a2c056c3b95f2bb5e0498b985899dfb0bc50e20a307a5462153a438ea82dccfb91ca0375b80e93915455 WHIRLPOOL 0f9d7d3d24c88270e5ace9f186d78e4b1aac4f855d7fbd9898a2192e633f43fb34bd35b3bf97e730f04cac04227bedebfd2b062af93756db147d1c9cedcda018
-AUX vmware-12.1.rc 1044 SHA256 23ce4ff2fd3c51555de1c530b65c8bfbf954884e541febc9f9587fe51c9e750a SHA512 e8f98615184856e9fa7d97ee3d9ecb1e329719645228a2c056c3b95f2bb5e0498b985899dfb0bc50e20a307a5462153a438ea82dccfb91ca0375b80e93915455 WHIRLPOOL 0f9d7d3d24c88270e5ace9f186d78e4b1aac4f855d7fbd9898a2192e633f43fb34bd35b3bf97e730f04cac04227bedebfd2b062af93756db147d1c9cedcda018
-AUX vmware-9.0.rc 867 SHA256 85163df564acd5009ed16db496223a412e17747b4b20f77a7956f7cd089502c7 SHA512 7c5c830734f22463f1469b0b0a38fe8732f9824a6d66f41ac86c287a511012a014778ca96446898f0ac686e8188459e5725ee95e51a4d2e865ccf80db27d5fb5 WHIRLPOOL 34fe46e87383d4068eabf30cccb683f6d573e361305d19b0da32ee886c8cc43fc27df933525bf02d5c47c8a0d1747b7f582324e727a99876cf23ad940afb8778
-AUX vmware-server-10.0.rc 1553 SHA256 fe4d6502c8c866d56dc2d8b8452614ed862bbbf69c5f19df7739c1b809c42886 SHA512 f4fcb0d186bc4f0acff592997acd8e3e1a99cf533b57a0f6f35cf5e875a4ffdcd232a331a9b47413d0e875b69108ad0b252b4a87e8abf6ba26b54de0c7fe8163 WHIRLPOOL 4427d1976daa651ba3cc30c9bbb800ae33b79e3ca4f0dcd8897932b8482bc5b008c19412760491c98ea6c8c2a251a9f22bd1dea71517f54f62bcd9396dd244fb
-AUX vmware-server-11.1.rc 1553 SHA256 fe4d6502c8c866d56dc2d8b8452614ed862bbbf69c5f19df7739c1b809c42886 SHA512 f4fcb0d186bc4f0acff592997acd8e3e1a99cf533b57a0f6f35cf5e875a4ffdcd232a331a9b47413d0e875b69108ad0b252b4a87e8abf6ba26b54de0c7fe8163 WHIRLPOOL 4427d1976daa651ba3cc30c9bbb800ae33b79e3ca4f0dcd8897932b8482bc5b008c19412760491c98ea6c8c2a251a9f22bd1dea71517f54f62bcd9396dd244fb
-AUX vmware-server-12.1.rc 1553 SHA256 fe4d6502c8c866d56dc2d8b8452614ed862bbbf69c5f19df7739c1b809c42886 SHA512 f4fcb0d186bc4f0acff592997acd8e3e1a99cf533b57a0f6f35cf5e875a4ffdcd232a331a9b47413d0e875b69108ad0b252b4a87e8abf6ba26b54de0c7fe8163 WHIRLPOOL 4427d1976daa651ba3cc30c9bbb800ae33b79e3ca4f0dcd8897932b8482bc5b008c19412760491c98ea6c8c2a251a9f22bd1dea71517f54f62bcd9396dd244fb
-AUX vmware-server-9.0.rc 1553 SHA256 67e115f1b95194c64704937f7a3d156608b1a2d06573858df56ddb2b502f1f9a SHA512 e5fc102a7617e9f012d32b76a7aadf194cb67b0de8585527b4fd36558832e4c18dd835ebce92a71f6fedc13af4f029cab20cd796a3768310661f38dd4dc8560b WHIRLPOOL 58f31a13165f713664ee96be9a981a545d5bd084db1f89149cdf3107aaff0cdc6f20d425f31d230072dcc425c9747316fb1ba98c9dcd3f27f49c7065a8f26358
-DIST VMware-Workstation-10.0.6-2700073.i386.bundle.tar 281272320 SHA256 02b6c26ba33027344a943734e48cac03ed522a9cf09131837758af3ebd27ea60 SHA512 f65ce16784c9fccb0a6f09abe52bbbe1cc1567d366d03cfe0f79fdfbf4b9d5fef8238a6f62e969b8415112bf063f3d6a5e66239aa89159172520c80efd90c7e9 WHIRLPOOL 11ffae3b8a7e059e63afd2a8a19f9a07d8d63d2ef8f83c623b37e315750b09cb9a31537125614610fc988184017fe45b3ae5408670257c1dc9531dd6b6b17717
-DIST VMware-Workstation-10.0.6-2700073.x86_64.bundle.tar 252610560 SHA256 e29edcb0638f32bff81d372c9eaf54e663e3376cd1d89dbd4cfe4cab533398b2 SHA512 072de1da92cbef890707a6c4e3d5223fdc60e50a5166bb72b1ebc098d28c1a75b83ed65a29fdf1311e119e590560546e376909e1384f1eab05918500ec80ede4 WHIRLPOOL 3f4252abb6c87424b88fa34adc29e1927d1e6458beca65d9b290ff0c8ad4ccaf2945e2209670f8f8d4e84548d806c18fb23dc8380ec65452841e2c0bbcce89aa
-DIST VMware-Workstation-11.1.2-2780323.x86_64.bundle.tar 259133440 SHA256 085b50175b253647d8b2cb188286d3cf9265ed246cc0deb3b142b0438ef5725f SHA512 1c43ebaa4f8b228ec00f24a263eddcbbad5c0c940cd67040e6e2275c3a4aab6c9e2e5ee96996ca4f007ff786ece978c5789214ad92479720182fc3153d7edbde WHIRLPOOL 60e359a1dcfe1178652d8c6be705dda4f2f31b109bf01d5b5b16dc03e26a649e8f1af2ffa03d68e9108646c98e9cad41c10a9452ea14950883f9162e57ac20ca
-DIST VMware-Workstation-11.1.3-3206955.x86_64.bundle.tar 259594240 SHA256 a8d333d6f6677eb1d70b3572e5bf8f34ebb6cb77bdee4b94d6ea8033f579ed5d SHA512 8cb4781dc388bcaeb82f19d18e0bf2608d393f18c4e255a1c89c9090954bbee5e78ebde5cec6df06d9c037ed4f0595a7a801d76b3a8e2b960f6822bbf1094d1b WHIRLPOOL 5ba631502ff4dbf0e480e932e9a21cbb06d25d68b9ac412beb41680d3d0e678c630ba692e7e52cda2399574b28698ca5deb6a6c54b4614ab752159b6036a0094
-DIST VMware-Workstation-12.1.0-3272444.x86_64.bundle.tar 170639360 SHA256 b15d2ae889465e6e080b84474ca49ebd6c21a0bce701a0f74d34b6e930869043 SHA512 bd64fe19ebb96b06cd34795dab46490cb0e1fe4822dbce4678185fb2cba3e921170feac7904771c14ece3450ddb0e86f5f4d03081551367b8c70afe77df3fab7 WHIRLPOOL 7d72352e272358c25fe49b05c4cdc5653bffef9e20cc2151a2f032fecb98eb7831a922d8dca0ce509d8944abeaff951e9ece8b11dac6782facc762e3b54c2aac
-DIST VMware-Workstation-9.0.3-1410761.i386.bundle.tar 264908800 SHA256 dfe9aaa75987793eac096c0fbdb364f94e354ab668213774ea3e90d5ddcecdc0 SHA512 5d0943400cb1fefca20f1a81d3989bf5cdda5e123d1a70b09ebc20a56498d36f597ed7a0730d2f6f752c3c4baad2c86d5ef7691e8d245147d944c6f7e4e708b0 WHIRLPOOL 14a950f2deb03c3b7a088d4fb50378c7109330d89903965c28ead0be1e2223dbce05a628b1ea859215d31a8978f497bd8f807652cf266667d67893eaf2d7372b
-DIST VMware-Workstation-9.0.3-1410761.x86_64.bundle.tar 232724480 SHA256 2612f8a523c9f23164d7557c105520bc6e010af82b3e6d4a3ada04d8ff03cbf0 SHA512 07923231e481550cb0348e40ef341c2d0682ac0daf6c8e0ada130c03113f43a37bf322e64fb9dc73511dea0fd2851f3cb4f5e755bbad4beba9e3cc4e69566070 WHIRLPOOL d979f2d9ef8888be89d5747c16e0db7ca45609cd9d77d84baf8485b4956f9e9f99bf46c33a2690b7b1fea851c0495ed0a06b36e3e69b51abfc11604d9a62fe4d
-DIST gentoo-01.tar.gz 1884 SHA256 e92c694865f1b29f4d7a39efa1dd87bc71dc5f922573f00a3d31ee8e27a8c335 SHA512 454ab93997781bd0a9accddb2ac7bb446f07ea7cddef5640369025c30e03592e14869e0f0f7b4457db2f1ada31c98051426016c86201afa8bc8e3aa4ccc2f875 WHIRLPOOL 9202583b617532ab2612b384da307218e7c93c2962f0d233e28bea066b07163c9bc51c0a599309f9d703c5575ebeb292d787716225624dc1c2fdff3c44fa3513
-DIST vmware-systemd-gentoo-01.tgz 1884 SHA256 e92c694865f1b29f4d7a39efa1dd87bc71dc5f922573f00a3d31ee8e27a8c335 SHA512 454ab93997781bd0a9accddb2ac7bb446f07ea7cddef5640369025c30e03592e14869e0f0f7b4457db2f1ada31c98051426016c86201afa8bc8e3aa4ccc2f875 WHIRLPOOL 9202583b617532ab2612b384da307218e7c93c2962f0d233e28bea066b07163c9bc51c0a599309f9d703c5575ebeb292d787716225624dc1c2fdff3c44fa3513
-DIST vmware-systemd-gentoo-02.tgz 14064 SHA256 7ab23cb41bb8fbeca43bfd3baee35928731177620ae374ebb3b19b827d1a3210 SHA512 3a382bfd5f1eb2b218d8012588ea55c1f22786dba35a1fc0fdfdb4e40b05e0e735ed09c6961684f6442e863c3ed72024ce01f19113bbd9ca47c32e3f43c55f42 WHIRLPOOL dd7ac934584894f4a0ae86a9122080c49a4d09924011bc12dc1530ac6b5ee11fac6d55d6e5b306bb24d749a509236d3e39870b4d6b2ff5de37f6e54707ff8bb6
-EBUILD vmware-workstation-10.0.6.2700073-r1.ebuild 14311 SHA256 006df5a3a390961611d3595c5eb7d4cfa564a0525cc2f7a3cb6e812c11e4e24b SHA512 b04b4fa00d24da508cfc6014d63266eebb4dcdc1d03d4e96e8493c535989dff9071ef36790557dfa6aabbb1837a11a8f3cb84c68dfd4026273b61b2509fd0a81 WHIRLPOOL 8f5c3ea7a9057707f992a94ae0bc857790a1731f72f9f801080113f9b5dc7c99963989a728143397fc70239ab4842c908e1bdf97d46e65f4decc1c8fa3777e44
-EBUILD vmware-workstation-11.1.2.2780323-r4.ebuild 15432 SHA256 848300be01f3a806b78411b333f73a0d36bb86c8b9ba8a569d6dd797340684ad SHA512 1e16b42351e3c41e8e057e928729fc23843889b32276333bc65933ca4247256fbe50c5e6c3b8b70a3f462534828a43ffc47e7f075570cb1c1d303a1271d9ad57 WHIRLPOOL c83680f6c4bc7e29f494f7a1b59e4f931ef6d12cce9e2cc50dcdba43fb3e2bbc94ef3ab18513d87cad3ccb085a55dfa3061aee9dceb43bba729608992aeb5490
-EBUILD vmware-workstation-11.1.3.3206955-r3.ebuild 15449 SHA256 76cbc108092237edad577595eff68e9529c0ba33a80674f77ad404cfc96112b3 SHA512 dc4776d971eb63d74cef3b9573f1224f6cb8c1a4f4f5120e4ca769fd2d5113a49538b0a921315a824013de5faab8a486134175d4dc85e285f81003ffd8ee4468 WHIRLPOOL ee336dd8fd4bbec021784132837a5ab7ed0e9e73db2d9760955dc2916ff08055a0a0a38e73729a22a753d81670cfd750aef7193d598b974d989ff1e95f75b62b
-EBUILD vmware-workstation-11.1.3.3206955-r4.ebuild 15445 SHA256 a46e4816db829e9d5dff84dc58402edd14002f5e2befa62e04a54be9518169f5 SHA512 4b6fb067a534f65a72530e4771ee922692efe3c0c3ecea8beb9b248233246640dccb64650f2b115ea534c9f0d2e319834fadefcc1bb990cafcf4b674f61ca2ca WHIRLPOOL c379968c2129f70db0e11e211d70604f76e7374df87d7d67e37146a5afdd1f4d23698a8560eca58f0b5b9bd2a9f1552f139f9b749d369fac0d2ae514ee5a8cd5
-EBUILD vmware-workstation-12.1.0.3272444-r2.ebuild 17766 SHA256 398cfe5a5abd17d2614ce9673da25a8ec5c133eed18d1e04ff81b31676152764 SHA512 54f4aa36be3a235c3dc2fe84ec6dd637e1863cd0498adbcc9bf2532e1fce7d785f0aec473b7adf50a8d239d489d79124042c2962e8b3fcaf2e6d7873d53a39d9 WHIRLPOOL 545029d7a47264bd3b1425aadbb91bf1a4c86e7f4764fe8cf6d180c268dde7c7cd3cf2d6030f3fd31b4473830b7a0bac4c18e5e19394b3c60241c80719c194c3
-EBUILD vmware-workstation-9.0.3.1410761.ebuild 14050 SHA256 22169019eb67915202c608025fc3c2add104d9a7751ac43c8d52b00e27a4b02e SHA512 f464a5fc1c036c6df829455fe27e5d3efeeb963c2bca0144ab3387cf501be8ebb0c491262db6625780a549d3ec9543e2a4e7081ce42fef920c8395f2ab575c88 WHIRLPOOL cbe7a85d3f5b44304f485707866e23ee917ab4fdfd1297056b025a48cc71bd178e7d2908b728ba3af0a1da1aa6cb4a3ee5064833305ceb1ec913f6c696030743
-MISC ChangeLog 9013 SHA256 b010a44ee0b1a62d1db131b4cafbcde86d077548babc20f98f9d216650496d41 SHA512 0dd7922626d9bb1dc0e037568b8c95ce8a2bb5402dfe3c7b592d55745b563b18b47368c278987c4d834f6af728539fb7c5d09531bdfd0c08c600a931beb6f710 WHIRLPOOL 0403a1837c62c6e61110cc16da6e8cbd09cf7ad4ffafd1ecae7bde23ce8671a18676944ff900b747a56fc1d6237560cd2b7a0a19ad44bbc865825d9d9b345202
-MISC ChangeLog-2015 45545 SHA256 af9adcbbd90d4ff3bd8d8065c817b0628686b441f021762f239ec03f21eecdc5 SHA512 a7d8dc4e87fdeb6883dcdad5d71facc889a0f78bd3453bcd8982ce3c58321d04a5bdafa5d2ddb9720a12d3b60c3c8eba6d5ccf7cfdd9549c3ea673e492ae1477 WHIRLPOOL b40a95e29abde1024258dd7931ca318df2db63e0aec84f725d35fab36880bf8094816cbb9bc81d9730fcf221fdc05bf0e874925f35f52e6c682c197b83016a12
-MISC metadata.xml 1045 SHA256 0fae6624c6071c4249dbbf58e5407da883fc2a0fd1dbf0560fb2463746977be8 SHA512 91f1b32d64e9eb80cd5ef88a70abfc6d787b7df2938cfe6ee38aa69e247104c9893953271c9a69f7352cc4a93039f29c74f84bf05d83398f5849060d3a7a8459 WHIRLPOOL f5f9d5db530e524e526129c4880245b6100266b1e09e7cd0938c04f0b8cfe7003dafe0d5c62835966e0008bb9b66c76e5d982a069bdd9134f6bffc14524fbcc6
diff --git a/app-emulation/vmware-workstation/files/configure-hostd.sh b/app-emulation/vmware-workstation/files/configure-hostd.sh
deleted file mode 100644
index 480e9037d86d..000000000000
--- a/app-emulation/vmware-workstation/files/configure-hostd.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-action="$1"
-
-case $action in
- add)
- rc-update -q add vmware-workstation-server default
- rc-service vmware-workstation-server start
- ;;
- remove)
- rc-update -q del vmware-workstation-server default
- rc-service vmware-workstation-server stop
- ;;
- status)
- rc-service -q vmware-workstation-server status
- ;;
- *)
- exit 1
- ;;
-esac
diff --git a/app-emulation/vmware-workstation/files/vmware-10.0.rc b/app-emulation/vmware-workstation/files/vmware-10.0.rc
deleted file mode 100644
index 396b6d705135..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-10.0.rc
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
- modprobe -v vmci || modprobe -v vmw_vmci
- eend $?
- modprobe -av vmmon vmci vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
- modprobe -rv vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-11.1.rc b/app-emulation/vmware-workstation/files/vmware-11.1.rc
deleted file mode 100644
index 2ba649336fdf..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-11.1.rc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
-
- # quiet for vmci because it may not be there
- modprobe -vq vmci || modprobe -v vmw_vmci
- eend $?
-
- # vmci or vmw_vmci was loaded by the previous modprobe
- # no need to do it here
- modprobe -av vmmon vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
-
- # quiet for vmci because it may not be there
- modprobe -rvq vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-12.1.rc b/app-emulation/vmware-workstation/files/vmware-12.1.rc
deleted file mode 100644
index 2ba649336fdf..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-12.1.rc
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
-
- # quiet for vmci because it may not be there
- modprobe -vq vmci || modprobe -v vmw_vmci
- eend $?
-
- # vmci or vmw_vmci was loaded by the previous modprobe
- # no need to do it here
- modprobe -av vmmon vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
-
- # quiet for vmci because it may not be there
- modprobe -rvq vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-9.0.rc b/app-emulation/vmware-workstation/files/vmware-9.0.rc
deleted file mode 100644
index 396b6d705135..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-9.0.rc
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- use net
-}
-
-start() {
- ebegin Starting VMware USB Arbitrator
- #start-stop-daemon --start --exec @@BINDIR@@/vmware-usbarbitrator
- @@BINDIR@@/vmware-usbarbitrator
- eend $?
- ebegin Starting VMware services
- modprobe -v vmci || modprobe -v vmw_vmci
- eend $?
- modprobe -av vmmon vmci vsock vmblock vmnet
- eend $?
- @@BINDIR@@/vmware-networks --start
- eend $?
-}
-
-stop() {
- ebegin Stopping VMware USB Arbitrator
- #start-stop-daemon --stop --exec @@BINDIR@@/vmware-usbarbitrator
- killall --wait @@BINDIR@@/vmware-usbarbitrator
- eend $?
- @@BINDIR@@/vmware-networks --stop
- eend $?
- ebegin Stopping VMware services
- modprobe -rv vsock vmmon vmblock vmnet
- eend $?
- modprobe -rv vmci || modprobe -rv vmw_vmci
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-server-10.0.rc b/app-emulation/vmware-workstation/files/vmware-server-10.0.rc
deleted file mode 100644
index a36d41e98416..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-10.0.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount vmware
- use net
-}
-
-checkconfig() {
- # Check if certificates exist. If not, we need to generate them, ala sshd.
- if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then
- mkdir -p @@ETCDIR@@/ssl
- openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config
- chmod -R 600 @@ETCDIR@@/ssl
- fi
-}
-
-start() {
- checkconfig
-
- ebegin Starting VMware Authentication Daemon
- start-stop-daemon --start \
- --exec @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
- ebegin Starting VMware Workstation Server
- start-stop-daemon --start \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd \
- -- -a -d @@ETCDIR@@/hostd/config.xml
-
- eend $?
-}
-
-stop() {
- ebegin "Shutdown VMs in the AutoStart Sequence"
- local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)"
-
- if [ "x" != "x${HOHO_ADMIN}" ]; then
- @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop
- fi
- eend $?
-
- ebegin Stopping VMware Workstation Server
- start-stop-daemon --stop \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd
- eend $?
- ebegin Stopping VMware Authentication Daemon
- #start-stop-daemon --stop \
- # --exec @@PREFIX@@/sbin/vmware-authdlauncher
- killall @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-server-11.1.rc b/app-emulation/vmware-workstation/files/vmware-server-11.1.rc
deleted file mode 100644
index a36d41e98416..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-11.1.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount vmware
- use net
-}
-
-checkconfig() {
- # Check if certificates exist. If not, we need to generate them, ala sshd.
- if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then
- mkdir -p @@ETCDIR@@/ssl
- openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config
- chmod -R 600 @@ETCDIR@@/ssl
- fi
-}
-
-start() {
- checkconfig
-
- ebegin Starting VMware Authentication Daemon
- start-stop-daemon --start \
- --exec @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
- ebegin Starting VMware Workstation Server
- start-stop-daemon --start \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd \
- -- -a -d @@ETCDIR@@/hostd/config.xml
-
- eend $?
-}
-
-stop() {
- ebegin "Shutdown VMs in the AutoStart Sequence"
- local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)"
-
- if [ "x" != "x${HOHO_ADMIN}" ]; then
- @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop
- fi
- eend $?
-
- ebegin Stopping VMware Workstation Server
- start-stop-daemon --stop \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd
- eend $?
- ebegin Stopping VMware Authentication Daemon
- #start-stop-daemon --stop \
- # --exec @@PREFIX@@/sbin/vmware-authdlauncher
- killall @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-server-12.1.rc b/app-emulation/vmware-workstation/files/vmware-server-12.1.rc
deleted file mode 100644
index a36d41e98416..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-12.1.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount vmware
- use net
-}
-
-checkconfig() {
- # Check if certificates exist. If not, we need to generate them, ala sshd.
- if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then
- mkdir -p @@ETCDIR@@/ssl
- openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config
- chmod -R 600 @@ETCDIR@@/ssl
- fi
-}
-
-start() {
- checkconfig
-
- ebegin Starting VMware Authentication Daemon
- start-stop-daemon --start \
- --exec @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
- ebegin Starting VMware Workstation Server
- start-stop-daemon --start \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd \
- -- -a -d @@ETCDIR@@/hostd/config.xml
-
- eend $?
-}
-
-stop() {
- ebegin "Shutdown VMs in the AutoStart Sequence"
- local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)"
-
- if [ "x" != "x${HOHO_ADMIN}" ]; then
- @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop
- fi
- eend $?
-
- ebegin Stopping VMware Workstation Server
- start-stop-daemon --stop \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd
- eend $?
- ebegin Stopping VMware Authentication Daemon
- #start-stop-daemon --stop \
- # --exec @@PREFIX@@/sbin/vmware-authdlauncher
- killall @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/files/vmware-server-9.0.rc b/app-emulation/vmware-workstation/files/vmware-server-9.0.rc
deleted file mode 100644
index 28a364f19a0b..000000000000
--- a/app-emulation/vmware-workstation/files/vmware-server-9.0.rc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount vmware
- use net
-}
-
-checkconfig() {
- # Check if certificates exist. If not, we need to generate them, ala sshd.
- if [ ! -e @@ETCDIR@@/ssl/rui.key -o ! -e @@ETCDIR@@/ssl/rui.crt ]; then
- mkdir -p @@ETCDIR@@/ssl
- openssl req -x509 -days 365 -newkey rsa:2048 -keyout @@ETCDIR@@/ssl/rui.key -out @@ETCDIR@@/ssl/rui.crt -config @@ETCDIR@@/ssl/hostd.ssl.config
- chmod -R 600 @@ETCDIR@@/ssl
- fi
-}
-
-start() {
- checkconfig
-
- ebegin Starting VMware Authentication Daemon
- start-stop-daemon --start \
- --exec @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
- ebegin Starting VMware Workstation Server
- start-stop-daemon --start \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd \
- -- -a -d @@ETCDIR@@/hostd/config.xml
-
- eend $?
-}
-
-stop() {
- ebegin "Shutdown VMs in the AutoStart Sequence"
- local HOHO_ADMIN="$(@@BINDIR@@/vmware-wssc-adminTool "@@ETCDIR@@/hostd/authorization.xml" 2>/dev/null)"
-
- if [ "x" != "x${HOHO_ADMIN}" ]; then
- @@BINDIR@@/vmware-vim-cmd -U "${HOHO_ADMIN}" hostsvc/autostartmanager/autostop
- fi
- eend $?
-
- ebegin Stopping VMware Workstation Server
- start-stop-daemon --stop \
- --pidfile /var/run/vmware/vmware-hostd.PID \
- --exec @@BINDIR@@/vmware-hostd
- eend $?
- ebegin Stopping VMware Authentication Daemon
- #start-stop-daemon --stop \
- # --exec @@PREFIX@@/sbin/vmware-authdlauncher
- killall @@PREFIX@@/sbin/vmware-authdlauncher
- eend $?
-}
diff --git a/app-emulation/vmware-workstation/metadata.xml b/app-emulation/vmware-workstation/metadata.xml
deleted file mode 100644
index 984507154254..000000000000
--- a/app-emulation/vmware-workstation/metadata.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>vmware@gentoo.org</email>
- <name>Gentoo VMware Project</name>
- </maintainer>
- <longdescription>
- VMWare Workstation is a virtual machine which can be used to install
- other operating systems in a virtual environment to run on top of Gentoo.
- </longdescription>
- <use>
- <flag name="bundled-libs">Use precompiled bundled libraries instead of the system installation</flag>
- <flag name="ovftool">Install OVF tool.</flag>
- <flag name="server">Install VMware Workstation Server component.</flag>
- <flag name="vix">Install VIX. The VIX API allows you to write programs and scripts
- that automate virtual machine operations, and run programs or manipulate
- files within guest operating systems.
- </flag>
- <flag name="vmware-tools">Install VMware Tools images</flag>
- </use>
- <upstream>
- <remote-id type="github">akhuettel/systemd-vmware</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-emulation/vmware-workstation/vmware-workstation-10.0.6.2700073-r1.ebuild b/app-emulation/vmware-workstation/vmware-workstation-10.0.6.2700073-r1.ebuild
deleted file mode 100644
index 905fd08b6481..000000000000
--- a/app-emulation/vmware-workstation/vmware-workstation-10.0.6.2700073-r1.ebuild
+++ /dev/null
@@ -1,498 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-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 without the 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/libgcrypt:0/11 dev-libs/libgcrypt:11/11 )
- 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
- media-libs/tiff:3
- 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/pangox-compat
- 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}")
-
- # revdep-rebuild entry
- insinto /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${VM_INSTALL_DIR}\"" >> ${T}/10${PN}
- doins "${T}"/10${PN}
-
- # 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
-}
diff --git a/app-emulation/vmware-workstation/vmware-workstation-11.1.2.2780323-r4.ebuild b/app-emulation/vmware-workstation/vmware-workstation-11.1.2.2780323-r4.ebuild
deleted file mode 100644
index 3bc1abaa1eb7..000000000000
--- a/app-emulation/vmware-workstation/vmware-workstation-11.1.2.2780323-r4.ebuild
+++ /dev/null
@@ -1,548 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils versionator readme.gentoo 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 without the 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="
- amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
- https://github.com/akhuettel/systemd-vmware/archive/${SYSTEMD_UNITS_TAG}.tar.gz -> vmware-systemd-${SYSTEMD_UNITS_TAG}.tgz
- "
-LICENSE="vmware GPL-2"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="cups bundled-libs doc ovftool server vix vmware-tools"
-RESTRICT="mirror strip preserve-libs"
-
-BUNDLED_LIBS_DIR=/opt/vmware/lib/vmware/lib
-
-BUNDLED_LIBS="
- libXau.so.6
- libXcomposite.so.1
- libXcursor.so.1
- libXdamage.so.1
- libXdmcp.so.6
- libXfixes.so.3
- libXft.so.2
- libXinerama.so.1
- libXrandr.so.2
- libXrender.so.1
- libaio.so.1
- libatk-1.0.so.0
- libatkmm-1.6.so.1
- libatspi.so.0
- libcairo.so.2
- libcairomm-1.0.so.1
- libcurl.so.4
- libdbus-1.so.3
- libfontconfig.so.1
- libfreetype.so.6
- libfuse.so.2
- libgailutil.so.18
- libgdk-x11-2.0.so.0
- libgcrypt.so.11
- libgdk_pixbuf-2.0.so.0
- libgdkmm-2.4.so.1
- libgio-2.0.so.0
- libgiomm-2.4.so.1
-"
-
-BUNDLED_LIB_DEPENDS="
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXfixes
- x11-libs/libXft
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXrender
- dev-libs/libaio
- dev-libs/atk
- dev-cpp/atkmm
- app-accessibility/at-spi2-core
- x11-libs/cairo
- dev-cpp/cairomm
- net-misc/curl
- media-libs/fontconfig
- media-libs/freetype
- sys-fs/fuse
- x11-libs/gtk+:2
- =dev-libs/libgcrypt-1.5*
- x11-libs/gdk-pixbuf:2
- dev-cpp/gtkmm:2.4
- dev-libs/glib:2
- dev-cpp/glibmm:2
-"
-
-# vmware-workstation should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="
- dev-cpp/libgnomecanvasmm
- dev-cpp/pangomm
- dev-libs/icu
- dev-libs/expat
- dev-libs/libsigc++:2
- 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/libart_lgpl
- media-libs/libpng:1.2
- media-libs/libpng
- media-libs/tiff:3
- cups? ( net-print/cups )
- sys-devel/gcc
- sys-libs/glibc
- sys-libs/zlib
- x11-libs/libgksu
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXtst
- x11-libs/pango
- x11-libs/pangox-compat
- x11-libs/startup-notification
- x11-themes/hicolor-icon-theme
- !app-emulation/vmware-player
- !bundled-libs? ( ${BUNDLED_LIB_DEPENDS} )
- sys-apps/dbus
-"
-PDEPEND="~app-emulation/vmware-modules-304.${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"
-
-QA_PREBUILT="/opt/*"
-
-QA_WX_LOAD="/opt/vmware/lib/vmware/tools-upgraders/vmware-tools-upgrader-32 /opt/vmware/lib/vmware/bin/vmware-vmx-stats /opt/vmware/lib/vmware/bin/vmware-vmx-debug /opt/vmware/lib/vmware/bin/vmware-vmx"
-
-src_unpack() {
- default
- local bundle
- use amd64 && bundle=${MY_P}.x86_64.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-Workstation1100andvSphere600 vmware-vix
- fi
- if use ovftool; then
- vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
- fi
-}
-
-clean_bundled_libs() {
- einfo Removing bundled libraries
- for libname in ${BUNDLED_LIBS} ; do
- rm -rv "${S}"/lib/lib/${libname} || die "Failed removing bundled ${libname}"
- done
-}
-
-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
-
- if ! use bundled-libs ; then
- clean_bundled_libs
- fi
-
- DOC_CONTENTS="
-/etc/env.d is updated during ${PN} installation. Please run:\n
-env-update && source /etc/profile\n
-Before you can use vmware workstation, you must configure a default network setup.
-You can do this by running 'emerge --config ${PN}'.\n
-To be able to run ${PN} your user must be in the vmware group.\n
-You MUST set USE=bundled-libs if you are running gcc-5, otherwise vmware will not start.
-"
-}
-
-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}")
-
- # revdep-rebuild entry
- insinto /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${VM_INSTALL_DIR}\"" >> ${T}/10${PN}
- doins "${T}"/10${PN}
-
- # 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
-
- use bundled-libs && echo 'VMWARE_USE_SHIPPED_LIBS=1' >> "${envd}"
-
- 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}
-
- readme.gentoo_create_doc
-}
-
-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
- readme.gentoo_pkg_postinst
-}
-
-pkg_prerm() {
- einfo "Stopping ${PN} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-emulation/vmware-workstation/vmware-workstation-11.1.3.3206955-r3.ebuild b/app-emulation/vmware-workstation/vmware-workstation-11.1.3.3206955-r3.ebuild
deleted file mode 100644
index bd2d9b4b5d14..000000000000
--- a/app-emulation/vmware-workstation/vmware-workstation-11.1.3.3206955-r3.ebuild
+++ /dev/null
@@ -1,548 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils versionator readme.gentoo 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 without the 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="
- amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
- https://github.com/akhuettel/systemd-vmware/archive/${SYSTEMD_UNITS_TAG}.tar.gz -> vmware-systemd-${SYSTEMD_UNITS_TAG}.tgz
- "
-LICENSE="vmware GPL-2"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="cups bundled-libs doc ovftool server vix vmware-tools"
-RESTRICT="mirror strip"
-
-BUNDLED_LIBS_DIR=/opt/vmware/lib/vmware/lib
-
-BUNDLED_LIBS="
- libXau.so.6
- libXcomposite.so.1
- libXcursor.so.1
- libXdamage.so.1
- libXdmcp.so.6
- libXfixes.so.3
- libXft.so.2
- libXinerama.so.1
- libXrandr.so.2
- libXrender.so.1
- libaio.so.1
- libatk-1.0.so.0
- libatkmm-1.6.so.1
- libatspi.so.0
- libcairo.so.2
- libcairomm-1.0.so.1
- libcurl.so.4
- libdbus-1.so.3
- libfontconfig.so.1
- libfreetype.so.6
- libfuse.so.2
- libgailutil.so.18
- libgdk-x11-2.0.so.0
- libgcrypt.so.11
- libgdk_pixbuf-2.0.so.0
- libgdkmm-2.4.so.1
- libgio-2.0.so.0
- libgiomm-2.4.so.1
-"
-
-BUNDLED_LIB_DEPENDS="
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXfixes
- x11-libs/libXft
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXrender
- dev-libs/libaio
- dev-libs/atk
- dev-cpp/atkmm
- app-accessibility/at-spi2-core
- x11-libs/cairo
- dev-cpp/cairomm
- net-misc/curl
- media-libs/fontconfig
- media-libs/freetype
- sys-fs/fuse
- x11-libs/gtk+:2
- || ( dev-libs/libgcrypt:0/11 dev-libs/libgcrypt:11/11 )
- x11-libs/gdk-pixbuf:2
- dev-cpp/gtkmm:2.4
- dev-libs/glib:2
- dev-cpp/glibmm:2
-"
-
-# vmware-workstation should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="
- dev-cpp/libgnomecanvasmm
- dev-cpp/pangomm
- dev-libs/icu
- dev-libs/expat
- dev-libs/libsigc++:2
- 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/libart_lgpl
- media-libs/libpng:1.2
- media-libs/libpng
- media-libs/tiff:3
- cups? ( net-print/cups )
- sys-devel/gcc
- sys-libs/glibc
- sys-libs/zlib
- x11-libs/libgksu
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXtst
- x11-libs/pango
- x11-libs/pangox-compat
- x11-libs/startup-notification
- x11-themes/hicolor-icon-theme
- !app-emulation/vmware-player
- !bundled-libs? ( ${BUNDLED_LIB_DEPENDS} )
- sys-apps/dbus
-"
-PDEPEND="~app-emulation/vmware-modules-304.${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"
-
-QA_PREBUILT="/opt/*"
-
-QA_WX_LOAD="/opt/vmware/lib/vmware/tools-upgraders/vmware-tools-upgrader-32 /opt/vmware/lib/vmware/bin/vmware-vmx-stats /opt/vmware/lib/vmware/bin/vmware-vmx-debug /opt/vmware/lib/vmware/bin/vmware-vmx"
-
-src_unpack() {
- default
- local bundle
- use amd64 && bundle=${MY_P}.x86_64.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-Workstation1100andvSphere600 vmware-vix
- fi
- if use ovftool; then
- vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
- fi
-}
-
-clean_bundled_libs() {
- einfo Removing bundled libraries
- for libname in ${BUNDLED_LIBS} ; do
- rm -rv "${S}"/lib/lib/${libname} || die "Failed removing bundled ${libname}"
- done
-}
-
-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
-
- if ! use bundled-libs ; then
- clean_bundled_libs
- fi
-
- DOC_CONTENTS="
-/etc/env.d is updated during ${PN} installation. Please run:\n
-env-update && source /etc/profile\n
-Before you can use vmware workstation, you must configure a default network setup.
-You can do this by running 'emerge --config ${PN}'.\n
-To be able to run ${PN} your user must be in the vmware group.\n
-You MUST set USE=bundled-libs if you are running gcc-5, otherwise vmware will not start.
-"
-}
-
-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}")
-
- # revdep-rebuild entry
- insinto /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${VM_INSTALL_DIR}\"" >> ${T}/10${PN}
- doins "${T}"/10${PN}
-
- # 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
-
- use bundled-libs && echo 'VMWARE_USE_SHIPPED_LIBS=1' >> "${envd}"
-
- 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}
-
- readme.gentoo_create_doc
-}
-
-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
- readme.gentoo_pkg_postinst
-}
-
-pkg_prerm() {
- einfo "Stopping ${PN} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-emulation/vmware-workstation/vmware-workstation-11.1.3.3206955-r4.ebuild b/app-emulation/vmware-workstation/vmware-workstation-11.1.3.3206955-r4.ebuild
deleted file mode 100644
index 6e19aa832ebc..000000000000
--- a/app-emulation/vmware-workstation/vmware-workstation-11.1.3.3206955-r4.ebuild
+++ /dev/null
@@ -1,548 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils versionator readme.gentoo 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 without the 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="
- amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
- https://github.com/akhuettel/systemd-vmware/archive/${SYSTEMD_UNITS_TAG}.tar.gz -> vmware-systemd-${SYSTEMD_UNITS_TAG}.tgz
- "
-LICENSE="vmware GPL-2"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="cups bundled-libs doc ovftool server vix vmware-tools"
-RESTRICT="mirror strip"
-
-BUNDLED_LIBS_DIR=/opt/vmware/lib/vmware/lib
-
-BUNDLED_LIBS="
- libXau.so.6
- libXcomposite.so.1
- libXcursor.so.1
- libXdamage.so.1
- libXdmcp.so.6
- libXfixes.so.3
- libXft.so.2
- libXinerama.so.1
- libXrandr.so.2
- libXrender.so.1
- libaio.so.1
- libatk-1.0.so.0
- libatkmm-1.6.so.1
- libatspi.so.0
- libcairo.so.2
- libcairomm-1.0.so.1
- libcurl.so.4
- libdbus-1.so.3
- libfontconfig.so.1
- libfreetype.so.6
- libfuse.so.2
- libgailutil.so.18
- libgdk-x11-2.0.so.0
- libgcrypt.so.11
- libgdk_pixbuf-2.0.so.0
- libgdkmm-2.4.so.1
- libgio-2.0.so.0
- libgiomm-2.4.so.1
-"
-
-BUNDLED_LIB_DEPENDS="
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXfixes
- x11-libs/libXft
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXrender
- dev-libs/libaio
- dev-libs/atk
- dev-cpp/atkmm
- app-accessibility/at-spi2-core
- x11-libs/cairo
- dev-cpp/cairomm
- net-misc/curl
- media-libs/fontconfig
- media-libs/freetype
- sys-fs/fuse
- x11-libs/gtk+:2
- || ( dev-libs/libgcrypt:0/11 dev-libs/libgcrypt:11/11 )
- x11-libs/gdk-pixbuf:2
- dev-cpp/gtkmm:2.4
- dev-libs/glib:2
- dev-cpp/glibmm:2
-"
-
-# vmware-workstation should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="
- dev-cpp/libgnomecanvasmm
- dev-cpp/pangomm
- dev-libs/icu
- dev-libs/expat
- dev-libs/libsigc++:2
- dev-libs/libxml2
- dev-libs/openssl:0
- dev-libs/xmlrpc-c
- gnome-base/libgnomecanvas
- gnome-base/libgtop:2
- gnome-base/librsvg:2
- gnome-base/orbit
- media-libs/libart_lgpl
- media-libs/libpng:1.2
- media-libs/libpng
- media-libs/tiff:3
- cups? ( net-print/cups )
- sys-devel/gcc
- sys-libs/glibc
- sys-libs/zlib
- x11-libs/libgksu
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXtst
- x11-libs/pango
- x11-libs/pangox-compat
- x11-libs/startup-notification
- x11-themes/hicolor-icon-theme
- !app-emulation/vmware-player
- !bundled-libs? ( ${BUNDLED_LIB_DEPENDS} )
- sys-apps/dbus
-"
-PDEPEND="~app-emulation/vmware-modules-304.${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"
-
-QA_PREBUILT="/opt/*"
-
-QA_WX_LOAD="/opt/vmware/lib/vmware/tools-upgraders/vmware-tools-upgrader-32 /opt/vmware/lib/vmware/bin/vmware-vmx-stats /opt/vmware/lib/vmware/bin/vmware-vmx-debug /opt/vmware/lib/vmware/bin/vmware-vmx"
-
-src_unpack() {
- default
- local bundle
- use amd64 && bundle=${MY_P}.x86_64.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-Workstation1100andvSphere600 vmware-vix
- fi
- if use ovftool; then
- vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
- fi
-}
-
-clean_bundled_libs() {
- einfo Removing bundled libraries
- for libname in ${BUNDLED_LIBS} ; do
- rm -rv "${S}"/lib/lib/${libname} || die "Failed removing bundled ${libname}"
- done
-}
-
-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
-
- if ! use bundled-libs ; then
- clean_bundled_libs
- fi
-
- DOC_CONTENTS="
-/etc/env.d is updated during ${PN} installation. Please run:\n
-env-update && source /etc/profile\n
-Before you can use vmware workstation, you must configure a default network setup.
-You can do this by running 'emerge --config ${PN}'.\n
-To be able to run ${PN} your user must be in the vmware group.\n
-You MUST set USE=bundled-libs if you are running gcc-5, otherwise vmware will not start.
-"
-}
-
-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}")
-
- # revdep-rebuild entry
- insinto /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${VM_INSTALL_DIR}\"" >> ${T}/10${PN}
- doins "${T}"/10${PN}
-
- # 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.1.0.1/libcrypto.so.1.0.1 \
- "${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libcrypto.so.1.0.1
- dosym "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.1.0.1/libssl.so.1.0.1 \
- "${VM_INSTALL_DIR}"/lib/vmware/lib/libvmwarebase.so.0/libssl.so.1.0.1
-
- # 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
-
- use bundled-libs && echo 'VMWARE_USE_SHIPPED_LIBS=1' >> "${envd}"
-
- 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}
-
- readme.gentoo_create_doc
-}
-
-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
- readme.gentoo_pkg_postinst
-}
-
-pkg_prerm() {
- einfo "Stopping ${PN} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-emulation/vmware-workstation/vmware-workstation-12.1.0.3272444-r2.ebuild b/app-emulation/vmware-workstation/vmware-workstation-12.1.0.3272444-r2.ebuild
deleted file mode 100644
index 9d8b6b484a8c..000000000000
--- a/app-emulation/vmware-workstation/vmware-workstation-12.1.0.3272444-r2.ebuild
+++ /dev/null
@@ -1,627 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils versionator readme.gentoo-r1 fdo-mime gnome2-utils pam systemd vmware-bundle
-
-MY_PN="VMware-Workstation"
-MY_PV=$(get_version_component_range 1-3)
-PV_MODULES="308.$(get_version_component_range 2-3)"
-PV_BUILD=$(get_version_component_range 4)
-MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
-
-SYSTEMD_UNITS_TAG="gentoo-02"
-
-DESCRIPTION="Emulate a complete PC without the 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="
- amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
- https://github.com/akhuettel/systemd-vmware/archive/${SYSTEMD_UNITS_TAG}.tar.gz -> vmware-systemd-${SYSTEMD_UNITS_TAG}.tgz
- "
-
-LICENSE="vmware GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="bundled-libs cups doc ovftool server vix +vmware-tools"
-RESTRICT="mirror strip"
-
-BUNDLED_LIBS_DIR=/opt/vmware/lib/vmware/lib
-
-BUNDLED_LIBS="
- libXau.so.6
- libXcomposite.so.1
- libXcursor.so.1
- libXdamage.so.1
- libXdmcp.so.6
- libXfixes.so.3
- libXft.so.2
- libXinerama.so.1
- libXrandr.so.2
- libXrender.so.1
- libaio.so.1
- libatk-1.0.so.0
- libatkmm-1.6.so.1
- libatspi.so.0
- libcairo.so.2
- libcairomm-1.0.so.1
- libcrypto.so.1.0.1
- libcurl.so.4
- libdbus-1.so.3
- libfontconfig.so.1
- libfreetype.so.6
- libfuse.so.2
- libgailutil.so.18
- libgcc_s.so.1
- libgcrypt.so.11
- libgdk-x11-2.0.so.0
- libgdk_pixbuf-2.0.so.0
- libgdkmm-2.4.so.1
- libgio-2.0.so.0
- libgiomm-2.4.so.1
- libglib-2.0.so.0
- libglibmm-2.4.so.1
- libglibmm_generate_extra_defs-2.4.so.1
- libgmodule-2.0.so.0
- libgobject-2.0.so.0
- libgpg-error.so.0
- libgthread-2.0.so.0
- libgtk-x11-2.0.so.0
- libgtkmm-2.4.so.1
- libpango-1.0.so.0
- libpangocairo-1.0.so.0
- libpangoft2-1.0.so.0
- libpangomm-1.4.so.1
- libpangox-1.0.so.0
- libpangoxft-1.0.so.0
- libpcsclite.so.1
- libpixman-1.so.0
- libpng12.so.0
- librsvg-2.so.2
- libsigc-2.0.so.0
- libssl.so.1.0.1
- libstdc++.so.6
- libxml2.so.2
- libz.so.1
-"
-
-BUNDLED_LIB_DEPENDS="
- app-accessibility/at-spi2-core
- dev-cpp/atkmm
- dev-cpp/cairomm
- dev-cpp/glibmm:2
- dev-cpp/gtkmm:2.4
- dev-cpp/pangomm
- dev-libs/atk
- dev-libs/glib:2
- dev-libs/libaio
- dev-libs/libgcrypt:11/11
- dev-libs/libgpg-error
- dev-libs/libsigc++:2
- dev-libs/libxml2
- dev-libs/openssl:0
- gnome-base/librsvg:2
- media-libs/fontconfig
- media-libs/freetype
- media-libs/libpng:1.2
- net-misc/curl
- sys-apps/dbus
- sys-apps/pcsc-lite
- sys-fs/fuse
- sys-libs/zlib
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/libXau
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXfixes
- x11-libs/libXft
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/pango
- x11-libs/pangox-compat
- x11-libs/pixman
-"
-
-# vmware should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="
- app-arch/bzip2
- dev-libs/dbus-glib
- dev-libs/expat
- dev-libs/gmp:0
- dev-libs/icu
- dev-libs/json-c
- dev-libs/libcroco
- dev-libs/libffi
- dev-libs/libgcrypt:0/20
- dev-libs/libtasn1:0/6
- dev-libs/nettle:0/6
- gnome-base/gconf
- gnome-base/libgnome-keyring
- media-gfx/graphite2
- media-libs/alsa-lib
- media-libs/harfbuzz:0/0.9.18
- media-libs/libart_lgpl
- media-libs/libpng:0
- media-libs/libvorbis
- media-libs/mesa
- net-dns/libidn
- net-libs/gnutls
- net-print/cups
- sys-apps/tcp-wrappers
- sys-apps/util-linux
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXtst
- x11-libs/libXxf86vm
- x11-libs/libdrm
- x11-libs/libxcb
- x11-libs/libxshmfence
- x11-libs/startup-notification
- x11-libs/xcb-util
- x11-themes/hicolor-icon-theme
- bundled-libs? (
- media-libs/jbigkit:0/2.1
- media-libs/tiff:3
- virtual/jpeg:62
- )
- !bundled-libs? ( ${BUNDLED_LIB_DEPENDS} )
- !app-emulation/vmware-player
-"
-PDEPEND="~app-emulation/vmware-modules-${PV_MODULES}
- vmware-tools? ( app-emulation/vmware-tools )"
-DEPEND=">=dev-util/patchelf-0.9"
-
-S=${WORKDIR}
-VM_INSTALL_DIR="/opt/vmware"
-VM_DATA_STORE_DIR="/var/lib/vmware/Shared VMs"
-VM_HOSTD_USER="root"
-
-QA_PREBUILT="/opt/*"
-
-QA_WX_LOAD="opt/vmware/lib/vmware/tools-upgraders/vmware-tools-upgrader-32 opt/vmware/lib/vmware/bin/vmware-vmx-stats opt/vmware/lib/vmware/bin/vmware-vmx-debug opt/vmware/lib/vmware/bin/vmware-vmx"
-
-src_unpack() {
- default
- local bundle=${MY_P}.x86_64.bundle
-
- local component; for component in \
- vmware-workstation \
- vmware-player-app \
- vmware-player-setup \
- vmware-vmx \
- vmware-network-editor \
- vmware-network-editor-ui \
- vmware-usbarbitrator \
- vmware-vprobe
- do
- vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}"
- done
-
- if use ovftool; then
- vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool
- fi
-
- 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-Workstation1200 vmware-vix
- fi
-}
-
-clean_bundled_libs() {
- einfo "Removing bundled libraries"
- for libname in ${BUNDLED_LIBS} ; do
- rm -rv "${S}"/lib/lib/${libname} || die "Failed removing bundled ${libname}"
- done
-
- rm -rv "${S}"/lib/libconf || die "Failed removing bundled gtk conf libs"
-
- # Among the bundled libs there are libcrypto.so.1.0.1 and libssl.so.1.0.1
- # (needed by libcds.so) which seem to be compiled from openssl-1.0.1h.
- # Upstream real sonames are *so.1.0.0 so it's necessary to fix DT_NEEDED link
- # in libcds.so to be able to use system libs.
- pushd >/dev/null .
- einfo "Patching libcds.so"
- cd "${S}"/lib/lib/libcds.so || die
- patchelf --replace-needed libssl.so.1.0.{1,0} \
- --replace-needed libcrypto.so.1.0.{1,0} \
- libcds.so || die
- popd >/dev/null
-
- # vmware-workstation seems to use a custom version of libgksu2.so, for this reason
- # we leave the bundled version. The libvmware-gksu.so library declares simply DT_NEEDED
- # libgksu2.so.0 but it uses at runtime the bundled version, patch the lib to avoid portage
- # preserve-libs mechanism to be triggered when a system lib is available (but not required)
- pushd >/dev/null .
- einfo "Patching libvmware-gksu.so"
- cd "${S}"/lib/lib/libvmware-gksu.so || die
- patchelf --set-rpath "\$ORIGIN/../libgksu2.so.0" \
- libvmware-gksu.so || die
- popd >/dev/null
-}
-
-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
-
- if ! use bundled-libs ; then
- clean_bundled_libs
- fi
-
- DOC_CONTENTS="
-/etc/env.d is updated during ${PN} installation. Please run:\n
-env-update && source /etc/profile\n
-Before you can use ${PN}, you must configure a default network setup.
-You can do this by running 'emerge --config ${PN}'.\n
-To be able to run ${PN} your user must be in the vmware group.\n
-You MUST set USE=bundled-libs if you are running gcc-5, otherwise vmware will not start.
-"
-}
-
-src_install() {
- local major_minor=$(get_version_component_range 1-2 "${PV}")
-
- # revdep-rebuild entry
- insinto /etc/revdep-rebuild
- echo "SEARCH_DIRS_MASK=\"${VM_INSTALL_DIR}\"" >> ${T}/10${PN}
- doins "${T}"/10${PN}
-
- # install the binaries
- into "${VM_INSTALL_DIR}"
- dobin bin/*
-
- # install the libraries
- insinto "${VM_INSTALL_DIR}"/lib/vmware
- doins -r lib/*
-
- # workaround for hardcoded search paths needed during shared objects loading
- if ! use bundled-libs ; then
- 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 \
- "${VM_INSTALL_DIR}"/lib/vmware/lib/libcrypto.so.1.0.1/libcrypto.so.1.0.1
- dosym /usr/$(get_libdir)/libssl.so.1.0.0 \
- "${VM_INSTALL_DIR}"/lib/vmware/lib/libssl.so.1.0.1/libssl.so.1.0.1
- fi
-
- # 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
-
- if use doc; then
- dodoc doc/*
- fi
-
- exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup
- doexe 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,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
- fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/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
- use bundled-libs && echo 'VMWARE_USE_SHIPPED_LIBS=1' >> "${envd}"
-
- 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 = "${MY_PV}"
- product.buildNumber = "${PV_BUILD}"
- product.version = "${MY_PV}"
- product.name = "VMware Workstation"
- workstation.product.version = "${MY_PV}"
- 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}" || die
- 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} || die
- newinitd "${initscript}" vmware-workstation-server
- fi
-
- # fill in variable placeholders
- if use bundled-libs ; then
- 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}} || die
- fi
- sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
- -e "/^Encoding/d" \
- -i "${D}/usr/share/applications/vmware-player.desktop" || die
- sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware:g" \
- -e "/^Encoding/d" \
- -i "${D}/usr/share/applications/vmware-workstation.desktop" || die
- sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmware-netcfg:g" \
- -e "/^Encoding/d" \
- -i "${D}/usr/share/applications/vmware-netcfg.desktop" || die
-
- 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}
-
- readme.gentoo_create_doc
-}
-
-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
- readme.gentoo_print_elog
-
- ewarn "${P} is using an old version of libgcrypt library which"
- ewarn "is going to be soon removed from portage due to security reasons"
- ewarn "(see https://bugs.gentoo.org/show_bug.cgi?id=541564)."
- ewarn "Until vmware is fixed upstream you're exposed to security issues!"
-}
-
-pkg_prerm() {
- einfo "Stopping ${PN} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-emulation/vmware-workstation/vmware-workstation-9.0.3.1410761.ebuild b/app-emulation/vmware-workstation/vmware-workstation-9.0.3.1410761.ebuild
deleted file mode 100644
index f75690377903..000000000000
--- a/app-emulation/vmware-workstation/vmware-workstation-9.0.3.1410761.ebuild
+++ /dev/null
@@ -1,490 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 without the 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-271.${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-Workstation900andvSphere510 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} \
- vmware-{acetool,enter-serial,gksu,fuseUI,modconfig{,-console},netcfg,tray,unity-helper} ; 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
-}