Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass
Date: Thu, 29 May 2008 05:29:16
Message-Id: E1K1ah5-0001ia-7R@stork.gentoo.org
1 robbat2 08/05/29 05:28:55
2
3 Modified: mysql.eclass
4 Log:
5 MySQL hates you if your machine is called localhost per bug #213475.
6
7 Revision Changes Path
8 1.93 eclass/mysql.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.93&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.93&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.92&r2=1.93
13
14 Index: mysql.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v
17 retrieving revision 1.92
18 retrieving revision 1.93
19 diff -p -w -b -B -u -u -r1.92 -r1.93
20 --- mysql.eclass 29 May 2008 05:17:16 -0000 1.92
21 +++ mysql.eclass 29 May 2008 05:28:54 -0000 1.93
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.92 2008/05/29 05:17:16 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.93 2008/05/29 05:28:54 robbat2 Exp $
27
28 # Author: Francesco Riosa (Retired) <vivo@g.o>
29 # Maintainer: MySQL Team <mysql-bugs@g.o>
30 @@ -475,6 +475,10 @@ mysql_pkg_setup() {
31 fi
32 fi
33
34 + # Bug #213475 - MySQL _will_ object strenously if your machine is named
35 + # localhost. Also causes weird failures.
36 + [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
37 +
38 # Check for USE flag problems in pkg_setup
39 if use static && use ssl ; then
40 eerror "MySQL does not support being built statically with SSL support enabled!"
41
42
43
44 --
45 gentoo-commits@l.g.o mailing list