Gentoo Archives: gentoo-commits

From: "PaweA Hajdan (phajdan.jr)" <phajdan.jr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/chromium-bin: chromium-bin-4.0.295.0_p35884.ebuild chromium-bin-5.0.308.0_p37385.ebuild ChangeLog chromium-bin-9999.ebuild chromium-bin-4.0.266.0_p33995.ebuild
Date: Thu, 11 Feb 2010 12:21:51
Message-Id: E1NfY3I-0000KW-JV@stork.gentoo.org
1 phajdan.jr 10/02/11 12:21:48
2
3 Modified: chromium-bin-4.0.295.0_p35884.ebuild
4 chromium-bin-5.0.308.0_p37385.ebuild ChangeLog
5 chromium-bin-9999.ebuild
6 Removed: chromium-bin-4.0.266.0_p33995.ebuild
7 Log:
8 Check /dev/shm sanity, bug #299777. Remove old.
9 (Portage version: 2.1.7.16/cvs/Linux i686)
10
11 Revision Changes Path
12 1.6 www-client/chromium-bin/chromium-bin-4.0.295.0_p35884.ebuild
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-4.0.295.0_p35884.ebuild?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-4.0.295.0_p35884.ebuild?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-4.0.295.0_p35884.ebuild?r1=1.5&r2=1.6
17
18 Index: chromium-bin-4.0.295.0_p35884.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-4.0.295.0_p35884.ebuild,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- chromium-bin-4.0.295.0_p35884.ebuild 26 Jan 2010 08:09:05 -0000 1.5
25 +++ chromium-bin-4.0.295.0_p35884.ebuild 11 Feb 2010 12:21:47 -0000 1.6
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-bin/chromium-bin-4.0.295.0_p35884.ebuild,v 1.5 2010/01/26 08:09:05 phajdan.jr Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-4.0.295.0_p35884.ebuild,v 1.6 2010/02/11 12:21:47 phajdan.jr Exp $
31
32 EAPI="2"
33 -inherit eutils multilib
34 +inherit eutils multilib portability
35
36 # Latest revision id can be found at
37 # http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST
38 @@ -49,6 +49,21 @@
39 if [[ ${ROOT} == "/" ]] && ! grep -q sse2 /proc/cpuinfo; then
40 die "This binary requires SSE2 support, it will not work on older processors"
41 fi
42 +
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_install() {
60
61
62
63 1.3 www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild
64
65 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild?rev=1.3&view=markup
66 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild?rev=1.3&content-type=text/plain
67 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild?r1=1.2&r2=1.3
68
69 Index: chromium-bin-5.0.308.0_p37385.ebuild
70 ===================================================================
71 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild,v
72 retrieving revision 1.2
73 retrieving revision 1.3
74 diff -u -r1.2 -r1.3
75 --- chromium-bin-5.0.308.0_p37385.ebuild 8 Feb 2010 11:35:33 -0000 1.2
76 +++ chromium-bin-5.0.308.0_p37385.ebuild 11 Feb 2010 12:21:47 -0000 1.3
77 @@ -1,9 +1,9 @@
78 # Copyright 1999-2010 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild,v 1.2 2010/02/08 11:35:33 phajdan.jr Exp $
81 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild,v 1.3 2010/02/11 12:21:47 phajdan.jr Exp $
82
83 EAPI="2"
84 -inherit eutils multilib
85 +inherit eutils multilib portability
86
87 # Latest revision id can be found at
88 # http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST
89 @@ -50,6 +50,21 @@
90 if [[ ${ROOT} == "/" ]] && ! grep -q sse2 /proc/cpuinfo; then
91 die "This binary requires SSE2 support, it will not work on older processors"
92 fi
93 +
94 + # Prevent user problems like bug 299777.
95 + if ! grep -q /dev/shm <<< $(get_mounts); then
96 + eerror "You don't have tmpfs mounted at /dev/shm."
97 + eerror "${PN} isn't going to work in that configuration."
98 + eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
99 + eerror "run 'mount /dev/shm' and try again."
100 + die "/dev/shm is not mounted"
101 + fi
102 + if [ `stat -c %a /dev/shm` -ne 1777 ]; then
103 + eerror "/dev/shm does not have correct permissions."
104 + eerror "${PN} isn't going to work in that configuration."
105 + eerror "Please run chmod 1777 /dev/shm and try again."
106 + die "/dev/shm has incorrect permissions"
107 + fi
108 }
109
110 src_install() {
111
112
113
114 1.57 www-client/chromium-bin/ChangeLog
115
116 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?rev=1.57&view=markup
117 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?rev=1.57&content-type=text/plain
118 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/ChangeLog?r1=1.56&r2=1.57
119
120 Index: ChangeLog
121 ===================================================================
122 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v
123 retrieving revision 1.56
124 retrieving revision 1.57
125 diff -u -r1.56 -r1.57
126 --- ChangeLog 8 Feb 2010 11:35:33 -0000 1.56
127 +++ ChangeLog 11 Feb 2010 12:21:47 -0000 1.57
128 @@ -1,6 +1,12 @@
129 # ChangeLog for www-client/chromium-bin
130 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
131 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.56 2010/02/08 11:35:33 phajdan.jr Exp $
132 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.57 2010/02/11 12:21:47 phajdan.jr Exp $
133 +
134 + 11 Feb 2010; Pawel Hajdan jr <phajdan.jr@g.o>
135 + -chromium-bin-4.0.266.0_p33995.ebuild,
136 + chromium-bin-4.0.295.0_p35884.ebuild,
137 + chromium-bin-5.0.308.0_p37385.ebuild, chromium-bin-9999.ebuild:
138 + Check /dev/shm sanity in pkg_setup, bug #299777. Also remove old.
139
140 08 Feb 2010; Pawel Hajdan jr <phajdan.jr@g.o>
141 chromium-bin-5.0.308.0_p37385.ebuild, chromium-bin-9999.ebuild,
142
143
144
145 1.33 www-client/chromium-bin/chromium-bin-9999.ebuild
146
147 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?rev=1.33&view=markup
148 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?rev=1.33&content-type=text/plain
149 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?r1=1.32&r2=1.33
150
151 Index: chromium-bin-9999.ebuild
152 ===================================================================
153 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v
154 retrieving revision 1.32
155 retrieving revision 1.33
156 diff -u -r1.32 -r1.33
157 --- chromium-bin-9999.ebuild 8 Feb 2010 11:35:33 -0000 1.32
158 +++ chromium-bin-9999.ebuild 11 Feb 2010 12:21:47 -0000 1.33
159 @@ -1,9 +1,9 @@
160 # Copyright 1999-2010 Gentoo Foundation
161 # Distributed under the terms of the GNU General Public License v2
162 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.32 2010/02/08 11:35:33 phajdan.jr Exp $
163 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.33 2010/02/11 12:21:47 phajdan.jr Exp $
164
165 EAPI="2"
166 -inherit eutils multilib
167 +inherit eutils multilib portability
168
169 DESCRIPTION="Open-source version of Google Chrome web browser (binary version)"
170 HOMEPAGE="http://code.google.com/chromium/"
171 @@ -44,6 +44,21 @@
172 if [[ ${ROOT} == "/" ]] && ! grep -q sse2 /proc/cpuinfo; then
173 die "This binary requires SSE2 support, it will not work on older processors"
174 fi
175 +
176 + # Prevent user problems like bug 299777.
177 + if ! grep -q /dev/shm <<< $(get_mounts); then
178 + eerror "You don't have tmpfs mounted at /dev/shm."
179 + eerror "${PN} isn't going to work in that configuration."
180 + eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
181 + eerror "run 'mount /dev/shm' and try again."
182 + die "/dev/shm is not mounted"
183 + fi
184 + if [ `stat -c %a /dev/shm` -ne 1777 ]; then
185 + eerror "/dev/shm does not have correct permissions."
186 + eerror "${PN} isn't going to work in that configuration."
187 + eerror "Please run chmod 1777 /dev/shm and try again."
188 + die "/dev/shm has incorrect permissions"
189 + fi
190 }
191
192 src_unpack() {