blob: 27eede6c30a4efb24947e88a8ff81706e9eab5d9 [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 Geisslereef63862021-01-29 15:58:13 -060023 file://0001-stacktrace-t.c-make-the-test-conditional.patch \
Brad Bishop316dfdd2018-06-25 12:45:53 -040024 "
Andrew Geisslereef63862021-01-29 15:58:13 -060025SRC_URI[sha256sum] = "eb4824f6f2c532cd3fc6a6bce7bf78ea7c6b949f8bdd07656b2c84344e757be8"
Brad Bishop316dfdd2018-06-25 12:45:53 -040026
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
Brad Bishop316dfdd2018-06-25 12:45:53 -040028
29S = "${WORKDIR}/mariadb-${PV}"
30
31BINCONFIG_GLOB = "mysql_config"
32
Brad Bishopc1d34332019-09-09 14:56:00 -040033inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script
34
Andrew Geisslerd688a012020-09-18 13:36:00 -050035MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
36 ${PN}-server:${bindir}/mariadb-install-db"
Brad Bishop316dfdd2018-06-25 12:45:53 -040037
38INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
39INITSCRIPT_NAME_${PN}-server = "mysqld"
40INITSCRIPT_PARAMS_${PN}-server ?= "start 45 5 . stop 45 0 6 1 ."
41
42USERADD_PACKAGES = "${PN}-server"
43USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
44GROUPADD_PARAM_${PN}-server = "--system mysql"
45
46INITSCRIPT_NAME_${PN}-setupdb = "install_db"
47INITSCRIPT_PARAMS_${PN}-setupdb ?= "defaults 44 44"
48
49SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb"
50SYSTEMD_SERVICE_${PN}-server = "mysqld.service"
51SYSTEMD_AUTO_ENABLE_${PN}-server ?= "disable"
52
53SYSTEMD_SERVICE_${PN}-setupdb = "install_db.service"
54SYSTEMD_AUTO_ENABLE_${PN}-setupdb ?= "enable"
55ALLOW_EMPTY_${PN}-setupdb ?= "1"
56FILES_${PN}-setupdb = "${sysconfdir}/init.d/install_db"
57
58EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
59
60PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} setupdb"
61PACKAGECONFIG_class-native = ""
62PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam"
63PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
Brad Bishop316dfdd2018-06-25 12:45:53 -040064PACKAGECONFIG[krb5] = ", ,krb5"
65PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb"
Andrew Geisslereef63862021-01-29 15:58:13 -060066PACKAGECONFIG[zstd] = "-DWITH_ROCKSDB_ZSTD=ON,-DWITH_ROCKSDB_ZSTD=OFF,zstd"
Brad Bishop316dfdd2018-06-25 12:45:53 -040067
68# MariaDB doesn't link properly with gold
69# https://mariadb.atlassian.net/browse/MDEV-5982
70TARGET_CFLAGS += "-fuse-ld=bfd"
Brad Bishop19323692019-04-05 15:28:33 -040071LDFLAGS += " -pthread"
Brad Bishop316dfdd2018-06-25 12:45:53 -040072BUILD_CFLAGS += "-fuse-ld=bfd"
73BUILD_CXXFLAGS += "-fuse-ld=bfd"
74
75EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
76 -DWITH_JEMALLOC=no \
77 -DWITHOUT_TOKUDB=TRUE \
78 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
79 -DGROFF=FALSE \
80 -DNROFF=FALSE \
81 -DENABLE_DTRACE=FALSE \
82 -DWITH_PIC=ON \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050083 -DWITH_PCRE=system \
Brad Bishop316dfdd2018-06-25 12:45:53 -040084 -DINSTALL_LAYOUT=RPM \
85 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
86 -DINSTALL_LIBDIR:PATH=${baselib} \
87 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
88 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
89 -DMYSQL_DATADIR:PATH=/var/mysql \
90 -DCAT_EXECUTABLE=`which cat` \
91 -DCMAKE_AR:FILEPATH=${AR}"
92
93# With Ninja it fails with:
94# make: *** No rule to make target `install'. Stop.
95OECMAKE_GENERATOR = "Unix Makefiles"
96
97ARM_INSTRUCTION_SET_armv4 = "arm"
98ARM_INSTRUCTION_SET_armv5 = "arm"
99
100do_configure_append() {
101 # handle distros with different values of ${libexecdir}
102 libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
103 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh
104 sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh
105 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh
106}
107
108do_generate_toolchain_file_append_class-native () {
109 # If these are set cmake will assume we're cross-compiling, which will
110 # result in certain things we want being disabled
111 sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake
112 sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake
113}
114
115do_compile_prepend_class-target () {
116 # These need to be in-tree or make will think they need to be built,
117 # and since we're cross-compiling that is disabled
118 cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra
119 cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts
120
121 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
122 if ! [ -e ${B}/include/openssl/kssl.h ] ; then
123 mkdir -p ${B}/include/openssl
124 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
125 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
126 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
127 echo "#endif" >>${B}/include/openssl/kssl.h
128 fi
129 fi
Brad Bishop19323692019-04-05 15:28:33 -0400130 # workaround to handle out-of-source build from source package
131 yacc_files="sql_yacc.hh sql_yacc.cc sql_yacc_ora.hh sql_yacc_ora.cc"
132 for yacc_file in ${yacc_files}; do
133 cp ${S}/sql/${yacc_file} ${B}/sql/${yacc_file}
134 done
Brad Bishop316dfdd2018-06-25 12:45:53 -0400135}
136
137SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"
138
139# We need to append this so it runs *after* binconfig's preprocess function
140#
141# We really don't care exactly what the directories were set to originally.
142# plugindir is not fixed, but we don't create any plugins.
143#
144mariadb_sysroot_preprocess () {
145 sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
146 sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
147}
148
149do_install() {
150 oe_runmake 'DESTDIR=${D}' install
151
152 install -d ${D}/${sysconfdir}/init.d
153 install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
154 install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
155 mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
156
157 install -d ${D}${systemd_unitdir}/system
158 install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
159 install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
160 sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
161 ${D}${systemd_unitdir}/system/install_db.service
162
163 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
164 install -d ${D}${sysconfdir}/tmpfiles.d
165 echo "f /var/log/mysqld.err 0640 mysql mysql -" \
166 > ${D}${sysconfdir}/tmpfiles.d/99-mysqld.conf
167 fi
168 install -d ${D}${bindir}
169 install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir}
170 install -d ${D}${datadir}/doc/${PN}
171 if [ -f ${D}${datadir}/doc/README ]; then
172 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
173 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500174 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -0500175 pam_so=$(find ${D} -name pam_user_map.so)
176 if [ x"${pam_so}" != x ]; then
177 pam_dir=$(dirname ${pam_so})
178 mv ${pam_dir} ${D}/${libdir}
179 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
180 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500181 fi
Brad Bishop316dfdd2018-06-25 12:45:53 -0400182}
183
184PACKAGES = "${PN}-dbg ${PN} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800185 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
186 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400187 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-setupdb ${PN}-leftovers"
188CONFFILES_${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
189CONFFILES_${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
190CONFFILES_libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
191
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800192RPROVIDES_${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
193
Brad Bishop316dfdd2018-06-25 12:45:53 -0400194FILES_${PN} = " "
195RDEPENDS_${PN} = "${PN}-client ${PN}-server"
196ALLOW_EMPTY_${PN} = "1"
197
198RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
199 perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \
200 perl-module-exporter"
201RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
202 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
203 perl-module-file-copy perl-module-file-temp perl-module-posix \
Brad Bishop19323692019-04-05 15:28:33 -0400204 ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400205RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
206 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
207 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
208 perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \
209 perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
Brad Bishop19323692019-04-05 15:28:33 -0400210 perl-module-io-socket-inet perl-module-io-select bash"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400211RDEPENDS_${PN}-setupdb = "coreutils"
212
213# Allow old code to link to the backward compatible library
214RDEPENDS_libmysqlclient-dev = "libmysqlclient-r-dev"
215
216FILES_libmysqlclient = "\
217 ${libdir}/libmysqlclient.so.* \
Brad Bishop19323692019-04-05 15:28:33 -0400218 ${libdir}/libmariadb.so.* \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400219 ${sysconfdir}/my.cnf.d/client.cnf"
220FILES_libmysqlclient-dev = " \
221 ${includedir}/mysql/ \
222 ${libdir}/libmysqlclient.so \
Brad Bishop19323692019-04-05 15:28:33 -0400223 ${libdir}/libmariadb.so \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400224 ${sysconfdir}/aclocal \
225 ${bindir}/mysql_config"
226FILES_libmysqlclient-staticdev = "\
227 ${libdir}/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400228
229# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
230# which are intentionally non-PIC on 32-bit x86 (see e.g.
231# storage/xtradb/plug.in in the source)
232INSANE_SKIP_libmysqlclient_append_x86 = " textrel"
233
234FILES_libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
235FILES_libmysqlclient-r-dev = "\
236 ${libdir}/libmysqlclient_r.so"
237FILES_libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400238
239FILES_libmysqld = "\
Brad Bishop19323692019-04-05 15:28:33 -0400240 ${libdir}/libmysqld.so.* \
241 ${libdir}/libmariadbd.so.*"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400242FILES_libmysqld-dev = "\
Brad Bishop19323692019-04-05 15:28:33 -0400243 ${libdir}/libmysqld.so \
244 ${libdir}/libmariadbd.so"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400245
246FILES_${PN}-client = "\
247 ${bindir}/myisam_ftdump \
248 ${bindir}/mysql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500249 ${bindir}/mariadb \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400250 ${bindir}/mysql_client_test \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500251 ${bindir}/mariadb-client-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400252 ${bindir}/mysql_client_test_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500253 ${bindir}/mariadb-client-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400254 ${bindir}/mysql_find_rows \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500255 ${bindir}/mariadb-find-rows \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400256 ${bindir}/mysql_fix_extensions \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500257 ${bindir}/mariadb-fix-extensions \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400258 ${bindir}/mysql_waitpid \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500259 ${bindir}/mariadb-waitpid \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400260 ${bindir}/mysqlaccess \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500261 ${bindir}/mariadb-access \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400262 ${bindir}/mysqladmin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500263 ${bindir}/mariadb-admin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400264 ${bindir}/mysqlcheck \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500265 ${bindir}/mariadb-check \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400266 ${bindir}/mysqldump \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500267 ${bindir}/mariadb-dump \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400268 ${bindir}/mysqldumpslow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500269 ${bindir}/mariadb-dumpslow \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400270 ${bindir}/mysqlimport \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500271 ${bindir}/mariadb-import \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400272 ${bindir}/mysqlshow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500273 ${bindir}/mariadb-show \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400274 ${bindir}/mysqlslap \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500275 ${bindir}/mariadb-slap \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400276 ${bindir}/mysqltest_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500277 ${bindir}/mariadb-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400278 ${libexecdir}/mysqlmanager \
279 ${sysconfdir}/my.cnf.d/mysql-clients.cnf"
280
281FILES_${PN}-server = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400282 ${bindir}/msql2mysql \
283 ${bindir}/my_print_defaults \
284 ${bindir}/myisamchk \
285 ${bindir}/myisamlog \
286 ${bindir}/myisampack \
287 ${bindir}/mysql_convert_table_format \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500288 ${bindir}/mariadb-convert-table-format \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400289 ${bindir}/mysql_install_db \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500290 ${bindir}/mariadb-install-db \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400291 ${bindir}/mysql_secure_installation \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500292 ${bindir}/mariadb-secure-installation \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400293 ${bindir}/mysql_setpermission \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500294 ${bindir}/mariadb-setpermission \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400295 ${bindir}/mysql-systemd-start \
296 ${bindir}/mysql_tzinfo_to_sql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500297 ${bindir}/mariadb-tzinfo-to-sql \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400298 ${bindir}/mysql_upgrade \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500299 ${bindir}/mariadb-upgrade \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400300 ${bindir}/mysql_plugin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500301 ${bindir}/mariadb-plugin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400302 ${bindir}/mysqlbinlog \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500303 ${bindir}/mariadb-binlog \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400304 ${bindir}/mysqld_multi \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500305 ${bindir}/mariadbd-multi \
306 ${bindir}/mariadbd-safe \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400307 ${bindir}/mysqld_safe \
308 ${bindir}/mysqld_safe_helper \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500309 ${bindir}/mariadbd-safe-helper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400310 ${bindir}/mysqlhotcopy \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500311 ${bindir}/mariadb-hotcopy \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400312 ${bindir}/mysqltest \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500313 ${bindir}/mariadb-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400314 ${bindir}/perror \
315 ${bindir}/replace \
316 ${bindir}/resolve_stack_dump \
317 ${bindir}/resolveip \
318 ${libexecdir}/mysqld \
319 ${sbindir}/mysqld \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500320 ${sbindir}/mariadbd \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400321 ${libdir}/plugin/*.so \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500322 ${libdir}/security/*.so \
323 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400324 ${datadir}/mysql/ \
325 ${localstatedir}/mysql/ \
326 ${sysconfdir}/init.d/mysqld \
327 ${sysconfdir}/my.cnf \
328 ${sysconfdir}/my.cnf.d/server.cnf \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500329 ${sysconfdir}/security/user_map.conf \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400330 ${sysconfdir}/tmpfiles.d"
331
332DESCRIPTION_${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
333FILES_${PN}-leftovers = "/"