Revisions of mariadb

Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 567774 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 205)
- change owner of mysql-test directory from root to mysql. It also
  fixes sys_vars.secure_file_priv running under mysql user (e.g.
  if ít's started via suse-test-run script) that needs to be able
  to create a test file there during its run [bsc#1012075]
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 563276 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 204)
    mysql-community-server-5.1.45-multi-configuration.patch
    mariadb-10.2.4-logrotate.patch
    mariadb-5.5.28-install_db-quiet.patch
    mariadb-10.1.1-mysqld_multi-features.patch
    mariadb-5.2.3-cnf.patch
    mariadb-10.2.3-group.patch
    mariadb-10.1.12-deharcode-libdir.patch
    mariadb-10.0.15-logrotate-su.patch
    mariadb-10.2.4-fortify-and-O.patch
    mariadb-10.2.8-systemd-cmake.patch
    mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
    mariadb-10.2.9-galera_cnf.patch
    mariadb-10.2.10-disable_openssl_compatibility_check.patch
Adam Majer's avatar Adam Majer (adamm) accepted request 563119 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 203)
- update to 10.2.12 GA
   * release notes and changelog:
     https://mariadb.com/kb/en/library/mariadb-10212-release-notes/
     https://mariadb.com/kb/en/library/mariadb-10212-changelog/
- remove mysql-community-server-5.5.6-safe-process-in-bin.patch
  becuase this moving is done in the specfile
- get rid of the archive with patches (remove mysql-patches.tar.xz
  and series files), handle patches in the standard way
- add comments to the section with removing unused files (based on
  https://lists.launchpad.net/maria-developers/msg11028.html)
- put rm statements together
- install the new upstream systemd-tmpfiles configuration file
  'tmpfiles.conf' and rename it to 'mariadb.conf' in order to
  follow the manual
- remove the new upstream systemd-sysusers configuration file as
  we handle creating of mysql user in the specfile
- mysql.service: remove calling of the wait function and let
  systemd to do this job. Switch from 'Type=simple' to
  'Type=notify' and add TimeoutSec=300
- rename unit files from mysql to mariadb and add mysql alias for
  the backward compatibility [bsc#1067443]
  * mysql.service -> mariadb.service
  * mysql.target -> mariadb.target
  * mysql@.service -> mariadb@.service
- remove configuration-tweaks.tar.xz and move configuration to
  my.ini/my.cnf file (omit default_plugins.cnf as all
  configuration here was commented out)
- add a numeric prefix for galera.cnf file in order to allow users
  to speficy in which order the configs will be loaded within the
  my.cnf.d directory [bsc#1055268]
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 559392 from Dominique Leuenberger's avatar Dominique Leuenberger (dimstar) (revision 202)
Happens to fix build with RPM 4.14, which got quite a bit stricter, see Staging:A
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 547171 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 201)
- update to 10.2.11 GA
  * release notes and changelog:
    * https://mariadb.com/kb/en/library/mariadb-10211-release-notes/
    * https://mariadb.com/kb/en/library/mariadb-10211-changelog/
- pack additional mroonga/groonga files
- change default charset to utf8mb4 for full Unicode support 
  [fate#324329]
- remove mariadb-10.2.10-wsrep_sst_common.patch as it's no longer
  needed

    * 10.2.10: CVE-2017-10378, CVE-2017-10268, CVE-2017-15365
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 546957 from Ralf Haferkamp's avatar Ralf Haferkamp (rhafer) (revision 200)
fix galera sst helper (bsc#1069401)
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 546419 from Vítězslav Čížek's avatar Vítězslav Čížek (vitezslav_cizek) (revision 199)
- Disable openssl compatibility checking
  * the check uses CRYPTO_set_mem_functions() to set debugging
    memory allocation function. The setting only succeeds if no allocation
    was done before. Our fips self-tests, which are run from the library
    constructor, however, do allocate memory, so the subsequent call to
    CRYPTO_set_mem_functions causes the compatibility check to fail
  * add mariadb-10.2.10-disable_openssl_compatibility_check.patch
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 539319 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 197)
- update to 10.2.10 GA
  * release notes and changelogs
    https://downloads.mariadb.org/mariadb/+releases/
  * fixes for the following security vulnerabilities
    * 10.2.10: CVE-2017-10378, CVE-2017-10268
    * 10.2.8:  CVE-2017-3636, CVE-2017-3641, CVE-2017-3653,
               CVE-2017-10320, CVE-2017-10365, CVE-2017-10379,
               CVE-2017-10384, CVE-2017-10286, CVE-2017-3257
    * 10.2.6:  CVE-2017-3308, CVE-2017-3309, CVE-2017-3453,
               CVE-2017-3456, CVE-2017-3464
    * 10.2.5:  CVE-2017-3313, CVE-2017-3302
  * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738]
- refresh and rename the following patches:
  * mariadb-10.1.4-group.patch to
    mariadb-10.2.3-group.patch
  * mariadb-10.1.16-systemd-cmake.patch to
    mariadb-10.2.8-systemd-cmake.patch
  * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to
    mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
  * mariadb-10.1.12-fortify-and-O.patch to
    mariadb-10.2.4-fortify-and-O.patch
  * mysql-community-server-5.1.46-logrotate.patch to
    mariadb-10.2.4-logrotate.patch
- add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files
- start building without client library part, use
  mariadb-connector-c for getting libmariadb libraries. Remove
  libmysclient* packages
- remove baselibs.conf because we no longer build client libraries
  here
- update %{soname} to 19 (libmysqld soname)
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 538115 from Vítězslav Čížek's avatar Vítězslav Čížek (vitezslav_cizek) (revision 196)
- Also Require: libopenssl-1_0_0-devel from the libmysqlclient-devel package
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 537883 from Vítězslav Čížek's avatar Vítězslav Čížek (vitezslav_cizek) (revision 195)
- Also Require: libopenssl1_0_0 from the libmysqlclient-devel package
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 536714 from Bernhard Wiedemann's avatar Bernhard Wiedemann (bmwiedemann) (revision 194)
Drop INFO_BIN from package because it is not needed and differs for every build (boo#1047218)

An alternative approach would be https://github.com/MariaDB/server/pull/472

Diff looks thus:
/usr/lib64/mysql/INFO_BIN differs (ASCII text, with very long lines)
--- old//usr/lib64/mysql/INFO_BIN       2017-09-19 12:00:00.000000000 +0000
+++ new//usr/lib64/mysql/INFO_BIN       2017-09-19 12:00:00.000000000 +0000
@@ -1,5 +1,5 @@
 ===== Information about the build process: =====
-Build was run at 2017-09-28 07:34:40 on host 'unknown'
+Build was run at 2018-11-03 20:51:24 on host 'unknown'

 Build was done on  Linux-4.13.3-1-default using x86_64
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 527352 from Vítězslav Čížek's avatar Vítězslav Čížek (vitezslav_cizek) (revision 193)
- Explicitly require libopenssl-1_0_0-devel, to successfully build
  once we switch openssl to 1.1 (bsc#1042632)
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 509375 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 192)
- update to MariaDB 10.1.25 GA
  * notable changes
    * MariaDB can no longer be compiled with OpenSSL version 0.9.8
      and below. The last 0.9.8 release was in December 2015, it is
      out of support and is no longer getting security fixes.
    * MariaDB Backup is now beta
  * release notes and changelog:
    * https://mariadb.com/kb/en/mariadb/mariadb-10125-release-notes
    * https://mariadb.com/kb/en/mariadb/mariadb-10125-changelog
  * refresh mariadb-10.1.12-fortify-and-O.patch
  * remove mariadb-10.1.22-xtradb_null_checks.patch (MDEV-12358),
    a fix was merged upstream
  * update file lists for new man-pages and tools
- switch from 'Restart=on-failure' to 'Restart=on-abort' in
  mysql.service in order to follow the upstream
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 499775 from Fabian Vogt's avatar Fabian Vogt (favogt) (revision 191)
- Add mariadb-10.1.22-xtradb_null_checks.patch (boo#1041525)
  (See also https://jira.mariadb.org/browse/MDEV-12358)
- switch from '/var/run' to '/run' as /var/run is just a symlink to /run
- fix permissions for /var/run/mysql that were wrongly set to
  700 instead of 755 due to added umask. This prevented non-root
  from connecting to the database [bsc#1038740]
- change permissions of the configuration dir/files to 755/644.
  Please note that storing the password in the /etc/my.cnf file is
  not safe. Use for example an option file that is accessible only
  by yourself [bsc#889126]
- set the default umask to 077 in mysql-systemd-helper [bsc#1020976]
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 487348 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 190)
- increase required physical memory in _constraints from 5 GB to
  7 GB in order to try to fix i586 build that fails because of
  "Out of memory" error
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 479931 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 189)
- update to MariaDB 10.1.22 GA
  * notable changes
    * XtraDB updated to 5.6.35-80.0
    * TokuDB updated to 5.6.35-80.0
    * PCRE updated to 8.40
    * MDEV-12160: ed25519 authentication plugin
    * MDEV-11842: Fix a 10.1.21 regression with failed INSERT, BEFORE
      INSERT triggers, and columns with no default value
    * MDEV-12075: Fix a 10.1.21 regression in the InnoDB data file
      extension code
    * MDEV-11027: better InnoDB crash recovery progress reporting
    * MDEV-11520: improvements to how InnoDB data files are extended
    * Improvements to InnoDB startup/shutdown to make it more robust
    * MDEV-11233: fix for FULLTEXT index crash
    * MDEV-9734: systemd compatible bintar files now available
  * release notes and changelog:
    * https://mariadb.com/kb/en/mariadb/mariadb-10122-release-notes/
    * https://mariadb.com/kb/en/mariadb/mariadb-10122-changelog/
  * fixes the following CVEs:
    * CVE-2017-3313 [bsc#1020890], CVE-2017-3302 [bsc#1022428]
- refresh mysql-community-server-5.1.46-logrotate.patch
- refresh mariadb-10.1.16-systemd-cmake.patch
- remove mariadb-10.1.20-incorrect_list_handling.patch that is no
  longer needed [bsc#1022428] [CVE-2017-3302]
Kristyna Streitova's avatar Kristyna Streitova (kstreitova) accepted request 455731 from Kristyna Streitova's avatar Kristyna Streitova (kstreitova) (revision 188)
- update to MariaDB 10.1.21
  * notable changes:
    * Innodb updated to 5.6.35
    * Performance Schema updated to 5.6.35
  * release notes and changelog:
    * https://mariadb.com/kb/en/mariadb/mariadb-10121-release-notes/
    * https://mariadb.com/kb/en/mariadb/mariadb-10121-changelog/
  * fixes the following CVEs:
    CVE-2017-3318 [bsc#1020896], CVE-2017-3317 [bsc#1020894],
    CVE-2017-3312 [bsc#1020873], CVE-2017-3291 [bsc#1020884],
    CVE-2017-3265 [bsc#1020885], CVE-2017-3258 [bsc#1020875],
    CVE-2017-3257 [bsc#1020878], CVE-2017-3244 [bsc#1020877],
    CVE-2017-3243 [bsc#1020891], CVE-2017-3238 [bsc#1020882],
    CVE-2016-6664 [bsc#1008253]
- add mariadb.te file to the filelist
- add mysqld_safe_helper to the filelist
- refresh mariadb-10.1.4-group.patch
- add mariadb-10.1.20-incorrect_list_handling.patch to fix incorrect
  linked list handling in mysql_prune_stmt_list() function that can
  cause use-after-free error [bsc#1022428]
Martin Pluskal's avatar Martin Pluskal (pluskalm) accepted request 452618 from Dominique Leuenberger's avatar Dominique Leuenberger (dimstar) (revision 187)
Fixup the build dependencies. Requiring systemd/systemd-devel is almost
always wrong as it takes you out of the order in the build chain. In
case of mariadb it even introduces a build cycle.

Hence, update the BuildRequires to match what the build system (cmake) actually
is looking for. There is not a single place it tries to find systemd.pc (which
seems what caused your entire confusion - it happened to work when systemd.pc
was in the -devel package, but broke when this was moved out).

with this diff, the build log contains correctly:
[  185s] -- Checking for one of the modules 'libsystemd;libsystemd-daemon'
[  185s] -- Performing Test HAVE_SYSTEMD
[  185s] -- Performing Test HAVE_SYSTEMD - Success
[  185s] -- Looking for include file systemd/sd-daemon.h
[  185s] -- Looking for include file systemd/sd-daemon.h - found
[  186s] -- Systemd features enabled

Just as one would expect to find there.
Displaying revisions 121 - 140 of 325
openSUSE Build Service is sponsored by