1 |
phajdan.jr 10/02/11 12:13:30 |
2 |
|
3 |
Modified: chromium-4.0.249.43.ebuild |
4 |
chromium-5.0.307.5.ebuild chromium-4.0.302.2.ebuild |
5 |
ChangeLog chromium-4.0.266.0-r1.ebuild |
6 |
chromium-9999.ebuild |
7 |
Log: |
8 |
Check /dev/shm sanity in pkg_setup, bug #299777. |
9 |
(Portage version: 2.1.7.16/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.9 www-client/chromium/chromium-4.0.249.43.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.249.43.ebuild?rev=1.9&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.249.43.ebuild?rev=1.9&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.249.43.ebuild?r1=1.8&r2=1.9 |
17 |
|
18 |
Index: chromium-4.0.249.43.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.249.43.ebuild,v |
21 |
retrieving revision 1.8 |
22 |
retrieving revision 1.9 |
23 |
diff -u -r1.8 -r1.9 |
24 |
--- chromium-4.0.249.43.ebuild 6 Feb 2010 20:18:24 -0000 1.8 |
25 |
+++ chromium-4.0.249.43.ebuild 11 Feb 2010 12:13:29 -0000 1.9 |
26 |
@@ -1,9 +1,9 @@ |
27 |
# Copyright 1999-2010 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.249.43.ebuild,v 1.8 2010/02/06 20:18:24 voyageur Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.249.43.ebuild,v 1.9 2010/02/11 12:13:29 phajdan.jr Exp $ |
31 |
|
32 |
EAPI="2" |
33 |
-inherit eutils multilib toolchain-funcs |
34 |
+inherit eutils multilib portability toolchain-funcs |
35 |
|
36 |
DESCRIPTION="Open-source version of Google Chrome web browser" |
37 |
HOMEPAGE="http://chromium.org/" |
38 |
@@ -38,6 +38,23 @@ |
39 |
>=dev-util/pkgconfig-0.23 |
40 |
sys-devel/flex" |
41 |
|
42 |
+pkg_setup() { |
43 |
+ # Prevent user problems like bug 299777. |
44 |
+ if ! grep -q /dev/shm <<< $(get_mounts); then |
45 |
+ eerror "You don't have tmpfs mounted at /dev/shm." |
46 |
+ eerror "${PN} isn't going to work in that configuration." |
47 |
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab," |
48 |
+ eerror "run 'mount /dev/shm' and try again." |
49 |
+ die "/dev/shm is not mounted" |
50 |
+ fi |
51 |
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then |
52 |
+ eerror "/dev/shm does not have correct permissions." |
53 |
+ eerror "${PN} isn't going to work in that configuration." |
54 |
+ eerror "Please run chmod 1777 /dev/shm and try again." |
55 |
+ die "/dev/shm has incorrect permissions" |
56 |
+ fi |
57 |
+} |
58 |
+ |
59 |
src_prepare() { |
60 |
# Gentoo uses .kde4, not .kde |
61 |
sed -e 's/\.kde/.kde4/' -i net/proxy/proxy_config_service_linux.cc \ |
62 |
|
63 |
|
64 |
|
65 |
1.4 www-client/chromium/chromium-5.0.307.5.ebuild |
66 |
|
67 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-5.0.307.5.ebuild?rev=1.4&view=markup |
68 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-5.0.307.5.ebuild?rev=1.4&content-type=text/plain |
69 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-5.0.307.5.ebuild?r1=1.3&r2=1.4 |
70 |
|
71 |
Index: chromium-5.0.307.5.ebuild |
72 |
=================================================================== |
73 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.5.ebuild,v |
74 |
retrieving revision 1.3 |
75 |
retrieving revision 1.4 |
76 |
diff -u -r1.3 -r1.4 |
77 |
--- chromium-5.0.307.5.ebuild 8 Feb 2010 11:28:31 -0000 1.3 |
78 |
+++ chromium-5.0.307.5.ebuild 11 Feb 2010 12:13:29 -0000 1.4 |
79 |
@@ -1,9 +1,9 @@ |
80 |
# Copyright 1999-2010 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.5.ebuild,v 1.3 2010/02/08 11:28:31 phajdan.jr Exp $ |
83 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.5.ebuild,v 1.4 2010/02/11 12:13:29 phajdan.jr Exp $ |
84 |
|
85 |
EAPI="2" |
86 |
-inherit eutils multilib toolchain-funcs flag-o-matic |
87 |
+inherit eutils flag-o-matic multilib portability toolchain-funcs |
88 |
|
89 |
DESCRIPTION="Open-source version of Google Chrome web browser" |
90 |
HOMEPAGE="http://chromium.org/" |
91 |
@@ -40,6 +40,23 @@ |
92 |
>=dev-util/pkgconfig-0.23 |
93 |
sys-devel/flex" |
94 |
|
95 |
+pkg_setup() { |
96 |
+ # Prevent user problems like bug 299777. |
97 |
+ if ! grep -q /dev/shm <<< $(get_mounts); then |
98 |
+ eerror "You don't have tmpfs mounted at /dev/shm." |
99 |
+ eerror "${PN} isn't going to work in that configuration." |
100 |
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab," |
101 |
+ eerror "run 'mount /dev/shm' and try again." |
102 |
+ die "/dev/shm is not mounted" |
103 |
+ fi |
104 |
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then |
105 |
+ eerror "/dev/shm does not have correct permissions." |
106 |
+ eerror "${PN} isn't going to work in that configuration." |
107 |
+ eerror "Please run chmod 1777 /dev/shm and try again." |
108 |
+ die "/dev/shm has incorrect permissions" |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
src_prepare() { |
113 |
# Gentoo uses .kde4, not .kde |
114 |
# TODO: this does not work with kdeprefix, fixing http:/crbug.com/29927 |
115 |
|
116 |
|
117 |
|
118 |
1.8 www-client/chromium/chromium-4.0.302.2.ebuild |
119 |
|
120 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.302.2.ebuild?rev=1.8&view=markup |
121 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.302.2.ebuild?rev=1.8&content-type=text/plain |
122 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.302.2.ebuild?r1=1.7&r2=1.8 |
123 |
|
124 |
Index: chromium-4.0.302.2.ebuild |
125 |
=================================================================== |
126 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.302.2.ebuild,v |
127 |
retrieving revision 1.7 |
128 |
retrieving revision 1.8 |
129 |
diff -u -r1.7 -r1.8 |
130 |
--- chromium-4.0.302.2.ebuild 6 Feb 2010 20:18:24 -0000 1.7 |
131 |
+++ chromium-4.0.302.2.ebuild 11 Feb 2010 12:13:29 -0000 1.8 |
132 |
@@ -1,9 +1,9 @@ |
133 |
# Copyright 1999-2010 Gentoo Foundation |
134 |
# Distributed under the terms of the GNU General Public License v2 |
135 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.302.2.ebuild,v 1.7 2010/02/06 20:18:24 voyageur Exp $ |
136 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.302.2.ebuild,v 1.8 2010/02/11 12:13:29 phajdan.jr Exp $ |
137 |
|
138 |
EAPI="2" |
139 |
-inherit eutils multilib toolchain-funcs flag-o-matic |
140 |
+inherit eutils flag-o-matic multilib portability toolchain-funcs |
141 |
|
142 |
DESCRIPTION="Open-source version of Google Chrome web browser" |
143 |
HOMEPAGE="http://chromium.org/" |
144 |
@@ -39,6 +39,23 @@ |
145 |
>=dev-util/pkgconfig-0.23 |
146 |
sys-devel/flex" |
147 |
|
148 |
+pkg_setup() { |
149 |
+ # Prevent user problems like bug 299777. |
150 |
+ if ! grep -q /dev/shm <<< $(get_mounts); then |
151 |
+ eerror "You don't have tmpfs mounted at /dev/shm." |
152 |
+ eerror "${PN} isn't going to work in that configuration." |
153 |
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab," |
154 |
+ eerror "run 'mount /dev/shm' and try again." |
155 |
+ die "/dev/shm is not mounted" |
156 |
+ fi |
157 |
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then |
158 |
+ eerror "/dev/shm does not have correct permissions." |
159 |
+ eerror "${PN} isn't going to work in that configuration." |
160 |
+ eerror "Please run chmod 1777 /dev/shm and try again." |
161 |
+ die "/dev/shm has incorrect permissions" |
162 |
+ fi |
163 |
+} |
164 |
+ |
165 |
src_prepare() { |
166 |
# Gentoo uses .kde4, not .kde |
167 |
# TODO: this does not work with kdeprefix, fixing http:/crbug.com/29927 |
168 |
|
169 |
|
170 |
|
171 |
1.53 www-client/chromium/ChangeLog |
172 |
|
173 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/ChangeLog?rev=1.53&view=markup |
174 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/ChangeLog?rev=1.53&content-type=text/plain |
175 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/ChangeLog?r1=1.52&r2=1.53 |
176 |
|
177 |
Index: ChangeLog |
178 |
=================================================================== |
179 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v |
180 |
retrieving revision 1.52 |
181 |
retrieving revision 1.53 |
182 |
diff -u -r1.52 -r1.53 |
183 |
--- ChangeLog 8 Feb 2010 11:28:31 -0000 1.52 |
184 |
+++ ChangeLog 11 Feb 2010 12:13:29 -0000 1.53 |
185 |
@@ -1,6 +1,13 @@ |
186 |
# ChangeLog for www-client/chromium |
187 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
188 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.52 2010/02/08 11:28:31 phajdan.jr Exp $ |
189 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.53 2010/02/11 12:13:29 phajdan.jr Exp $ |
190 |
+ |
191 |
+ 11 Feb 2010; Pawel Hajdan jr <phajdan.jr@g.o> |
192 |
+ chromium-4.0.249.43.ebuild, chromium-4.0.266.0-r1.ebuild, |
193 |
+ chromium-4.0.302.2.ebuild, chromium-5.0.307.5.ebuild, |
194 |
+ chromium-9999.ebuild: |
195 |
+ Check /dev/shm sanity in pkg_setup. This should help in cases like bug |
196 |
+ #299777. |
197 |
|
198 |
08 Feb 2010; Pawel Hajdan jr <phajdan.jr@g.o> |
199 |
-chromium-4.0.295.0.ebuild, chromium-5.0.307.5.ebuild, |
200 |
|
201 |
|
202 |
|
203 |
1.7 www-client/chromium/chromium-4.0.266.0-r1.ebuild |
204 |
|
205 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.266.0-r1.ebuild?rev=1.7&view=markup |
206 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.266.0-r1.ebuild?rev=1.7&content-type=text/plain |
207 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-4.0.266.0-r1.ebuild?r1=1.6&r2=1.7 |
208 |
|
209 |
Index: chromium-4.0.266.0-r1.ebuild |
210 |
=================================================================== |
211 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.266.0-r1.ebuild,v |
212 |
retrieving revision 1.6 |
213 |
retrieving revision 1.7 |
214 |
diff -u -r1.6 -r1.7 |
215 |
--- chromium-4.0.266.0-r1.ebuild 6 Feb 2010 20:18:24 -0000 1.6 |
216 |
+++ chromium-4.0.266.0-r1.ebuild 11 Feb 2010 12:13:29 -0000 1.7 |
217 |
@@ -1,9 +1,9 @@ |
218 |
# Copyright 1999-2010 Gentoo Foundation |
219 |
# Distributed under the terms of the GNU General Public License v2 |
220 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.266.0-r1.ebuild,v 1.6 2010/02/06 20:18:24 voyageur Exp $ |
221 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-4.0.266.0-r1.ebuild,v 1.7 2010/02/11 12:13:29 phajdan.jr Exp $ |
222 |
|
223 |
EAPI="2" |
224 |
-inherit eutils multilib toolchain-funcs |
225 |
+inherit eutils multilib portability toolchain-funcs |
226 |
|
227 |
DESCRIPTION="Open-source version of Google Chrome web browser" |
228 |
HOMEPAGE="http://chromium.org/" |
229 |
@@ -39,6 +39,23 @@ |
230 |
>=dev-util/pkgconfig-0.23 |
231 |
sys-devel/flex" |
232 |
|
233 |
+pkg_setup() { |
234 |
+ # Prevent user problems like bug 299777. |
235 |
+ if ! grep -q /dev/shm <<< $(get_mounts); then |
236 |
+ eerror "You don't have tmpfs mounted at /dev/shm." |
237 |
+ eerror "${PN} isn't going to work in that configuration." |
238 |
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab," |
239 |
+ eerror "run 'mount /dev/shm' and try again." |
240 |
+ die "/dev/shm is not mounted" |
241 |
+ fi |
242 |
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then |
243 |
+ eerror "/dev/shm does not have correct permissions." |
244 |
+ eerror "${PN} isn't going to work in that configuration." |
245 |
+ eerror "Please run chmod 1777 /dev/shm and try again." |
246 |
+ die "/dev/shm has incorrect permissions" |
247 |
+ fi |
248 |
+} |
249 |
+ |
250 |
src_prepare() { |
251 |
# Gentoo uses .kde4, not .kde |
252 |
# TODO: this does not work with kdeprefix, fixing http:/crbug.com/29927 |
253 |
|
254 |
|
255 |
|
256 |
1.27 www-client/chromium/chromium-9999.ebuild |
257 |
|
258 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-9999.ebuild?rev=1.27&view=markup |
259 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-9999.ebuild?rev=1.27&content-type=text/plain |
260 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium/chromium-9999.ebuild?r1=1.26&r2=1.27 |
261 |
|
262 |
Index: chromium-9999.ebuild |
263 |
=================================================================== |
264 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v |
265 |
retrieving revision 1.26 |
266 |
retrieving revision 1.27 |
267 |
diff -u -r1.26 -r1.27 |
268 |
--- chromium-9999.ebuild 8 Feb 2010 11:28:31 -0000 1.26 |
269 |
+++ chromium-9999.ebuild 11 Feb 2010 12:13:29 -0000 1.27 |
270 |
@@ -1,9 +1,9 @@ |
271 |
# Copyright 1999-2010 Gentoo Foundation |
272 |
# Distributed under the terms of the GNU General Public License v2 |
273 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.26 2010/02/08 11:28:31 phajdan.jr Exp $ |
274 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.27 2010/02/11 12:13:29 phajdan.jr Exp $ |
275 |
|
276 |
EAPI="2" |
277 |
-inherit eutils multilib toolchain-funcs subversion flag-o-matic |
278 |
+inherit eutils flag-o-matic multilib portability subversion toolchain-funcs |
279 |
|
280 |
DESCRIPTION="Open-source version of Google Chrome web browser" |
281 |
HOMEPAGE="http://chromium.org/" |
282 |
@@ -41,6 +41,23 @@ |
283 |
>=dev-util/pkgconfig-0.23 |
284 |
sys-devel/flex" |
285 |
|
286 |
+pkg_setup() { |
287 |
+ # Prevent user problems like bug 299777. |
288 |
+ if ! grep -q /dev/shm <<< $(get_mounts); then |
289 |
+ eerror "You don't have tmpfs mounted at /dev/shm." |
290 |
+ eerror "${PN} isn't going to work in that configuration." |
291 |
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab," |
292 |
+ eerror "run 'mount /dev/shm' and try again." |
293 |
+ die "/dev/shm is not mounted" |
294 |
+ fi |
295 |
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then |
296 |
+ eerror "/dev/shm does not have correct permissions." |
297 |
+ eerror "${PN} isn't going to work in that configuration." |
298 |
+ eerror "Please run chmod 1777 /dev/shm and try again." |
299 |
+ die "/dev/shm has incorrect permissions" |
300 |
+ fi |
301 |
+} |
302 |
+ |
303 |
src_unpack() { |
304 |
subversion_src_unpack |
305 |
mv "${S}" "${WORKDIR}"/depot_tools |