blob: 25e630a16a0d9a00b2dd127a09b52d5bf6461b2d [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "A robust, scalable, and reliable SQL server"
2HOMEPAGE = "http://mariadb.org"
3SECTION = "libs"
4LICENSE = "GPLv2"
Brad Bishopc8f47122019-06-24 09:36:18 -04005LIC_FILES_CHKSUM = "file://COPYING;md5=b1becf0cfa3366e0f4d854d1d264f311"
Brad Bishop316dfdd2018-06-25 12:45:53 -04006
Brad Bishope42b3e32020-01-15 22:08:42 -05007SRC_URI = "https://downloads.mariadb.org/interstitial/${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 \
15 file://sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040016 file://0001-disable-ucontext-on-musl.patch \
Brad Bishop19323692019-04-05 15:28:33 -040017 file://c11_atomics.patch \
18 file://clang_version_header_conflict.patch \
19 file://fix-arm-atomic.patch \
Brad Bishope42b3e32020-01-15 22:08:42 -050020 file://0001-Fix-library-LZ4-lookup.patch \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060021 file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \
Andrew Geisslere34f8962021-04-15 15:53:51 -050022 file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \
23 file://sys_futex.patch \
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070024 file://cross-compiling.patch \
25 file://ssize_t.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040026 "
Andrew Geissler32b11992021-03-31 13:37:05 -050027SRC_URI_append_libc-musl = " file://ppc-remove-glibc-dep.patch"
28
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070029SRC_URI[sha256sum] = "a5ff32f9fcaaf26bf5cba94accc7b246d2d5eb75710d027e40122df6bac0babb"
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
Brad Bishopc1d34332019-09-09 14:56:00 -040037inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script
38
Andrew Geisslerd688a012020-09-18 13:36:00 -050039MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
40 ${PN}-server:${bindir}/mariadb-install-db"
Brad Bishop316dfdd2018-06-25 12:45:53 -040041
42INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
43INITSCRIPT_NAME_${PN}-server = "mysqld"
44INITSCRIPT_PARAMS_${PN}-server ?= "start 45 5 . stop 45 0 6 1 ."
45
46USERADD_PACKAGES = "${PN}-server"
47USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
48GROUPADD_PARAM_${PN}-server = "--system mysql"
49
50INITSCRIPT_NAME_${PN}-setupdb = "install_db"
51INITSCRIPT_PARAMS_${PN}-setupdb ?= "defaults 44 44"
52
53SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb"
54SYSTEMD_SERVICE_${PN}-server = "mysqld.service"
55SYSTEMD_AUTO_ENABLE_${PN}-server ?= "disable"
56
57SYSTEMD_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"
61
62EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
63
64PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} setupdb"
65PACKAGECONFIG_class-native = ""
66PACKAGECONFIG[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"
69PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb"
Andrew Geisslereef63862021-01-29 15:58:13 -060070PACKAGECONFIG[zstd] = "-DWITH_ROCKSDB_ZSTD=ON,-DWITH_ROCKSDB_ZSTD=OFF,zstd"
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"
Brad Bishop316dfdd2018-06-25 12:45:53 -040076BUILD_CFLAGS += "-fuse-ld=bfd"
77BUILD_CXXFLAGS += "-fuse-ld=bfd"
78
79EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
80 -DWITH_JEMALLOC=no \
81 -DWITHOUT_TOKUDB=TRUE \
82 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
83 -DGROFF=FALSE \
84 -DNROFF=FALSE \
85 -DENABLE_DTRACE=FALSE \
86 -DWITH_PIC=ON \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050087 -DWITH_PCRE=system \
Brad Bishop316dfdd2018-06-25 12:45:53 -040088 -DINSTALL_LAYOUT=RPM \
89 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
90 -DINSTALL_LIBDIR:PATH=${baselib} \
91 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
92 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
93 -DMYSQL_DATADIR:PATH=/var/mysql \
94 -DCAT_EXECUTABLE=`which cat` \
95 -DCMAKE_AR:FILEPATH=${AR}"
96
97# With Ninja it fails with:
98# make: *** No rule to make target `install'. Stop.
99OECMAKE_GENERATOR = "Unix Makefiles"
100
101ARM_INSTRUCTION_SET_armv4 = "arm"
102ARM_INSTRUCTION_SET_armv5 = "arm"
103
104do_configure_append() {
105 # handle distros with different values of ${libexecdir}
106 libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
107 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh
108 sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh
109 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh
110}
111
112do_generate_toolchain_file_append_class-native () {
113 # If these are set cmake will assume we're cross-compiling, which will
114 # result in certain things we want being disabled
115 sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake
116 sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake
117}
118
119do_compile_prepend_class-target () {
120 # These need to be in-tree or make will think they need to be built,
121 # and since we're cross-compiling that is disabled
122 cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra
123 cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts
124
125 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
126 if ! [ -e ${B}/include/openssl/kssl.h ] ; then
127 mkdir -p ${B}/include/openssl
128 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
129 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
130 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
131 echo "#endif" >>${B}/include/openssl/kssl.h
132 fi
133 fi
Brad Bishop19323692019-04-05 15:28:33 -0400134 # workaround to handle out-of-source build from source package
135 yacc_files="sql_yacc.hh sql_yacc.cc sql_yacc_ora.hh sql_yacc_ora.cc"
136 for yacc_file in ${yacc_files}; do
137 cp ${S}/sql/${yacc_file} ${B}/sql/${yacc_file}
138 done
Brad Bishop316dfdd2018-06-25 12:45:53 -0400139}
140
141SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"
142
143# We need to append this so it runs *after* binconfig's preprocess function
144#
145# We really don't care exactly what the directories were set to originally.
146# plugindir is not fixed, but we don't create any plugins.
147#
148mariadb_sysroot_preprocess () {
149 sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
150 sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
151}
152
153do_install() {
154 oe_runmake 'DESTDIR=${D}' install
155
156 install -d ${D}/${sysconfdir}/init.d
157 install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
158 install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
159 mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
160
161 install -d ${D}${systemd_unitdir}/system
162 install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
163 install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
164 sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
165 ${D}${systemd_unitdir}/system/install_db.service
166
167 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
168 install -d ${D}${sysconfdir}/tmpfiles.d
169 echo "f /var/log/mysqld.err 0640 mysql mysql -" \
170 > ${D}${sysconfdir}/tmpfiles.d/99-mysqld.conf
171 fi
172 install -d ${D}${bindir}
173 install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir}
174 install -d ${D}${datadir}/doc/${PN}
175 if [ -f ${D}${datadir}/doc/README ]; then
176 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
177 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500178 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -0500179 pam_so=$(find ${D} -name pam_user_map.so)
180 if [ x"${pam_so}" != x ]; then
181 pam_dir=$(dirname ${pam_so})
182 mv ${pam_dir} ${D}/${libdir}
183 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
184 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500185 fi
Brad Bishop316dfdd2018-06-25 12:45:53 -0400186}
187
188PACKAGES = "${PN}-dbg ${PN} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800189 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
190 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400191 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-setupdb ${PN}-leftovers"
192CONFFILES_${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
193CONFFILES_${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
194CONFFILES_libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
195
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800196RPROVIDES_${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
197
Brad Bishop316dfdd2018-06-25 12:45:53 -0400198FILES_${PN} = " "
199RDEPENDS_${PN} = "${PN}-client ${PN}-server"
200ALLOW_EMPTY_${PN} = "1"
201
202RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
203 perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \
204 perl-module-exporter"
205RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
206 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
207 perl-module-file-copy perl-module-file-temp perl-module-posix \
Brad Bishop19323692019-04-05 15:28:33 -0400208 ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400209RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
210 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
211 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
212 perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \
213 perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
Brad Bishop19323692019-04-05 15:28:33 -0400214 perl-module-io-socket-inet perl-module-io-select bash"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400215RDEPENDS_${PN}-setupdb = "coreutils"
216
217# Allow old code to link to the backward compatible library
218RDEPENDS_libmysqlclient-dev = "libmysqlclient-r-dev"
219
220FILES_libmysqlclient = "\
221 ${libdir}/libmysqlclient.so.* \
Brad Bishop19323692019-04-05 15:28:33 -0400222 ${libdir}/libmariadb.so.* \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400223 ${sysconfdir}/my.cnf.d/client.cnf"
224FILES_libmysqlclient-dev = " \
225 ${includedir}/mysql/ \
226 ${libdir}/libmysqlclient.so \
Brad Bishop19323692019-04-05 15:28:33 -0400227 ${libdir}/libmariadb.so \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400228 ${sysconfdir}/aclocal \
229 ${bindir}/mysql_config"
230FILES_libmysqlclient-staticdev = "\
231 ${libdir}/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400232
233# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
234# which are intentionally non-PIC on 32-bit x86 (see e.g.
235# storage/xtradb/plug.in in the source)
236INSANE_SKIP_libmysqlclient_append_x86 = " textrel"
237
238FILES_libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
239FILES_libmysqlclient-r-dev = "\
240 ${libdir}/libmysqlclient_r.so"
241FILES_libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400242
243FILES_libmysqld = "\
Brad Bishop19323692019-04-05 15:28:33 -0400244 ${libdir}/libmysqld.so.* \
245 ${libdir}/libmariadbd.so.*"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400246FILES_libmysqld-dev = "\
Brad Bishop19323692019-04-05 15:28:33 -0400247 ${libdir}/libmysqld.so \
248 ${libdir}/libmariadbd.so"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400249
250FILES_${PN}-client = "\
251 ${bindir}/myisam_ftdump \
252 ${bindir}/mysql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500253 ${bindir}/mariadb \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400254 ${bindir}/mysql_client_test \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500255 ${bindir}/mariadb-client-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400256 ${bindir}/mysql_client_test_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500257 ${bindir}/mariadb-client-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400258 ${bindir}/mysql_find_rows \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500259 ${bindir}/mariadb-find-rows \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400260 ${bindir}/mysql_fix_extensions \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500261 ${bindir}/mariadb-fix-extensions \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400262 ${bindir}/mysql_waitpid \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500263 ${bindir}/mariadb-waitpid \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400264 ${bindir}/mysqlaccess \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500265 ${bindir}/mariadb-access \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400266 ${bindir}/mysqladmin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500267 ${bindir}/mariadb-admin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400268 ${bindir}/mysqlcheck \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500269 ${bindir}/mariadb-check \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400270 ${bindir}/mysqldump \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500271 ${bindir}/mariadb-dump \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400272 ${bindir}/mysqldumpslow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500273 ${bindir}/mariadb-dumpslow \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400274 ${bindir}/mysqlimport \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500275 ${bindir}/mariadb-import \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400276 ${bindir}/mysqlshow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500277 ${bindir}/mariadb-show \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400278 ${bindir}/mysqlslap \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500279 ${bindir}/mariadb-slap \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400280 ${bindir}/mysqltest_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500281 ${bindir}/mariadb-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400282 ${libexecdir}/mysqlmanager \
283 ${sysconfdir}/my.cnf.d/mysql-clients.cnf"
284
285FILES_${PN}-server = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400286 ${bindir}/msql2mysql \
287 ${bindir}/my_print_defaults \
288 ${bindir}/myisamchk \
289 ${bindir}/myisamlog \
290 ${bindir}/myisampack \
291 ${bindir}/mysql_convert_table_format \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500292 ${bindir}/mariadb-convert-table-format \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400293 ${bindir}/mysql_install_db \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500294 ${bindir}/mariadb-install-db \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400295 ${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
336DESCRIPTION_${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
337FILES_${PN}-leftovers = "/"