blob: fa32e6844e6d3fd03af95bb6c49601eb8ca59a73 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "A robust, scalable, and reliable SQL server"
2HOMEPAGE = "http://mariadb.org"
3SECTION = "libs"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "GPL-2.0-only"
Brad Bishopc8f47122019-06-24 09:36:18 -04005LIC_FILES_CHKSUM = "file://COPYING;md5=b1becf0cfa3366e0f4d854d1d264f311"
Brad Bishop316dfdd2018-06-25 12:45:53 -04006
Patrick Williams213cb262021-08-07 19:21:33 -05007SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
Brad Bishop316dfdd2018-06-25 12:45:53 -04008 file://my.cnf \
9 file://mysqld.service \
10 file://install_db.service \
11 file://install_db \
12 file://mysql-systemd-start \
13 file://configure.cmake-fix-valgrind.patch \
Brad Bishop19323692019-04-05 15:28:33 -040014 file://support-files-CMakeLists.txt-fix-do_populate_sysroot.patch \
Brad Bishop19323692019-04-05 15:28:33 -040015 file://fix-arm-atomic.patch \
Brad Bishope42b3e32020-01-15 22:08:42 -050016 file://0001-Fix-library-LZ4-lookup.patch \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060017 file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \
Andrew Geisslere34f8962021-04-15 15:53:51 -050018 file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070019 file://ssize_t.patch \
Andrew Geissler69721092021-07-23 12:57:00 -040020 file://mm_malloc.patch \
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050021 file://sys_futex.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040022 "
Patrick Williams213cb262021-08-07 19:21:33 -050023SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
Andrew Geissler32b11992021-03-31 13:37:05 -050024
Andrew Geissler615f2f12022-07-15 14:00:58 -050025SRC_URI[sha256sum] = "887eadc55176ac1ead1fccfc89ade4b5990ef192745ad4dcd879acb41c050892"
Brad Bishop316dfdd2018-06-25 12:45:53 -040026
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
Brad Bishop316dfdd2018-06-25 12:45:53 -040028
29S = "${WORKDIR}/mariadb-${PV}"
30
31BINCONFIG_GLOB = "mysql_config"
32
Brad Bishopc1d34332019-09-09 14:56:00 -040033inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script
34
Andrew Geisslerd688a012020-09-18 13:36:00 -050035MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
Andrew Geissler69721092021-07-23 12:57:00 -040036 ${PN}-setupdb:${bindir}/mariadb-install-db"
Brad Bishop316dfdd2018-06-25 12:45:53 -040037
38INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050039INITSCRIPT_NAME:${PN}-server = "mysqld"
40INITSCRIPT_PARAMS:${PN}-server ?= "start 45 5 . stop 45 0 6 1 ."
Brad Bishop316dfdd2018-06-25 12:45:53 -040041
Andrew Geissler69721092021-07-23 12:57:00 -040042USERADD_PACKAGES = "${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050043USERADD_PARAM:${PN}-setupdb = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
44GROUPADD_PARAM:${PN}-setupdb = "--system mysql"
Brad Bishop316dfdd2018-06-25 12:45:53 -040045
Patrick Williams213cb262021-08-07 19:21:33 -050046INITSCRIPT_NAME:${PN}-setupdb = "install_db"
47INITSCRIPT_PARAMS:${PN}-setupdb ?= "defaults 44 44"
Brad Bishop316dfdd2018-06-25 12:45:53 -040048
49SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050050SYSTEMD_SERVICE:${PN}-server = "mysqld.service"
51SYSTEMD_AUTO_ENABLE:${PN}-server ?= "disable"
Brad Bishop316dfdd2018-06-25 12:45:53 -040052
Patrick Williams213cb262021-08-07 19:21:33 -050053SYSTEMD_SERVICE:${PN}-setupdb = "install_db.service"
54SYSTEMD_AUTO_ENABLE:${PN}-setupdb ?= "enable"
55ALLOW_EMPTY:${PN}-setupdb ?= "1"
56FILES:${PN}-setupdb = "${sysconfdir}/init.d/install_db \
Andrew Geissler69721092021-07-23 12:57:00 -040057 ${bindir}/mariadb-install-db \
58 ${bindir}/my_print_defaults \
59 ${bindir}/mysql_install_db \
60 ${bindir}/mysql-systemd-start \
61 "
Brad Bishop316dfdd2018-06-25 12:45:53 -040062
Andrew Geissler9aee5002022-03-30 16:27:02 +000063PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} openssl"
Patrick Williams213cb262021-08-07 19:21:33 -050064PACKAGECONFIG:class-native = ""
Brad Bishop316dfdd2018-06-25 12:45:53 -040065PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam"
66PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
Brad Bishop316dfdd2018-06-25 12:45:53 -040067PACKAGECONFIG[krb5] = ", ,krb5"
Andrew Geissler9aee5002022-03-30 16:27:02 +000068PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl"
Brad Bishop316dfdd2018-06-25 12:45:53 -040069
70# MariaDB doesn't link properly with gold
71# https://mariadb.atlassian.net/browse/MDEV-5982
72TARGET_CFLAGS += "-fuse-ld=bfd"
Brad Bishop19323692019-04-05 15:28:33 -040073LDFLAGS += " -pthread"
Andrew Geissler9aee5002022-03-30 16:27:02 +000074
Brad Bishop316dfdd2018-06-25 12:45:53 -040075BUILD_CFLAGS += "-fuse-ld=bfd"
76BUILD_CXXFLAGS += "-fuse-ld=bfd"
77
Andrew Geissler78b72792022-06-14 06:47:25 -050078LDFLAGS:x86:toolchain-clang = "-latomic"
79
Brad Bishop316dfdd2018-06-25 12:45:53 -040080EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
81 -DWITH_JEMALLOC=no \
82 -DWITHOUT_TOKUDB=TRUE \
83 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
84 -DGROFF=FALSE \
85 -DNROFF=FALSE \
86 -DENABLE_DTRACE=FALSE \
87 -DWITH_PIC=ON \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050088 -DWITH_PCRE=system \
Brad Bishop316dfdd2018-06-25 12:45:53 -040089 -DINSTALL_LAYOUT=RPM \
90 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
91 -DINSTALL_LIBDIR:PATH=${baselib} \
92 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
93 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
94 -DMYSQL_DATADIR:PATH=/var/mysql \
95 -DCAT_EXECUTABLE=`which cat` \
96 -DCMAKE_AR:FILEPATH=${AR}"
97
Patrick Williams213cb262021-08-07 19:21:33 -050098EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper "
Andrew Geissler69721092021-07-23 12:57:00 -040099
Brad Bishop316dfdd2018-06-25 12:45:53 -0400100# With Ninja it fails with:
101# make: *** No rule to make target `install'. Stop.
102OECMAKE_GENERATOR = "Unix Makefiles"
103
Patrick Williams213cb262021-08-07 19:21:33 -0500104ARM_INSTRUCTION_SET:armv4 = "arm"
105ARM_INSTRUCTION_SET:armv5 = "arm"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400106
Patrick Williams213cb262021-08-07 19:21:33 -0500107do_configure:append() {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400108 # handle distros with different values of ${libexecdir}
109 libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
110 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh
111 sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh
112 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh
113}
114
Patrick Williams213cb262021-08-07 19:21:33 -0500115do_generate_toolchain_file:append:class-native () {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400116 # If these are set cmake will assume we're cross-compiling, which will
117 # result in certain things we want being disabled
118 sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake
119 sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake
120}
121
Patrick Williams213cb262021-08-07 19:21:33 -0500122do_configure:prepend:class-target () {
Andrew Geissler69721092021-07-23 12:57:00 -0400123 # Write out a qemu wrapper that will be used by cmake
124 # so that it can run target helper binaries through that.
125 qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}"
126 cat > ${WORKDIR}/qemuwrapper << EOF
127#!/bin/sh
128$qemu_binary "\$@"
129EOF
130 chmod +x ${WORKDIR}/qemuwrapper
131}
Brad Bishop316dfdd2018-06-25 12:45:53 -0400132
Patrick Williams213cb262021-08-07 19:21:33 -0500133do_compile:prepend:class-target () {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400134 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
135 if ! [ -e ${B}/include/openssl/kssl.h ] ; then
136 mkdir -p ${B}/include/openssl
137 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
138 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
139 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
140 echo "#endif" >>${B}/include/openssl/kssl.h
141 fi
142 fi
143}
144
145SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"
146
147# We need to append this so it runs *after* binconfig's preprocess function
148#
149# We really don't care exactly what the directories were set to originally.
150# plugindir is not fixed, but we don't create any plugins.
151#
152mariadb_sysroot_preprocess () {
153 sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
154 sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
155}
156
157do_install() {
158 oe_runmake 'DESTDIR=${D}' install
159
160 install -d ${D}/${sysconfdir}/init.d
161 install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
162 install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
163 mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
164
165 install -d ${D}${systemd_unitdir}/system
166 install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
167 install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
168 sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
169 ${D}${systemd_unitdir}/system/install_db.service
170
Brad Bishop316dfdd2018-06-25 12:45:53 -0400171 install -d ${D}${bindir}
172 install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir}
173 install -d ${D}${datadir}/doc/${PN}
174 if [ -f ${D}${datadir}/doc/README ]; then
175 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
176 fi
Andrew Geissler615f2f12022-07-15 14:00:58 -0500177
178 # mini-benchmark used for Gitlab-CI to run on every commit to catch
179 # if there are severe performance regressions.
180 # remove it to avoid introducing bash dependency
181 if [ -f ${D}${datadir}/mysql/mini-benchmark ]; then
182 rm -rf ${D}${datadir}/mysql/mini-benchmark
183 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500184 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -0500185 pam_so=$(find ${D} -name pam_user_map.so)
186 if [ x"${pam_so}" != x ]; then
187 pam_dir=$(dirname ${pam_so})
188 mv ${pam_dir} ${D}/${libdir}
189 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
190 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500191 fi
Brad Bishop316dfdd2018-06-25 12:45:53 -0400192}
193
Andrew Geissler69721092021-07-23 12:57:00 -0400194PACKAGES = "${PN}-dbg ${PN}-setupdb ${PN} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800195 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
196 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
Andrew Geissler69721092021-07-23 12:57:00 -0400197 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-leftovers"
Patrick Williams213cb262021-08-07 19:21:33 -0500198CONFFILES:${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
199CONFFILES:${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
200CONFFILES:libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400201
Patrick Williams213cb262021-08-07 19:21:33 -0500202RPROVIDES:${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800203
Patrick Williams213cb262021-08-07 19:21:33 -0500204FILES:${PN} = " "
205RDEPENDS:${PN} = "${PN}-client ${PN}-server"
206ALLOW_EMPTY:${PN} = "1"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400207
Patrick Williams213cb262021-08-07 19:21:33 -0500208RDEPENDS:${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400209 perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \
210 perl-module-exporter"
Patrick Williams213cb262021-08-07 19:21:33 -0500211RDEPENDS:${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400212 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
213 perl-module-file-copy perl-module-file-temp perl-module-posix \
Andrew Geissler9aee5002022-03-30 16:27:02 +0000214 ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl lzo"
Patrick Williams213cb262021-08-07 19:21:33 -0500215RDEPENDS:${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400216 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
217 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
218 perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \
219 perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
Brad Bishop19323692019-04-05 15:28:33 -0400220 perl-module-io-socket-inet perl-module-io-select bash"
Patrick Williams213cb262021-08-07 19:21:33 -0500221RDEPENDS:${PN}-setupdb = "coreutils"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400222
223# Allow old code to link to the backward compatible library
Patrick Williams213cb262021-08-07 19:21:33 -0500224RDEPENDS:libmysqlclient-dev = "libmysqlclient-r-dev"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400225
Patrick Williams213cb262021-08-07 19:21:33 -0500226FILES:libmysqlclient = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400227 ${libdir}/libmysqlclient.so.* \
Brad Bishop19323692019-04-05 15:28:33 -0400228 ${libdir}/libmariadb.so.* \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400229 ${sysconfdir}/my.cnf.d/client.cnf"
Patrick Williams213cb262021-08-07 19:21:33 -0500230FILES:libmysqlclient-dev = " \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400231 ${includedir}/mysql/ \
232 ${libdir}/libmysqlclient.so \
Brad Bishop19323692019-04-05 15:28:33 -0400233 ${libdir}/libmariadb.so \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400234 ${sysconfdir}/aclocal \
235 ${bindir}/mysql_config"
Patrick Williams213cb262021-08-07 19:21:33 -0500236FILES:libmysqlclient-staticdev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400237 ${libdir}/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400238
239# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
240# which are intentionally non-PIC on 32-bit x86 (see e.g.
241# storage/xtradb/plug.in in the source)
Patrick Williams213cb262021-08-07 19:21:33 -0500242INSANE_SKIP:libmysqlclient:append:x86 = " textrel"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400243
Patrick Williams213cb262021-08-07 19:21:33 -0500244FILES:libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
245FILES:libmysqlclient-r-dev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400246 ${libdir}/libmysqlclient_r.so"
Patrick Williams213cb262021-08-07 19:21:33 -0500247FILES:libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400248
Patrick Williams213cb262021-08-07 19:21:33 -0500249FILES:libmysqld = "\
Brad Bishop19323692019-04-05 15:28:33 -0400250 ${libdir}/libmysqld.so.* \
251 ${libdir}/libmariadbd.so.*"
Patrick Williams213cb262021-08-07 19:21:33 -0500252FILES:libmysqld-dev = "\
Brad Bishop19323692019-04-05 15:28:33 -0400253 ${libdir}/libmysqld.so \
254 ${libdir}/libmariadbd.so"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400255
Patrick Williams213cb262021-08-07 19:21:33 -0500256FILES:${PN}-client = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400257 ${bindir}/myisam_ftdump \
258 ${bindir}/mysql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500259 ${bindir}/mariadb \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400260 ${bindir}/mysql_client_test \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500261 ${bindir}/mariadb-client-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400262 ${bindir}/mysql_client_test_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500263 ${bindir}/mariadb-client-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400264 ${bindir}/mysql_find_rows \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500265 ${bindir}/mariadb-find-rows \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400266 ${bindir}/mysql_fix_extensions \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500267 ${bindir}/mariadb-fix-extensions \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400268 ${bindir}/mysql_waitpid \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500269 ${bindir}/mariadb-waitpid \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400270 ${bindir}/mysqlaccess \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500271 ${bindir}/mariadb-access \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400272 ${bindir}/mysqladmin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500273 ${bindir}/mariadb-admin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400274 ${bindir}/mysqlcheck \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500275 ${bindir}/mariadb-check \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400276 ${bindir}/mysqldump \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500277 ${bindir}/mariadb-dump \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400278 ${bindir}/mysqldumpslow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500279 ${bindir}/mariadb-dumpslow \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400280 ${bindir}/mysqlimport \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500281 ${bindir}/mariadb-import \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400282 ${bindir}/mysqlshow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500283 ${bindir}/mariadb-show \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400284 ${bindir}/mysqlslap \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500285 ${bindir}/mariadb-slap \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400286 ${bindir}/mysqltest_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500287 ${bindir}/mariadb-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400288 ${libexecdir}/mysqlmanager \
289 ${sysconfdir}/my.cnf.d/mysql-clients.cnf"
290
Patrick Williams213cb262021-08-07 19:21:33 -0500291FILES:${PN}-server = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400292 ${bindir}/msql2mysql \
293 ${bindir}/my_print_defaults \
294 ${bindir}/myisamchk \
295 ${bindir}/myisamlog \
296 ${bindir}/myisampack \
297 ${bindir}/mysql_convert_table_format \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500298 ${bindir}/mariadb-convert-table-format \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400299 ${bindir}/mysql_install_db \
300 ${bindir}/mysql_secure_installation \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500301 ${bindir}/mariadb-secure-installation \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400302 ${bindir}/mysql_setpermission \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500303 ${bindir}/mariadb-setpermission \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400304 ${bindir}/mysql-systemd-start \
305 ${bindir}/mysql_tzinfo_to_sql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500306 ${bindir}/mariadb-tzinfo-to-sql \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400307 ${bindir}/mysql_upgrade \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500308 ${bindir}/mariadb-upgrade \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400309 ${bindir}/mysql_plugin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500310 ${bindir}/mariadb-plugin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400311 ${bindir}/mysqlbinlog \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500312 ${bindir}/mariadb-binlog \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400313 ${bindir}/mysqld_multi \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500314 ${bindir}/mariadbd-multi \
315 ${bindir}/mariadbd-safe \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400316 ${bindir}/mysqld_safe \
317 ${bindir}/mysqld_safe_helper \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500318 ${bindir}/mariadbd-safe-helper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400319 ${bindir}/mysqlhotcopy \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500320 ${bindir}/mariadb-hotcopy \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400321 ${bindir}/mysqltest \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500322 ${bindir}/mariadb-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400323 ${bindir}/perror \
324 ${bindir}/replace \
325 ${bindir}/resolve_stack_dump \
326 ${bindir}/resolveip \
327 ${libexecdir}/mysqld \
328 ${sbindir}/mysqld \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500329 ${sbindir}/mariadbd \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400330 ${libdir}/plugin/*.so \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500331 ${libdir}/security/*.so \
332 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400333 ${datadir}/mysql/ \
334 ${localstatedir}/mysql/ \
335 ${sysconfdir}/init.d/mysqld \
336 ${sysconfdir}/my.cnf \
337 ${sysconfdir}/my.cnf.d/server.cnf \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500338 ${sysconfdir}/security/user_map.conf \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400339 ${sysconfdir}/tmpfiles.d"
340
Patrick Williams213cb262021-08-07 19:21:33 -0500341DESCRIPTION:${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
342FILES:${PN}-leftovers = "/"