summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mysql/mariadb.inc
Commit message (Collapse)AuthorAgeFilesLines
* mariadb: Upgrade to 5.5.55Khem Raj2017-04-261-2/+3
| | | | | | | Fix build with gcc7 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: Do not use ucontext_* APIs with muslKhem Raj2017-04-051-0/+1
| | | | | | musl has ucontext.h header but does not implement the APIs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: use faster download URLTim Orling2016-11-231-1/+1
| | | | | | | The current URL takes about 2 hours to download. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: update to version 5.5.52Armin Kuster2016-10-051-3/+2
| | | | | | | Update to latest from 5.5.50 to 5.5.52, maintenance updates. includes CVE-2016-6662 affects < 5.5.51 Signed-off-by: Armin Kuster <akuster808@gmail.com>
* mariadb: replace the CC with CC_VERSION and CXX with CXX_VERSIONYue Tao2016-10-051-0/+1
| | | | | | | | | | mysqlbug.sh is a bug report script. It makes a report with the build information, including gcc version. The CC is the local path of gcc, which is useless for bug report, and the path may expose private information, so change it to CC_VERSION. Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: add libdbd-mysql-perl to RDEPENDSMingli Yu2016-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add libdbd-mysql-perl to RDEPENDS as mysql_setpermission depends on DBD::mysql module root@test:~# mysql_setpermission -h Option h is ambiguous (help, host) Password for user to connect to MySQL: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (you may need to install the DBD::mysql module) (@INC contains: /etc/perl /usr/lib64/perl/site_perl/5.22.1/ /usr/lib64/perl/site_perl/5.22.1 /usr/lib64/perl/vendor_perl/5.22.1/ /usr/lib64/perl/vendor_perl/5.22.1 /usr/lib64/perl/5.22.1/ /usr/lib64/perl/5.22.1 /usr/local/lib/site_perl /usr/lib64/perl/5.22.1 .) at (eval 11) line 3, <STDIN> line 1. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge. at /usr/bin/mysql_setpermission line 90. * Add libmysqlclient to Provides as libdbd-mysql-perl depend on it Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: add libdbi-perl to RDEPENDSZhixiong Chi2016-10-031-1/+1
| | | | | | | | | | | | The commands(mysql_convert_table_format and mysql_setpermission) need the supported API provided by the libdbi-perl package. So add the libdbi-perl to the variable RDEPENDS of mariabdb-server. Move libdbi-perl from meta-perl to meta-oe Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com> Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: fix indentationMartin Jansa2016-08-221-2/+2
| | | | | | | | * remove tabs which sneaked in since last cleanup * meta-oe layers are using consistent indentation with 4 spaces, see http://www.openembedded.org/wiki/Styleguide Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: upgrade to 5.5.50Kai Kang2016-07-291-2/+3
| | | | | | | | | Upgrade mariadb from 5.5.46 to 5.5.50. * update runtime dependency of mariadb-setupdb which requires command install Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: Fix rootfs creation errorsLi xin2016-04-281-1/+4
| | | | | | | | error: file /usr/share/doc/README from install of mariadb-leftovers-5.5.46-* conflicts with file from package dmidecode-doc-2.12-* Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: -native also needs gold workaroundKoen Kooi2016-01-141-0/+3
| | | | | | | When the host distro uses gold mariadb-native fails to build. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb.inc: fix mysqld hung at first init time based on systemdHongxu Jia2015-12-181-24/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While SYSTEMD_AUTO_ENABLE_mariadb-server = "enable", the mysqld service hungs. ... [ **] A start job is running for Run pending postinsts (25s / no limit) [ OK ] Stopped MariaDB database server. ... In mariadb-server's pkg_postinst, it install db at first runtime. And the following 'systemctl mysqld restart' casued the hunging. So the fix idea is to reomove pkg_postinst and still install db at first runtime. Introduce mysql-systemd-start from ${S}/packaging/rpm-oel/. For review convenience, we add them as file. The mysql-systemd-start provides two functions: the install_db is to install db at fist runtime (the first runtime means if a db existed, the install_db will directly exit); the pinger is to wait for mysqld service startup completed. The mysqld.service add ExecStartPost than previous which invoke 'mysql-systemd-start post' to wait for mysqld service startup completed. We add a package to provide install_db, so the user could choose it to install database for mariadb at first boot before mysqld started. It also fix another issue: When you manually restart mysqld and do mysql test to connect the server, the return of the restart could make sure mysqld is ready, and the following db connect will not fail with: ... Can't connect to local MySQL server through socket ... Tweak my.cnf to remove obsolete/incorrect parameter. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: update to 5.5.46Randy MacLeod2015-11-061-2/+2
| | | | | | | | | | This is the latest release in the 5.5.x stable series. It fixes 11 CVEs as listed: https://mariadb.com/kb/en/mariadb/mariadb-5546-release-notes/ and fixes 10s of internal MariaDB tracked defects. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: Easy linkage of code using libmysqlclient_rOtavio Salvador2015-10-131-0/+3
| | | | | | | | | | | | The libmysqlclient_r library is now a symbolic link for the libmysqlclient one, however some code still requires it for linking. To easy the transition, when installing the libmysqlclient-dev we should include the libmysqlclient-r-dev as well. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: update to 5.5.45Koen Kooi2015-08-311-8/+9
| | | | | | | This is the latest release in the 5.5.x stable series. The CVE patch has been applied upstream. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: fix tarball fetch URLMario Domenech Goulart2015-08-311-1/+1
| | | | | | | | http://mirror.stshosting.co.uk/mariadb responds with a 404 error, so use http://archive.mariadb.org instead. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: update for packgeconfig valgrindKai Kang2015-07-161-1/+1
| | | | | | | | | | | | | | | | When 'valgrind' is not in PACKAGECONFIG, 'WITHOUT_VALGRIND' is passed to cmake but it is not a valid cmake macro. Warning messages show in log.do_configure: CMake Warning: Manually-specified variables were not used by the project: WITHOUT_VALGRIND Use -DWITH_VALGRIND=FALSE instead. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: fix floating dependency on krb5Roy Li2015-06-171-0/+9
| | | | | | | | | | | | | Mariadb depends on openssl, openssl conditionally depends on krb5 by checking if OPENSSL_NO_KRB5 is defined, but cmake can not handle "ifndef" and always ask krb5.h if krb5.h exist when cmake make_depend; Faking a kssl.h if krb5 is not in PACKAGECONF, which does not include krb5 related declaration, install the faked kssl.h into build dir to be searched firstly Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: Security Advisory -CVE-2015-2305Roy Li2015-06-081-0/+1
| | | | | | | https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-2305 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb.inc: use x86 over-ride instead of i586Andre McCurdy2015-06-081-1/+1
| | | | | | | Support i686 without needing to duplicate the i586 over-ride. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: upgrade to 5.5.43Roy Li2015-05-131-2/+3
| | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: make it be able to work with SELinuxRoy Li2015-02-121-0/+1
| | | | | | | | | | | 1. change the datadir from /var/mysql to /var/lib/mysql 2. after creating datedir, restorecon on it, make SELinux be able to work 3. Add the PIDFile for systemd unit file, otherwise systemctl can not stop mysqld Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: mariadb-server depends on mariadb-clientRoy Li2015-02-121-1/+2
| | | | | | | | | /etc/init.d/mysqld from mariadb-server uses mysqladmin, which is installed into mariadb-client, so add the dependency to make this script be able to run Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: update to 5.5.41Paul Eggleton2015-01-081-3/+2
| | | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: re-package configure filesKang Kai2014-11-241-3/+8
| | | | | | | | | | | | | | | | | | | | There are 3 configure files under /etc/my.cnf.d: client.cnf: options for client library mysql-clients.cnf: options for MariaDB tools such as mysqladmin, etc server.cnf: options for server They are packaged to mariadb-leftover at this moment. That is not correct. Split them into sub-packages: client.cnf --> libmysqlclient mysql-clients.cnf --> mariadb-client server.cnf --> mariadb-server Make these files as configure file by CONFFILES and update global configure file my.cnf to include /etc/my.cnf.d as well. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* mariadb: Update from version 5.5.39 to 5.5.40Kang Kai2014-11-241-0/+256
* rename mariadb_5.5.39.inc -> mariadb.inc * add dependency bision-native for mariadb-native * add revert-fix-for-MDEV-5120.patch to revert an commit for mariadb test suite which causes packages mysql-python and modphp fail to build * add PACKAGECONFIG 'libedit' Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>