# ChangeLog for www-client/chromium-bin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.58 2010/02/11 17:01:59 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.59 2010/03/01 10:30:21 phajdan.jr Exp $
+
+ 01 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ chromium-bin-5.0.308.0_p37385.ebuild, chromium-bin-9999.ebuild:
+ Add check for $ROOT in the /dev/shm sanity check wrt latest comments in
+ bug #299777.
11 Feb 2010; Bernard Cafarelli <voyageur@gentoo.org>
chromium-bin-4.0.295.0_p35884.ebuild,
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild,v 1.4 2010/02/11 17:01:59 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-5.0.308.0_p37385.ebuild,v 1.5 2010/03/01 10:30:21 phajdan.jr Exp $
EAPI="2"
inherit eutils multilib portability
QA_PRESTRIPPED="opt/chromium.org/chrome-linux/libffmpegsumo.so"
pkg_setup() {
- # Built with SSE2 enabled, so will fail on older processors
- if [[ ${ROOT} == "/" ]] && ! grep -q sse2 /proc/cpuinfo; then
- die "This binary requires SSE2 support, it will not work on older processors"
- fi
-
- # Prevent user problems like bug 299777.
- if ! grep -q /dev/shm <<< $(get_mounts); then
- eerror "You don't have tmpfs mounted at /dev/shm."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
- eerror "run 'mount /dev/shm' and try again."
- die "/dev/shm is not mounted"
- fi
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then
- eerror "/dev/shm does not have correct permissions."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please run chmod 1777 /dev/shm and try again."
- die "/dev/shm has incorrect permissions"
+ if [[ "${ROOT}" == "/" ]]; then
+ # Built with SSE2 enabled, so will fail on older processors
+ if ! grep -q sse2 /proc/cpuinfo; then
+ die "This binary requires SSE2 support, it will not work on older processors"
+ fi
+
+ # Prevent user problems like bug 299777.
+ if ! grep -q /dev/shm <<< $(get_mounts); then
+ eerror "You don't have tmpfs mounted at /dev/shm."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
+ eerror "run 'mount /dev/shm' and try again."
+ die "/dev/shm is not mounted"
+ fi
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then
+ eerror "/dev/shm does not have correct permissions."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please run chmod 1777 /dev/shm and try again."
+ die "/dev/shm has incorrect permissions"
+ fi
fi
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.34 2010/02/11 17:01:59 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.35 2010/03/01 10:30:21 phajdan.jr Exp $
EAPI="2"
inherit eutils multilib portability
QA_PRESTRIPPED="opt/chromium.org/chrome-linux/libffmpegsumo.so"
pkg_setup() {
- # Built with SSE2 enabled, so will fail on older processors
- if [[ ${ROOT} == "/" ]] && ! grep -q sse2 /proc/cpuinfo; then
- die "This binary requires SSE2 support, it will not work on older processors"
- fi
-
- # Prevent user problems like bug 299777.
- if ! grep -q /dev/shm <<< $(get_mounts); then
- eerror "You don't have tmpfs mounted at /dev/shm."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
- eerror "run 'mount /dev/shm' and try again."
- die "/dev/shm is not mounted"
- fi
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then
- eerror "/dev/shm does not have correct permissions."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please run chmod 1777 /dev/shm and try again."
- die "/dev/shm has incorrect permissions"
+ if [[ "${ROOT}" == "/" ]]; then
+ # Built with SSE2 enabled, so will fail on older processors
+ if ! grep -q sse2 /proc/cpuinfo; then
+ die "This binary requires SSE2 support, it will not work on older processors"
+ fi
+
+ # Prevent user problems like bug 299777.
+ if ! grep -q /dev/shm <<< $(get_mounts); then
+ eerror "You don't have tmpfs mounted at /dev/shm."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
+ eerror "run 'mount /dev/shm' and try again."
+ die "/dev/shm is not mounted"
+ fi
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then
+ eerror "/dev/shm does not have correct permissions."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please run chmod 1777 /dev/shm and try again."
+ die "/dev/shm has incorrect permissions"
+ fi
fi
}
# ChangeLog for www-client/chromium
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.61 2010/02/27 15:50:21 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.62 2010/03/01 10:26:59 phajdan.jr Exp $
+
+ 01 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ chromium-5.0.307.11.ebuild, chromium-5.0.335.0.ebuild,
+ chromium-9999.ebuild:
+ Add check for $ROOT in the /dev/shm sanity check wrt latest comments in
+ bug #299777.
*chromium-5.0.307.11 (27 Feb 2010)
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.11.ebuild,v 1.1 2010/02/27 15:50:21 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.307.11.ebuild,v 1.2 2010/03/01 10:26:59 phajdan.jr Exp $
EAPI="2"
inherit eutils flag-o-matic multilib portability toolchain-funcs
sys-devel/flex"
pkg_setup() {
- # Prevent user problems like bug 299777.
- if ! grep -q /dev/shm <<< $(get_mounts); then
- eerror "You don't have tmpfs mounted at /dev/shm."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
- eerror "run 'mount /dev/shm' and try again."
- die "/dev/shm is not mounted"
- fi
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then
- eerror "/dev/shm does not have correct permissions."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please run chmod 1777 /dev/shm and try again."
- die "/dev/shm has incorrect permissions"
+ if [[ "${ROOT}" == "/" ]]; then
+ # Prevent user problems like bug 299777.
+ if ! grep -q /dev/shm <<< $(get_mounts); then
+ eerror "You don't have tmpfs mounted at /dev/shm."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
+ eerror "run 'mount /dev/shm' and try again."
+ die "/dev/shm is not mounted"
+ fi
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then
+ eerror "/dev/shm does not have correct permissions."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please run chmod 1777 /dev/shm and try again."
+ die "/dev/shm has incorrect permissions"
+ fi
fi
elog "${PN} might crash occasionally. To get more useful backtraces"
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.335.0.ebuild,v 1.1 2010/02/25 09:06:18 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.335.0.ebuild,v 1.2 2010/03/01 10:26:59 phajdan.jr Exp $
EAPI="2"
inherit eutils flag-o-matic multilib portability toolchain-funcs
sys-devel/flex"
pkg_setup() {
- # Prevent user problems like bug 299777.
- if ! grep -q /dev/shm <<< $(get_mounts); then
- eerror "You don't have tmpfs mounted at /dev/shm."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
- eerror "run 'mount /dev/shm' and try again."
- die "/dev/shm is not mounted"
- fi
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then
- eerror "/dev/shm does not have correct permissions."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please run chmod 1777 /dev/shm and try again."
- die "/dev/shm has incorrect permissions"
+ if [[ "${ROOT}" == "/" ]]; then
+ # Prevent user problems like bug 299777.
+ if ! grep -q /dev/shm <<< $(get_mounts); then
+ eerror "You don't have tmpfs mounted at /dev/shm."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
+ eerror "run 'mount /dev/shm' and try again."
+ die "/dev/shm is not mounted"
+ fi
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then
+ eerror "/dev/shm does not have correct permissions."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please run chmod 1777 /dev/shm and try again."
+ die "/dev/shm has incorrect permissions"
+ fi
fi
elog "${PN} might crash occasionally. To get more useful backtraces"
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.30 2010/02/23 18:26:17 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.31 2010/03/01 10:26:59 phajdan.jr Exp $
EAPI="2"
inherit eutils flag-o-matic multilib portability subversion toolchain-funcs
sys-devel/flex"
pkg_setup() {
- # Prevent user problems like bug 299777.
- if ! grep -q /dev/shm <<< $(get_mounts); then
- eerror "You don't have tmpfs mounted at /dev/shm."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
- eerror "run 'mount /dev/shm' and try again."
- die "/dev/shm is not mounted"
- fi
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then
- eerror "/dev/shm does not have correct permissions."
- eerror "${PN} isn't going to work in that configuration."
- eerror "Please run chmod 1777 /dev/shm and try again."
- die "/dev/shm has incorrect permissions"
+ if [[ "${ROOT}" == "/" ]]; then
+ # Prevent user problems like bug 299777.
+ if ! grep -q /dev/shm <<< $(get_mounts); then
+ eerror "You don't have tmpfs mounted at /dev/shm."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please uncomment the /dev/shm entry in /etc/fstab,"
+ eerror "run 'mount /dev/shm' and try again."
+ die "/dev/shm is not mounted"
+ fi
+ if [ `stat -c %a /dev/shm` -ne 1777 ]; then
+ eerror "/dev/shm does not have correct permissions."
+ eerror "${PN} isn't going to work in that configuration."
+ eerror "Please run chmod 1777 /dev/shm and try again."
+ die "/dev/shm has incorrect permissions"
+ fi
fi
elog "${PN} might crash occasionally. To get more useful backtraces"