mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
This upgrade includes fix for CVE-2023-52971 Changelog: https://mariadb.com/kb/en/mariadb-11-4-6-changelog/ refresh 0001-Add-missing-includes-cstdint-and-cstdio.patch Droped 3871.patch and mm_malloc.patch as these are available in 11.4.6 Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
64 lines
2.1 KiB
BlitzBasic
64 lines
2.1 KiB
BlitzBasic
require mariadb.inc
|
|
|
|
inherit ptest
|
|
inherit useradd
|
|
|
|
SRC_URI += "${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)}"
|
|
DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'rsync-native', '', d)}"
|
|
RDEPENDS:${PN}-ptest += "cmake sed perl-module-test-more"
|
|
|
|
do_install_ptest () {
|
|
rsync -a ${B}/unittest ${B}/dbug ${D}${PTEST_PATH} \
|
|
--exclude CMakeFiles \
|
|
--exclude cmake_install.cmake \
|
|
--exclude Makefile \
|
|
--exclude=*.a \
|
|
--exclude=*.h \
|
|
--exclude=*.o \
|
|
--exclude=*.so \
|
|
--exclude=*.d \
|
|
--exclude=*.txt
|
|
install -m 0755 -d ${D}${PTEST_PATH}/storage
|
|
rsync -a ${B}/storage/maria ${B}/storage/perfschema ${B}/storage/innobase ${D}${PTEST_PATH}/storage \
|
|
--exclude CMakeFiles \
|
|
--exclude cmake_install.cmake \
|
|
--exclude Makefile \
|
|
--exclude=*.a \
|
|
--exclude=*.h \
|
|
--exclude=*.o \
|
|
--exclude=*.so \
|
|
--exclude=*.d \
|
|
--exclude=*.txt
|
|
cp -r ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}
|
|
sed -i -e 's#${WORKDIR}##g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
|
|
}
|
|
|
|
DEPENDS += "mariadb-native bison-native boost libpcre2 curl ncurses \
|
|
zlib libaio libedit libevent libxml2 gnutls fmt lzo zstd"
|
|
|
|
PROVIDES += "mysql5 libmysqlclient"
|
|
|
|
USERADD_PACKAGES = "${PN}-setupdb"
|
|
USERADD_PARAM:${PN}-setupdb = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
|
|
GROUPADD_PARAM:${PN}-setupdb = "--system mysql"
|
|
|
|
RPROVIDES:${PN} += "mysql5"
|
|
RREPLACES:${PN} += "mysql5"
|
|
RCONFLICTS:${PN} += "mysql5"
|
|
|
|
RPROVIDES:${PN}-dbg += "mysql5-dbg"
|
|
RREPLACES:${PN}-dbg += "mysql5-dbg"
|
|
RCONFLICTS:${PN}-dbg += "mysql5-dbg"
|
|
|
|
RPROVIDES:${PN}-leftovers += "mysql5-leftovers"
|
|
RREPLACES:${PN}-leftovers += "mysql5-leftovers"
|
|
RCONFLICTS:${PN}-leftovers += "mysql5-leftovers"
|
|
|
|
RPROVIDES:${PN}-client += "mysql5-client"
|
|
RREPLACES:${PN}-client += "mysql5-client"
|
|
RCONFLICTS:${PN}-client += "mysql5-client"
|
|
|
|
RPROVIDES:${PN}-server += "mysql5-server"
|
|
RREPLACES:${PN}-server += "mysql5-server"
|
|
RCONFLICTS:${PN}-server += "mysql5-server"
|