Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/open-vm-tools/
Date: Fri, 04 Aug 2017 19:51:07
Message-Id: 1501876257.37daacb0b8ab841ba358c7e28f5d9a8c43ba7940.floppym@gentoo
1 commit: 37daacb0b8ab841ba358c7e28f5d9a8c43ba7940
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 4 19:50:34 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 4 19:50:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37daacb0
7
8 app-emulation/open-vm-tools: remove old
9
10 Package-Manager: Portage-2.3.6_p23, Repoman-2.3.3_p1
11
12 app-emulation/open-vm-tools/Manifest | 1 -
13 .../open-vm-tools/open-vm-tools-10.0.7.ebuild | 117 -----------------
14 .../open-vm-tools/open-vm-tools-10.1.0.ebuild | 145 ---------------------
15 3 files changed, 263 deletions(-)
16
17 diff --git a/app-emulation/open-vm-tools/Manifest b/app-emulation/open-vm-tools/Manifest
18 index 53aeeae31de..b3db5547f3b 100644
19 --- a/app-emulation/open-vm-tools/Manifest
20 +++ b/app-emulation/open-vm-tools/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST open-vm-tools-10.0.7-3227872.tar.gz 4009790 SHA256 49520ccfed7bf3e51567eb9139f70d6dac6a58c3db99c306ce66f2179ec580ce SHA512 5838c971a41540cb54ddf83400d2b728bae3245765b6e7d80e7f4be4035308f045ea4a735abafb2a7accbd90c6fe4c381dabd102a98be08a7ee08feab03bfa8b WHIRLPOOL 4384e86073450fafef350aa3da7e9e60e56d1b2844d52260ea03865cb6fcf1ed753ec57dd321a7cd7f15e13b7b8200d2f51d6db633990f38a7cd780d6bca2604
23 DIST open-vm-tools-10.1.0-4449150.tar.gz 5025787 SHA256 d579474c9495b504a544dfc2635d291c27488e7e9303ec4fe6b393836dc3b017 SHA512 455e570fc13334e85a946e7eb496baebc459c138760c0c4c206b2182ebbb2e8b00b1025bafc284c163ffa1ffab7ab8566073ccd13b34bf5e8ef32addad9a4639 WHIRLPOOL 8b568a9cf61c0581abb67f5740bab62748fe4ef4eac2ea99f8340b2667ae2335266c3a935a3ca5778ec3132302013e09e429405c92cdf942fbfc6b85721e6f48
24 DIST open-vm-tools-10.1.10-6082533.tar.gz 5111726 SHA256 4632d815996e7f2c283818b0d84b0c4cf2fb82a0897d77aee0f8cbcdc5678c61 SHA512 60c52a24509cb0630f2ad649fe6717fefff624fc2a5c736ced35cbdb8f639264d482e063e8140eedb39216adfb1231d58232bfef0233ebc477ba4f9a732c5965 WHIRLPOOL a895246a9cc9d7fa664203a696b8f1c8d84bb231601f7e95c4291624b812d5504168e019cb33f9b9a64eb62baf048001c0952e54a8002bc6eb57dc0664f1d164
25
26 diff --git a/app-emulation/open-vm-tools/open-vm-tools-10.0.7.ebuild b/app-emulation/open-vm-tools/open-vm-tools-10.0.7.ebuild
27 deleted file mode 100644
28 index 049650c8cbc..00000000000
29 --- a/app-emulation/open-vm-tools/open-vm-tools-10.0.7.ebuild
30 +++ /dev/null
31 @@ -1,117 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit autotools flag-o-matic pam systemd toolchain-funcs user
38 -
39 -DESCRIPTION="Opensourced tools for VMware guests"
40 -HOMEPAGE="https://github.com/vmware/open-vm-tools"
41 -MY_P="${P}-3227872"
42 -SRC_URI="https://github.com/vmware/open-vm-tools/files/133266/${MY_P}.tar.gz"
43 -
44 -LICENSE="LGPL-2"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="X doc grabbitmqproxy icu pam +pic vgauth xinerama"
48 -
49 -RDEPEND="
50 - dev-libs/glib:2
51 - dev-libs/libdnet
52 - sys-apps/ethtool
53 - sys-fs/fuse
54 - >=sys-process/procps-3.3.2
55 - grabbitmqproxy? ( dev-libs/openssl:0 )
56 - icu? ( dev-libs/icu:= )
57 - pam? ( virtual/pam )
58 - vgauth? (
59 - dev-libs/openssl:0
60 - dev-libs/xerces-c
61 - dev-libs/xml-security-c
62 - )
63 - X? (
64 - dev-cpp/gtkmm:2.4
65 - x11-base/xorg-server
66 - x11-drivers/xf86-input-vmmouse
67 - x11-drivers/xf86-video-vmware
68 - x11-libs/gtk+:2
69 - x11-libs/libnotify
70 - x11-libs/libX11
71 - x11-libs/libXtst
72 - )
73 - xinerama? ( x11-libs/libXinerama )
74 -"
75 -
76 -DEPEND="${RDEPEND}
77 - doc? ( app-doc/doxygen )
78 - virtual/pkgconfig
79 - sys-apps/findutils
80 -"
81 -
82 -S="${WORKDIR}/${MY_P}"
83 -PATCHES=(
84 - "${FILESDIR}/9.10.0-vgauth.patch"
85 -)
86 -
87 -src_prepare() {
88 - default
89 - eautoreconf
90 -}
91 -
92 -src_configure() {
93 - # libsigc++-2.0 >= 2.5.1 requires C++11. Using -std=c++11
94 - # does not provide "linux" definition, we need gnu++11
95 - append-cxxflags -std=gnu++11
96 -
97 - local myeconfargs=(
98 - --disable-deploypkg
99 - --disable-static
100 - --disable-tests
101 - --with-procps
102 - --with-dnet
103 - --without-kernel-modules
104 - $(use_enable doc docs)
105 - $(use_enable grabbitmqproxy)
106 - $(use_enable vgauth)
107 - $(use_enable xinerama multimon)
108 - $(use_with icu)
109 - $(use_with pam)
110 - $(use_with pic)
111 - $(use_with X gtk2)
112 - $(use_with X gtkmm)
113 - $(use_with X x)
114 - )
115 -
116 - econf "${myeconfargs[@]}"
117 -
118 - # Bugs 260878, 326761
119 - find . -name Makefile -exec sed -i -e 's/-Werror//g' '{}' + || die "sed out Werror failed"
120 -}
121 -
122 -src_install() {
123 - emake DESTDIR="${D%/}" install
124 - dodoc AUTHORS NEWS ChangeLog README
125 - prune_libtool_files --modules
126 -
127 - rm "${ED%/}"/etc/pam.d/vmtoolsd
128 - pamd_mimic_system vmtoolsd auth account
129 -
130 - newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools
131 - newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools
132 - systemd_dounit "${FILESDIR}"/vmtoolsd.service
133 -
134 - if use X; then
135 - fperms 4755 /usr/bin/vmware-user-suid-wrapper
136 - dobin scripts/common/vmware-xdg-detect-de
137 -
138 - insinto /etc/xdg/autostart
139 - doins "${FILESDIR}"/open-vm-tools.desktop
140 -
141 - elog "To be able to use the drag'n'drop feature of VMware for file"
142 - elog "exchange, please add the users to the 'vmware' group."
143 - fi
144 -}
145 -
146 -pkg_postinst() {
147 - enewgroup vmware
148 -}
149
150 diff --git a/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild b/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild
151 deleted file mode 100644
152 index 748ea86aa50..00000000000
153 --- a/app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild
154 +++ /dev/null
155 @@ -1,145 +0,0 @@
156 -# Copyright 1999-2016 Gentoo Foundation
157 -# Distributed under the terms of the GNU General Public License v2
158 -
159 -EAPI=6
160 -MODULES_OPTIONAL_USE="modules"
161 -
162 -inherit autotools linux-mod pam systemd toolchain-funcs user
163 -
164 -DESCRIPTION="Opensourced tools for VMware guests"
165 -HOMEPAGE="https://github.com/vmware/open-vm-tools"
166 -MY_P="${P}-4449150"
167 -SRC_URI="https://github.com/vmware/open-vm-tools/files/590760/${MY_P}.tar.gz"
168 -
169 -LICENSE="LGPL-2"
170 -SLOT="0"
171 -KEYWORDS="~amd64 ~x86"
172 -IUSE="X doc grabbitmqproxy icu pam +pic vgauth xinerama"
173 -
174 -COMMON_DEPEND="
175 - dev-libs/glib:2
176 - dev-libs/libdnet
177 - sys-fs/fuse
178 - >=sys-process/procps-3.3.2
179 - grabbitmqproxy? ( dev-libs/openssl:0 )
180 - icu? ( dev-libs/icu:= )
181 - pam? ( virtual/pam )
182 - vgauth? (
183 - dev-libs/openssl:0
184 - dev-libs/xerces-c
185 - dev-libs/xml-security-c
186 - )
187 - X? (
188 - dev-cpp/gtkmm:3.0
189 - x11-libs/gtk+:3
190 - x11-libs/libICE
191 - x11-libs/libSM
192 - x11-libs/libX11
193 - x11-libs/libXcomposite
194 - x11-libs/libXext
195 - x11-libs/libXi
196 - x11-libs/libXrender
197 - x11-libs/libXrandr
198 - x11-libs/libXtst
199 - xinerama? ( x11-libs/libXinerama )
200 - )
201 -"
202 -
203 -DEPEND="${COMMON_DEPEND}
204 - doc? ( app-doc/doxygen )
205 - virtual/pkgconfig
206 -"
207 -
208 -RDEPEND="${COMMON_DEPEND}
209 -"
210 -
211 -S="${WORKDIR}/${MY_P}/open-vm-tools"
212 -
213 -PATCHES=(
214 - "${FILESDIR}/10.1.0-mount.vmhgfs.patch"
215 - "${FILESDIR}/10.1.0-vgauth.patch"
216 - "${FILESDIR}/10.1.0-Werror.patch"
217 -)
218 -
219 -pkg_setup() {
220 - linux-info_get_any_version
221 - local CONFIG_CHECK="~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3"
222 - use X && CONFIG_CHECK+=" ~DRM_VMWGFX"
223 - kernel_is -lt 3 9 || CONFIG_CHECK+=" ~VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS"
224 - kernel_is -lt 3 || CONFIG_CHECK+=" ~FUSE_FS"
225 - if use modules; then
226 - linux-mod_pkg_setup
227 - else
228 - linux-info_pkg_setup
229 - fi
230 -}
231 -
232 -src_prepare() {
233 - eapply -p2 "${PATCHES[@]}"
234 - eapply_user
235 - eautoreconf
236 -}
237 -
238 -src_configure() {
239 - local myeconfargs=(
240 - --disable-deploypkg
241 - --disable-static
242 - --disable-tests
243 - --with-procps
244 - --with-dnet
245 - $(use_enable doc docs)
246 - $(use_enable grabbitmqproxy)
247 - $(use_enable vgauth)
248 - $(use_enable xinerama multimon)
249 - $(use_with icu)
250 - $(use_with pam)
251 - $(use_with pic)
252 - --without-gtk2
253 - --without-gtkmm
254 - $(use_with X gtk3)
255 - $(use_with X gtkmm3)
256 - $(use_with X x)
257 -
258 - # configure locates the kernel object directory by looking for
259 - # "/lib/modules/${KERNEL_RELEASE}/build".
260 - # This will fail if the user is building against an uninstalled kernel.
261 - # Fixing this would mean reworking the build system.
262 - $(use_with modules kernel-modules)
263 - --without-root-privileges
264 - --with-kernel-release="${KV_FULL}"
265 - )
266 -
267 - econf "${myeconfargs[@]}"
268 -}
269 -
270 -src_compile() {
271 - use modules && set_arch_to_kernel
272 - default
273 -}
274 -
275 -src_install() {
276 - default
277 - prune_libtool_files --modules
278 -
279 - if use pam; then
280 - rm "${ED%/}"/etc/pam.d/vmtoolsd || die
281 - pamd_mimic_system vmtoolsd auth account
282 - fi
283 -
284 - newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools
285 - newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools
286 - systemd_dounit "${FILESDIR}"/vmtoolsd.service
287 -
288 - if use X; then
289 - fperms 4711 /usr/bin/vmware-user-suid-wrapper
290 - dobin scripts/common/vmware-xdg-detect-de
291 -
292 - elog "To be able to use the drag'n'drop feature of VMware for file"
293 - elog "exchange, please add the users to the 'vmware' group."
294 - fi
295 -}
296 -
297 -pkg_postinst() {
298 - enewgroup vmware
299 - linux-mod_pkg_postinst
300 -}