summaryrefslogtreecommitdiffstats
path: root/package/mysql
Commit message (Collapse)AuthorAgeFilesLines
* mysql: don't install libraries in /usr/lib/mysql directoryArnout Vandecappelle2015-12-292-5/+182
| | | | | | | | | | | | | | | | | | Installing libraries in a subdirectory of /usr/lib leads to no end of trouble. It requires either setting a RUN_PATH in the ELF files linked with it or adding the path to ld.so.conf and calling ldconfig on the target. So to simplify things, put everything in /usr/lib instead of /usr/lib/mysql [Thomas: - tweak commit title. - also remove ld.so.conf handling in mysql.mk, since it is no longer necessary.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: fix start script for /run on separate tmpfsArnout Vandecappelle2015-12-121-3/+7
| | | | | | | | | | | | | | Recently the default skeleton was changed to have /run as a separate tmpfs instead of a symlink to /tmp. /run is not world-writable, but mysqld tries to write its PID file as user mysql. Therefore, it fails to start. To fix, create /run/mysql and give it to user mysql. While we're at it, change the paths to /run instead of /var/run. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mysql: unconditionally define host variablesYann E. MORIN2015-11-171-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | To build the host-mysql, we only build parts of the source, just the strictly minimum required to then cross-compile it. However, the host variables (conf opts, build and install cmds) are only defined when the mysql server is enabled in the configuration. So, this breaks: make defconfig; make host-mysql Even though it is not much use to have that partial host-mysql on its own, it is still very interesting to be able to build it, if at least for testing changes in the core package infrastructures (like new step hooks or the likes...) Move the definitions of the host variant out of the server conditional block. [Peter: add comment about what we build and why as suggested by Arnout] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Marcelo Gutiérrez(UTN/FRH) <kuyurix@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-2/+2
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mysql: systemd supportAlex Suykov2015-07-132-0/+18
| | | | | | | | | Service startup follows sysv initscript and includes db init. [Thomas: use a relative symlink rather than an absolute symlink.] Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: remove stray commentThomas Petazzoni2015-04-091-1/+0
| | | | | | | | | | In commit 9863553fe8fa16a4d19f652b409a44bb58ef5567 ("packages: all salute the passing of avr32"), the dependency on !BR2_avr32 was removed, but not the comment above it. So now, the comment seems to apply to a line selecting some library, which doesn't make sense. This commit gets rid of the unneeded and confusing comment. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: all salute the passing of avr32Yann E. MORIN2015-02-141-1/+0
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: add hashGustavo Zacarias2015-01-141-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mysql: do not force a static build for internal programsYann E. MORIN2014-12-221-0/+18
| | | | | | | | | | | | | | | | | | | mysql wants to statically link some of the programs it uses internally, like conf_to_src (whatever it is used for) which links against -lz. This does not work for a shared-only build, as we would be missing libz.a in that case. Fix that by not forcing static builds for internal programs. Fixes a slew of autobuild failures: http://autobuild.buildroot.net/results/018/018a579f37c9c8eca5a36fc76e93508dcf9bba35/ http://autobuild.buildroot.net/results/2cc/2cc481b0ae43713a6fc50a1ca720f91384892af7/ http://autobuild.buildroot.net/results/d98/d985c5824f9012374d64e6085d6c8ec9b3cd932b/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mysql: rename patches to the new conventionYann E. MORIN2014-12-226-0/+0
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: host variant needs ncurses as wellPeter Korsgaard2014-11-191-1/+1
| | | | | | | | | | | | | | Similar to the target variant. Fixes: http://autobuild.buildroot.net/results/0b8/0b8411482def8fdfba0aaaa19be01a477707d874/ http://autobuild.buildroot.net/results/dc0/dc0dd9e878edd2b359900d02e1d53d294321c00b/ http://autobuild.buildroot.net/results/dde/dde299d341135b547bd5c6a59edd7ba76f12ad10/ http://autobuild.buildroot.net/results/67a/67a3fc90fc26241f0c8257d08fb44ceea07f1335/ And many more. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-6/+6
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: no longer pass --disable-dependency-tracking in individual packagesThomas Petazzoni2014-08-291-1/+0
| | | | | | | | | Now that --disable-dependency-tracking is passed by the autotools-package infrastructure, there's no longer any reason to pass it in individual packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mysql: host-mysql depends on host-zlibMarcelo Gutiérrez(UTN/FRH)2014-07-221-1/+1
| | | | | | | | | | | Fixes: http://autobuild.buildroot.org/results/ffe/ffe8229f869a67e84c1eacec0055cce8b1906441/ [Thomas: add autobuilder reference.] Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: add mysql init scriptMarcelo Gutiérrez(UTN/FRH)2014-07-212-0/+35
| | | | | | | | | | | [Thomas: explicitly specify the path to the PID file, and also on the first boot, generate the mandatory MySQL system tables so that the MySQL daemon actually starts properly.] Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> merge init script
* mysql: add mysql userMarcelo Gutiérrez(UTN/FRH)2014-07-211-0/+4
| | | | | | | | | | [Thomas: do not define a password nor a shell, add a description for the user.] Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> merge user def
* mysql: fix missing directoryMarcelo Gutiérrez(UTN/FRH)2014-07-211-0/+7
| | | | | Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: disable for AVR32Gustavo Zacarias2014-06-011-0/+2
| | | | | | | | The compiler can't even build it, fixes: http://autobuild.buildroot.net/results/b5c/b5c3893accc777d717e1d70283437aa626f0aa2d/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mysql: Add optional OpenSSL dependencyBernd Kuhls2014-05-171-0/+4
| | | | | | | Make sure OpenSSL is built before mysql. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mysql: Add optional zlib dependencyBernd Kuhls2014-05-171-0/+4
| | | | | | | Make sure zlib is built before mysql. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mysql: disable maintainer modeThomas Petazzoni2014-04-211-2/+4
| | | | | | | | | | | | | The maintainer mode enables additional gcc warnings, including -Werror, which causes build failures with certain toolchains. Since we generally don't enable -Werror in Buildroot, it doesn't make much sense to have it enabled for MySQL. Fixes: http://autobuild.buildroot.net/results/6b6/6b61f90d1a36ba43ff568933bb74975128380516/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: fix debugging optionsMarcelo Gutierrez2014-03-031-2/+9
| | | | | | | | | | | | | The usual --{en,dis}able-debug passed by the infrastructure are not recognised by mysql's ./configure, as it uses unusual options. Also, debugging is only meaningful to the server, not the client. Signed-off-by: Marcelo Gutierrez (UTN/FRH) <kuyurix@gmail.com> [yann.morin.1998@free.fr: actually add the options, move in server if-block] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: add option to build the serverMarcelo Gutierrez2014-03-035-1/+3411
| | | | | | Signed-off-by: Marcelo Gutierrez (UTN/FRH) <kuyurix@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mysql: bump to version 5.1.73Marcelo Gutiérrez(UTN/FRH)2014-02-031-1/+1
| | | | | Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mysql: rename the patches so they have a numberMarcelo Gutiérrez(UTN/FRH)2014-01-213-0/+0
| | | | | | | | Rename patches to add sequence numbers Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Rename MySQL client packageMarcelo Gutiérrez(UTN/FRH)2014-01-215-0/+279
MySQL client package has been renamed to MySQL. [Peter: fixup help text] Signed-off-by: Marcelo Gutiérrez <kuyurix@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud