1 |
ikelos 08/01/28 17:59:30 |
2 |
|
3 |
Modified: open-vm-tools-0.0.20071121.64693.ebuild ChangeLog |
4 |
Added: open-vm-tools-0.0.20071121.64693-r1.ebuild |
5 |
Log: |
6 |
Fix kernel build issues. |
7 |
(Portage version: 2.1.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: open-vm-tools-0.0.20071121.64693.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- open-vm-tools-0.0.20071121.64693.ebuild 22 Dec 2007 23:05:54 -0000 1.2 |
23 |
+++ open-vm-tools-0.0.20071121.64693.ebuild 28 Jan 2008 17:59:29 -0000 1.3 |
24 |
@@ -1,6 +1,6 @@ |
25 |
-# Copyright 1999-2007 Gentoo Foundation |
26 |
+# Copyright 1999-2008 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v 1.2 2007/12/22 23:05:54 mr_bones_ Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v 1.3 2008/01/28 17:59:29 ikelos Exp $ |
30 |
|
31 |
inherit eutils linux-mod versionator |
32 |
|
33 |
|
34 |
|
35 |
|
36 |
1.2 app-emulation/open-vm-tools/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.2&view=markup |
39 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.2&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.1&r2=1.2 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v |
45 |
retrieving revision 1.1 |
46 |
retrieving revision 1.2 |
47 |
diff -u -r1.1 -r1.2 |
48 |
--- ChangeLog 22 Dec 2007 17:32:11 -0000 1.1 |
49 |
+++ ChangeLog 28 Jan 2008 17:59:29 -0000 1.2 |
50 |
@@ -1,6 +1,13 @@ |
51 |
# ChangeLog for app-emulation/open-vm-tools |
52 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.1 2007/12/22 17:32:11 ikelos Exp $ |
54 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
55 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.2 2008/01/28 17:59:29 ikelos Exp $ |
56 |
+ |
57 |
+*open-vm-tools-0.0.20071121.64693-r1 (28 Jan 2008) |
58 |
+ |
59 |
+ 28 Jan 2008; Mike Auty <ikelos@g.o> |
60 |
+ +files/open-vm-tools-kernel_stdint-soren.patch, |
61 |
+ +open-vm-tools-0.0.20071121.64693-r1.ebuild: |
62 |
+ Fix kernel build issues. |
63 |
|
64 |
*open-vm-tools-0.0.20071121.64693 (22 Dec 2007) |
65 |
|
66 |
|
67 |
|
68 |
|
69 |
1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693-r1.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693-r1.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693-r1.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: open-vm-tools-0.0.20071121.64693-r1.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2008 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693-r1.ebuild,v 1.1 2008/01/28 17:59:29 ikelos Exp $ |
79 |
|
80 |
inherit pam eutils linux-mod autotools versionator |
81 |
|
82 |
MY_DATE="$(get_version_component_range 3)" |
83 |
MY_BUILD="$(get_version_component_range 4)" |
84 |
MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}" |
85 |
MY_P="${PN}-${MY_PV}" |
86 |
|
87 |
S="${WORKDIR}/${MY_P}" |
88 |
|
89 |
DESCRIPTION="Opensourced tools for VMware guests" |
90 |
HOMEPAGE="http://open-vm-tools.sourceforge.net/" |
91 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
92 |
|
93 |
LICENSE="GPL-2" |
94 |
SLOT="0" |
95 |
KEYWORDS="~x86 ~amd64" |
96 |
IUSE="X xinerama" |
97 |
DEPEND=" |
98 |
virtual/linux-sources |
99 |
sys-apps/ethtool |
100 |
X? ( |
101 |
x11-libs/libX11 |
102 |
x11-libs/gtk+ |
103 |
) |
104 |
xinerama? ( |
105 |
x11-libs/libXinerama |
106 |
) |
107 |
!app-emulation/vmware-workstation-tools |
108 |
!app-emulation/vmware-server-tools |
109 |
!app-emulation/vmware-esx-tools |
110 |
" |
111 |
|
112 |
RDEPEND="${DEPEND/virtual\/linux\-sources/} |
113 |
X? ( |
114 |
x11-base/xorg-server |
115 |
x11-drivers/xf86-video-vmware |
116 |
x11-drivers/xf86-input-vmmouse |
117 |
) |
118 |
" |
119 |
|
120 |
VMWARE_MOD_DIR="modules/linux" |
121 |
VMWARE_MODULE_LIST="vmblock vmhgfs vmsync vmmemctl vmxnet" |
122 |
|
123 |
pkg_setup() { |
124 |
|
125 |
linux-mod_pkg_setup |
126 |
MODULE_NAMES="" |
127 |
BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR}" |
128 |
|
129 |
for mod in ${VMWARE_MODULE_LIST}; |
130 |
do |
131 |
if [[ "${mod}" == "vmxnet" ]]; |
132 |
then |
133 |
MODTARGET="net" |
134 |
else |
135 |
MODTARGET="openvmtools" |
136 |
fi |
137 |
MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})" |
138 |
done |
139 |
|
140 |
ewarn "If you're compiling for a hardened target, please use the hardened" |
141 |
ewarn "toolchain (see bug #200376, comment 18)." |
142 |
|
143 |
enewgroup vmware |
144 |
|
145 |
} |
146 |
|
147 |
src_unpack() { |
148 |
unpack "${A}" |
149 |
cd "${S}" |
150 |
epatch "${FILESDIR}/${PN}-kernel_stdint-soren.patch" |
151 |
} |
152 |
|
153 |
src_compile() { |
154 |
econf \ |
155 |
$(use_with X x) \ |
156 |
$(use_enable xinerama multimon) \ |
157 |
|| die "Error: econf failed!" |
158 |
|
159 |
linux-mod_src_compile |
160 |
|
161 |
emake || die |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
|
166 |
linux-mod_src_install |
167 |
|
168 |
pamd_mimic_system vmware-guestd auth account |
169 |
|
170 |
# Install the various tools |
171 |
cd "${S}" |
172 |
VMWARE_BIN_LIST="hgfsclient xferlogs" |
173 |
VMWARE_SBIN_LIST="guestd checkvm" |
174 |
if use X; then |
175 |
# Fix up the vmware-user tool's name |
176 |
mv vmware-user/vmware-user vmware-user/user |
177 |
mv vmware-user user |
178 |
VMWARE_BIN_LIST="${VMWARE_BIN_LIST} user toolbox" |
179 |
fi |
180 |
for i in ${VMWARE_BIN_LIST}; do |
181 |
newbin ${i}/${i} vmware-${i} || die "Failed installing ${i}" |
182 |
done |
183 |
for i in ${VMWARE_SBIN_LIST}; do |
184 |
newsbin ${i}/${i} vmware-${i} || die "Failed installing ${i}" |
185 |
done |
186 |
|
187 |
dolib libguestlib/.libs/libguestlib.{so.0.0.0,a} |
188 |
|
189 |
# Deal with the hgfsmounter |
190 |
into / |
191 |
newsbin hgfsmounter/hgfsmounter mount.vmhgfs |
192 |
fperms u+s /sbin/mount.vmhgfs |
193 |
### FROM THIS POINT ON, into IS SET TO ${ROOT}/ not ${ROOT}/usr !!! |
194 |
|
195 |
# Install the /etc/ files |
196 |
exeinto /etc/vmware-tools |
197 |
doexe scripts/linux/* |
198 |
insinto /etc/vmware-tools |
199 |
doins "${FILESDIR}/tools.conf" |
200 |
# Only install this, when X is being used. Else it's useless waste of |
201 |
# ressources when checking continuously for processes that will never appear |
202 |
use X && doins "${FILESDIR}/xautostart.conf" |
203 |
newinitd "${FILESDIR}/open-vm.initd" vmware-tools |
204 |
newconfd "${FILESDIR}/open-vm.confd" vmware-tools |
205 |
|
206 |
if use X; |
207 |
then |
208 |
elog "To be able to use the drag'n'drop feature of VMware for file" |
209 |
elog "exchange, you need to do this:" |
210 |
elog " Add 'vmware-tools' to your default runlevel" |
211 |
elog " Add the users which should have access to this function" |
212 |
elog " to the group 'vmware'" |
213 |
fi |
214 |
} |
215 |
|
216 |
|
217 |
|
218 |
-- |
219 |
gentoo-commits@l.g.o mailing list |