1 |
pacho 13/08/31 06:26:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: open-vm-tools-2013.04.16.1098359-r1.ebuild |
5 |
Log: |
6 |
Add unit file (#480714 by Billy DeVincentis) |
7 |
|
8 |
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.73 app-emulation/open-vm-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.73&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.73&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.72&r2=1.73 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v |
20 |
retrieving revision 1.72 |
21 |
retrieving revision 1.73 |
22 |
diff -u -r1.72 -r1.73 |
23 |
--- ChangeLog 22 Jun 2013 23:23:57 -0000 1.72 |
24 |
+++ ChangeLog 31 Aug 2013 06:26:06 -0000 1.73 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-emulation/open-vm-tools |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.72 2013/06/22 23:23:57 phajdan.jr Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.73 2013/08/31 06:26:06 pacho Exp $ |
30 |
+ |
31 |
+*open-vm-tools-2013.04.16.1098359-r1 (31 Aug 2013) |
32 |
+ |
33 |
+ 31 Aug 2013; Pacho Ramos <pacho@g.o> +files/vmtoolsd.service, |
34 |
+ +open-vm-tools-2013.04.16.1098359-r1.ebuild: |
35 |
+ Add unit file (#480714 by Billy DeVincentis) |
36 |
|
37 |
*open-vm-tools-2013.04.16.1098359 (22 Jun 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-emulation/open-vm-tools/open-vm-tools-2013.04.16.1098359-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-2013.04.16.1098359-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-2013.04.16.1098359-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: open-vm-tools-2013.04.16.1098359-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-2013.04.16.1098359-r1.ebuild,v 1.1 2013/08/31 06:26:06 pacho Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit eutils multilib pam user versionator flag-o-matic systemd toolchain-funcs |
56 |
|
57 |
MY_PV="$(replace_version_separator 3 '-')" |
58 |
MY_P="${PN}-${MY_PV}" |
59 |
|
60 |
DESCRIPTION="Opensourced tools for VMware guests" |
61 |
HOMEPAGE="http://open-vm-tools.sourceforge.net/" |
62 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
63 |
|
64 |
LICENSE="LGPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="X doc fuse icu +pic xinerama" |
68 |
|
69 |
RDEPEND="app-emulation/open-vm-tools-kmod |
70 |
dev-libs/glib:2 |
71 |
dev-libs/libdnet |
72 |
sys-apps/ethtool |
73 |
sys-process/procps |
74 |
virtual/pam |
75 |
X? ( |
76 |
dev-cpp/gtkmm:2.4 |
77 |
x11-base/xorg-server |
78 |
x11-drivers/xf86-input-vmmouse |
79 |
x11-drivers/xf86-video-vmware |
80 |
x11-libs/gtk+:2 |
81 |
x11-libs/libnotify |
82 |
x11-libs/libX11 |
83 |
x11-libs/libXtst |
84 |
) |
85 |
fuse? ( sys-fs/fuse ) |
86 |
icu? ( dev-libs/icu:= ) |
87 |
xinerama? ( x11-libs/libXinerama ) |
88 |
" |
89 |
|
90 |
DEPEND="${RDEPEND} |
91 |
doc? ( app-doc/doxygen ) |
92 |
virtual/pkgconfig |
93 |
virtual/linux-sources |
94 |
sys-apps/findutils |
95 |
" |
96 |
|
97 |
S="${WORKDIR}/${MY_P}" |
98 |
|
99 |
pkg_setup() { |
100 |
enewgroup vmware |
101 |
} |
102 |
|
103 |
src_prepare() { |
104 |
# Do not filter out Werror |
105 |
# Upstream Bug http://sourceforge.net/tracker/?func=detail&aid=2959749&group_id=204462&atid=989708 |
106 |
# sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed" |
107 |
sed -i -e 's:\(TEST_PLUGIN_INSTALLDIR=\).*:\1\$libdir/open-vm-tools/plugins/tests:g' configure || die "sed test_plugin_installdir failed" |
108 |
} |
109 |
|
110 |
src_configure() { |
111 |
# http://bugs.gentoo.org/402279 |
112 |
if has_version '>=sys-process/procps-3.3.2'; then |
113 |
export CUSTOM_PROCPS_NAME=procps |
114 |
export CUSTOM_PROCPS_LIBS="$($(tc-getPKG_CONFIG) --libs libprocps)" |
115 |
fi |
116 |
|
117 |
econf \ |
118 |
--with-procps \ |
119 |
--with-dnet \ |
120 |
--without-kernel-modules \ |
121 |
$(use_enable doc docs) \ |
122 |
--docdir=/usr/share/doc/${PF} \ |
123 |
$(use_with X x) \ |
124 |
$(use_with X gtk2) \ |
125 |
$(use_with X gtkmm) \ |
126 |
$(use_with icu) \ |
127 |
$(use_with pic) \ |
128 |
$(use_enable xinerama multimon) |
129 |
|
130 |
# Bugs 260878, 326761 |
131 |
find ./ -name Makefile | xargs sed -i -e 's/-Werror//g' || die "sed out Werror failed" |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
default |
136 |
|
137 |
rm "${D}"/etc/pam.d/vmtoolsd |
138 |
pamd_mimic_system vmtoolsd auth account |
139 |
|
140 |
rm "${D}"/usr/$(get_libdir)/*.la |
141 |
rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la |
142 |
|
143 |
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools |
144 |
newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools |
145 |
systemd_dounit "${FILESDIR}"/vmtoolsd.service |
146 |
|
147 |
exeinto /etc/vmware-tools/scripts/vmware/ |
148 |
doexe "${FILESDIR}"/network |
149 |
|
150 |
if use X; |
151 |
then |
152 |
fperms 4755 "/usr/bin/vmware-user-suid-wrapper" |
153 |
|
154 |
dobin "${S}"/scripts/common/vmware-xdg-detect-de |
155 |
|
156 |
insinto /etc/xdg/autostart |
157 |
doins "${FILESDIR}/open-vm-tools.desktop" |
158 |
|
159 |
elog "To be able to use the drag'n'drop feature of VMware for file" |
160 |
elog "exchange, please add the users to the 'vmware' group." |
161 |
fi |
162 |
elog "Add 'vmware-tools' service to the default runlevel." |
163 |
} |