blob: 9833b288571d3da914f09cc60326c936391498b0 [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 \
14 file://fix-a-building-failure.patch \
Brad Bishop19323692019-04-05 15:28:33 -040015 file://support-files-CMakeLists.txt-fix-do_populate_sysroot.patch \
16 file://sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040017 file://0001-disable-ucontext-on-musl.patch \
Brad Bishop19323692019-04-05 15:28:33 -040018 file://c11_atomics.patch \
19 file://clang_version_header_conflict.patch \
20 file://fix-arm-atomic.patch \
Brad Bishope42b3e32020-01-15 22:08:42 -050021 file://0001-Fix-library-LZ4-lookup.patch \
Andrew Geissler4b7c1152020-11-30 19:55:29 -060022 file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \
Andrew Geisslere34f8962021-04-15 15:53:51 -050023 file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \
24 file://sys_futex.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040025 "
Andrew Geissler32b11992021-03-31 13:37:05 -050026SRC_URI_append_libc-musl = " file://ppc-remove-glibc-dep.patch"
27
Andrew Geisslere34f8962021-04-15 15:53:51 -050028SRC_URI[sha256sum] = "40ab19aeb8de141fdc188cf2251213c9e7351bee4d0cd29db704fae68d1068cf"
Brad Bishop316dfdd2018-06-25 12:45:53 -040029
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080030UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
Brad Bishop316dfdd2018-06-25 12:45:53 -040031
32S = "${WORKDIR}/mariadb-${PV}"
33
34BINCONFIG_GLOB = "mysql_config"
35
Brad Bishopc1d34332019-09-09 14:56:00 -040036inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script
37
Andrew Geisslerd688a012020-09-18 13:36:00 -050038MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
39 ${PN}-server:${bindir}/mariadb-install-db"
Brad Bishop316dfdd2018-06-25 12:45:53 -040040
41INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
42INITSCRIPT_NAME_${PN}-server = "mysqld"
43INITSCRIPT_PARAMS_${PN}-server ?= "start 45 5 . stop 45 0 6 1 ."
44
45USERADD_PACKAGES = "${PN}-server"
46USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
47GROUPADD_PARAM_${PN}-server = "--system mysql"
48
49INITSCRIPT_NAME_${PN}-setupdb = "install_db"
50INITSCRIPT_PARAMS_${PN}-setupdb ?= "defaults 44 44"
51
52SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb"
53SYSTEMD_SERVICE_${PN}-server = "mysqld.service"
54SYSTEMD_AUTO_ENABLE_${PN}-server ?= "disable"
55
56SYSTEMD_SERVICE_${PN}-setupdb = "install_db.service"
57SYSTEMD_AUTO_ENABLE_${PN}-setupdb ?= "enable"
58ALLOW_EMPTY_${PN}-setupdb ?= "1"
59FILES_${PN}-setupdb = "${sysconfdir}/init.d/install_db"
60
61EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
62
63PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} setupdb"
64PACKAGECONFIG_class-native = ""
65PACKAGECONFIG[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"
68PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb"
Andrew Geisslereef63862021-01-29 15:58:13 -060069PACKAGECONFIG[zstd] = "-DWITH_ROCKSDB_ZSTD=ON,-DWITH_ROCKSDB_ZSTD=OFF,zstd"
Brad Bishop316dfdd2018-06-25 12:45:53 -040070
71# MariaDB doesn't link properly with gold
72# https://mariadb.atlassian.net/browse/MDEV-5982
73TARGET_CFLAGS += "-fuse-ld=bfd"
Brad Bishop19323692019-04-05 15:28:33 -040074LDFLAGS += " -pthread"
Brad Bishop316dfdd2018-06-25 12:45:53 -040075BUILD_CFLAGS += "-fuse-ld=bfd"
76BUILD_CXXFLAGS += "-fuse-ld=bfd"
77
78EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
79 -DWITH_JEMALLOC=no \
80 -DWITHOUT_TOKUDB=TRUE \
81 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
82 -DGROFF=FALSE \
83 -DNROFF=FALSE \
84 -DENABLE_DTRACE=FALSE \
85 -DWITH_PIC=ON \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050086 -DWITH_PCRE=system \
Brad Bishop316dfdd2018-06-25 12:45:53 -040087 -DINSTALL_LAYOUT=RPM \
88 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
89 -DINSTALL_LIBDIR:PATH=${baselib} \
90 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
91 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
92 -DMYSQL_DATADIR:PATH=/var/mysql \
93 -DCAT_EXECUTABLE=`which cat` \
94 -DCMAKE_AR:FILEPATH=${AR}"
95
96# With Ninja it fails with:
97# make: *** No rule to make target `install'. Stop.
98OECMAKE_GENERATOR = "Unix Makefiles"
99
100ARM_INSTRUCTION_SET_armv4 = "arm"
101ARM_INSTRUCTION_SET_armv5 = "arm"
102
103do_configure_append() {
104 # handle distros with different values of ${libexecdir}
105 libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
106 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh
107 sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh
108 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh
109}
110
111do_generate_toolchain_file_append_class-native () {
112 # If these are set cmake will assume we're cross-compiling, which will
113 # result in certain things we want being disabled
114 sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake
115 sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake
116}
117
118do_compile_prepend_class-target () {
119 # These need to be in-tree or make will think they need to be built,
120 # and since we're cross-compiling that is disabled
121 cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra
122 cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts
123
124 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
125 if ! [ -e ${B}/include/openssl/kssl.h ] ; then
126 mkdir -p ${B}/include/openssl
127 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
128 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
129 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
130 echo "#endif" >>${B}/include/openssl/kssl.h
131 fi
132 fi
Brad Bishop19323692019-04-05 15:28:33 -0400133 # workaround to handle out-of-source build from source package
134 yacc_files="sql_yacc.hh sql_yacc.cc sql_yacc_ora.hh sql_yacc_ora.cc"
135 for yacc_file in ${yacc_files}; do
136 cp ${S}/sql/${yacc_file} ${B}/sql/${yacc_file}
137 done
Brad Bishop316dfdd2018-06-25 12:45:53 -0400138}
139
140SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"
141
142# We need to append this so it runs *after* binconfig's preprocess function
143#
144# We really don't care exactly what the directories were set to originally.
145# plugindir is not fixed, but we don't create any plugins.
146#
147mariadb_sysroot_preprocess () {
148 sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
149 sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
150}
151
152do_install() {
153 oe_runmake 'DESTDIR=${D}' install
154
155 install -d ${D}/${sysconfdir}/init.d
156 install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
157 install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
158 mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
159
160 install -d ${D}${systemd_unitdir}/system
161 install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
162 install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
163 sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
164 ${D}${systemd_unitdir}/system/install_db.service
165
166 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
167 install -d ${D}${sysconfdir}/tmpfiles.d
168 echo "f /var/log/mysqld.err 0640 mysql mysql -" \
169 > ${D}${sysconfdir}/tmpfiles.d/99-mysqld.conf
170 fi
171 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 Geissler82c905d2020-04-13 13:39:40 -0500177 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -0500178 pam_so=$(find ${D} -name pam_user_map.so)
179 if [ x"${pam_so}" != x ]; then
180 pam_dir=$(dirname ${pam_so})
181 mv ${pam_dir} ${D}/${libdir}
182 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
183 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500184 fi
Brad Bishop316dfdd2018-06-25 12:45:53 -0400185}
186
187PACKAGES = "${PN}-dbg ${PN} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800188 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
189 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400190 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-setupdb ${PN}-leftovers"
191CONFFILES_${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
192CONFFILES_${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
193CONFFILES_libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
194
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800195RPROVIDES_${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
196
Brad Bishop316dfdd2018-06-25 12:45:53 -0400197FILES_${PN} = " "
198RDEPENDS_${PN} = "${PN}-client ${PN}-server"
199ALLOW_EMPTY_${PN} = "1"
200
201RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
202 perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \
203 perl-module-exporter"
204RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
205 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
206 perl-module-file-copy perl-module-file-temp perl-module-posix \
Brad Bishop19323692019-04-05 15:28:33 -0400207 ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400208RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
209 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
210 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
211 perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \
212 perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
Brad Bishop19323692019-04-05 15:28:33 -0400213 perl-module-io-socket-inet perl-module-io-select bash"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400214RDEPENDS_${PN}-setupdb = "coreutils"
215
216# Allow old code to link to the backward compatible library
217RDEPENDS_libmysqlclient-dev = "libmysqlclient-r-dev"
218
219FILES_libmysqlclient = "\
220 ${libdir}/libmysqlclient.so.* \
Brad Bishop19323692019-04-05 15:28:33 -0400221 ${libdir}/libmariadb.so.* \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400222 ${sysconfdir}/my.cnf.d/client.cnf"
223FILES_libmysqlclient-dev = " \
224 ${includedir}/mysql/ \
225 ${libdir}/libmysqlclient.so \
Brad Bishop19323692019-04-05 15:28:33 -0400226 ${libdir}/libmariadb.so \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400227 ${sysconfdir}/aclocal \
228 ${bindir}/mysql_config"
229FILES_libmysqlclient-staticdev = "\
230 ${libdir}/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400231
232# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
233# which are intentionally non-PIC on 32-bit x86 (see e.g.
234# storage/xtradb/plug.in in the source)
235INSANE_SKIP_libmysqlclient_append_x86 = " textrel"
236
237FILES_libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
238FILES_libmysqlclient-r-dev = "\
239 ${libdir}/libmysqlclient_r.so"
240FILES_libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400241
242FILES_libmysqld = "\
Brad Bishop19323692019-04-05 15:28:33 -0400243 ${libdir}/libmysqld.so.* \
244 ${libdir}/libmariadbd.so.*"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400245FILES_libmysqld-dev = "\
Brad Bishop19323692019-04-05 15:28:33 -0400246 ${libdir}/libmysqld.so \
247 ${libdir}/libmariadbd.so"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400248
249FILES_${PN}-client = "\
250 ${bindir}/myisam_ftdump \
251 ${bindir}/mysql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500252 ${bindir}/mariadb \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400253 ${bindir}/mysql_client_test \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500254 ${bindir}/mariadb-client-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400255 ${bindir}/mysql_client_test_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500256 ${bindir}/mariadb-client-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400257 ${bindir}/mysql_find_rows \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500258 ${bindir}/mariadb-find-rows \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400259 ${bindir}/mysql_fix_extensions \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500260 ${bindir}/mariadb-fix-extensions \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400261 ${bindir}/mysql_waitpid \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500262 ${bindir}/mariadb-waitpid \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400263 ${bindir}/mysqlaccess \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500264 ${bindir}/mariadb-access \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400265 ${bindir}/mysqladmin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500266 ${bindir}/mariadb-admin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400267 ${bindir}/mysqlcheck \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500268 ${bindir}/mariadb-check \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400269 ${bindir}/mysqldump \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500270 ${bindir}/mariadb-dump \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400271 ${bindir}/mysqldumpslow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500272 ${bindir}/mariadb-dumpslow \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400273 ${bindir}/mysqlimport \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500274 ${bindir}/mariadb-import \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400275 ${bindir}/mysqlshow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500276 ${bindir}/mariadb-show \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400277 ${bindir}/mysqlslap \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500278 ${bindir}/mariadb-slap \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400279 ${bindir}/mysqltest_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500280 ${bindir}/mariadb-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400281 ${libexecdir}/mysqlmanager \
282 ${sysconfdir}/my.cnf.d/mysql-clients.cnf"
283
284FILES_${PN}-server = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400285 ${bindir}/msql2mysql \
286 ${bindir}/my_print_defaults \
287 ${bindir}/myisamchk \
288 ${bindir}/myisamlog \
289 ${bindir}/myisampack \
290 ${bindir}/mysql_convert_table_format \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500291 ${bindir}/mariadb-convert-table-format \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400292 ${bindir}/mysql_install_db \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500293 ${bindir}/mariadb-install-db \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400294 ${bindir}/mysql_secure_installation \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500295 ${bindir}/mariadb-secure-installation \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400296 ${bindir}/mysql_setpermission \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500297 ${bindir}/mariadb-setpermission \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400298 ${bindir}/mysql-systemd-start \
299 ${bindir}/mysql_tzinfo_to_sql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500300 ${bindir}/mariadb-tzinfo-to-sql \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400301 ${bindir}/mysql_upgrade \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500302 ${bindir}/mariadb-upgrade \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400303 ${bindir}/mysql_plugin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500304 ${bindir}/mariadb-plugin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400305 ${bindir}/mysqlbinlog \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500306 ${bindir}/mariadb-binlog \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400307 ${bindir}/mysqld_multi \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500308 ${bindir}/mariadbd-multi \
309 ${bindir}/mariadbd-safe \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400310 ${bindir}/mysqld_safe \
311 ${bindir}/mysqld_safe_helper \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500312 ${bindir}/mariadbd-safe-helper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400313 ${bindir}/mysqlhotcopy \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500314 ${bindir}/mariadb-hotcopy \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400315 ${bindir}/mysqltest \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500316 ${bindir}/mariadb-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400317 ${bindir}/perror \
318 ${bindir}/replace \
319 ${bindir}/resolve_stack_dump \
320 ${bindir}/resolveip \
321 ${libexecdir}/mysqld \
322 ${sbindir}/mysqld \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500323 ${sbindir}/mariadbd \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400324 ${libdir}/plugin/*.so \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500325 ${libdir}/security/*.so \
326 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400327 ${datadir}/mysql/ \
328 ${localstatedir}/mysql/ \
329 ${sysconfdir}/init.d/mysqld \
330 ${sysconfdir}/my.cnf \
331 ${sysconfdir}/my.cnf.d/server.cnf \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500332 ${sysconfdir}/security/user_map.conf \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400333 ${sysconfdir}/tmpfiles.d"
334
335DESCRIPTION_${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
336FILES_${PN}-leftovers = "/"