/[gentoo-x86]/eclass/mysql.eclass
Gentoo

Diff of /eclass/mysql.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.124 Revision 1.125
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.124 2010/01/31 03:05:54 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.125 2010/01/31 05:00:43 robbat2 Exp $
4 4
5# @ECLASS: mysql.eclass 5# @ECLASS: mysql.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 7# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
8# Maintainers: MySQL Team <mysql-bugs@gentoo.org> 8# Maintainers: MySQL Team <mysql-bugs@gentoo.org>
551 && use minimal ; then 551 && use minimal ; then
552 eerror "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!" 552 eerror "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!"
553 die "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!" 553 die "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!"
554 fi 554 fi
555 555
556 # Bug #290570 fun. Upstream made us need a fairly new GCC4.
557 if mysql_version_is_at_least "5.0.83" ; then
558 GCC_VER=$(gcc_version)
559 case ${GCC_VER} in
560 2*|3*|4.0|4.1|4.2) die "Active GCC too old! Must have at least GCC4.3" ;;
561 esac
562 fi
563
556 # This should come after all of the die statements 564 # This should come after all of the die statements
557 enewgroup mysql 60 || die "problem adding 'mysql' group" 565 enewgroup mysql 60 || die "problem adding 'mysql' group"
558 enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user" 566 enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
559 567
560 mysql_check_version_range "4.0 to 5.0.99.99" \ 568 mysql_check_version_range "4.0 to 5.0.99.99" \

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125

  ViewVC Help
Powered by ViewVC 1.1.20