From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1K1Ybk-0005qq-Es for garchives@archives.gentoo.org; Thu, 29 May 2008 03:15:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81F3FE0102; Thu, 29 May 2008 03:15:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5F8EBE0102 for ; Thu, 29 May 2008 03:15:15 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id F31056764B for ; Thu, 29 May 2008 03:15:14 +0000 (UTC) Received: from robbat2 by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1K1Ybg-0007dQ-LD for gentoo-commits@lists.gentoo.org; Thu, 29 May 2008 03:15:13 +0000 From: "Robin H. Johnson (robbat2)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, robbat2@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: mysql.eclass X-VCS-Directories: eclass X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson Content-Type: text/plain; charset=utf8 Message-Id: Sender: "Robin H. Johnson" Date: Thu, 29 May 2008 03:15:12 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d42719c9-8f2c-4219-b24f-f0befcc81381 X-Archives-Hash: 1529844700c9b8cfc7dad848fbac9f37 robbat2 08/05/29 03:15:12 Modified: mysql.eclass Log: Bug #187024. Test for what user we are instead of FEATURES=3Duserpriv. = MySQL tests WILL fail if we are root. Revision Changes Path 1.91 eclass/mysql.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclas= s?rev=3D1.91&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclas= s?rev=3D1.91&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclas= s?r1=3D1.90&r2=3D1.91 Index: mysql.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v retrieving revision 1.90 retrieving revision 1.91 diff -p -w -b -B -u -u -r1.90 -r1.91 --- mysql.eclass 22 May 2008 18:13:33 -0000 1.90 +++ mysql.eclass 29 May 2008 03:15:12 -0000 1.91 @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.90 2008/05/22= 18:13:33 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.91 2008/05/29= 03:15:12 robbat2 Exp $ =20 # Author: Francesco Riosa (Retired) # Maintainer: MySQL Team @@ -469,8 +469,8 @@ pbxt_src_install() { mysql_pkg_setup() { if hasq test ${FEATURES} ; then if ! use minimal ; then - if ! hasq userpriv ${FEATURES} ; then - die "Testing with FEATURES=3D-userpriv is no longer supported by ups= tream" + if [[ $UID -eq 0 ]]; then + die "Testing with FEATURES=3D-userpriv is no longer supported by ups= tream. Tests MUST be run as non-root." fi fi fi --=20 gentoo-commits@lists.gentoo.org mailing list