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" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 4 | LICENSE = "GPL-2.0-only" |
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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 7 | SRC_URI = "https://archive.mariadb.org/${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 \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | file://support-files-CMakeLists.txt-fix-do_populate_sysroot.patch \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | file://fix-arm-atomic.patch \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 16 | file://0001-Fix-library-LZ4-lookup.patch \ |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 17 | file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \ |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 18 | file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 19 | file://ssize_t.patch \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 20 | file://mm_malloc.patch \ |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 21 | file://sys_futex.patch \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 22 | file://mariadb-openssl3.patch \ |
| 23 | file://clang-64bit-atomics.patch \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 24 | " |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch" |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 26 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 27 | SRC_URI[sha256sum] = "da286919ffc9c913282202349709b6ba4ebcd342815e8dae0aa6b6bd8f515cd4" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 28 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 29 | UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 30 | |
| 31 | S = "${WORKDIR}/mariadb-${PV}" |
| 32 | |
| 33 | BINCONFIG_GLOB = "mysql_config" |
| 34 | |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 35 | inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script |
| 36 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 37 | MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 38 | ${PN}-setupdb:${bindir}/mariadb-install-db" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 39 | |
| 40 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 41 | INITSCRIPT_NAME:${PN}-server = "mysqld" |
| 42 | INITSCRIPT_PARAMS:${PN}-server ?= "start 45 5 . stop 45 0 6 1 ." |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 43 | |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 44 | USERADD_PACKAGES = "${PN}-setupdb" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 45 | USERADD_PARAM:${PN}-setupdb = "--system --home-dir /var/mysql -g mysql --shell /bin/false mysql" |
| 46 | GROUPADD_PARAM:${PN}-setupdb = "--system mysql" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 47 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 48 | INITSCRIPT_NAME:${PN}-setupdb = "install_db" |
| 49 | INITSCRIPT_PARAMS:${PN}-setupdb ?= "defaults 44 44" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 50 | |
| 51 | SYSTEMD_PACKAGES = "${PN}-server ${PN}-setupdb" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 52 | SYSTEMD_SERVICE:${PN}-server = "mysqld.service" |
| 53 | SYSTEMD_AUTO_ENABLE:${PN}-server ?= "disable" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 54 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 55 | SYSTEMD_SERVICE:${PN}-setupdb = "install_db.service" |
| 56 | SYSTEMD_AUTO_ENABLE:${PN}-setupdb ?= "enable" |
| 57 | ALLOW_EMPTY:${PN}-setupdb ?= "1" |
| 58 | FILES:${PN}-setupdb = "${sysconfdir}/init.d/install_db \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 59 | ${bindir}/mariadb-install-db \ |
| 60 | ${bindir}/my_print_defaults \ |
| 61 | ${bindir}/mysql_install_db \ |
| 62 | ${bindir}/mysql-systemd-start \ |
| 63 | " |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 64 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 65 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} openssl" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 66 | PACKAGECONFIG:class-native = "" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 67 | PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam" |
| 68 | PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 69 | PACKAGECONFIG[krb5] = ", ,krb5" |
Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 70 | PACKAGECONFIG[zstd] = "-DWITH_ROCKSDB_ZSTD=ON,-DWITH_ROCKSDB_ZSTD=OFF,zstd" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 71 | PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 72 | |
| 73 | # MariaDB doesn't link properly with gold |
| 74 | # https://mariadb.atlassian.net/browse/MDEV-5982 |
| 75 | TARGET_CFLAGS += "-fuse-ld=bfd" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 76 | LDFLAGS += " -pthread" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 77 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 78 | BUILD_CFLAGS += "-fuse-ld=bfd" |
| 79 | BUILD_CXXFLAGS += "-fuse-ld=bfd" |
| 80 | |
| 81 | EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \ |
| 82 | -DWITH_JEMALLOC=no \ |
| 83 | -DWITHOUT_TOKUDB=TRUE \ |
| 84 | -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE \ |
| 85 | -DGROFF=FALSE \ |
| 86 | -DNROFF=FALSE \ |
| 87 | -DENABLE_DTRACE=FALSE \ |
| 88 | -DWITH_PIC=ON \ |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 89 | -DWITH_PCRE=system \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 90 | -DINSTALL_LAYOUT=RPM \ |
| 91 | -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \ |
| 92 | -DINSTALL_LIBDIR:PATH=${baselib} \ |
| 93 | -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \ |
| 94 | -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \ |
| 95 | -DMYSQL_DATADIR:PATH=/var/mysql \ |
| 96 | -DCAT_EXECUTABLE=`which cat` \ |
| 97 | -DCMAKE_AR:FILEPATH=${AR}" |
| 98 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 99 | EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper " |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 100 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 101 | # With Ninja it fails with: |
| 102 | # make: *** No rule to make target `install'. Stop. |
| 103 | OECMAKE_GENERATOR = "Unix Makefiles" |
| 104 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 105 | ARM_INSTRUCTION_SET:armv4 = "arm" |
| 106 | ARM_INSTRUCTION_SET:armv5 = "arm" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 107 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 108 | do_configure:append() { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 109 | # handle distros with different values of ${libexecdir} |
| 110 | libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'` |
| 111 | sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysql_install_db.sh |
| 112 | sed -i -e "s:mysqld libexec:mysqld $libexecdir2:g" ${S}/scripts/mysql_install_db.sh |
| 113 | sed -i -e "s:/libexec:/$libexecdir2:g" ${S}/scripts/mysqld_safe.sh |
| 114 | } |
| 115 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 116 | do_generate_toolchain_file:append:class-native () { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 117 | # If these are set cmake will assume we're cross-compiling, which will |
| 118 | # result in certain things we want being disabled |
| 119 | sed -i "/set( CMAKE_SYSTEM_NAME/d" ${WORKDIR}/toolchain.cmake |
| 120 | sed -i "/set( CMAKE_SYSTEM_PROCESSOR/d" ${WORKDIR}/toolchain.cmake |
| 121 | } |
| 122 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 123 | do_configure:prepend:class-target () { |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 124 | # Write out a qemu wrapper that will be used by cmake |
| 125 | # so that it can run target helper binaries through that. |
| 126 | qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}" |
| 127 | cat > ${WORKDIR}/qemuwrapper << EOF |
| 128 | #!/bin/sh |
| 129 | $qemu_binary "\$@" |
| 130 | EOF |
| 131 | chmod +x ${WORKDIR}/qemuwrapper |
| 132 | } |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 133 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 134 | do_compile:prepend:class-target () { |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 135 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then |
| 136 | if ! [ -e ${B}/include/openssl/kssl.h ] ; then |
| 137 | mkdir -p ${B}/include/openssl |
| 138 | echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h |
| 139 | echo "#define KSSL_H" >>${B}/include/openssl/kssl.h |
| 140 | echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h |
| 141 | echo "#endif" >>${B}/include/openssl/kssl.h |
| 142 | fi |
| 143 | fi |
| 144 | } |
| 145 | |
| 146 | SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess" |
| 147 | |
| 148 | # We need to append this so it runs *after* binconfig's preprocess function |
| 149 | # |
| 150 | # We really don't care exactly what the directories were set to originally. |
| 151 | # plugindir is not fixed, but we don't create any plugins. |
| 152 | # |
| 153 | mariadb_sysroot_preprocess () { |
| 154 | sed -i -es,^pkgincludedir=.*,pkgincludedir=\'${STAGING_INCDIR}/mysql\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config |
| 155 | sed -i -es,^pkglibdir=.*,pkglibdir=\'${STAGING_LIBDIR}\', ${SYSROOT_DESTDIR}${bindir_crossscripts}/mysql_config |
| 156 | } |
| 157 | |
| 158 | do_install() { |
| 159 | oe_runmake 'DESTDIR=${D}' install |
| 160 | |
| 161 | install -d ${D}/${sysconfdir}/init.d |
| 162 | install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/ |
| 163 | install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/ |
| 164 | mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld |
| 165 | |
| 166 | install -d ${D}${systemd_unitdir}/system |
| 167 | install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system |
| 168 | install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system |
| 169 | sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \ |
| 170 | ${D}${systemd_unitdir}/system/install_db.service |
| 171 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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 Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 178 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 179 | 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 Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 185 | fi |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 186 | } |
| 187 | |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 188 | PACKAGES = "${PN}-dbg ${PN}-setupdb ${PN} \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 189 | libmysqlclient-r libmysqlclient-r-dev libmysqlclient-r-staticdev \ |
| 190 | libmysqlclient libmysqlclient-dev libmysqlclient-staticdev \ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 191 | libmysqld libmysqld-dev ${PN}-client ${PN}-server ${PN}-leftovers" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 192 | CONFFILES:${PN}-server += "${sysconfdir}/my.cnf ${sysconfdir}/my.cnf.d/server.cnf" |
| 193 | CONFFILES:${PN}-client += "${sysconfdir}/my.cnf.d/mysql-clients.cnf" |
| 194 | CONFFILES:libmysqlclient += "${sysconfdir}/my.cnf.d/client.cnf" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 195 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 196 | RPROVIDES:${PN}-dbg += "libmysqlclient-r-dbg libmysqlclient-dbg" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 197 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 198 | FILES:${PN} = " " |
| 199 | RDEPENDS:${PN} = "${PN}-client ${PN}-server" |
| 200 | ALLOW_EMPTY:${PN} = "1" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 201 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 202 | RDEPENDS:${PN}-client = "perl perl-module-getopt-long perl-module-file-temp \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 203 | perl-module-fcntl perl-module-sys-hostname perl-module-ipc-open3 \ |
| 204 | perl-module-exporter" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 205 | RDEPENDS:${PN}-server = "perl perl-module-getopt-long perl-module-data-dumper \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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 \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 208 | ${PN}-client ${PN}-setupdb libdbi-perl libdbd-mysql-perl lzo" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 209 | RDEPENDS:${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-module-getopt-long \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 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 Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 214 | perl-module-io-socket-inet perl-module-io-select bash" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 215 | RDEPENDS:${PN}-setupdb = "coreutils" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 216 | |
| 217 | # Allow old code to link to the backward compatible library |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 218 | RDEPENDS:libmysqlclient-dev = "libmysqlclient-r-dev" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 219 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 220 | FILES:libmysqlclient = "\ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 221 | ${libdir}/libmysqlclient.so.* \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 222 | ${libdir}/libmariadb.so.* \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 223 | ${sysconfdir}/my.cnf.d/client.cnf" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 224 | FILES:libmysqlclient-dev = " \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 225 | ${includedir}/mysql/ \ |
| 226 | ${libdir}/libmysqlclient.so \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 227 | ${libdir}/libmariadb.so \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 228 | ${sysconfdir}/aclocal \ |
| 229 | ${bindir}/mysql_config" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 230 | FILES:libmysqlclient-staticdev = "\ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 231 | ${libdir}/*.a" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 232 | |
| 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) |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 236 | INSANE_SKIP:libmysqlclient:append:x86 = " textrel" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 237 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 238 | FILES:libmysqlclient-r = "${libdir}/libmysqlclient_r.so.*" |
| 239 | FILES:libmysqlclient-r-dev = "\ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 240 | ${libdir}/libmysqlclient_r.so" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 241 | FILES:libmysqlclient-r-staticdev = "${libdir}/libmysqlclient_r.a" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 242 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 243 | FILES:libmysqld = "\ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 244 | ${libdir}/libmysqld.so.* \ |
| 245 | ${libdir}/libmariadbd.so.*" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 246 | FILES:libmysqld-dev = "\ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 247 | ${libdir}/libmysqld.so \ |
| 248 | ${libdir}/libmariadbd.so" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 249 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 250 | FILES:${PN}-client = "\ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 251 | ${bindir}/myisam_ftdump \ |
| 252 | ${bindir}/mysql \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 253 | ${bindir}/mariadb \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 254 | ${bindir}/mysql_client_test \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 255 | ${bindir}/mariadb-client-test \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 256 | ${bindir}/mysql_client_test_embedded \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 257 | ${bindir}/mariadb-client-test-embedded \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 258 | ${bindir}/mysql_find_rows \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 259 | ${bindir}/mariadb-find-rows \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 260 | ${bindir}/mysql_fix_extensions \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 261 | ${bindir}/mariadb-fix-extensions \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 262 | ${bindir}/mysql_waitpid \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 263 | ${bindir}/mariadb-waitpid \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 264 | ${bindir}/mysqlaccess \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 265 | ${bindir}/mariadb-access \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 266 | ${bindir}/mysqladmin \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 267 | ${bindir}/mariadb-admin \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 268 | ${bindir}/mysqlcheck \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 269 | ${bindir}/mariadb-check \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 270 | ${bindir}/mysqldump \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 271 | ${bindir}/mariadb-dump \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 272 | ${bindir}/mysqldumpslow \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 273 | ${bindir}/mariadb-dumpslow \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 274 | ${bindir}/mysqlimport \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 275 | ${bindir}/mariadb-import \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 276 | ${bindir}/mysqlshow \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 277 | ${bindir}/mariadb-show \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 278 | ${bindir}/mysqlslap \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 279 | ${bindir}/mariadb-slap \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 280 | ${bindir}/mysqltest_embedded \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 281 | ${bindir}/mariadb-test-embedded \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 282 | ${libexecdir}/mysqlmanager \ |
| 283 | ${sysconfdir}/my.cnf.d/mysql-clients.cnf" |
| 284 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 285 | FILES:${PN}-server = "\ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 286 | ${bindir}/msql2mysql \ |
| 287 | ${bindir}/my_print_defaults \ |
| 288 | ${bindir}/myisamchk \ |
| 289 | ${bindir}/myisamlog \ |
| 290 | ${bindir}/myisampack \ |
| 291 | ${bindir}/mysql_convert_table_format \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 292 | ${bindir}/mariadb-convert-table-format \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 293 | ${bindir}/mysql_install_db \ |
| 294 | ${bindir}/mysql_secure_installation \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 295 | ${bindir}/mariadb-secure-installation \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 296 | ${bindir}/mysql_setpermission \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 297 | ${bindir}/mariadb-setpermission \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 298 | ${bindir}/mysql-systemd-start \ |
| 299 | ${bindir}/mysql_tzinfo_to_sql \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 300 | ${bindir}/mariadb-tzinfo-to-sql \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 301 | ${bindir}/mysql_upgrade \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 302 | ${bindir}/mariadb-upgrade \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 303 | ${bindir}/mysql_plugin \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 304 | ${bindir}/mariadb-plugin \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 305 | ${bindir}/mysqlbinlog \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 306 | ${bindir}/mariadb-binlog \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 307 | ${bindir}/mysqld_multi \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 308 | ${bindir}/mariadbd-multi \ |
| 309 | ${bindir}/mariadbd-safe \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 310 | ${bindir}/mysqld_safe \ |
| 311 | ${bindir}/mysqld_safe_helper \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 312 | ${bindir}/mariadbd-safe-helper \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 313 | ${bindir}/mysqlhotcopy \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 314 | ${bindir}/mariadb-hotcopy \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 315 | ${bindir}/mysqltest \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 316 | ${bindir}/mariadb-test \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 317 | ${bindir}/perror \ |
| 318 | ${bindir}/replace \ |
| 319 | ${bindir}/resolve_stack_dump \ |
| 320 | ${bindir}/resolveip \ |
| 321 | ${libexecdir}/mysqld \ |
| 322 | ${sbindir}/mysqld \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 323 | ${sbindir}/mariadbd \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 324 | ${libdir}/plugin/*.so \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 325 | ${libdir}/security/*.so \ |
| 326 | ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 327 | ${datadir}/mysql/ \ |
| 328 | ${localstatedir}/mysql/ \ |
| 329 | ${sysconfdir}/init.d/mysqld \ |
| 330 | ${sysconfdir}/my.cnf \ |
| 331 | ${sysconfdir}/my.cnf.d/server.cnf \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 332 | ${sysconfdir}/security/user_map.conf \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 333 | ${sysconfdir}/tmpfiles.d" |
| 334 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 335 | DESCRIPTION:${PN}-leftovers = "unpackaged and probably unneeded files for ${PN}" |
| 336 | FILES:${PN}-leftovers = "/" |