Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/1] [RFC] replace mysql with mariadb 10.0
@ 2016-09-12 22:05 Ryan Coe
  2016-09-12 22:05 ` [Buildroot] [PATCH 1/1] [RFC] mysql: " Ryan Coe
  2016-09-14 22:41 ` [Buildroot] [PATCH 0/1] [RFC] replace mysql with mariadb 10.0 Stewart Smith
  0 siblings, 2 replies; 18+ messages in thread
From: Ryan Coe @ 2016-09-12 22:05 UTC (permalink / raw)
  To: buildroot

This patch represents my attempt to replace the aging mysql 5.1 that is
currently shipped with Buildroot. I am replacing mysql altogether with mariadb
version 10.0. I have been able to test this with both an arm and a x86_64
build. I have not tested it with systemd. This patch is based on the work done
by Sylvain Raybaud.

Ryan Coe (1):
  mysql: replace mysql with mariadb 10.0

 package/Config.in                                  |    2 +-
 package/mysql/0000-ac_cache_check.patch            |  156 -
 package/mysql/0001-configure-ps-cache-check.patch  |   39 -
 package/mysql/0001-fix_xtradb_cmakelist.patch      |   38 +
 package/mysql/0002-use-new-readline-iface.patch    |   21 -
 .../mysql/0003-ac_stack_direction-is-unset.patch   |   15 -
 .../mysql/0004-Fix-gen_lex_hash-execution.patch    |   32 -
 .../0005-bison_3_breaks_mysql_server_build.patch   | 3310 --------------------
 package/mysql/0006-no-force-static-build.patch     |   18 -
 .../0007-dont-install-in-mysql-directory.patch     |  182 --
 package/mysql/Config.in                            |   17 +-
 package/mysql/S97mysqld                            |  102 +-
 package/mysql/my.cnf                               |  179 ++
 package/mysql/mysql.hash                           |    4 +-
 package/mysql/mysql.mk                             |  183 +-
 package/mysql/mysqld.service                       |    4 +-
 16 files changed, 392 insertions(+), 3910 deletions(-)
 delete mode 100644 package/mysql/0000-ac_cache_check.patch
 delete mode 100644 package/mysql/0001-configure-ps-cache-check.patch
 create mode 100644 package/mysql/0001-fix_xtradb_cmakelist.patch
 delete mode 100644 package/mysql/0002-use-new-readline-iface.patch
 delete mode 100644 package/mysql/0003-ac_stack_direction-is-unset.patch
 delete mode 100644 package/mysql/0004-Fix-gen_lex_hash-execution.patch
 delete mode 100644 package/mysql/0005-bison_3_breaks_mysql_server_build.patch
 delete mode 100644 package/mysql/0006-no-force-static-build.patch
 delete mode 100644 package/mysql/0007-dont-install-in-mysql-directory.patch
 create mode 100644 package/mysql/my.cnf

-- 
2.9.3

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [Buildroot] [1/1,RFC] mysql: replace mysql with mariadb 10.0
@ 2016-09-15 21:09 Floris Bos
  2016-09-15 21:17 ` Arnout Vandecappelle
  0 siblings, 1 reply; 18+ messages in thread
From: Floris Bos @ 2016-09-15 21:09 UTC (permalink / raw)
  To: buildroot

> >/This patch represents my attempt to replace the aging mysql 5.1 that is />/currently shipped with Buildroot. I am replacing mysql altogether with 
> mariadb />/version 10.0. I have been able to test this with both an arm and a 
> x86_64 />/build. I have not tested it with systemd. This patch is based on the 
> work done />/by Sylvain Raybaud. /
> Would it be better to just add MariaDB rather than replace MySQL,
> there's reasons to use one over the other.


While a virtual package may be helpful if in the future someone would 
like to add another MySQL implementation.
I do have concerns about the existing mysql package, given that:

- the MySQL branch used has been EOL since 2013
- there has been an number of CVE issues since: 
https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=oracle+mysql
(and cve-2016-6662 not yet in the list)
- it listens to all interfaces by default

How responsible is it to keep packages in such state around, when there 
do are alternatives?


Yours sincerely,

Floris Bos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160915/5ca5ee8f/attachment.html>

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-09-23 23:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12 22:05 [Buildroot] [PATCH 0/1] [RFC] replace mysql with mariadb 10.0 Ryan Coe
2016-09-12 22:05 ` [Buildroot] [PATCH 1/1] [RFC] mysql: " Ryan Coe
2016-09-14 14:46   ` [Buildroot] [1/1,RFC] " Floris Bos
2016-09-14 18:44     ` Ryan Coe
2016-09-19  3:43   ` [Buildroot] [RFC v2] mysql: replace mysql with mariadb 10.1 Ryan Coe
2016-09-19  3:43     ` Ryan Coe
2016-09-19  5:42       ` Thomas Petazzoni
2016-09-21 22:02         ` Arnout Vandecappelle
2016-09-22  5:33           ` Thomas Petazzoni
2016-09-22  9:28             ` Floris Bos
2016-09-23 23:00         ` Ryan Coe
2016-09-22 11:00     ` Floris Bos
2016-09-14 22:41 ` [Buildroot] [PATCH 0/1] [RFC] replace mysql with mariadb 10.0 Stewart Smith
2016-09-15  6:18   ` Arnout Vandecappelle
2016-09-17 13:51   ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2016-09-15 21:09 [Buildroot] [1/1,RFC] mysql: " Floris Bos
2016-09-15 21:17 ` Arnout Vandecappelle
2016-09-17 13:50   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox