summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mysql-multilib-r1.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* eclass/mysql-multilib-r1: use HTTPsMichael Mair-Keimberger2018-07-111-1/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/9135
* Revert "eclass: mysql - Add net-libs/libnsl for bug 643038"Brian Evans2018-04-291-2/+1
| | | | This reverts commit 18779934c83275fa077d7f4d7a8f6ec72a4316d5.
* Revert "eclass: Add MULTILIB_USEDEP to libnsl in mysql-multilib-r1"Brian Evans2018-04-291-1/+1
| | | | This reverts commit 235ae287011539cfc256a22aac5081d4f348609c.
* eclass: Add MULTILIB_USEDEP to libnsl in mysql-multilib-r1Brian Evans2018-04-291-1/+1
|
* eclass: mysql - Add net-libs/libnsl for bug 643038Brian Evans2018-04-291-1/+2
| | | | Bug: https://bugs.gentoo.org/643038
* mysql-multilib-r1.eclass: Remove emul-linux-x86-* blockersDavid Seifert2018-04-201-1/+0
|
* mysql-multilib-r1.eclass: Fix documentation wrt bug 637820Brian Evans2017-11-171-0/+4
| | | | Closes: https://bugs.gentoo.org/show_bug.cgi?id=637820
* eclass/mysql*: skip galera replication during pkg_config.Robin H. Johnson2017-10-281-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* mysql-{cmake,multilib-r1}.eclass: Remove duplicated management of runtime ↵Brian Evans2017-10-021-16/+0
| | | | | | directories Closes: https://bugs.gentoo.org/show_bug.cgi?id=632694
* mysql-{multilib,multilib-r1,v2}.eclass: Remove extra optionBrian Evans2017-10-021-2/+0
| | | | | | Causes the new su bootstrap to fail. Closes: https://bugs.gentoo.org/show_bug.cgi?id=632694
* mysql*.eclass: Tighten up creation of directoriesBrian Evans2017-09-281-22/+12
|
* mysql-multilib-r1.eclass: Update system options for fatal comparison bug 627568Brian Evans2017-08-111-2/+2
|
* mysql-multilib-r1.eclass: Ensure the right pkg-config is calledBrian Evans2017-07-081-0/+1
|
* mysql-multilib-r1.eclass: Only detect systemd-notify for native ABI and ↵Brian Evans2017-07-081-4/+7
| | | | server USE
* mysql-multilib-r1.eclass: fix @ECLASS documentation wrt bug 618912Brian Evans2017-05-191-1/+1
|
* eclass/mysql-multilib-r1: Fix quoting in initial configBrian Evans2017-03-281-2/+2
|
* eclass/mysql-multilib-r1: Move virtual/mysql PDEPEND behind server USEBrian Evans2017-03-181-1/+1
|
* eclass/mysql-multilib-r1: Set usex values for two variablesBrian Evans2017-03-171-2/+2
|
* mysql-multilib-r1.eclass: Replace unnecessary eval with bash arrayMichał Górny2017-03-081-6/+6
|
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* mysql*.eclass: remove built_with_use function in pkg_configBrian Evans2017-02-221-1/+1
|
* eclass/mysql-multilib-r1: Ignore building SELinux policies for mysqld_safe ↵Brian Evans2017-02-011-4/+7
| | | | wrt #607928
* mysql-multilib-r1.eclass: Fix password reading from my.cnfThomas Deutschmann2016-09-261-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are reading multiple sections from my.cnf at once from my.cnf when looking for the password for the mysql root user in mysql-multilib-r1_pkg_config(). If each section has set a password option this will result in the following invalid password value (with "set -x"): ++ local extra_options= ++ //usr/bin/my_print_defaults client mysql ++ sed -n '/^--password=/s,--password=,,gp' + MYSQL_ROOT_PASSWORD='***** *****' + [[ ***** ***** == \*\*\*\*\* ]] + set +x Like you can see the two passwords are concatenated via newline in one string which is not what we want. With this commit we will no longer read all sections at once instead we read section per section. We are now also telling the user where we are looking for the password and where we found one. In addition this commit adds a sanity check for newline to catch scenarios where the user for example has inadvertently set multiple password options in one section which we can't handle: In that case it is better to prompt for a password like no password was set in my.cnf instead of initializing mysqld with a mysql root password the user is not expecting. Gentoo-Bug: https://bugs.gentoo.org/510724
* mysql-multilib-r1.eclass: Use *_is_at_least from versionator eclassThomas Deutschmann2016-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | Since dev-db/percona-server was bumped to EAPI=6 usage mysql_fx eclass is no longer inherited [Link1] which results in an error like > # emerge --config dev-db/percona-server > > Configuring pkg... > > * Creating the mysql database and setting proper permissions on it ... > /var/tmp/portage/dev-db/percona-server-5.6.32.78.0/temp/environment: line 4697: mysql_version_is_at_least: command not found To fix this problem I replaced the call to "mysql_version_is_at_least" function from mysql_fx eclass with a call to "version_is_at_least" function from versionator eclass we are already inheriting [Link2]. Link1: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n46 Link2: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n43 Gentoo-Bug: https://bugs.gentoo.org/594298
* mysql-cmake/mysql-multilib eclasses: set STACK_DIRECTION to fix cross-compilesMike Frysinger2016-06-111-0/+3
|
* mysql-multilib-r1.eclass: Remove private header and don't install tests wrt ↵Brian Evans2016-05-111-6/+15
| | | | | | | | | | bug 582738 The private include file mysql/private/config.h is not needed by anything and should not be referenced. It will never match in multiple ABIs so just remove it. When USE=-test, don't install tests which would just be removed later anyway.
* mysql-multilib-r1: Add missing cmake variable to install static libraries ↵Brian Evans2016-03-241-0/+1
| | | | wrt bug 578154
* mysql-multilib-r1.eclass: Fix virtual/mysql USE dependencyBrian Evans2016-03-091-1/+1
|
* mysql-multilib-r1.eclass: Move the virtual/libmysqlclient PDEPEND to the ↵Brian Evans2016-03-091-1/+2
| | | | providers
* mysql-multilib-r1: Add EAPI 6 supportBrian Evans2016-02-281-31/+113
|
* mysql eclasses: Add missing SQL command after setting root password wrt bug ↵Brian Evans2016-02-071-1/+1
| | | | | | | 574040 When updating the table by hand, we don't do FLUSH PRIVILEGES before inserting the next command which can stop the loading of the timezone and help tables.
* mysql-multilib-r1.eclass: Add missing REQUIRED_USE which caused a block on ↵Brian Evans2015-12-311-1/+1
| | | | | | ~arch packages Signed-off-by: Brian Evans <grknight@gentoo.org>
* mysql-multilib-r1.eclass: Add gitweb snapshot for extras file to SRC_URIBrian Evans2015-12-231-0/+1
|
* mysql-multilib-r1.eclass: Adjust documentation comments wrt bug 568240Brian Evans2015-12-141-3/+4
| | | | Signed-off-by: Brian Evans <grknight@gentoo.org>
* mysql-multilib-r1.eclass: New Eclass for building mysql serversBrian Evans2015-12-131-0/+1044
This eclass is a revision to the previous mysql-multilib to clean up the duplicated code. This includes specific dependencies for certain providers. Provider specific information will be kept in the provider's ebuilds. Only common items should be placed here and possibly exceptions to those rules. Signed-off-by: Brian Evans <grknight@gentoo.org>