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

Diff of /eclass/mysql.eclass

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

Revision 1.102 Revision 1.103
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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.102 2008/11/29 02:30:43 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.103 2009/01/12 23:08:17 maekke Exp $
4 4
5# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 5# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
6# Maintainer: MySQL Team <mysql-bugs@gentoo.org> 6# Maintainer: MySQL Team <mysql-bugs@gentoo.org>
7# - Luca Longinotti <chtekk@gentoo.org> 7# - Luca Longinotti <chtekk@gentoo.org>
8# - Robin H. Johnson <robbat2@gentoo.org> 8# - Robin H. Johnson <robbat2@gentoo.org>
356 if mysql_version_is_at_least "5.1.11" ; then 356 if mysql_version_is_at_least "5.1.11" ; then
357 myconf="${myconf} $(use_with ssl)" 357 myconf="${myconf} $(use_with ssl)"
358 else 358 else
359 myconf="${myconf} $(use_with ssl openssl)" 359 myconf="${myconf} $(use_with ssl openssl)"
360 fi 360 fi
361 361
362 if mysql_version_is_at_least "5.0.60" ; then 362 if mysql_version_is_at_least "5.0.60" ; then
363 if use berkdb ; then 363 if use berkdb ; then
364 elog "Berkeley DB support was disabled due to build failures" 364 elog "Berkeley DB support was disabled due to build failures"
365 elog "on multiple arches, go to a version earlier than 5.0.60" 365 elog "on multiple arches, go to a version earlier than 5.0.60"
366 elog "if you want it again. Gentoo bug #224067." 366 elog "if you want it again. Gentoo bug #224067."
511 && ( use cluster || use extraengine ) \ 511 && ( use cluster || use extraengine ) \
512 && use minimal ; then 512 && use minimal ; then
513 eerror "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!" 513 eerror "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!"
514 die "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!" 514 die "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!"
515 fi 515 fi
516 516
517 # This should come after all of the die statements 517 # This should come after all of the die statements
518 enewgroup mysql 60 || die "problem adding 'mysql' group" 518 enewgroup mysql 60 || die "problem adding 'mysql' group"
519 enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user" 519 enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
520 520
521 mysql_check_version_range "4.0 to 5.0.99.99" \ 521 mysql_check_version_range "4.0 to 5.0.99.99" \

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103

  ViewVC Help
Powered by ViewVC 1.1.20