blob: 4e285aea7e7a21aace1cf54a86668ee4afc999d0 [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 \
Brad Bishop316dfdd2018-06-25 12:45:53 -040025 "
Patrick Williams213cb262021-08-07 19:21:33 -050026SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
Andrew Geissler517393d2023-01-13 08:55:19 -060027SRC_URI[sha256sum] = "ffacf84e74daf249ad64b9573d79a4e882f66b004614f8b33bfcb14a8e25da1d"
Brad Bishop316dfdd2018-06-25 12:45:53 -040028
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
Brad Bishop316dfdd2018-06-25 12:45:53 -040030
31S = "${WORKDIR}/mariadb-${PV}"
32
33BINCONFIG_GLOB = "mysql_config"
34
Patrick Williams92b42cb2022-09-03 06:53:57 -050035inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script pkgconfig
Brad Bishopc1d34332019-09-09 14:56:00 -040036
Andrew Geisslerd688a012020-09-18 13:36:00 -050037MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
Andrew Geissler69721092021-07-23 12:57:00 -040038 ${PN}-setupdb:${bindir}/mariadb-install-db"
Brad Bishop316dfdd2018-06-25 12:45:53 -040039
40INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050041INITSCRIPT_NAME:${PN}-server = "mysqld"
42INITSCRIPT_PARAMS:${PN}-server ?= "start 45 5 . stop 45 0 6 1 ."
Brad Bishop316dfdd2018-06-25 12:45:53 -040043
Andrew Geissler69721092021-07-23 12:57:00 -040044USERADD_PACKAGES = "${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050045USERADD_PARAM:${PN}-setupdb = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
46GROUPADD_PARAM:${PN}-setupdb = "--system mysql"
Brad Bishop316dfdd2018-06-25 12:45:53 -040047
Patrick Williams213cb262021-08-07 19:21:33 -050048INITSCRIPT_NAME:${PN}-setupdb = "install_db"
49INITSCRIPT_PARAMS:${PN}-setupdb ?= "defaults 44 44"
Brad Bishop316dfdd2018-06-25 12:45:53 -040050
51SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050052SYSTEMD_SERVICE:${PN}-server = "mysqld.service"
53SYSTEMD_AUTO_ENABLE:${PN}-server ?= "disable"
Brad Bishop316dfdd2018-06-25 12:45:53 -040054
Patrick Williams213cb262021-08-07 19:21:33 -050055SYSTEMD_SERVICE:${PN}-setupdb = "install_db.service"
56SYSTEMD_AUTO_ENABLE:${PN}-setupdb ?= "enable"
57ALLOW_EMPTY:${PN}-setupdb ?= "1"
58FILES:${PN}-setupdb = "${sysconfdir}/init.d/install_db \
Andrew Geissler69721092021-07-23 12:57:00 -040059 ${bindir}/mariadb-install-db \
60 ${bindir}/my_print_defaults \
61 ${bindir}/mysql_install_db \
62 ${bindir}/mysql-systemd-start \
63 "
Brad Bishop316dfdd2018-06-25 12:45:53 -040064
Patrick Williams92b42cb2022-09-03 06:53:57 -050065PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} lz4 openssl"
Patrick Williams2194f502022-10-16 14:26:09 -050066EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
67
Patrick Williams213cb262021-08-07 19:21:33 -050068PACKAGECONFIG:class-native = ""
Brad Bishop316dfdd2018-06-25 12:45:53 -040069PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam"
70PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
Brad Bishop316dfdd2018-06-25 12:45:53 -040071PACKAGECONFIG[krb5] = ", ,krb5"
Patrick Williams92b42cb2022-09-03 06:53:57 -050072PACKAGECONFIG[lz4] = ", ,lz4"
Andrew Geissler9aee5002022-03-30 16:27:02 +000073PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl"
Brad Bishop316dfdd2018-06-25 12:45:53 -040074
75# MariaDB doesn't link properly with gold
76# https://mariadb.atlassian.net/browse/MDEV-5982
77TARGET_CFLAGS += "-fuse-ld=bfd"
Brad Bishop19323692019-04-05 15:28:33 -040078LDFLAGS += " -pthread"
Andrew Geissler9aee5002022-03-30 16:27:02 +000079
Brad Bishop316dfdd2018-06-25 12:45:53 -040080BUILD_CFLAGS += "-fuse-ld=bfd"
81BUILD_CXXFLAGS += "-fuse-ld=bfd"
82
Andrew Geissler78b72792022-06-14 06:47:25 -050083LDFLAGS:x86:toolchain-clang = "-latomic"
84
Brad Bishop316dfdd2018-06-25 12:45:53 -040085EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
86 -DWITH_JEMALLOC=no \
87 -DWITHOUT_TOKUDB=TRUE \
88 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
89 -DGROFF=FALSE \
90 -DNROFF=FALSE \
91 -DENABLE_DTRACE=FALSE \
92 -DWITH_PIC=ON \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050093 -DWITH_PCRE=system \
Brad Bishop316dfdd2018-06-25 12:45:53 -040094 -DINSTALL_LAYOUT=RPM \
95 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
96 -DINSTALL_LIBDIR:PATH=${baselib} \
97 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
98 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
99 -DMYSQL_DATADIR:PATH=/var/mysql \
100 -DCAT_EXECUTABLE=`which cat` \
Patrick Williams2194f502022-10-16 14:26:09 -0500101 -DSTACK_DIRECTION=1 \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400102 -DCMAKE_AR:FILEPATH=${AR}"
103
Andrew Geissler69721092021-07-23 12:57:00 -0400104
Brad Bishop316dfdd2018-06-25 12:45:53 -0400105# With Ninja it fails with:
106# make: *** No rule to make target `install'. Stop.
107OECMAKE_GENERATOR = "Unix Makefiles"
108
Patrick Williams213cb262021-08-07 19:21:33 -0500109ARM_INSTRUCTION_SET:armv4 = "arm"
110ARM_INSTRUCTION_SET:armv5 = "arm"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400111
Patrick Williams213cb262021-08-07 19:21:33 -0500112do_configure:append() {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400113 # handle distros with different values of ${libexecdir}
114 libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
115 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh
116 sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh
117 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh
118}
119
Patrick Williams213cb262021-08-07 19:21:33 -0500120do_generate_toolchain_file:append:class-native () {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400121 # If these are set cmake will assume we're cross-compiling, which will
122 # result in certain things we want being disabled
123 sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake
124 sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake
125}
126
Brad Bishop316dfdd2018-06-25 12:45:53 -0400127
Patrick Williams213cb262021-08-07 19:21:33 -0500128do_compile:prepend:class-target () {
Patrick Williams2194f502022-10-16 14:26:09 -0500129 # These need to be in-tree or make will think they need to be built,
130 # and since we're cross-compiling that is disabled
131 cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra
132 cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts
Brad Bishop316dfdd2018-06-25 12:45:53 -0400133 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
134 if ! [ -e ${B}/include/openssl/kssl.h ] ; then
135 mkdir -p ${B}/include/openssl
136 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
137 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
138 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
139 echo "#endif" >>${B}/include/openssl/kssl.h
140 fi
141 fi
142}
143
144SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"
145
146# We need to append this so it runs *after* binconfig's preprocess function
147#
148# We really don't care exactly what the directories were set to originally.
149# plugindir is not fixed, but we don't create any plugins.
150#
151mariadb_sysroot_preprocess () {
152 sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
153 sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
154}
155
156do_install() {
157 oe_runmake 'DESTDIR=${D}' install
158
159 install -d ${D}/${sysconfdir}/init.d
160 install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
161 install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
162 mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
163
164 install -d ${D}${systemd_unitdir}/system
165 install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
166 install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
167 sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
168 ${D}${systemd_unitdir}/system/install_db.service
169
Brad Bishop316dfdd2018-06-25 12:45:53 -0400170 install -d ${D}${bindir}
171 install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir}
172 install -d ${D}${datadir}/doc/${PN}
173 if [ -f ${D}${datadir}/doc/README ]; then
174 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
175 fi
Andrew Geissler615f2f12022-07-15 14:00:58 -0500176
177 # mini-benchmark used for Gitlab-CI to run on every commit to catch
178 # if there are severe performance regressions.
179 # remove it to avoid introducing bash dependency
180 if [ -f ${D}${datadir}/mysql/mini-benchmark ]; then
181 rm -rf ${D}${datadir}/mysql/mini-benchmark
182 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500183 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -0500184 pam_so=$(find ${D} -name pam_user_map.so)
185 if [ x"${pam_so}" != x ]; then
186 pam_dir=$(dirname ${pam_so})
187 mv ${pam_dir} ${D}/${libdir}
188 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
189 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500190 fi
Brad Bishop316dfdd2018-06-25 12:45:53 -0400191}
192
Andrew Geissler69721092021-07-23 12:57:00 -0400193PACKAGES = "${PN}-dbg ${PN}-setupdb ${PN} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800194 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
195 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
Andrew Geissler69721092021-07-23 12:57:00 -0400196 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-leftovers"
Patrick Williams213cb262021-08-07 19:21:33 -0500197CONFFILES:${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
198CONFFILES:${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
199CONFFILES:libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400200
Patrick Williams213cb262021-08-07 19:21:33 -0500201RPROVIDES:${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800202
Patrick Williams213cb262021-08-07 19:21:33 -0500203FILES:${PN} = " "
204RDEPENDS:${PN} = "${PN}-client ${PN}-server"
205ALLOW_EMPTY:${PN} = "1"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400206
Patrick Williams213cb262021-08-07 19:21:33 -0500207RDEPENDS:${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400208 perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \
209 perl-module-exporter"
Patrick Williams213cb262021-08-07 19:21:33 -0500210RDEPENDS:${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400211 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
212 perl-module-file-copy perl-module-file-temp perl-module-posix \
Andrew Geissler9aee5002022-03-30 16:27:02 +0000213 ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl lzo"
Patrick Williams213cb262021-08-07 19:21:33 -0500214RDEPENDS:${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400215 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
216 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
217 perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \
218 perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
Brad Bishop19323692019-04-05 15:28:33 -0400219 perl-module-io-socket-inet perl-module-io-select bash"
Patrick Williams213cb262021-08-07 19:21:33 -0500220RDEPENDS:${PN}-setupdb = "coreutils"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400221
222# Allow old code to link to the backward compatible library
Patrick Williams213cb262021-08-07 19:21:33 -0500223RDEPENDS:libmysqlclient-dev = "libmysqlclient-r-dev"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400224
Andrew Geissler87f5cff2022-09-30 13:13:31 -0500225PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
226src_package_preprocess () {
227 # Trim build paths from comments in generated sources to ensure reproducibility
228 sed -i -e "s,${S}/sql/,,g" \
229 -e "s,${B}/sql/,,g" \
230 ${B}/sql/yy_oracle.hh \
231 ${B}/sql/yy_mariadb.cc \
232 ${B}/sql/yy_mariadb.hh \
233 ${B}/sql/yy_oracle.cc
234}
235
Patrick Williams213cb262021-08-07 19:21:33 -0500236FILES:libmysqlclient = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400237 ${libdir}/libmysqlclient.so.* \
Brad Bishop19323692019-04-05 15:28:33 -0400238 ${libdir}/libmariadb.so.* \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400239 ${sysconfdir}/my.cnf.d/client.cnf"
Patrick Williams213cb262021-08-07 19:21:33 -0500240FILES:libmysqlclient-dev = " \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400241 ${includedir}/mysql/ \
242 ${libdir}/libmysqlclient.so \
Brad Bishop19323692019-04-05 15:28:33 -0400243 ${libdir}/libmariadb.so \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400244 ${sysconfdir}/aclocal \
245 ${bindir}/mysql_config"
Patrick Williams213cb262021-08-07 19:21:33 -0500246FILES:libmysqlclient-staticdev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400247 ${libdir}/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400248
249# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
250# which are intentionally non-PIC on 32-bit x86 (see e.g.
251# storage/xtradb/plug.in in the source)
Patrick Williams213cb262021-08-07 19:21:33 -0500252INSANE_SKIP:libmysqlclient:append:x86 = " textrel"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400253
Patrick Williams213cb262021-08-07 19:21:33 -0500254FILES:libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
255FILES:libmysqlclient-r-dev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400256 ${libdir}/libmysqlclient_r.so"
Patrick Williams213cb262021-08-07 19:21:33 -0500257FILES:libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400258
Patrick Williams213cb262021-08-07 19:21:33 -0500259FILES:libmysqld = "\
Brad Bishop19323692019-04-05 15:28:33 -0400260 ${libdir}/libmysqld.so.* \
261 ${libdir}/libmariadbd.so.*"
Patrick Williams213cb262021-08-07 19:21:33 -0500262FILES:libmysqld-dev = "\
Brad Bishop19323692019-04-05 15:28:33 -0400263 ${libdir}/libmysqld.so \
264 ${libdir}/libmariadbd.so"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400265
Patrick Williams213cb262021-08-07 19:21:33 -0500266FILES:${PN}-client = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400267 ${bindir}/myisam_ftdump \
268 ${bindir}/mysql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500269 ${bindir}/mariadb \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400270 ${bindir}/mysql_client_test \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500271 ${bindir}/mariadb-client-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400272 ${bindir}/mysql_client_test_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500273 ${bindir}/mariadb-client-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400274 ${bindir}/mysql_find_rows \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500275 ${bindir}/mariadb-find-rows \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400276 ${bindir}/mysql_fix_extensions \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500277 ${bindir}/mariadb-fix-extensions \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400278 ${bindir}/mysql_waitpid \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500279 ${bindir}/mariadb-waitpid \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400280 ${bindir}/mysqlaccess \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500281 ${bindir}/mariadb-access \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400282 ${bindir}/mysqladmin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500283 ${bindir}/mariadb-admin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400284 ${bindir}/mysqlcheck \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500285 ${bindir}/mariadb-check \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400286 ${bindir}/mysqldump \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500287 ${bindir}/mariadb-dump \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400288 ${bindir}/mysqldumpslow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500289 ${bindir}/mariadb-dumpslow \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400290 ${bindir}/mysqlimport \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500291 ${bindir}/mariadb-import \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400292 ${bindir}/mysqlshow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500293 ${bindir}/mariadb-show \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400294 ${bindir}/mysqlslap \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500295 ${bindir}/mariadb-slap \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400296 ${bindir}/mysqltest_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500297 ${bindir}/mariadb-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400298 ${libexecdir}/mysqlmanager \
299 ${sysconfdir}/my.cnf.d/mysql-clients.cnf"
300
Patrick Williams213cb262021-08-07 19:21:33 -0500301FILES:${PN}-server = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400302 ${bindir}/msql2mysql \
303 ${bindir}/my_print_defaults \
304 ${bindir}/myisamchk \
305 ${bindir}/myisamlog \
306 ${bindir}/myisampack \
307 ${bindir}/mysql_convert_table_format \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500308 ${bindir}/mariadb-convert-table-format \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400309 ${bindir}/mysql_install_db \
310 ${bindir}/mysql_secure_installation \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500311 ${bindir}/mariadb-secure-installation \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400312 ${bindir}/mysql_setpermission \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500313 ${bindir}/mariadb-setpermission \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400314 ${bindir}/mysql-systemd-start \
315 ${bindir}/mysql_tzinfo_to_sql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500316 ${bindir}/mariadb-tzinfo-to-sql \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400317 ${bindir}/mysql_upgrade \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500318 ${bindir}/mariadb-upgrade \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400319 ${bindir}/mysql_plugin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500320 ${bindir}/mariadb-plugin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400321 ${bindir}/mysqlbinlog \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500322 ${bindir}/mariadb-binlog \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400323 ${bindir}/mysqld_multi \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500324 ${bindir}/mariadbd-multi \
325 ${bindir}/mariadbd-safe \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400326 ${bindir}/mysqld_safe \
327 ${bindir}/mysqld_safe_helper \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500328 ${bindir}/mariadbd-safe-helper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400329 ${bindir}/mysqlhotcopy \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500330 ${bindir}/mariadb-hotcopy \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400331 ${bindir}/mysqltest \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500332 ${bindir}/mariadb-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400333 ${bindir}/perror \
334 ${bindir}/replace \
335 ${bindir}/resolve_stack_dump \
336 ${bindir}/resolveip \
337 ${libexecdir}/mysqld \
338 ${sbindir}/mysqld \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500339 ${sbindir}/mariadbd \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400340 ${libdir}/plugin/*.so \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500341 ${libdir}/security/*.so \
342 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400343 ${datadir}/mysql/ \
344 ${localstatedir}/mysql/ \
345 ${sysconfdir}/init.d/mysqld \
346 ${sysconfdir}/my.cnf \
347 ${sysconfdir}/my.cnf.d/server.cnf \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500348 ${sysconfdir}/security/user_map.conf \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400349 ${sysconfdir}/tmpfiles.d"
350
Patrick Williams213cb262021-08-07 19:21:33 -0500351DESCRIPTION:${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
352FILES:${PN}-leftovers = "/"