blob: d64d5b0e42606afa8ed0bd7f52df54ddb50a5034 [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 \
Patrick Williams2194f502022-10-16 14:26:09 -050022 file://cross-compiling.patch \
23 file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \
Andrew Geissler517393d2023-01-13 08:55:19 -060024 file://lfs64.patch \
Andrew Geisslerc5535c92023-01-27 16:10:19 -060025 file://0001-Add-missing-includes-cstdint-and-cstdio.patch \
Andrew Geissler5082cc72023-09-11 08:41:39 -040026 file://libfmt_make_fmt.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040027 "
Patrick Williams213cb262021-08-07 19:21:33 -050028SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
Andrew Geissler5082cc72023-09-11 08:41:39 -040029SRC_URI[sha256sum] = "4c9484048d4d0c71dd076ab33fc2a9ce8510bdf762886de0d63fe52496f3dbbb"
Brad Bishop316dfdd2018-06-25 12:45:53 -040030
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
Brad Bishop316dfdd2018-06-25 12:45:53 -040032
33S = "${WORKDIR}/mariadb-${PV}"
34
35BINCONFIG_GLOB = "mysql_config"
36
Patrick Williams92b42cb2022-09-03 06:53:57 -050037inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script pkgconfig
Brad Bishopc1d34332019-09-09 14:56:00 -040038
Andrew Geisslerd688a012020-09-18 13:36:00 -050039MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
Andrew Geissler69721092021-07-23 12:57:00 -040040 ${PN}-setupdb:${bindir}/mariadb-install-db"
Brad Bishop316dfdd2018-06-25 12:45:53 -040041
42INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050043INITSCRIPT_NAME:${PN}-server = "mysqld"
44INITSCRIPT_PARAMS:${PN}-server ?= "start 45 5 . stop 45 0 6 1 ."
Brad Bishop316dfdd2018-06-25 12:45:53 -040045
Andrew Geissler69721092021-07-23 12:57:00 -040046USERADD_PACKAGES = "${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050047USERADD_PARAM:${PN}-setupdb = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
48GROUPADD_PARAM:${PN}-setupdb = "--system mysql"
Brad Bishop316dfdd2018-06-25 12:45:53 -040049
Patrick Williams213cb262021-08-07 19:21:33 -050050INITSCRIPT_NAME:${PN}-setupdb = "install_db"
51INITSCRIPT_PARAMS:${PN}-setupdb ?= "defaults 44 44"
Brad Bishop316dfdd2018-06-25 12:45:53 -040052
53SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050054SYSTEMD_SERVICE:${PN}-server = "mysqld.service"
55SYSTEMD_AUTO_ENABLE:${PN}-server ?= "disable"
Brad Bishop316dfdd2018-06-25 12:45:53 -040056
Patrick Williams213cb262021-08-07 19:21:33 -050057SYSTEMD_SERVICE:${PN}-setupdb = "install_db.service"
58SYSTEMD_AUTO_ENABLE:${PN}-setupdb ?= "enable"
59ALLOW_EMPTY:${PN}-setupdb ?= "1"
60FILES:${PN}-setupdb = "${sysconfdir}/init.d/install_db \
Andrew Geissler69721092021-07-23 12:57:00 -040061 ${bindir}/mariadb-install-db \
62 ${bindir}/my_print_defaults \
63 ${bindir}/mysql_install_db \
64 ${bindir}/mysql-systemd-start \
65 "
Brad Bishop316dfdd2018-06-25 12:45:53 -040066
Patrick Williams92b42cb2022-09-03 06:53:57 -050067PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} lz4 openssl"
Patrick Williams2194f502022-10-16 14:26:09 -050068EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
69
Patrick Williams213cb262021-08-07 19:21:33 -050070PACKAGECONFIG:class-native = ""
Andrew Geissler5082cc72023-09-11 08:41:39 -040071PACKAGECONFIG[pam] = "-DPLUGIN_AUTH_PAM=YES,-DPLUGIN_AUTH_PAM=NO,libpam"
Brad Bishop316dfdd2018-06-25 12:45:53 -040072PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
Brad Bishop316dfdd2018-06-25 12:45:53 -040073PACKAGECONFIG[krb5] = ", ,krb5"
Patrick Williams92b42cb2022-09-03 06:53:57 -050074PACKAGECONFIG[lz4] = ", ,lz4"
Andrew Geissler9aee5002022-03-30 16:27:02 +000075PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl"
Brad Bishop316dfdd2018-06-25 12:45:53 -040076
77# MariaDB doesn't link properly with gold
78# https://mariadb.atlassian.net/browse/MDEV-5982
79TARGET_CFLAGS += "-fuse-ld=bfd"
Brad Bishop19323692019-04-05 15:28:33 -040080LDFLAGS += " -pthread"
Andrew Geissler9aee5002022-03-30 16:27:02 +000081
Brad Bishop316dfdd2018-06-25 12:45:53 -040082BUILD_CFLAGS += "-fuse-ld=bfd"
83BUILD_CXXFLAGS += "-fuse-ld=bfd"
84
Andrew Geissler78b72792022-06-14 06:47:25 -050085LDFLAGS:x86:toolchain-clang = "-latomic"
86
Brad Bishop316dfdd2018-06-25 12:45:53 -040087EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
88 -DWITH_JEMALLOC=no \
89 -DWITHOUT_TOKUDB=TRUE \
90 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
91 -DGROFF=FALSE \
92 -DNROFF=FALSE \
93 -DENABLE_DTRACE=FALSE \
94 -DWITH_PIC=ON \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050095 -DWITH_PCRE=system \
Brad Bishop316dfdd2018-06-25 12:45:53 -040096 -DINSTALL_LAYOUT=RPM \
97 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
98 -DINSTALL_LIBDIR:PATH=${baselib} \
99 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
100 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
101 -DMYSQL_DATADIR:PATH=/var/mysql \
102 -DCAT_EXECUTABLE=`which cat` \
Patrick Williams2194f502022-10-16 14:26:09 -0500103 -DSTACK_DIRECTION=1 \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400104 -DCMAKE_AR:FILEPATH=${AR}"
105
Andrew Geissler69721092021-07-23 12:57:00 -0400106
Brad Bishop316dfdd2018-06-25 12:45:53 -0400107# With Ninja it fails with:
108# make: *** No rule to make target `install'. Stop.
109OECMAKE_GENERATOR = "Unix Makefiles"
110
Patrick Williams213cb262021-08-07 19:21:33 -0500111ARM_INSTRUCTION_SET:armv4 = "arm"
112ARM_INSTRUCTION_SET:armv5 = "arm"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400113
Patrick Williams2a254922023-08-11 09:48:11 -0500114do_compile:prepend:class-target () {
115 # remove the buildpath
116 sed -i -e "s:CMAKE_SYSROOT:CMAKE_SYSROOT_PLACE_HOLDER:g" ${S}/libmariadb/mariadb_config/mariadb_config.c.in
117}
118
Patrick Williams213cb262021-08-07 19:21:33 -0500119do_configure:append() {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400120 # handle distros with different values of ${libexecdir}
121 libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
122 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh
123 sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh
124 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh
125}
126
Patrick Williams213cb262021-08-07 19:21:33 -0500127do_generate_toolchain_file:append:class-native () {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400128 # If these are set cmake will assume we're cross-compiling, which will
129 # result in certain things we want being disabled
130 sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake
131 sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake
132}
133
Brad Bishop316dfdd2018-06-25 12:45:53 -0400134
Patrick Williams213cb262021-08-07 19:21:33 -0500135do_compile:prepend:class-target () {
Patrick Williams2194f502022-10-16 14:26:09 -0500136 # These need to be in-tree or make will think they need to be built,
137 # and since we're cross-compiling that is disabled
138 cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra
139 cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts
Brad Bishop316dfdd2018-06-25 12:45:53 -0400140 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
141 if ! [ -e ${B}/include/openssl/kssl.h ] ; then
142 mkdir -p ${B}/include/openssl
143 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
144 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
145 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
146 echo "#endif" >>${B}/include/openssl/kssl.h
147 fi
148 fi
Patrick Williams2a254922023-08-11 09:48:11 -0500149 install -D ${RECIPE_SYSROOT_NATIVE}/usr/bin/uca-dump ${B}/strings/uca-dump
Brad Bishop316dfdd2018-06-25 12:45:53 -0400150}
151
152SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"
153
154# We need to append this so it runs *after* binconfig's preprocess function
155#
156# We really don't care exactly what the directories were set to originally.
157# plugindir is not fixed, but we don't create any plugins.
158#
159mariadb_sysroot_preprocess () {
160 sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
161 sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
162}
163
164do_install() {
165 oe_runmake 'DESTDIR=${D}' install
166
167 install -d ${D}/${sysconfdir}/init.d
168 install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
169 install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
170 mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
171
172 install -d ${D}${systemd_unitdir}/system
173 install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
174 install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
175 sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
176 ${D}${systemd_unitdir}/system/install_db.service
177
Brad Bishop316dfdd2018-06-25 12:45:53 -0400178 install -d ${D}${bindir}
179 install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir}
180 install -d ${D}${datadir}/doc/${PN}
181 if [ -f ${D}${datadir}/doc/README ]; then
182 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
183 fi
Andrew Geissler615f2f12022-07-15 14:00:58 -0500184
185 # mini-benchmark used for Gitlab-CI to run on every commit to catch
186 # if there are severe performance regressions.
187 # remove it to avoid introducing bash dependency
188 if [ -f ${D}${datadir}/mysql/mini-benchmark ]; then
189 rm -rf ${D}${datadir}/mysql/mini-benchmark
190 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500191 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -0500192 pam_so=$(find ${D} -name pam_user_map.so)
193 if [ x"${pam_so}" != x ]; then
194 pam_dir=$(dirname ${pam_so})
195 mv ${pam_dir} ${D}/${libdir}
196 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
197 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500198 fi
Brad Bishop316dfdd2018-06-25 12:45:53 -0400199}
200
Andrew Geissler69721092021-07-23 12:57:00 -0400201PACKAGES = "${PN}-dbg ${PN}-setupdb ${PN} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800202 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
203 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
Andrew Geissler69721092021-07-23 12:57:00 -0400204 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-leftovers"
Patrick Williams213cb262021-08-07 19:21:33 -0500205CONFFILES:${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
206CONFFILES:${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
207CONFFILES:libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400208
Patrick Williams213cb262021-08-07 19:21:33 -0500209RPROVIDES:${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800210
Patrick Williams213cb262021-08-07 19:21:33 -0500211FILES:${PN} = " "
212RDEPENDS:${PN} = "${PN}-client ${PN}-server"
213ALLOW_EMPTY:${PN} = "1"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400214
Patrick Williams213cb262021-08-07 19:21:33 -0500215RDEPENDS:${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400216 perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \
217 perl-module-exporter"
Patrick Williams213cb262021-08-07 19:21:33 -0500218RDEPENDS:${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400219 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
220 perl-module-file-copy perl-module-file-temp perl-module-posix \
Andrew Geissler9aee5002022-03-30 16:27:02 +0000221 ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl lzo"
Patrick Williams213cb262021-08-07 19:21:33 -0500222RDEPENDS:${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400223 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
224 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
225 perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \
226 perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
Brad Bishop19323692019-04-05 15:28:33 -0400227 perl-module-io-socket-inet perl-module-io-select bash"
Patrick Williams213cb262021-08-07 19:21:33 -0500228RDEPENDS:${PN}-setupdb = "coreutils"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400229
230# Allow old code to link to the backward compatible library
Patrick Williams213cb262021-08-07 19:21:33 -0500231RDEPENDS:libmysqlclient-dev = "libmysqlclient-r-dev"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400232
Andrew Geissler87f5cff2022-09-30 13:13:31 -0500233PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
234src_package_preprocess () {
235 # Trim build paths from comments in generated sources to ensure reproducibility
236 sed -i -e "s,${S}/sql/,,g" \
237 -e "s,${B}/sql/,,g" \
238 ${B}/sql/yy_oracle.hh \
239 ${B}/sql/yy_mariadb.cc \
240 ${B}/sql/yy_mariadb.hh \
241 ${B}/sql/yy_oracle.cc
242}
243
Patrick Williams213cb262021-08-07 19:21:33 -0500244FILES:libmysqlclient = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400245 ${libdir}/libmysqlclient.so.* \
Brad Bishop19323692019-04-05 15:28:33 -0400246 ${libdir}/libmariadb.so.* \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400247 ${sysconfdir}/my.cnf.d/client.cnf"
Patrick Williams213cb262021-08-07 19:21:33 -0500248FILES:libmysqlclient-dev = " \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400249 ${includedir}/mysql/ \
250 ${libdir}/libmysqlclient.so \
Brad Bishop19323692019-04-05 15:28:33 -0400251 ${libdir}/libmariadb.so \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400252 ${sysconfdir}/aclocal \
253 ${bindir}/mysql_config"
Patrick Williams213cb262021-08-07 19:21:33 -0500254FILES:libmysqlclient-staticdev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400255 ${libdir}/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400256
257# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
258# which are intentionally non-PIC on 32-bit x86 (see e.g.
259# storage/xtradb/plug.in in the source)
Patrick Williams213cb262021-08-07 19:21:33 -0500260INSANE_SKIP:libmysqlclient:append:x86 = " textrel"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400261
Patrick Williams213cb262021-08-07 19:21:33 -0500262FILES:libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
263FILES:libmysqlclient-r-dev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400264 ${libdir}/libmysqlclient_r.so"
Patrick Williams213cb262021-08-07 19:21:33 -0500265FILES:libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400266
Patrick Williams213cb262021-08-07 19:21:33 -0500267FILES:libmysqld = "\
Brad Bishop19323692019-04-05 15:28:33 -0400268 ${libdir}/libmysqld.so.* \
269 ${libdir}/libmariadbd.so.*"
Patrick Williams213cb262021-08-07 19:21:33 -0500270FILES:libmysqld-dev = "\
Brad Bishop19323692019-04-05 15:28:33 -0400271 ${libdir}/libmysqld.so \
272 ${libdir}/libmariadbd.so"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400273
Patrick Williams213cb262021-08-07 19:21:33 -0500274FILES:${PN}-client = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400275 ${bindir}/myisam_ftdump \
276 ${bindir}/mysql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500277 ${bindir}/mariadb \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400278 ${bindir}/mysql_client_test \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500279 ${bindir}/mariadb-client-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400280 ${bindir}/mysql_client_test_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500281 ${bindir}/mariadb-client-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400282 ${bindir}/mysql_find_rows \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500283 ${bindir}/mariadb-find-rows \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400284 ${bindir}/mysql_fix_extensions \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500285 ${bindir}/mariadb-fix-extensions \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400286 ${bindir}/mysql_waitpid \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500287 ${bindir}/mariadb-waitpid \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400288 ${bindir}/mysqlaccess \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500289 ${bindir}/mariadb-access \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400290 ${bindir}/mysqladmin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500291 ${bindir}/mariadb-admin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400292 ${bindir}/mysqlcheck \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500293 ${bindir}/mariadb-check \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400294 ${bindir}/mysqldump \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500295 ${bindir}/mariadb-dump \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400296 ${bindir}/mysqldumpslow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500297 ${bindir}/mariadb-dumpslow \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400298 ${bindir}/mysqlimport \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500299 ${bindir}/mariadb-import \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400300 ${bindir}/mysqlshow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500301 ${bindir}/mariadb-show \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400302 ${bindir}/mysqlslap \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500303 ${bindir}/mariadb-slap \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400304 ${bindir}/mysqltest_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500305 ${bindir}/mariadb-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400306 ${libexecdir}/mysqlmanager \
307 ${sysconfdir}/my.cnf.d/mysql-clients.cnf"
308
Patrick Williams213cb262021-08-07 19:21:33 -0500309FILES:${PN}-server = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400310 ${bindir}/msql2mysql \
311 ${bindir}/my_print_defaults \
312 ${bindir}/myisamchk \
313 ${bindir}/myisamlog \
314 ${bindir}/myisampack \
315 ${bindir}/mysql_convert_table_format \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500316 ${bindir}/mariadb-convert-table-format \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400317 ${bindir}/mysql_install_db \
318 ${bindir}/mysql_secure_installation \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500319 ${bindir}/mariadb-secure-installation \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400320 ${bindir}/mysql_setpermission \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500321 ${bindir}/mariadb-setpermission \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400322 ${bindir}/mysql-systemd-start \
323 ${bindir}/mysql_tzinfo_to_sql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500324 ${bindir}/mariadb-tzinfo-to-sql \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400325 ${bindir}/mysql_upgrade \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500326 ${bindir}/mariadb-upgrade \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400327 ${bindir}/mysql_plugin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500328 ${bindir}/mariadb-plugin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400329 ${bindir}/mysqlbinlog \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500330 ${bindir}/mariadb-binlog \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400331 ${bindir}/mysqld_multi \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500332 ${bindir}/mariadbd-multi \
333 ${bindir}/mariadbd-safe \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400334 ${bindir}/mysqld_safe \
335 ${bindir}/mysqld_safe_helper \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500336 ${bindir}/mariadbd-safe-helper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400337 ${bindir}/mysqlhotcopy \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500338 ${bindir}/mariadb-hotcopy \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400339 ${bindir}/mysqltest \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500340 ${bindir}/mariadb-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400341 ${bindir}/perror \
342 ${bindir}/replace \
343 ${bindir}/resolve_stack_dump \
344 ${bindir}/resolveip \
345 ${libexecdir}/mysqld \
346 ${sbindir}/mysqld \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500347 ${sbindir}/mariadbd \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400348 ${libdir}/plugin/*.so \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500349 ${libdir}/security/*.so \
350 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400351 ${datadir}/mysql/ \
352 ${localstatedir}/mysql/ \
353 ${sysconfdir}/init.d/mysqld \
354 ${sysconfdir}/my.cnf \
355 ${sysconfdir}/my.cnf.d/server.cnf \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500356 ${sysconfdir}/security/user_map.conf \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400357 ${sysconfdir}/tmpfiles.d"
358
Patrick Williams213cb262021-08-07 19:21:33 -0500359DESCRIPTION:${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
360FILES:${PN}-leftovers = "/"