blob: 7e6ef42bc341ebcf3b415d420b4a9412db3d2984 [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 \
Brad Bishop316dfdd2018-06-25 12:45:53 -040026 "
Patrick Williams213cb262021-08-07 19:21:33 -050027SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
Patrick Williams169d7bc2024-01-05 11:33:25 -060028SRC_URI[sha256sum] = "1c0163463e98d71f4780741611a40981eee2bc44d392601ca49bbf948d04dd67"
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
Patrick Williams92b42cb2022-09-03 06:53:57 -050036inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script pkgconfig
Brad Bishopc1d34332019-09-09 14:56:00 -040037
Andrew Geisslerd688a012020-09-18 13:36:00 -050038MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
Andrew Geissler69721092021-07-23 12:57:00 -040039 ${PN}-setupdb:${bindir}/mariadb-install-db"
Brad Bishop316dfdd2018-06-25 12:45:53 -040040
41INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050042INITSCRIPT_NAME:${PN}-server = "mysqld"
43INITSCRIPT_PARAMS:${PN}-server ?= "start 45 5 . stop 45 0 6 1 ."
Brad Bishop316dfdd2018-06-25 12:45:53 -040044
Andrew Geissler69721092021-07-23 12:57:00 -040045USERADD_PACKAGES = "${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050046USERADD_PARAM:${PN}-setupdb = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql"
47GROUPADD_PARAM:${PN}-setupdb = "--system mysql"
Brad Bishop316dfdd2018-06-25 12:45:53 -040048
Patrick Williams213cb262021-08-07 19:21:33 -050049INITSCRIPT_NAME:${PN}-setupdb = "install_db"
50INITSCRIPT_PARAMS:${PN}-setupdb ?= "defaults 44 44"
Brad Bishop316dfdd2018-06-25 12:45:53 -040051
52SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb"
Patrick Williams213cb262021-08-07 19:21:33 -050053SYSTEMD_SERVICE:${PN}-server = "mysqld.service"
54SYSTEMD_AUTO_ENABLE:${PN}-server ?= "disable"
Brad Bishop316dfdd2018-06-25 12:45:53 -040055
Patrick Williams213cb262021-08-07 19:21:33 -050056SYSTEMD_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 \
Andrew Geissler69721092021-07-23 12:57:00 -040060 ${bindir}/mariadb-install-db \
61 ${bindir}/my_print_defaults \
62 ${bindir}/mysql_install_db \
63 ${bindir}/mysql-systemd-start \
64 "
Brad Bishop316dfdd2018-06-25 12:45:53 -040065
Patrick Williams92b42cb2022-09-03 06:53:57 -050066PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} lz4 openssl"
Patrick Williams2194f502022-10-16 14:26:09 -050067EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
68
Patrick Williams213cb262021-08-07 19:21:33 -050069PACKAGECONFIG:class-native = ""
Andrew Geissler5082cc72023-09-11 08:41:39 -040070PACKAGECONFIG[pam] = "-DPLUGIN_AUTH_PAM=YES,-DPLUGIN_AUTH_PAM=NO,libpam"
Brad Bishop316dfdd2018-06-25 12:45:53 -040071PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
Brad Bishop316dfdd2018-06-25 12:45:53 -040072PACKAGECONFIG[krb5] = ", ,krb5"
Patrick Williams92b42cb2022-09-03 06:53:57 -050073PACKAGECONFIG[lz4] = ", ,lz4"
Andrew Geissler9aee5002022-03-30 16:27:02 +000074PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl"
Brad Bishop316dfdd2018-06-25 12:45:53 -040075
76# MariaDB doesn't link properly with gold
77# https://mariadb.atlassian.net/browse/MDEV-5982
78TARGET_CFLAGS += "-fuse-ld=bfd"
Brad Bishop19323692019-04-05 15:28:33 -040079LDFLAGS += " -pthread"
Andrew Geissler9aee5002022-03-30 16:27:02 +000080
Brad Bishop316dfdd2018-06-25 12:45:53 -040081BUILD_CFLAGS += "-fuse-ld=bfd"
82BUILD_CXXFLAGS += "-fuse-ld=bfd"
83
Andrew Geissler78b72792022-06-14 06:47:25 -050084LDFLAGS:x86:toolchain-clang = "-latomic"
85
Brad Bishop316dfdd2018-06-25 12:45:53 -040086EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
87 -DWITH_JEMALLOC=no \
88 -DWITHOUT_TOKUDB=TRUE \
89 -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \
90 -DGROFF=FALSE \
91 -DNROFF=FALSE \
92 -DENABLE_DTRACE=FALSE \
93 -DWITH_PIC=ON \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050094 -DWITH_PCRE=system \
Brad Bishop316dfdd2018-06-25 12:45:53 -040095 -DINSTALL_LAYOUT=RPM \
96 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
97 -DINSTALL_LIBDIR:PATH=${baselib} \
98 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
99 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
100 -DMYSQL_DATADIR:PATH=/var/mysql \
101 -DCAT_EXECUTABLE=`which cat` \
Patrick Williams2194f502022-10-16 14:26:09 -0500102 -DSTACK_DIRECTION=1 \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400103 -DCMAKE_AR:FILEPATH=${AR}"
104
Andrew Geissler69721092021-07-23 12:57:00 -0400105
Brad Bishop316dfdd2018-06-25 12:45:53 -0400106# With Ninja it fails with:
107# make: *** No rule to make target `install'. Stop.
108OECMAKE_GENERATOR = "Unix Makefiles"
109
Patrick Williams213cb262021-08-07 19:21:33 -0500110ARM_INSTRUCTION_SET:armv4 = "arm"
111ARM_INSTRUCTION_SET:armv5 = "arm"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400112
Patrick Williams2a254922023-08-11 09:48:11 -0500113do_compile:prepend:class-target () {
114 # remove the buildpath
115 sed -i -e "s:CMAKE_SYSROOT:CMAKE_SYSROOT_PLACE_HOLDER:g" ${S}/libmariadb/mariadb_config/mariadb_config.c.in
116}
117
Patrick Williams213cb262021-08-07 19:21:33 -0500118do_configure:append() {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400119 # handle distros with different values of ${libexecdir}
120 libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
121 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh
122 sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh
123 sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh
124}
125
Patrick Williams213cb262021-08-07 19:21:33 -0500126do_generate_toolchain_file:append:class-native () {
Brad Bishop316dfdd2018-06-25 12:45:53 -0400127 # If these are set cmake will assume we're cross-compiling, which will
128 # result in certain things we want being disabled
129 sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake
130 sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake
131}
132
Brad Bishop316dfdd2018-06-25 12:45:53 -0400133
Patrick Williams213cb262021-08-07 19:21:33 -0500134do_compile:prepend:class-target () {
Patrick Williams2194f502022-10-16 14:26:09 -0500135 # These need to be in-tree or make will think they need to be built,
136 # and since we're cross-compiling that is disabled
137 cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra
138 cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts
Brad Bishop316dfdd2018-06-25 12:45:53 -0400139 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
140 if ! [ -e ${B}/include/openssl/kssl.h ] ; then
141 mkdir -p ${B}/include/openssl
142 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
143 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
144 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
145 echo "#endif" >>${B}/include/openssl/kssl.h
146 fi
147 fi
Patrick Williams2a254922023-08-11 09:48:11 -0500148 install -D ${RECIPE_SYSROOT_NATIVE}/usr/bin/uca-dump ${B}/strings/uca-dump
Brad Bishop316dfdd2018-06-25 12:45:53 -0400149}
150
151SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"
152
153# We need to append this so it runs *after* binconfig's preprocess function
154#
155# We really don't care exactly what the directories were set to originally.
156# plugindir is not fixed, but we don't create any plugins.
157#
158mariadb_sysroot_preprocess () {
159 sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
160 sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config
161}
162
163do_install() {
164 oe_runmake 'DESTDIR=${D}' install
165
166 install -d ${D}/${sysconfdir}/init.d
167 install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
168 install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
169 mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
170
171 install -d ${D}${systemd_unitdir}/system
172 install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
173 install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
174 sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
175 ${D}${systemd_unitdir}/system/install_db.service
176
Brad Bishop316dfdd2018-06-25 12:45:53 -0400177 install -d ${D}${bindir}
178 install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir}
179 install -d ${D}${datadir}/doc/${PN}
180 if [ -f ${D}${datadir}/doc/README ]; then
181 mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
182 fi
Andrew Geissler615f2f12022-07-15 14:00:58 -0500183
184 # mini-benchmark used for Gitlab-CI to run on every commit to catch
185 # if there are severe performance regressions.
186 # remove it to avoid introducing bash dependency
187 if [ -f ${D}${datadir}/mysql/mini-benchmark ]; then
188 rm -rf ${D}${datadir}/mysql/mini-benchmark
189 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500190 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -0500191 pam_so=$(find ${D} -name pam_user_map.so)
192 if [ x"${pam_so}" != x ]; then
193 pam_dir=$(dirname ${pam_so})
194 mv ${pam_dir} ${D}/${libdir}
195 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
196 fi
Andrew Geissler82c905d2020-04-13 13:39:40 -0500197 fi
Brad Bishop316dfdd2018-06-25 12:45:53 -0400198}
199
Andrew Geissler69721092021-07-23 12:57:00 -0400200PACKAGES = "${PN}-dbg ${PN}-setupdb ${PN} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800201 libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \
202 libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \
Andrew Geissler69721092021-07-23 12:57:00 -0400203 libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-leftovers"
Patrick Williams213cb262021-08-07 19:21:33 -0500204CONFFILES:${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf"
205CONFFILES:${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf"
206CONFFILES:libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400207
Patrick Williams213cb262021-08-07 19:21:33 -0500208RPROVIDES:${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800209
Patrick Williams213cb262021-08-07 19:21:33 -0500210FILES:${PN} = " "
211RDEPENDS:${PN} = "${PN}-client ${PN}-server"
212ALLOW_EMPTY:${PN} = "1"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400213
Patrick Williams213cb262021-08-07 19:21:33 -0500214RDEPENDS:${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400215 perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \
216 perl-module-exporter"
Patrick Williams213cb262021-08-07 19:21:33 -0500217RDEPENDS:${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400218 perl-module-file-basename perl-module-file-path perl-module-sys-hostname \
219 perl-module-file-copy perl-module-file-temp perl-module-posix \
Andrew Geissler9aee5002022-03-30 16:27:02 +0000220 ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl lzo"
Patrick Williams213cb262021-08-07 19:21:33 -0500221RDEPENDS:${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400222 perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \
223 perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \
224 perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \
225 perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
Brad Bishop19323692019-04-05 15:28:33 -0400226 perl-module-io-socket-inet perl-module-io-select bash"
Patrick Williams213cb262021-08-07 19:21:33 -0500227RDEPENDS:${PN}-setupdb = "coreutils"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400228
229# Allow old code to link to the backward compatible library
Patrick Williams213cb262021-08-07 19:21:33 -0500230RDEPENDS:libmysqlclient-dev = "libmysqlclient-r-dev"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400231
Andrew Geissler87f5cff2022-09-30 13:13:31 -0500232PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
233src_package_preprocess () {
234 # Trim build paths from comments in generated sources to ensure reproducibility
235 sed -i -e "s,${S}/sql/,,g" \
236 -e "s,${B}/sql/,,g" \
237 ${B}/sql/yy_oracle.hh \
238 ${B}/sql/yy_mariadb.cc \
239 ${B}/sql/yy_mariadb.hh \
240 ${B}/sql/yy_oracle.cc
241}
242
Patrick Williams213cb262021-08-07 19:21:33 -0500243FILES:libmysqlclient = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400244 ${libdir}/libmysqlclient.so.* \
Brad Bishop19323692019-04-05 15:28:33 -0400245 ${libdir}/libmariadb.so.* \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400246 ${sysconfdir}/my.cnf.d/client.cnf"
Patrick Williams213cb262021-08-07 19:21:33 -0500247FILES:libmysqlclient-dev = " \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400248 ${includedir}/mysql/ \
249 ${libdir}/libmysqlclient.so \
Brad Bishop19323692019-04-05 15:28:33 -0400250 ${libdir}/libmariadb.so \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400251 ${sysconfdir}/aclocal \
252 ${bindir}/mysql_config"
Patrick Williams213cb262021-08-07 19:21:33 -0500253FILES:libmysqlclient-staticdev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400254 ${libdir}/*.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400255
256# Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0
257# which are intentionally non-PIC on 32-bit x86 (see e.g.
258# storage/xtradb/plug.in in the source)
Patrick Williams213cb262021-08-07 19:21:33 -0500259INSANE_SKIP:libmysqlclient:append:x86 = " textrel"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400260
Patrick Williams213cb262021-08-07 19:21:33 -0500261FILES:libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*"
262FILES:libmysqlclient-r-dev = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400263 ${libdir}/libmysqlclient_r.so"
Patrick Williams213cb262021-08-07 19:21:33 -0500264FILES:libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400265
Patrick Williams213cb262021-08-07 19:21:33 -0500266FILES:libmysqld = "\
Brad Bishop19323692019-04-05 15:28:33 -0400267 ${libdir}/libmysqld.so.* \
268 ${libdir}/libmariadbd.so.*"
Patrick Williams213cb262021-08-07 19:21:33 -0500269FILES:libmysqld-dev = "\
Brad Bishop19323692019-04-05 15:28:33 -0400270 ${libdir}/libmysqld.so \
271 ${libdir}/libmariadbd.so"
Brad Bishop316dfdd2018-06-25 12:45:53 -0400272
Patrick Williams213cb262021-08-07 19:21:33 -0500273FILES:${PN}-client = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400274 ${bindir}/myisam_ftdump \
275 ${bindir}/mysql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500276 ${bindir}/mariadb \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400277 ${bindir}/mysql_client_test \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500278 ${bindir}/mariadb-client-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400279 ${bindir}/mysql_client_test_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500280 ${bindir}/mariadb-client-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400281 ${bindir}/mysql_find_rows \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500282 ${bindir}/mariadb-find-rows \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400283 ${bindir}/mysql_fix_extensions \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500284 ${bindir}/mariadb-fix-extensions \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400285 ${bindir}/mysql_waitpid \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500286 ${bindir}/mariadb-waitpid \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400287 ${bindir}/mysqlaccess \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500288 ${bindir}/mariadb-access \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400289 ${bindir}/mysqladmin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500290 ${bindir}/mariadb-admin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400291 ${bindir}/mysqlcheck \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500292 ${bindir}/mariadb-check \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400293 ${bindir}/mysqldump \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500294 ${bindir}/mariadb-dump \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400295 ${bindir}/mysqldumpslow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500296 ${bindir}/mariadb-dumpslow \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400297 ${bindir}/mysqlimport \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500298 ${bindir}/mariadb-import \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400299 ${bindir}/mysqlshow \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500300 ${bindir}/mariadb-show \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400301 ${bindir}/mysqlslap \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500302 ${bindir}/mariadb-slap \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400303 ${bindir}/mysqltest_embedded \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500304 ${bindir}/mariadb-test-embedded \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400305 ${libexecdir}/mysqlmanager \
306 ${sysconfdir}/my.cnf.d/mysql-clients.cnf"
307
Patrick Williams213cb262021-08-07 19:21:33 -0500308FILES:${PN}-server = "\
Brad Bishop316dfdd2018-06-25 12:45:53 -0400309 ${bindir}/msql2mysql \
310 ${bindir}/my_print_defaults \
311 ${bindir}/myisamchk \
312 ${bindir}/myisamlog \
313 ${bindir}/myisampack \
314 ${bindir}/mysql_convert_table_format \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500315 ${bindir}/mariadb-convert-table-format \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400316 ${bindir}/mysql_install_db \
317 ${bindir}/mysql_secure_installation \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500318 ${bindir}/mariadb-secure-installation \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400319 ${bindir}/mysql_setpermission \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500320 ${bindir}/mariadb-setpermission \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400321 ${bindir}/mysql-systemd-start \
322 ${bindir}/mysql_tzinfo_to_sql \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500323 ${bindir}/mariadb-tzinfo-to-sql \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400324 ${bindir}/mysql_upgrade \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500325 ${bindir}/mariadb-upgrade \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400326 ${bindir}/mysql_plugin \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500327 ${bindir}/mariadb-plugin \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400328 ${bindir}/mysqlbinlog \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500329 ${bindir}/mariadb-binlog \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400330 ${bindir}/mysqld_multi \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500331 ${bindir}/mariadbd-multi \
332 ${bindir}/mariadbd-safe \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400333 ${bindir}/mysqld_safe \
334 ${bindir}/mysqld_safe_helper \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500335 ${bindir}/mariadbd-safe-helper \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400336 ${bindir}/mysqlhotcopy \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500337 ${bindir}/mariadb-hotcopy \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400338 ${bindir}/mysqltest \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500339 ${bindir}/mariadb-test \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400340 ${bindir}/perror \
341 ${bindir}/replace \
342 ${bindir}/resolve_stack_dump \
343 ${bindir}/resolveip \
344 ${libexecdir}/mysqld \
345 ${sbindir}/mysqld \
Andrew Geisslerd688a012020-09-18 13:36:00 -0500346 ${sbindir}/mariadbd \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400347 ${libdir}/plugin/*.so \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500348 ${libdir}/security/*.so \
349 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400350 ${datadir}/mysql/ \
351 ${localstatedir}/mysql/ \
352 ${sysconfdir}/init.d/mysqld \
353 ${sysconfdir}/my.cnf \
354 ${sysconfdir}/my.cnf.d/server.cnf \
Andrew Geissler82c905d2020-04-13 13:39:40 -0500355 ${sysconfdir}/security/user_map.conf \
Brad Bishop316dfdd2018-06-25 12:45:53 -0400356 ${sysconfdir}/tmpfiles.d"
357
Patrick Williams213cb262021-08-07 19:21:33 -0500358DESCRIPTION:${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}"
359FILES:${PN}-leftovers = "/"