Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "A robust, scalable, and reliable SQL server" |
| 2 | HOMEPAGE = "http://mariadb.org" |
| 3 | SECTION = "libs" |
| 4 | LICENSE = "GPLv2" |
Brad Bishop | c8f4712 | 2019-06-24 09:36:18 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b1becf0cfa3366e0f4d854d1d264f311" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 6 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 7 | SRC_URI = "https://downloads.mariadb.org/interstitial/${BP}/source/${BP}.tar.gz \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 8 | 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 Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | file://support-files-CMakeLists.txt-fix-do_populate_sysroot.patch \ |
| 16 | file://sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | file://0001-disable-ucontext-on-musl.patch \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 18 | file://c11_atomics.patch \ |
| 19 | file://clang_version_header_conflict.patch \ |
| 20 | file://fix-arm-atomic.patch \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 21 | file://0001-Fix-library-LZ4-lookup.patch \ |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 22 | file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 23 | " |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 24 | SRC_URI[sha256sum] = "ff05dd69e9f6992caf1053242db704f04eda6f9accbcc98b74edfaf6013c45c4" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 25 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 27 | |
| 28 | S = "${WORKDIR}/mariadb-${PV}" |
| 29 | |
| 30 | BINCONFIG_GLOB = "mysql_config" |
| 31 | |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 32 | inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script |
| 33 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 34 | MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ |
| 35 | ${PN}-server:${bindir}/mariadb-install-db" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 36 | |
| 37 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" |
| 38 | INITSCRIPT_NAME_${PN}-server = "mysqld" |
| 39 | INITSCRIPT_PARAMS_${PN}-server ?= "start 45 5 . stop 45 0 6 1 ." |
| 40 | |
| 41 | USERADD_PACKAGES = "${PN}-server" |
| 42 | USERADD_PARAM_${PN}-server = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql" |
| 43 | GROUPADD_PARAM_${PN}-server = "--system mysql" |
| 44 | |
| 45 | INITSCRIPT_NAME_${PN}-setupdb = "install_db" |
| 46 | INITSCRIPT_PARAMS_${PN}-setupdb ?= "defaults 44 44" |
| 47 | |
| 48 | SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb" |
| 49 | SYSTEMD_SERVICE_${PN}-server = "mysqld.service" |
| 50 | SYSTEMD_AUTO_ENABLE_${PN}-server ?= "disable" |
| 51 | |
| 52 | SYSTEMD_SERVICE_${PN}-setupdb = "install_db.service" |
| 53 | SYSTEMD_AUTO_ENABLE_${PN}-setupdb ?= "enable" |
| 54 | ALLOW_EMPTY_${PN}-setupdb ?= "1" |
| 55 | FILES_${PN}-setupdb = "${sysconfdir}/init.d/install_db" |
| 56 | |
| 57 | EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'" |
| 58 | |
| 59 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} setupdb" |
| 60 | PACKAGECONFIG_class-native = "" |
| 61 | PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam" |
| 62 | PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 63 | PACKAGECONFIG[krb5] = ", ,krb5" |
| 64 | PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb" |
| 65 | |
| 66 | # MariaDB doesn't link properly with gold |
| 67 | # https://mariadb.atlassian.net/browse/MDEV-5982 |
| 68 | TARGET_CFLAGS += "-fuse-ld=bfd" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 69 | LDFLAGS += " -pthread" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 70 | BUILD_CFLAGS += "-fuse-ld=bfd" |
| 71 | BUILD_CXXFLAGS += "-fuse-ld=bfd" |
| 72 | |
| 73 | EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \ |
| 74 | -DWITH_JEMALLOC=no \ |
| 75 | -DWITHOUT_TOKUDB=TRUE \ |
| 76 | -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \ |
| 77 | -DGROFF=FALSE \ |
| 78 | -DNROFF=FALSE \ |
| 79 | -DENABLE_DTRACE=FALSE \ |
| 80 | -DWITH_PIC=ON \ |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 81 | -DWITH_PCRE=system \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 82 | -DINSTALL_LAYOUT=RPM \ |
| 83 | -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \ |
| 84 | -DINSTALL_LIBDIR:PATH=${baselib} \ |
| 85 | -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \ |
| 86 | -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \ |
| 87 | -DMYSQL_DATADIR:PATH=/var/mysql \ |
| 88 | -DCAT_EXECUTABLE=`which cat` \ |
| 89 | -DCMAKE_AR:FILEPATH=${AR}" |
| 90 | |
| 91 | # With Ninja it fails with: |
| 92 | # make: *** No rule to make target `install'. Stop. |
| 93 | OECMAKE_GENERATOR = "Unix Makefiles" |
| 94 | |
| 95 | ARM_INSTRUCTION_SET_armv4 = "arm" |
| 96 | ARM_INSTRUCTION_SET_armv5 = "arm" |
| 97 | |
| 98 | do_configure_append() { |
| 99 | # handle distros with different values of ${libexecdir} |
| 100 | libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'` |
| 101 | sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh |
| 102 | sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh |
| 103 | sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh |
| 104 | } |
| 105 | |
| 106 | do_generate_toolchain_file_append_class-native () { |
| 107 | # If these are set cmake will assume we're cross-compiling, which will |
| 108 | # result in certain things we want being disabled |
| 109 | sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake |
| 110 | sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake |
| 111 | } |
| 112 | |
| 113 | do_compile_prepend_class-target () { |
| 114 | # These need to be in-tree or make will think they need to be built, |
| 115 | # and since we're cross-compiling that is disabled |
| 116 | cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra |
| 117 | cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts |
| 118 | |
| 119 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then |
| 120 | if ! [ -e ${B}/include/openssl/kssl.h ] ; then |
| 121 | mkdir -p ${B}/include/openssl |
| 122 | echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h |
| 123 | echo "#define KSSL_H" >>${B}/include/openssl/kssl.h |
| 124 | echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h |
| 125 | echo "#endif" >>${B}/include/openssl/kssl.h |
| 126 | fi |
| 127 | fi |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 128 | # workaround to handle out-of-source build from source package |
| 129 | yacc_files="sql_yacc.hh sql_yacc.cc sql_yacc_ora.hh sql_yacc_ora.cc" |
| 130 | for yacc_file in ${yacc_files}; do |
| 131 | cp ${S}/sql/${yacc_file} ${B}/sql/${yacc_file} |
| 132 | done |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 133 | } |
| 134 | |
| 135 | SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess" |
| 136 | |
| 137 | # We need to append this so it runs *after* binconfig's preprocess function |
| 138 | # |
| 139 | # We really don't care exactly what the directories were set to originally. |
| 140 | # plugindir is not fixed, but we don't create any plugins. |
| 141 | # |
| 142 | mariadb_sysroot_preprocess () { |
| 143 | sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config |
| 144 | sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config |
| 145 | } |
| 146 | |
| 147 | do_install() { |
| 148 | oe_runmake 'DESTDIR=${D}' install |
| 149 | |
| 150 | install -d ${D}/${sysconfdir}/init.d |
| 151 | install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/ |
| 152 | install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/ |
| 153 | mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld |
| 154 | |
| 155 | install -d ${D}${systemd_unitdir}/system |
| 156 | install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system |
| 157 | install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system |
| 158 | sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \ |
| 159 | ${D}${systemd_unitdir}/system/install_db.service |
| 160 | |
| 161 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 162 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 163 | echo "f /var/log/mysqld.err 0640 mysql mysql -" \ |
| 164 | > ${D}${sysconfdir}/tmpfiles.d/99-mysqld.conf |
| 165 | fi |
| 166 | install -d ${D}${bindir} |
| 167 | install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir} |
| 168 | install -d ${D}${datadir}/doc/${PN} |
| 169 | if [ -f ${D}${datadir}/doc/README ]; then |
| 170 | mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/ |
| 171 | fi |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 172 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 173 | pam_so=$(find ${D} -name pam_user_map.so) |
| 174 | if [ x"${pam_so}" != x ]; then |
| 175 | pam_dir=$(dirname ${pam_so}) |
| 176 | mv ${pam_dir} ${D}/${libdir} |
| 177 | rmdir --ignore-fail-on-non-empty ${pam_dir%security} |
| 178 | fi |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 179 | fi |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 180 | } |
| 181 | |
| 182 | PACKAGES = "${PN}-dbg ${PN} \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 183 | libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \ |
| 184 | libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 185 | libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-setupdb ${PN}-leftovers" |
| 186 | CONFFILES_${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf" |
| 187 | CONFFILES_${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf" |
| 188 | CONFFILES_libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf" |
| 189 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 190 | RPROVIDES_${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg" |
| 191 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 192 | FILES_${PN} = " " |
| 193 | RDEPENDS_${PN} = "${PN}-client ${PN}-server" |
| 194 | ALLOW_EMPTY_${PN} = "1" |
| 195 | |
| 196 | RDEPENDS_${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \ |
| 197 | perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \ |
| 198 | perl-module-exporter" |
| 199 | RDEPENDS_${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \ |
| 200 | perl-module-file-basename perl-module-file-path perl-module-sys-hostname \ |
| 201 | perl-module-file-copy perl-module-file-temp perl-module-posix \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 202 | ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 203 | RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \ |
| 204 | perl-module-posix perl-module-data-dumper perl-module-sigtrap perl-module-threads \ |
| 205 | perl-module-threads-shared perl-module-io-socket perl-module-sys-hostname perl-module-file-copy \ |
| 206 | perl-module-file-spec perl-module-file-find perl-module-file-basename perl-module-file-path \ |
| 207 | perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 208 | perl-module-io-socket-inet perl-module-io-select bash" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 209 | RDEPENDS_${PN}-setupdb = "coreutils" |
| 210 | |
| 211 | # Allow old code to link to the backward compatible library |
| 212 | RDEPENDS_libmysqlclient-dev = "libmysqlclient-r-dev" |
| 213 | |
| 214 | FILES_libmysqlclient = "\ |
| 215 | ${libdir}/libmysqlclient.so.* \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 216 | ${libdir}/libmariadb.so.* \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 217 | ${sysconfdir}/my.cnf.d/client.cnf" |
| 218 | FILES_libmysqlclient-dev = " \ |
| 219 | ${includedir}/mysql/ \ |
| 220 | ${libdir}/libmysqlclient.so \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 221 | ${libdir}/libmariadb.so \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 222 | ${sysconfdir}/aclocal \ |
| 223 | ${bindir}/mysql_config" |
| 224 | FILES_libmysqlclient-staticdev = "\ |
| 225 | ${libdir}/*.a" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 226 | |
| 227 | # Avoid warnings about ha_xtradb.so.0.0.0 and ha_innodb_plugin.so.0.0.0 |
| 228 | # which are intentionally non-PIC on 32-bit x86 (see e.g. |
| 229 | # storage/xtradb/plug.in in the source) |
| 230 | INSANE_SKIP_libmysqlclient_append_x86 = " textrel" |
| 231 | |
| 232 | FILES_libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*" |
| 233 | FILES_libmysqlclient-r-dev = "\ |
| 234 | ${libdir}/libmysqlclient_r.so" |
| 235 | FILES_libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 236 | |
| 237 | FILES_libmysqld = "\ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 238 | ${libdir}/libmysqld.so.* \ |
| 239 | ${libdir}/libmariadbd.so.*" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 240 | FILES_libmysqld-dev = "\ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 241 | ${libdir}/libmysqld.so \ |
| 242 | ${libdir}/libmariadbd.so" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 243 | |
| 244 | FILES_${PN}-client = "\ |
| 245 | ${bindir}/myisam_ftdump \ |
| 246 | ${bindir}/mysql \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 247 | ${bindir}/mariadb \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 248 | ${bindir}/mysql_client_test \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 249 | ${bindir}/mariadb-client-test \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 250 | ${bindir}/mysql_client_test_embedded \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 251 | ${bindir}/mariadb-client-test-embedded \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 252 | ${bindir}/mysql_find_rows \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 253 | ${bindir}/mariadb-find-rows \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 254 | ${bindir}/mysql_fix_extensions \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 255 | ${bindir}/mariadb-fix-extensions \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 256 | ${bindir}/mysql_waitpid \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 257 | ${bindir}/mariadb-waitpid \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 258 | ${bindir}/mysqlaccess \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 259 | ${bindir}/mariadb-access \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 260 | ${bindir}/mysqladmin \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 261 | ${bindir}/mariadb-admin \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 262 | ${bindir}/mysqlcheck \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 263 | ${bindir}/mariadb-check \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 264 | ${bindir}/mysqldump \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 265 | ${bindir}/mariadb-dump \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 266 | ${bindir}/mysqldumpslow \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 267 | ${bindir}/mariadb-dumpslow \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 268 | ${bindir}/mysqlimport \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 269 | ${bindir}/mariadb-import \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 270 | ${bindir}/mysqlshow \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 271 | ${bindir}/mariadb-show \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 272 | ${bindir}/mysqlslap \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 273 | ${bindir}/mariadb-slap \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 274 | ${bindir}/mysqltest_embedded \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 275 | ${bindir}/mariadb-test-embedded \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 276 | ${libexecdir}/mysqlmanager \ |
| 277 | ${sysconfdir}/my.cnf.d/mysql-clients.cnf" |
| 278 | |
| 279 | FILES_${PN}-server = "\ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 280 | ${bindir}/msql2mysql \ |
| 281 | ${bindir}/my_print_defaults \ |
| 282 | ${bindir}/myisamchk \ |
| 283 | ${bindir}/myisamlog \ |
| 284 | ${bindir}/myisampack \ |
| 285 | ${bindir}/mysql_convert_table_format \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 286 | ${bindir}/mariadb-convert-table-format \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 287 | ${bindir}/mysql_install_db \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 288 | ${bindir}/mariadb-install-db \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 289 | ${bindir}/mysql_secure_installation \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 290 | ${bindir}/mariadb-secure-installation \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 291 | ${bindir}/mysql_setpermission \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 292 | ${bindir}/mariadb-setpermission \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 293 | ${bindir}/mysql-systemd-start \ |
| 294 | ${bindir}/mysql_tzinfo_to_sql \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 295 | ${bindir}/mariadb-tzinfo-to-sql \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 296 | ${bindir}/mysql_upgrade \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 297 | ${bindir}/mariadb-upgrade \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 298 | ${bindir}/mysql_plugin \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 299 | ${bindir}/mariadb-plugin \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 300 | ${bindir}/mysqlbinlog \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 301 | ${bindir}/mariadb-binlog \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 302 | ${bindir}/mysqld_multi \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 303 | ${bindir}/mariadbd-multi \ |
| 304 | ${bindir}/mariadbd-safe \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 305 | ${bindir}/mysqld_safe \ |
| 306 | ${bindir}/mysqld_safe_helper \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 307 | ${bindir}/mariadbd-safe-helper \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 308 | ${bindir}/mysqlhotcopy \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 309 | ${bindir}/mariadb-hotcopy \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 310 | ${bindir}/mysqltest \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 311 | ${bindir}/mariadb-test \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 312 | ${bindir}/perror \ |
| 313 | ${bindir}/replace \ |
| 314 | ${bindir}/resolve_stack_dump \ |
| 315 | ${bindir}/resolveip \ |
| 316 | ${libexecdir}/mysqld \ |
| 317 | ${sbindir}/mysqld \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 318 | ${sbindir}/mariadbd \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 319 | ${libdir}/plugin/*.so \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 320 | ${libdir}/security/*.so \ |
| 321 | ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 322 | ${datadir}/mysql/ \ |
| 323 | ${localstatedir}/mysql/ \ |
| 324 | ${sysconfdir}/init.d/mysqld \ |
| 325 | ${sysconfdir}/my.cnf \ |
| 326 | ${sysconfdir}/my.cnf.d/server.cnf \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 327 | ${sysconfdir}/security/user_map.conf \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 328 | ${sysconfdir}/tmpfiles.d" |
| 329 | |
| 330 | DESCRIPTION_${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}" |
| 331 | FILES_${PN}-leftovers = "/" |