blob: 922373b633e111423f0686b3aa40c008bb7f14f4 [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 \
Andrew Geissler9aee5002022-03-30 16:27:02 +000022 file://mariadb-openssl3.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040023 "
Patrick Williams213cb262021-08-07 19:21:33 -050024SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
Andrew Geissler32b11992021-03-31 13:37:05 -050025
Andrew Geissler78b72792022-06-14 06:47:25 -050026SRC_URI[sha256sum] = "73dd9c9d325520f20ca5e0ef16f94b7be1146bed7e4a78e735c20daebf3a4173"
Brad Bishop316dfdd2018-06-25 12:45:53 -040027
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080028UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
Brad Bishop316dfdd2018-06-25 12:45:53 -040029
30S = "${WORKDIR}/mariadb-${PV}"
31
32BINCONFIG_GLOB = "mysql_config"
33
Brad Bishopc1d34332019-09-09 14:56:00 -040034inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script
35
Andrew Geisslerd688a012020-09-18 13:36:00 -050036MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
Andrew Geissler69721092021-07-23 12:57:00 -040037 ${PN}-setupdb:${bindir}/mariadb-install-db"
Brad Bishop316dfdd2018-06-25 12:45:53 -040038
39INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050040INITSCRIPT_NAME:${PN}-server = "mysqld"
41INITSCRIPT_PARAMS:${PN}-server ?= "start 45 5 . stop 45 0 6 1 ."
Brad Bishop316dfdd2018-06-25 12:45:53 -040042
Andrew Geissler69721092021-07-23 12:57:00 -040043USERADD_PACKAGES = "${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050044USERADD_PARAM:${PN}-setupdb = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
45GROUPADD_PARAM:${PN}-setupdb = "--system mysql"
Brad Bishop316dfdd2018-06-25 12:45:53 -040046
Patrick Williams213cb262021-08-07 19:21:33 -050047INITSCRIPT_NAME:${PN}-setupdb = "install_db"
48INITSCRIPT_PARAMS:${PN}-setupdb ?= "defaults 44 44"
Brad Bishop316dfdd2018-06-25 12:45:53 -040049
50SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050051SYSTEMD_SERVICE:${PN}-server = "mysqld.service"
52SYSTEMD_AUTO_ENABLE:${PN}-server ?= "disable"
Brad Bishop316dfdd2018-06-25 12:45:53 -040053
Patrick Williams213cb262021-08-07 19:21:33 -050054SYSTEMD_SERVICE:${PN}-setupdb = "install_db.service"
55SYSTEMD_AUTO_ENABLE:${PN}-setupdb ?= "enable"
56ALLOW_EMPTY:${PN}-setupdb ?= "1"
57FILES:${PN}-setupdb = "${sysconfdir}/init.d/install_db \
Andrew Geissler69721092021-07-23 12:57:00 -040058 ${bindir}/mariadb-install-db \
59 ${bindir}/my_print_defaults \
60 ${bindir}/mysql_install_db \
61 ${bindir}/mysql-systemd-start \
62 "
Brad Bishop316dfdd2018-06-25 12:45:53 -040063
Andrew Geissler9aee5002022-03-30 16:27:02 +000064PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} openssl"
Patrick Williams213cb262021-08-07 19:21:33 -050065PACKAGECONFIG:class-native = ""
Brad Bishop316dfdd2018-06-25 12:45:53 -040066PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam"
67PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
Brad Bishop316dfdd2018-06-25 12:45:53 -040068PACKAGECONFIG[krb5] = ", ,krb5"
Andrew Geisslereef63862021-01-29 15:58:13 -060069PACKAGECONFIG[zstd] = "-DWITH_ROCKSDB_ZSTD=ON,-DWITH_ROCKSDB_ZSTD=OFF,zstd"
Andrew Geissler9aee5002022-03-30 16:27:02 +000070PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl"
Brad Bishop316dfdd2018-06-25 12:45:53 -040071
72# MariaDB doesn't link properly with gold
73# https://mariadb.atlassian.net/browse/MDEV-5982
74TARGET_CFLAGS += "-fuse-ld=bfd"
Brad Bishop19323692019-04-05 15:28:33 -040075LDFLAGS += " -pthread"
Andrew Geissler9aee5002022-03-30 16:27:02 +000076
Brad Bishop316dfdd2018-06-25 12:45:53 -040077BUILD_CFLAGS += "-fuse-ld=bfd"
78BUILD_CXXFLAGS += "-fuse-ld=bfd"
79
Andrew Geissler78b72792022-06-14 06:47:25 -050080LDFLAGS:x86:toolchain-clang = "-latomic"
81
Brad Bishop316dfdd2018-06-25 12:45:53 -040082EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
83 -DWITH_JEMALLOC=no \
84 -DWITHOUT_TOKUDB=TRUE \
85 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
86 -DGROFF=FALSE \
87 -DNROFF=FALSE \
88 -DENABLE_DTRACE=FALSE \
89 -DWITH_PIC=ON \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050090 -DWITH_PCRE=system \
Brad Bishop316dfdd2018-06-25 12:45:53 -040091 -DINSTALL_LAYOUT=RPM \
92 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
93 -DINSTALL_LIBDIR:PATH=${baselib} \
94 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
95 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
96 -DMYSQL_DATADIR:PATH=/var/mysql \
97 -DCAT_EXECUTABLE=`which cat` \
98 -DCMAKE_AR:FILEPATH=${AR}"
99
Patrick Williams213cb262021-08-07 19:21:33 -0500100EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper "
Andrew Geissler69721092021-07-23 12:57:00 -0400101
Brad Bishop316dfdd2018-06-25 12:45:53 -0400102# With Ninja it fails with:
103# make: *** No rule to make target `install'. Stop.
104OECMAKE_GENERATOR = "Unix Makefiles"
105
Patrick Williams213cb262021-08-07 19:21:33 -0500106ARM_INSTRUCTION_SET:armv4 = "arm"
107ARM_INSTRUCTION_SET:armv5 = "arm"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400108
Patrick Williams213cb262021-08-07 19:21:33 -0500109do_configure:append() {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400110 # handle distros with different values of ${libexecdir}
111 libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
112 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh
113 sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh
114 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh
115}
116
Patrick Williams213cb262021-08-07 19:21:33 -0500117do_generate_toolchain_file:append:class-native () {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400118 # If these are set cmake will assume we're cross-compiling, which will
119 # result in certain things we want being disabled
120 sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake
121 sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake
122}
123
Patrick Williams213cb262021-08-07 19:21:33 -0500124do_configure:prepend:class-target () {
Andrew Geissler69721092021-07-23 12:57:00 -0400125 # Write out a qemu wrapper that will be used by cmake
126 # so that it can run target helper binaries through that.
127 qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}"
128 cat > ${WORKDIR}/qemuwrapper << EOF
129#!/bin/sh
130$qemu_binary "\$@"
131EOF
132 chmod +x ${WORKDIR}/qemuwrapper
133}
Brad Bishop316dfdd2018-06-25 12:45:53 -0400134
Patrick Williams213cb262021-08-07 19:21:33 -0500135do_compile:prepend:class-target () {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400136 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
137 if ! [ -e ${B}/include/openssl/kssl.h ] ; then
138 mkdir -p ${B}/include/openssl
139 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
140 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
141 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
142 echo "#endif" >>${B}/include/openssl/kssl.h
143 fi
144 fi
145}
146
147SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"
148
149# We need to append this so it runs *after* binconfig's preprocess function
150#
151# We really don't care exactly what the directories were set to originally.
152# plugindir is not fixed, but we don't create any plugins.
153#
154mariadb_sysroot_preprocess () {
155 sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
156 sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
157}
158
159do_install() {
160 oe_runmake 'DESTDIR=${D}' install
161
162 install -d ${D}/${sysconfdir}/init.d
163 install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
164 install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
165 mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
166
167 install -d ${D}${systemd_unitdir}/system
168 install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
169 install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
170 sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
171 ${D}${systemd_unitdir}/system/install_db.service
172
Brad Bishop316dfdd2018-06-25 12:45:53 -0400173 install -d ${D}${bindir}
174 install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir}
175 install -d ${D}${datadir}/doc/${PN}
176 if [ -f ${D}${datadir}/doc/README ]; then
177 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
178 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500179 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -0500180 pam_so=$(find ${D} -name pam_user_map.so)
181 if [ x"${pam_so}" != x ]; then
182 pam_dir=$(dirname ${pam_so})
183 mv ${pam_dir} ${D}/${libdir}
184 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
185 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500186 fi
Brad Bishop316dfdd2018-06-25 12:45:53 -0400187}
188
Andrew Geissler69721092021-07-23 12:57:00 -0400189PACKAGES = "${PN}-dbg ${PN}-setupdb ${PN} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800190 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
191 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
Andrew Geissler69721092021-07-23 12:57:00 -0400192 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-leftovers"
Patrick Williams213cb262021-08-07 19:21:33 -0500193CONFFILES:${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
194CONFFILES:${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
195CONFFILES:libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400196
Patrick Williams213cb262021-08-07 19:21:33 -0500197RPROVIDES:${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800198
Patrick Williams213cb262021-08-07 19:21:33 -0500199FILES:${PN} = " "
200RDEPENDS:${PN} = "${PN}-client ${PN}-server"
201ALLOW_EMPTY:${PN} = "1"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400202
Patrick Williams213cb262021-08-07 19:21:33 -0500203RDEPENDS:${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400204 perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \
205 perl-module-exporter"
Patrick Williams213cb262021-08-07 19:21:33 -0500206RDEPENDS:${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400207 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
208 perl-module-file-copy perl-module-file-temp perl-module-posix \
Andrew Geissler9aee5002022-03-30 16:27:02 +0000209 ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl lzo"
Patrick Williams213cb262021-08-07 19:21:33 -0500210RDEPENDS:${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400211 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
212 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
213 perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \
214 perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
Brad Bishop19323692019-04-05 15:28:33 -0400215 perl-module-io-socket-inet perl-module-io-select bash"
Patrick Williams213cb262021-08-07 19:21:33 -0500216RDEPENDS:${PN}-setupdb = "coreutils"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400217
218# Allow old code to link to the backward compatible library
Patrick Williams213cb262021-08-07 19:21:33 -0500219RDEPENDS:libmysqlclient-dev = "libmysqlclient-r-dev"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400220
Patrick Williams213cb262021-08-07 19:21:33 -0500221FILES:libmysqlclient = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400222 ${libdir}/libmysqlclient.so.* \
Brad Bishop19323692019-04-05 15:28:33 -0400223 ${libdir}/libmariadb.so.* \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400224 ${sysconfdir}/my.cnf.d/client.cnf"
Patrick Williams213cb262021-08-07 19:21:33 -0500225FILES:libmysqlclient-dev = " \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400226 ${includedir}/mysql/ \
227 ${libdir}/libmysqlclient.so \
Brad Bishop19323692019-04-05 15:28:33 -0400228 ${libdir}/libmariadb.so \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400229 ${sysconfdir}/aclocal \
230 ${bindir}/mysql_config"
Patrick Williams213cb262021-08-07 19:21:33 -0500231FILES:libmysqlclient-staticdev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400232 ${libdir}/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400233
234# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
235# which are intentionally non-PIC on 32-bit x86 (see e.g.
236# storage/xtradb/plug.in in the source)
Patrick Williams213cb262021-08-07 19:21:33 -0500237INSANE_SKIP:libmysqlclient:append:x86 = " textrel"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400238
Patrick Williams213cb262021-08-07 19:21:33 -0500239FILES:libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
240FILES:libmysqlclient-r-dev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400241 ${libdir}/libmysqlclient_r.so"
Patrick Williams213cb262021-08-07 19:21:33 -0500242FILES:libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400243
Patrick Williams213cb262021-08-07 19:21:33 -0500244FILES:libmysqld = "\
Brad Bishop19323692019-04-05 15:28:33 -0400245 ${libdir}/libmysqld.so.* \
246 ${libdir}/libmariadbd.so.*"
Patrick Williams213cb262021-08-07 19:21:33 -0500247FILES:libmysqld-dev = "\
Brad Bishop19323692019-04-05 15:28:33 -0400248 ${libdir}/libmysqld.so \
249 ${libdir}/libmariadbd.so"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400250
Patrick Williams213cb262021-08-07 19:21:33 -0500251FILES:${PN}-client = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400252 ${bindir}/myisam_ftdump \
253 ${bindir}/mysql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500254 ${bindir}/mariadb \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400255 ${bindir}/mysql_client_test \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500256 ${bindir}/mariadb-client-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400257 ${bindir}/mysql_client_test_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500258 ${bindir}/mariadb-client-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400259 ${bindir}/mysql_find_rows \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500260 ${bindir}/mariadb-find-rows \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400261 ${bindir}/mysql_fix_extensions \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500262 ${bindir}/mariadb-fix-extensions \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400263 ${bindir}/mysql_waitpid \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500264 ${bindir}/mariadb-waitpid \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400265 ${bindir}/mysqlaccess \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500266 ${bindir}/mariadb-access \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400267 ${bindir}/mysqladmin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500268 ${bindir}/mariadb-admin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400269 ${bindir}/mysqlcheck \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500270 ${bindir}/mariadb-check \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400271 ${bindir}/mysqldump \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500272 ${bindir}/mariadb-dump \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400273 ${bindir}/mysqldumpslow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500274 ${bindir}/mariadb-dumpslow \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400275 ${bindir}/mysqlimport \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500276 ${bindir}/mariadb-import \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400277 ${bindir}/mysqlshow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500278 ${bindir}/mariadb-show \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400279 ${bindir}/mysqlslap \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500280 ${bindir}/mariadb-slap \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400281 ${bindir}/mysqltest_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500282 ${bindir}/mariadb-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400283 ${libexecdir}/mysqlmanager \
284 ${sysconfdir}/my.cnf.d/mysql-clients.cnf"
285
Patrick Williams213cb262021-08-07 19:21:33 -0500286FILES:${PN}-server = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400287 ${bindir}/msql2mysql \
288 ${bindir}/my_print_defaults \
289 ${bindir}/myisamchk \
290 ${bindir}/myisamlog \
291 ${bindir}/myisampack \
292 ${bindir}/mysql_convert_table_format \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500293 ${bindir}/mariadb-convert-table-format \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400294 ${bindir}/mysql_install_db \
295 ${bindir}/mysql_secure_installation \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500296 ${bindir}/mariadb-secure-installation \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400297 ${bindir}/mysql_setpermission \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500298 ${bindir}/mariadb-setpermission \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400299 ${bindir}/mysql-systemd-start \
300 ${bindir}/mysql_tzinfo_to_sql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500301 ${bindir}/mariadb-tzinfo-to-sql \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400302 ${bindir}/mysql_upgrade \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500303 ${bindir}/mariadb-upgrade \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400304 ${bindir}/mysql_plugin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500305 ${bindir}/mariadb-plugin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400306 ${bindir}/mysqlbinlog \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500307 ${bindir}/mariadb-binlog \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400308 ${bindir}/mysqld_multi \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500309 ${bindir}/mariadbd-multi \
310 ${bindir}/mariadbd-safe \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400311 ${bindir}/mysqld_safe \
312 ${bindir}/mysqld_safe_helper \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500313 ${bindir}/mariadbd-safe-helper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400314 ${bindir}/mysqlhotcopy \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500315 ${bindir}/mariadb-hotcopy \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400316 ${bindir}/mysqltest \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500317 ${bindir}/mariadb-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400318 ${bindir}/perror \
319 ${bindir}/replace \
320 ${bindir}/resolve_stack_dump \
321 ${bindir}/resolveip \
322 ${libexecdir}/mysqld \
323 ${sbindir}/mysqld \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500324 ${sbindir}/mariadbd \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400325 ${libdir}/plugin/*.so \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500326 ${libdir}/security/*.so \
327 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400328 ${datadir}/mysql/ \
329 ${localstatedir}/mysql/ \
330 ${sysconfdir}/init.d/mysqld \
331 ${sysconfdir}/my.cnf \
332 ${sysconfdir}/my.cnf.d/server.cnf \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500333 ${sysconfdir}/security/user_map.conf \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400334 ${sysconfdir}/tmpfiles.d"
335
Patrick Williams213cb262021-08-07 19:21:33 -0500336DESCRIPTION:${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
337FILES:${PN}-leftovers = "/"