<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb, branch master</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2014-08-10T14:07:19+00:00</updated>
<entry>
<title>mariadb: update to 5.5.38</title>
<updated>2014-08-10T14:07:19+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2014-08-08T14:16:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=e751af9f900834759e59ad2b46a7118a508069e4'/>
<id>urn:sha1:e751af9f900834759e59ad2b46a7118a508069e4</id>
<content type='text'>
* Upstream switched from autotools to cmake
* Separate build dir and parallel make now work
* Library versioning no longer used for plugins; other libtool cruft
  gone
* Proper upstream initscript
* Plugins moved from client library package to mariadb-server package
  (matches how Fedora packages these)

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>mariadb: move linker fix to .inc</title>
<updated>2014-02-23T22:17:30+00:00</updated>
<author>
<name>Koen Kooi</name>
<email>koen.kooi@linaro.org</email>
</author>
<published>2014-02-19T08:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=0d4dac81c62fab275be360bca44e43a49350ec6e'/>
<id>urn:sha1:0d4dac81c62fab275be360bca44e43a49350ec6e</id>
<content type='text'>
When using a recent cross-binutils you need this fix as well, so move it from -native to the .inc.

Signed-off-by: Koen Kooi &lt;koen.kooi@linaro.org&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>mariadb-native: fix dependencies</title>
<updated>2013-12-31T09:52:22+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2013-12-30T14:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=351f716ba433c1945cfd6bc105d731cd225dbdb0'/>
<id>urn:sha1:351f716ba433c1945cfd6bc105d731cd225dbdb0</id>
<content type='text'>
* unlike BBCLASSEXTENDed native support, dependencies in mariadb-native don't get
  automatic -native suffix, so mariadb-native was depending on target ncurses and zlib.
* move the dependency from .inc and apply it with right suffix

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>mariadb-native: fix link error on Ubuntu 13.10</title>
<updated>2013-12-21T18:16:51+00:00</updated>
<author>
<name>Wenzong Fan</name>
<email>wenzong.fan@windriver.com</email>
</author>
<published>2013-12-05T07:10:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=5916ffe0a19422706d1f84870adc603bad202f1c'/>
<id>urn:sha1:5916ffe0a19422706d1f84870adc603bad202f1c</id>
<content type='text'>
Below errors only occurs on Ubuntu 13.10:

$arch-linux-libtool: link: g++ ... -o .libs/mysqltest_embedded \
    ../../libmysqld/.libs/libmysqld.so -ldl

    ../../libmysqld/.libs/libmysqld.so: undefined reference to `dlopen'
    ../../libmysqld/.libs/libmysqld.so: undefined reference to `dlclose'
    ../../libmysqld/.libs/libmysqld.so: undefined reference to `dlerror'
    ../../libmysqld/.libs/libmysqld.so: undefined reference to `dlsym'

GCC/ld verion on the host:
    gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
    GNU ld (GNU Binutils for Ubuntu) 2.23.52.20130913

This is a strange behavior on Ub13.10, it fails even '-ldl' in the
link command line. This patch will append '-ldl' to dependency_libs
in libmysqld.la.

Signed-off-by: Wenzong Fan &lt;wenzong.fan@windriver.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>mariadb-native: depends on zlib-native</title>
<updated>2013-10-31T09:27:15+00:00</updated>
<author>
<name>Wenzong Fan</name>
<email>wenzong.fan@windriver.com</email>
</author>
<published>2013-10-25T06:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=274147fc56e3f8900547841758930b6aff282069'/>
<id>urn:sha1:274147fc56e3f8900547841758930b6aff282069</id>
<content type='text'>
Mariadb will provide zlib.* if it can't find zlib binaries and headers
from sysroots path. We have set it to use external zlib.* firstly with
these definitions/configs in inc file:

    + DEPENDS = "ncurses zlib"
    + --with-zlib-dir=${STAGING_EXECPREFIXDIR}

But native bb file overrides the dependencies with:

    + DEPENDS = "ncurses-native"

If mariadb-naitve was built before zlib-native, its own zlib will be
built and provide zlib.la which will brake other packages link to real
zlib with errors like:

    * .../usr/lib/libz.a(gzclose.o): relocation R_X86_64_32 against \
      `a local symbol' can not be used when making a shared object; \
      recompile with -fPIC
    * .../usr/lib/libz.a: could not read symbols: Bad value

By removing the DEPENDS = "ncurses-native" from the native bb file,
mariadb-native will still have the DEPENDS (ncurses zlib) from the
inc file, and since the recipe is mariadb-native, this is equivalent
to DEPENDS = "ncurses-native zlib-native" due to the map_dependencies()
inner fuction for native_virtclass_handler() in "oe-core/meta/classes/
native.bbclass".

Signed-off-by: Wenzong Fan &lt;wenzong.fan@windriver.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>mariadb-native: Add mysql5-native to PROVIDES</title>
<updated>2013-09-03T17:12:39+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2013-08-29T17:00:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=2ba20b0223fb93c90adddcaabe2cc07faf6b8910'/>
<id>urn:sha1:2ba20b0223fb93c90adddcaabe2cc07faf6b8910</id>
<content type='text'>
* for backwards compatibility

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>mysql5: replace with mariadb 5.1.67 and tweak</title>
<updated>2013-08-27T15:39:31+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2013-05-10T17:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=72e23c12296fbc77193898c38426add58d0c2d71'/>
<id>urn:sha1:72e23c12296fbc77193898c38426add58d0c2d71</id>
<content type='text'>
Switch to MariaDB (which is a drop-in replacement for MySQL) and use
the latest stable release from the 5.1 series.

* Update LIC_FILES_CHKSUM due to reformatted GPLv2 license text with
  updated FSF address
* Refresh patches
* Add two patches from the upstream 5.1 branch to fix CVE-2013-1861
* Add a package for libmysqld (the embedded server library)
* Disable "maria" plugin since this fails to compile and doesn't
  appear to be critical
* Drop some unrecognised/redundant options from EXTRA_OECONF
* Fix text relocation QA warnings introduced in the upgrade
* Convert to use useradd.bbclass for creating mysql user
* Set SUMMARY instead of description
* Move SRC_URI checksums to the version-specific inc file
* Clear out cruft in files/

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
</content>
</entry>
</feed>
