commit mariadb for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-10-26 16:08:49

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.3463 (New)


Package is "mariadb"

Mon Oct 26 16:08:49 2020 rev:103 rq:843281 version:10.5.6

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-09-14 
12:05:50.107780510 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.3463/mariadb.changes
2020-10-26 16:08:59.838533121 +0100
@@ -1,0 +2,13 @@
+Mon Oct 19 12:11:14 UTC 2020 - ma...@detebe.org
+
+- update to 10.5.6
+  * release notes and changelog
+https://mariadb.com/kb/en/mariadb-1056-release-notes
+https://mariadb.com/kb/en/mariadb-1056-changelog
+- refresh mariadb-10.2.19-link-and-enable-c++11-atomics.patch
+- drop mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch
+- mariadb now builds against pcre2
+- added binaries aria_s3_copy and mariadb-conv to tools subpackage
+- added type_test.type_test_double to list of skipped tests
+
+---

Old:

  mariadb-10.4.14.tar.gz
  mariadb-10.4.14.tar.gz.sig
  mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch

New:

  mariadb-10.5.6.tar.gz
  mariadb-10.5.6.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.ZyxTkK/_old  2020-10-26 16:09:02.158535256 +0100
+++ /var/tmp/diff_new_pack.ZyxTkK/_new  2020-10-26 16:09:02.162535260 +0100
@@ -56,7 +56,7 @@
 # Build with cracklib plugin when cracklib-dict-full >= 2.9.0 is available
 %define with_cracklib_plugin 0
 Name:   mariadb
-Version:10.4.14
+Version:10.5.6
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -84,7 +84,6 @@
 Patch5: mariadb-10.2.19-link-and-enable-c++11-atomics.patch
 Patch6: mariadb-10.4.12-harden_setuid.patch
 Patch7: mariadb-10.4.12-fix-install-db.patch
-Patch8: 
mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch
 # needed for bison SQL parser and wsrep API
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -111,7 +110,7 @@
 # MariaDB requires a specific version of pcre. Provide MariaDB with
 # "BuildRequires: pcre-devel" and it automatically decides if the version is
 # ok or not. If not, it uses bundled pcre.
-BuildRequires:  pcre-devel
+BuildRequires:  pcre2-devel
 BuildRequires:  pkgconfig
 BuildRequires:  procps
 # Some tests and myrocks_hotbackup script need python3
@@ -373,7 +372,6 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
 
 cp %{_sourcedir}/suse-test-run .
 
@@ -542,6 +540,10 @@
 # Upstream ships them because of MDEV-10797 (we don't need them as we use our 
own systemd scripts)
 rm -f %{buildroot}%{_datadir}/mysql/mysql.server
 rm -f %{buildroot}%{_datadir}/mysql/mysqld_multi.server
+# upstream installs links for mysql
+unlink %{buildroot}%{_datadir}/mysql/systemd/mysql.service
+unlink %{buildroot}%{_datadir}/mysql/systemd/mysqld.service
+unlink %{buildroot}%{_unitdir}/mysqld.service
 # The old fork of mytop utility (we ship it as a separate package)
 rm -f %{buildroot}%{_bindir}/mytop
 # xtrabackup is not supported for MariaDB >= 10.3
@@ -571,7 +573,9 @@
 rm -f %{buildroot}%{_prefix}/lib/pkgconfig/libmariadb.pc
 rm -f %{buildroot}%{_libdir}/pkgconfig/libmariadb.pc
 rm %{buildroot}%{_datadir}/aclocal/mysql.m4
+rm %{buildroot}%{_mandir}/man1/mariadb_config*.1*
 rm %{buildroot}%{_mandir}/man1/mysql_config*.1*
+rm %{buildroot}%{_mandir}/man1/mytop.1*
 rm -r %{buildroot}%{_includedir}/mysql
 
 # Rename the wsrep README so it corresponds with the other README names
@@ -603,7 +607,7 @@
 filelist mysql_client_test mariadb-client-test mysql_client_test_embedded 
mariadb-client-test-embedded mysql_waitpid mariadb-waitpid mysqltest 
mariadb-test mysqltest_embedded mariadb-test-embedded >mariadb-test.files
 
 # mariadb-tools.files
-filelist msql2mysql mysql_plugin mariadb-plugin mysql_convert_table_format 
mariadb-convert-table-format mysql_find_rows mariadb-find-rows 
mysql_setpermission mariadb-setpermission mysql_tzinfo_to_sql 
mariadb-tzinfo-to-sql mysqlaccess mariadb-access mysqlhotcopy mariadb-hotcopy 
perror replace mysql_embedded mariadb-embedded >mariadb-tools.files
+filelist msql2mysql mysql_plugin mariadb-plugin mysql_convert_table_format 
mariadb-convert-table-format mysql_find_rows mariadb-find-rows 
mysql_setpermission mariadb-setpermission mysql_tzinfo_to_sql 
mariadb-tzinfo-to-sql mysqlaccess mariadb-access mysqlhotcopy mariadb-hotcopy 
perror replace mysql_embedded mariadb-embedded aria_s3_copy mariadb-conv 
>mariadb-tools.files
 
 # All configuration files
 echo 

commit mariadb for openSUSE:Factory

2020-09-14 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-09-14 12:04:07

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.4249 (New)


Package is "mariadb"

Mon Sep 14 12:04:07 2020 rev:102 rq:833528 version:10.4.14

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-08-28 
21:13:32.844096633 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.4249/mariadb.changes
2020-09-14 12:05:50.107780510 +0200
@@ -1,0 +2,16 @@
+Tue Sep  1 15:44:02 UTC 2020 - Cristian Rodríguez 
+
+-  Using basic.target dependencies is not needed with any systemd 
+   release unless DefaultDependencies is disabled, remove from
+   unit files
+
+---
+Tue Sep  1 15:05:00 UTC 2020 - Cristian Rodríguez 
+
+- Mariadb uses hrtimers with absolute CLOCK_REALTIME values, this
+  won't work correctly if the clock isn't set and will do funny things
+  if it goes backward after starting the server as POSIX says that the new
+  clock value shall influence them, start the service after time-sync.target
+  to workaround the problem.
+
+---



Other differences:
--

++ mariadb.service.in ++
--- /var/tmp/diff_new_pack.MLsFyA/_old  2020-09-14 12:06:00.863791567 +0200
+++ /var/tmp/diff_new_pack.MLsFyA/_new  2020-09-14 12:06:00.863791567 +0200
@@ -23,9 +23,8 @@
 Description=MariaDB database server
 Documentation=man:mysqld(8)
 Documentation=https://mariadb.com/kb/en/library/systemd/
-Wants=basic.target
 Conflicts=mariadb.target
-After=basic.target network.target 
+After=network.target time-sync.target 
 
 [Install]
 WantedBy=multi-user.target

++ mari...@.service.in ++
--- /var/tmp/diff_new_pack.MLsFyA/_old  2020-09-14 12:06:00.903791608 +0200
+++ /var/tmp/diff_new_pack.MLsFyA/_new  2020-09-14 12:06:00.903791608 +0200
@@ -23,9 +23,8 @@
 Description=MariaDB database server - %I instance
 Documentation=man:mysqld(8)
 Documentation=https://mariadb.com/kb/en/library/systemd/
-Wants=basic.target
 PartOf=mariadb.target
-After=basic.target network.target
+After=network.target time-sync.target
 
 [Install]
 WantedBy=multi-user.target




commit mariadb for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-08-28 21:13:19

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.3399 (New)


Package is "mariadb"

Fri Aug 28 21:13:19 2020 rev:101 rq:829048 version:10.4.14

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-08-06 
17:30:45.521075153 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.3399/mariadb.changes
2020-08-28 21:13:32.844096633 +0200
@@ -1,0 +2,17 @@
+Wed Aug 12 16:43:40 UTC 2020 - Kristyna Streitova 
+
+- Update to 10.4.14 [bsc#1175596]
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10414-release-notes
+https://mariadb.com/kb/en/library/mariadb-10414-changelog
+  * fixes for the following security vulnerabilities: none
+  * the update fixes [bsc#1174559] and [bsc#1173516] (MariaDB crashes
+at db_sync from Keystone)
+- refresh mariadb-10.2.4-fortify-and-O.patch
+- fix patch sequence
+- run spec-cleaner
+- build galera for openSUSE only
+- update suse_skipped_tests.list
+- tune the testsuite to avoid randomly failing tests
+
+---

Old:

  mariadb-10.4.13.tar.gz
  mariadb-10.4.13.tar.gz.sig

New:

  mariadb-10.4.14.tar.gz
  mariadb-10.4.14.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.s8u3wn/_old  2020-08-28 21:13:34.728097547 +0200
+++ /var/tmp/diff_new_pack.s8u3wn/_new  2020-08-28 21:13:34.728097547 +0200
@@ -42,6 +42,11 @@
 %define with_mroonga 0
 %define with_rocksdb 0
 %endif
+%if 0%{?is_opensuse}
+%define with_galera 1
+%else
+%define with_galera 0
+%endif
 # Define python interpreter version
 %if 0%{?suse_version} >= 1500
 %define python_path %{_bindir}/python3
@@ -51,7 +56,7 @@
 # Build with cracklib plugin when cracklib-dict-full >= 2.9.0 is available
 %define with_cracklib_plugin 0
 Name:   mariadb
-Version:10.4.13
+Version:10.4.14
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -73,13 +78,13 @@
 Source50:   suse_skipped_tests.list
 Source51:   mariadb-rpmlintrc
 Patch1: mariadb-10.2.4-logrotate.patch
-Patch3: mariadb-10.1.1-mysqld_multi-features.patch
-Patch7: mariadb-10.0.15-logrotate-su.patch
-Patch8: mariadb-10.2.4-fortify-and-O.patch
-Patch9: mariadb-10.2.19-link-and-enable-c++11-atomics.patch
-Patch10:mariadb-10.4.12-harden_setuid.patch
-Patch11:mariadb-10.4.12-fix-install-db.patch
-Patch12:
mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch
+Patch2: mariadb-10.1.1-mysqld_multi-features.patch
+Patch3: mariadb-10.0.15-logrotate-su.patch
+Patch4: mariadb-10.2.4-fortify-and-O.patch
+Patch5: mariadb-10.2.19-link-and-enable-c++11-atomics.patch
+Patch6: mariadb-10.4.12-harden_setuid.patch
+Patch7: mariadb-10.4.12-fix-install-db.patch
+Patch8: 
mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch
 # needed for bison SQL parser and wsrep API
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -112,6 +117,8 @@
 # Some tests and myrocks_hotbackup script need python3
 BuildRequires:  python3
 BuildRequires:  sqlite
+BuildRequires:  sysuser-shadow
+BuildRequires:  sysuser-tools
 BuildRequires:  tcpd-devel
 # Tests requires time and ps and some perl modules
 # Keep in sync with Requires of mysql-testsuite
@@ -133,11 +140,6 @@
 BuildRequires:  perl(Time::HiRes)
 # Do not ever switch away from BuildRequires: pkgconfig(libsystemd); 
BuildRequires systemd/systemd-devel causes build cycles
 BuildRequires:  pkgconfig(libsystemd)
-BuildRequires:  sysuser-shadow
-BuildRequires:  sysuser-tools
-# Require mysql user
-Requires(pre):  user(mysql)
-Requires:   user(mysql)
 #!BuildIgnore:  user(mysql)
 # Required by rcmysql
 Requires:   %{name}-client
@@ -148,7 +150,10 @@
 Requires:   perl-base
 # myrocks_hotbackup needs MySQLdb - if we want to use it under python3, we 
need python3-mysqlclient
 Requires:   python3-mysqlclient
+Requires:   user(mysql)
 Requires(post): permissions
+# Require mysql user
+Requires(pre):  user(mysql)
 Recommends: logrotate
 Conflicts:  mariadb-server
 Conflicts:  mysql
@@ -243,6 +248,7 @@
 %description client
 This package contains the standard clients for MariaDB.
 
+%if 0%{with_galera} > 0
 %package galera
 Summary:The configuration files and scripts for galera replication
 Group:  Productivity/Databases/Tools
@@ -264,6 +270,7 @@
 %description galera
 This package contains configuration files and scripts that are
 

commit mariadb for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-08-06 17:30:18

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.3399 (New)


Package is "mariadb"

Thu Aug  6 17:30:18 2020 rev:100 rq:824288 version:10.4.13

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-06-11 
14:43:51.417234797 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.3399/mariadb.changes
2020-08-06 17:30:45.521075153 +0200
@@ -1,0 +2,6 @@
+Mon Aug  3 07:49:32 UTC 2020 - Dominique Leuenberger 
+
+- Fix installed .service files to follow the /usr/lib ->
+  /usr/libexec move (boo#1174811).
+
+---

Old:

  mariadb.service
  mariadb@.service

New:

  mariadb.service.in
  mari...@.service.in



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.1umOTO/_old  2020-08-06 17:30:50.337076339 +0200
+++ /var/tmp/diff_new_pack.1umOTO/_new  2020-08-06 17:30:50.341076340 +0200
@@ -65,10 +65,10 @@
 Source7:README.install
 Source12:   mysql-user.conf
 Source14:   my.ini
-Source15:   mariadb.service
+Source15:   mariadb.service.in
 Source16:   mariadb.target
 Source17:   mysql-systemd-helper
-Source18:   mariadb@.service
+Source18:   mari...@.service.in
 Source19:   macros.mariadb-test
 Source50:   suse_skipped_tests.list
 Source51:   mariadb-rpmlintrc
@@ -627,8 +627,8 @@
 ln -sf service '%{buildroot}'%{_sbindir}/rcmysql
 ln -sf service '%{buildroot}'%{_sbindir}/rcmariadb
 rm -rf '%{buildroot}'%{_sysconfdir}/init.d
-install -D -m 644 %{_sourcedir}/mariadb.service 
'%{buildroot}'%{_unitdir}/mariadb.service
-install -D -m 644 %{_sourcedir}/mariadb@.service 
'%{buildroot}'%{_unitdir}/mariadb@.service
+sed "s|@LIBEXECDIR@|%{_libexecdir}|g" %{_sourcedir}/mariadb.service.in > 
'%{buildroot}'%{_unitdir}/mariadb.service
+sed "s|@LIBEXECDIR@|%{_libexecdir}|g" %{_sourcedir}/mari...@.service.in > 
'%{buildroot}'%{_unitdir}/mariadb@.service
 install -D -m 644 %{_sourcedir}/mariadb.target 
'%{buildroot}'%{_unitdir}/mariadb.target
 # Aliases for the backward compatibility. Create symlinks from the alias to 
the existing one
 # We can't use 'Alias=' option only because it's effective only when the unit 
is enabled


++ mariadb.service.in ++
# It's not recommended to modify this unit file because your changes
# would be overwritten during the package update.
#
# However, there are 2 methods how to customize this unit file:
#
# 1) Copy this unit file from /usr/lib/systemd/system to
# /etc/systemd/system and modify the chosen settings.
#
# 2) Create a directory named mariadb.service.d/ within /etc/systemd/system
# and place a drop-in file name.conf there that only changes the specific
# settings one is interested in.
#
# see systemd.unit(5) for details
#
# Example - increasing of the TimeoutSec= limit
#  mkdir /etc/systemd/system/mariadb.service.d
#  cat > /etc/systemd/system/mariadb.service.d/timeout.conf << EOF
#  [Service]
#  TimeoutSec=600 
#  EOF

[Unit]
Description=MariaDB database server
Documentation=man:mysqld(8)
Documentation=https://mariadb.com/kb/en/library/systemd/
Wants=basic.target
Conflicts=mariadb.target
After=basic.target network.target 

[Install]
WantedBy=multi-user.target
Alias=mysql.service

[Service]
ExecStartPre=@LIBEXECDIR@/mysql/mysql-systemd-helper  install
ExecStartPre=@LIBEXECDIR@/mysql/mysql-systemd-helper  upgrade
ExecStart=@LIBEXECDIR@/mysql/mysql-systemd-helper start

Type=notify
User=mysql
Group=mysql

KillSignal=SIGTERM

# Don't want to see an automated SIGKILL ever
SendSIGKILL=no

# Restart crashed server only, on-failure would also restart, for example, when
# my.cnf contains unknown option
Restart=on-abort
RestartSec=5s

# Configures the time to wait for start-up/stop
TimeoutSec=300

# CAP_IPC_LOCK To allow memlock to be used as non-root user
# CAP_DAC_OVERRIDE To allow auth_pam_tool (which is SUID root) to read 
/etc/shadow when it's chmod 0
#   does nothing for non-root, not needed if /etc/shadow is u+r
# CAP_AUDIT_WRITE auth_pam_tool needs it on Debian for whatever reason
CapabilityBoundingSet=CAP_IPC_LOCK CAP_DAC_OVERRIDE CAP_AUDIT_WRITE

# Prevent writes to /usr, /boot, and /etc
ProtectSystem=full

# Prevent accessing /home, /root and /run/user
ProtectHome=true

# Execute pre and post scripts as root, otherwise it does it as User=
PermissionsStartOnly=true

UMask=007

++ mari...@.service.in ++
# It's not recommended to modify this unit file because your changes
# would be overwritten during the package update.
#
# However, there are 2 methods how to customize this unit 

commit mariadb for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-06-11 14:43:11

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.3606 (New)


Package is "mariadb"

Thu Jun 11 14:43:11 2020 rev:99 rq:813103 version:10.4.13

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-06-08 
23:59:25.984214944 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.3606/mariadb.changes
2020-06-11 14:43:51.417234797 +0200
@@ -1,0 +2,6 @@
+Tue Jun  9 14:38:20 UTC 2020 - Guillaume GARDET 
+
+- Update _constraints to make it more readable and request
+  more memory for aarch64 to avoid occasionnal OOM errors on %check
+
+---



Other differences:
--
++ _constraints ++
--- /var/tmp/diff_new_pack.G1jTvU/_old  2020-06-11 14:43:52.457237826 +0200
+++ /var/tmp/diff_new_pack.G1jTvU/_new  2020-06-11 14:43:52.461237839 +0200
@@ -1,29 +1,24 @@
 
+  
+
+  18
+
+
+  8
+
+  
+
   
 
   i586
   x86_64
+  aarch64
   ppc64le
 
 
   
 10
   
-  
-10
-  
-
-  
-
-  
-
-
-  
-18
-  
-  
-8
-  
 
   
 





commit mariadb for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-06-08 23:57:27

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.3606 (New)


Package is "mariadb"

Mon Jun  8 23:57:27 2020 rev:98 rq:811983 version:10.4.13

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-04-29 
20:44:01.339899191 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.3606/mariadb.changes
2020-06-08 23:59:25.984214944 +0200
@@ -1,0 +2,35 @@
+Wed Jun  3 13:32:46 UTC 2020 - pgaj...@suse.com
+
+- rpm macros: $TEST_USER identified by $TEST_PASS is actually user
+  of the database for which client conf should be made for
+- rpm macros: database name or names can be specified as a
+  %mysql_testserver_start and %mysql_testserver_cconf parameter
+- modified sources
+  % macros.mariadb-test
+
+---
+Mon Jun  1 11:50:50 UTC 2020 - Kristyna Streitova 
+
+- Build with oqgraph by default for all codestreams [jsc#SLE-12253] 
+
+---
+Fri May 22 14:21:14 UTC 2020 - Kristyna Streitova 
+
+- Update to 10.4.13
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10413-release-notes
+https://mariadb.com/kb/en/library/mariadb-10413-changelog
+  * fixes for the following security vulnerabilities:
+CVE-2020-2752, CVE-2020-2812, CVE-2020-2814, CVE-2020-2760,
+CVE-2020-13249
+- fixes [bsc#1168380] (the same as [bsc#1166781])
+  MDEV-21244 mysql_upgrade creating empty global_priv table support
+  upgrades from 5.2 privilege tables
+- drop specfile "hacks" as things work correctly in upstream now:
+  * renaming tmpfiles.conf -> mariadb.conf
+  * installing pam_user_map.so to /lib64/security for non 32bit
+architectures
+  * sysusers.conf was renamed to mariadb.conf
+- update suse_skipped_tests.list
+
+---

Old:

  mariadb-10.4.12.tar.gz
  mariadb-10.4.12.tar.gz.sig

New:

  mariadb-10.4.13.tar.gz
  mariadb-10.4.13.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.pRI0Ds/_old  2020-06-08 23:59:33.880239300 +0200
+++ /var/tmp/diff_new_pack.pRI0Ds/_new  2020-06-08 23:59:33.884239313 +0200
@@ -25,12 +25,7 @@
 # unstable-tests list (contains also suse_skipped_tests.list) and don't
 # ignore failures
 %define ignore_testsuite_result 0
-# OQGRAPH engine cannot be built for SLE (missing Judy dependency)
-%if 0%{?is_opensuse} > 0
 %define with_oqgraph 1
-%else
-%define with_oqgraph 0
-%endif
 # TokuDB engine is available only for x86_64 architecture
 # see https://mariadb.com/kb/en/mariadb/tokudb/
 # Temporarily stop to build it as jemalloc 5 is not backwards compatible
@@ -56,7 +51,7 @@
 # Build with cracklib plugin when cracklib-dict-full >= 2.9.0 is available
 %define with_cracklib_plugin 0
 Name:   mariadb
-Version:10.4.12
+Version:10.4.13
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -550,7 +545,7 @@
 rm -f 
%{buildroot}'%{_unitdir}/mariadb@bootstrap.service.d/use_galera_new_cluster.conf'
 
 # Remove systemd-sysusers conf file for creating of mysql user (we do it in 
the specfile)
-rm -f %{buildroot}%{_sysusersdir}/sysusers.conf
+rm -f %{buildroot}%{_sysusersdir}/mariadb.conf
 
 # Remove client libraries that are now provided in mariadb-connector-c
 # Client library and links
@@ -563,7 +558,7 @@
 # Devel files
 rm %{buildroot}%{_bindir}/mysql_config
 rm %{buildroot}%{_bindir}/mariadb_config
-rm %{buildroot}%{_datadir}/pkgconfig/mariadb.pc
+rm %{buildroot}%{_libdir}/pkgconfig/mariadb.pc
 rm -f %{buildroot}%{_prefix}/lib/pkgconfig/libmariadb.pc
 rm -f %{buildroot}%{_libdir}/pkgconfig/libmariadb.pc
 rm %{buildroot}%{_datadir}/aclocal/mysql.m4
@@ -640,9 +635,6 @@
 ln -sf %{_unitdir}/mariadb.service %{buildroot}%{_unitdir}/mysql.service
 ln -sf %{_unitdir}/mariadb@.service %{buildroot}%{_unitdir}/mysql@.service
 
-# Rename systemd-tmpfiles conf file because each systemd-tmpfiles file shall 
be named in the style of package.conf or package-part.conf
-mv %{buildroot}%{_tmpfilesdir}/tmpfiles.conf 
%{buildroot}%{_tmpfilesdir}/mariadb.conf
-
 # Tmpfiles file to exclude mysql tempfiles that are auto-cleaned up
 # bnc#852451
 mkdir -p %{buildroot}%{_tmpfilesdir}
@@ -693,12 +685,6 @@
 mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d
 install -m 644 %{SOURCE19} %{buildroot}%{_rpmconfigdir}/macros.d
 
-# install pam_user_map.so to /lib64/security for non 32bit architectures
-%ifnarch i586 %{arm} ppc
-mkdir -p %{buildroot}/%{_lib}/security
-mv 

commit mariadb for openSUSE:Factory

2020-04-29 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-04-29 20:43:59

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.2738 (New)


Package is "mariadb"

Wed Apr 29 20:43:59 2020 rev:97 rq:798609 version:10.4.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-04-22 
20:42:37.694174818 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.2738/mariadb.changes
2020-04-29 20:44:01.339899191 +0200
@@ -1,0 +2,7 @@
+Mon Apr 27 16:36:28 UTC 2020 - Kristyna Streitova 
+
+- move mariadb-client-test from client subpackage to test subpackage
+  so the symlink from mariadb-client-test -> mysql_client_test works
+  [bsc#1170204]
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.97FaEl/_old  2020-04-29 20:44:02.479902163 +0200
+++ /var/tmp/diff_new_pack.97FaEl/_new  2020-04-29 20:44:02.483902173 +0200
@@ -578,7 +578,7 @@
 filelist mariabackup mariadb-backup mbstream innochecksum 
mariadb-service-convert my_print_defaults myisam_ftdump myisamchk myisamlog 
myisampack mysql_fix_extensions mariadb-fix-extensions mysql_install_db 
mariadb-install-db mysql_secure_installation mariadb-secure-installation 
mysql_upgrade mariadb-upgrade mysqld mariadbd mysqld_multi mariadbd-multi 
mysqld_safe mariadbd-safe mysqlbinlog mariadb-binlog mysqldumpslow 
mariadb-dumpslow resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log 
{m,}aria_ftdump {m,}aria_pack {m,}aria_read_log tokuft_logprint tokuft_logdump 
tokuftdump mysql_ldb mariadb-ldb sst_dump myrocks_hotbackup >mariadb.files
 
 # mariadb-client.files
-filelist mysql mariadb mysqladmin mariadb-admin mysqlcheck mariadb-check 
mysqldump mariadb-dump mysqlimport mariadb-import mysqlshow mariadb-show 
mysql_config_editor mysqld_safe_helper mariadbd-safe-helper mariadb-client-test 
 >mariadb-client.files
+filelist mysql mariadb mysqladmin mariadb-admin mysqlcheck mariadb-check 
mysqldump mariadb-dump mysqlimport mariadb-import mysqlshow mariadb-show 
mysql_config_editor mysqld_safe_helper mariadbd-safe-helper 
>mariadb-client.files
 
 # Mysql has configuration file in _bindir
 if [ -f scripts/mysqlaccess.conf ] ; then
@@ -594,7 +594,7 @@
 filelist mysqlslap mariadb-slap >mariadb-bench.files
 
 # mariadb-test.files
-filelist mysql_client_test mysql_client_test_embedded 
mariadb-client-test-embedded mysql_waitpid mariadb-waitpid mysqltest 
mariadb-test mysqltest_embedded mariadb-test-embedded >mariadb-test.files
+filelist mysql_client_test mariadb-client-test mysql_client_test_embedded 
mariadb-client-test-embedded mysql_waitpid mariadb-waitpid mysqltest 
mariadb-test mysqltest_embedded mariadb-test-embedded >mariadb-test.files
 
 # mariadb-tools.files
 filelist msql2mysql mysql_plugin mariadb-plugin mysql_convert_table_format 
mariadb-convert-table-format mysql_find_rows mariadb-find-rows 
mysql_setpermission mariadb-setpermission mysql_tzinfo_to_sql 
mariadb-tzinfo-to-sql mysqlaccess mariadb-access mysqlhotcopy mariadb-hotcopy 
perror replace mysql_embedded mariadb-embedded >mariadb-tools.files





commit mariadb for openSUSE:Factory

2020-04-22 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-04-22 20:42:35

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.2738 (New)


Package is "mariadb"

Wed Apr 22 20:42:35 2020 rev:96 rq:794926 version:10.4.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-04-07 
10:25:55.690136467 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.2738/mariadb.changes
2020-04-22 20:42:37.694174818 +0200
@@ -1,0 +2,6 @@
+Fri Apr 17 13:51:04 UTC 2020 - Kristyna Streitova 
+
+- Add oqgraph.social to the suse_skipped_tests.list (reported
+  upstream as MDEV-22280) [bsc#1169369]
+
+---



Other differences:
--

++ suse_skipped_tests.list ++
--- /var/tmp/diff_new_pack.KrF392/_old  2020-04-22 20:42:39.706178756 +0200
+++ /var/tmp/diff_new_pack.KrF392/_new  2020-04-22 20:42:39.706178756 +0200
@@ -44,3 +44,4 @@
 main.gis_notembedded : since 10.4.10 - all 
 funcs_1.is_columns_mysql : since 10.4.10 - all 
 sys_vars.tcp_nodelay : since 10.4.10 - all
+oqgraph.social   : since 10.4.12 - i386




commit mariadb for openSUSE:Factory

2020-04-07 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-04-07 10:25:40

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.3248 (New)


Package is "mariadb"

Tue Apr  7 10:25:40 2020 rev:95 rq:791477 version:10.4.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-03-24 
22:30:07.325022365 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.3248/mariadb.changes
2020-04-07 10:25:55.690136467 +0200
@@ -1,0 +2,7 @@
+Sat Apr  4 18:13:48 UTC 2020 - Ismail Dönmez 
+
+- Add -Wl,-Bsymbolic -Wl,-Bsymbolic-functions to linker flags so
+  that symbols are resolved locally if possible, this will avoid
+  https://bugs.kde.org/show_bug.cgi?id=391362
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.LoUgsr/_old  2020-04-07 10:25:57.990139024 +0200
+++ /var/tmp/diff_new_pack.LoUgsr/_new  2020-04-07 10:25:57.994139029 +0200
@@ -469,9 +469,9 @@
-DINSTALL_SQLBENCHDIR=share  \
-DCMAKE_C_FLAGS="$CFLAGS"\
-DCMAKE_CXX_FLAGS="$CXXFLAGS"\
-   -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-   -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
-   -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
+   -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now 
-Wl,-Bsymbolic -Wl,-Bsymbolic-functions" \
+   -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now 
-Wl,-Bsymbolic -Wl,-Bsymbolic-functions" \
+   -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now 
-Wl,-Bsymbolic -Wl,-Bsymbolic-functions" \
-DCMAKE_SKIP_RPATH=OFF   \
-DCMAKE_SKIP_INSTALL_RPATH=ON\
-Wno-dev "$@" ..





commit mariadb for openSUSE:Factory

2020-03-24 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-03-24 22:29:53

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.3160 (New)


Package is "mariadb"

Tue Mar 24 22:29:53 2020 rev:94 rq:787646 version:10.4.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-03-12 
22:58:53.639004788 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.3160/mariadb.changes
2020-03-24 22:30:07.325022365 +0100
@@ -1,0 +2,6 @@
+Tue Mar 24 05:46:49 UTC 2020 - Martin Liška 
+
+- Add mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch
+  in order to fix boo#1158405 (MDEV-21248).
+
+---

New:

  mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.Us6duv/_old  2020-03-24 22:30:10.285023852 +0100
+++ /var/tmp/diff_new_pack.Us6duv/_new  2020-03-24 22:30:10.289023854 +0100
@@ -84,6 +84,7 @@
 Patch9: mariadb-10.2.19-link-and-enable-c++11-atomics.patch
 Patch10:mariadb-10.4.12-harden_setuid.patch
 Patch11:mariadb-10.4.12-fix-install-db.patch
+Patch12:
mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch
 # needed for bison SQL parser and wsrep API
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -370,6 +371,7 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 
 cp %{_sourcedir}/suse-test-run .
 


++ mariadb-10.5-fix-prevent-optimizing-out-buf-argument-in-ch.patch ++
>From 35c277851972267d4d020126ab8f893c4b17dd36 Mon Sep 17 00:00:00 2001
From: Martin Liska 
Date: Sun, 8 Dec 2019 10:52:27 +0100
Subject: [PATCH] MDEV-21248: Prevent optimizing out buf argument in
 check_stack_overrun.

When using LTO, one can see optimization of stack variables that
are passed to check_stack_overrun as argument buf. That prevents
proper stack overrun detection.
---
 sql/sql_parse.cc | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index dc81e8a2b91..6f3c076709a 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -7392,8 +7392,17 @@ long max_stack_used;
 corresponding exec. (Thus we only have to check in fix_fields.)
   - Passing to check_stack_overrun() prevents the compiler from removing it.
 */
-bool check_stack_overrun(THD *thd, long margin,
-uchar *buf __attribute__((unused)))
+
+bool
+#ifdef __GNUC__
+/*
+  Do not optimize the function in order to preserve a stack variable creation.
+  Otherwise, the variable pointed as "buf" can be removed due to a missing
+  usage.
+ */
+__attribute__((optimize("-O0")))
+#endif
+check_stack_overrun(THD *thd, long margin, uchar *buf __attribute__((unused)))
 {
   long stack_used;
   DBUG_ASSERT(thd == current_thd);
-- 
2.25.1




commit mariadb for openSUSE:Factory

2020-03-12 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-03-12 22:58:31

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.3160 (New)


Package is "mariadb"

Thu Mar 12 22:58:31 2020 rev:93 rq:783185 version:10.4.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-03-01 
21:25:59.368309721 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.3160/mariadb.changes
2020-03-12 22:58:53.639004788 +0100
@@ -1,0 +2,5 @@
+Wed Feb 26 16:25:55 UTC 2020 - Thorsten Kukuk 
+
+- Cleanup mysql user creation/handling and use sysusers.d
+
+---

New:

  mysql-user.conf



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.P8ZDaC/_old  2020-03-12 22:58:56.311005854 +0100
+++ /var/tmp/diff_new_pack.P8ZDaC/_new  2020-03-12 22:58:56.315005855 +0100
@@ -68,6 +68,7 @@
 Source4:README.debug
 Source5:suse-test-run
 Source7:README.install
+Source12:   mysql-user.conf
 Source14:   my.ini
 Source15:   mariadb.service
 Source16:   mariadb.target
@@ -114,7 +115,6 @@
 BuildRequires:  procps
 # Some tests and myrocks_hotbackup script need python3
 BuildRequires:  python3
-BuildRequires:  shadow
 BuildRequires:  sqlite
 BuildRequires:  tcpd-devel
 # Tests requires time and ps and some perl modules
@@ -137,6 +137,12 @@
 BuildRequires:  perl(Time::HiRes)
 # Do not ever switch away from BuildRequires: pkgconfig(libsystemd); 
BuildRequires systemd/systemd-devel causes build cycles
 BuildRequires:  pkgconfig(libsystemd)
+BuildRequires:  sysuser-shadow
+BuildRequires:  sysuser-tools
+# Require mysql user
+Requires(pre):  user(mysql)
+Requires:   user(mysql)
+#!BuildIgnore:  user(mysql)
 # Required by rcmysql
 Requires:   %{name}-client
 Requires:   %{name}-errormessages = %{version}
@@ -147,7 +153,6 @@
 # myrocks_hotbackup needs MySQLdb - if we want to use it under python3, we 
need python3-mysqlclient
 Requires:   python3-mysqlclient
 Requires(post): permissions
-Requires(pre):  shadow
 Recommends: logrotate
 Conflicts:  mariadb-server
 Conflicts:  mysql
@@ -234,10 +239,10 @@
 Requires:   %{name}-errormessages = %{version}
 # Explicit requires to pull in charsets for errormessages
 Requires:   libmariadb3 >= 3.0
-Requires(pre):  shadow
 Conflicts:  mysql-client
 Provides:   mysql-client = %{version}
 Obsoletes:  mysql-client < %{version}
+%sysusers_requires
 
 %description client
 This package contains the standard clients for MariaDB.
@@ -470,6 +475,8 @@
-Wno-dev "$@" ..
 make %{?_smp_mflags}
 nm --numeric-sort sql/mysqld > sql/mysqld.sym
+cd ..
+%sysusers_generate_pre %{SOURCE12} mysql
 
 %install
 # Helper function to generate filelist for binaries and their manpages
@@ -690,6 +697,10 @@
 mv %{buildroot}/lib/security/pam_user_map.so %{buildroot}/%{_lib}/security/
 %endif
 
+# Install sysusers.d file
+mkdir -p %{buildroot}%{_sysusersdir}
+install -m 644 %{SOURCE12} %{buildroot}%{_sysusersdir}/
+
 %check
 cd build
 
@@ -719,23 +730,9 @@
 %endif
 
 # client does not require server and needs the user too
-%pre client
-getent group mysql >/dev/null || groupadd -r mysql
-getent passwd mysql >/dev/null || useradd -r -o -g mysql -u 60 -c "MySQL 
database admin" \
-  -s /bin/false -d %{_localstatedir}/lib/mysql mysql
-# if mysql user is not in mysql group or if mysql user doesn't have 
'/bin/false' shell set, do so
-id -Gn mysql | grep '\bmysql\b' &>/dev/null || usermod -g mysql mysql
-getent passwd mysql | cut -d: -f7 | grep '\b/bin/false\b' &>/dev/null || 
usermod -s /bin/false mysql
-exit 0
+%pre client -f mysql.pre
 
 %pre
-getent group mysql >/dev/null || groupadd -r mysql
-getent passwd mysql >/dev/null || useradd -r -o -g mysql -u 60 -c "MySQL 
database admin" \
-  -s /bin/false -d %{_localstatedir}/lib/mysql mysql
-# if mysql user is not in mysql group or if mysql user doesn't have 
'/bin/false' shell set, do so
-id -Gn mysql | grep '\bmysql\b' &>/dev/null || usermod -g mysql mysql
-getent passwd mysql | cut -d: -f7 | grep '\b/bin/false\b' &>/dev/null || 
usermod -s /bin/false mysql
-
 %service_add_pre mariadb.service
 
 %post
@@ -893,6 +890,7 @@
 %dir %{_libdir}/mysql
 %dir %{_libdir}/mysql/plugin
 %{_libdir}/mysql/plugin/dialog_examples.so
+%{_sysusersdir}/mysql-user.conf
 
 %files galera -f mariadb-galera.files
 %doc Docs/README.wsrep


++ mysql-user.conf ++
# Type Name ID GECOS [HOME]
u mysql 60 "MySQL database admin" /var/lib/mysql



commit mariadb for openSUSE:Factory

2020-03-01 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-03-01 21:25:58

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.26092 (New)


Package is "mariadb"

Sun Mar  1 21:25:58 2020 rev:92 rq:779332 version:10.4.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-02-25 
16:00:51.299987931 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.26092/mariadb.changes   
2020-03-01 21:25:59.368309721 +0100
@@ -1,0 +2,13 @@
+Tue Feb 25 19:40:40 UTC 2020 - Andreas Schwab 
+
+- Bump disk constraint to 18Gb
+
+---
+Tue Feb 25 17:17:57 UTC 2020 - pgaj...@suse.com
+
+- test macros: clarify who is admin and user of the database,
+  fix build with 10.4
+- modified sources
+  % macros.mariadb-test
+
+---



Other differences:
--
++ _constraints ++
--- /var/tmp/diff_new_pack.AyOTpx/_old  2020-03-01 21:26:01.060313158 +0100
+++ /var/tmp/diff_new_pack.AyOTpx/_new  2020-03-01 21:26:01.060313158 +0100
@@ -19,7 +19,7 @@
 
 
   
-13
+18
   
   
 8

++ macros.mariadb-test ++
--- /var/tmp/diff_new_pack.AyOTpx/_old  2020-03-01 21:26:01.076313191 +0100
+++ /var/tmp/diff_new_pack.AyOTpx/_new  2020-03-01 21:26:01.076313191 +0100
@@ -1,17 +1,16 @@
 %__mysql_test_run_dir  /tmp/mysql
-%__mysql_test_user abuild
-%__mysql_test_pass abuildpw
+%__mysql_test_user dbuser
+%__mysql_test_pass dbuserpass
 %__mysql_test_cconfabuild-myclient.cnf
 %__mysql_test_port 63306
 
 #
 # macro: mysql_testserver_start -- start a test mysqld instance
 #
-#usage: %mysql_test_start -u  -p  -t 
+#usage: %mysql_test_start -u  -p  -t 
 #
 
 %mysql_testserver_start(u:p:t:) \
-exit 0 \
 TEST_RUN_DIR=%{__mysql_test_run_dir} \
 TEST_USER="%{-u:%{-u*}}" \
 if [ -z "$TEST_USER" ]; then \
@@ -34,7 +33,7 @@
 socket = $TEST_RUN_DIR/mysql.sock \
 port   = $TEST_PORT \
 [mysqld] \
-user = $TEST_USER \
+user = abuild \
 log-error= $TEST_RUN_DIR/mysqld.log \
 secure_file_priv = $TEST_RUN_DIR/datadir-private \
 datadir  = $TEST_RUN_DIR/datadir \
@@ -51,12 +50,15 @@
 /usr/sbin/mysqld --defaults-file=$TEST_RUN_DIR/my.cnf& \
 sleep 2 \
 \
-echo '>>> Creating authentication database' \
-mysqladmin   --defaults-file=$TEST_RUN_DIR/my.cnf --user root password 
'roots_secret' \
-mysqladmin   --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' create testhat \
-mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "CREATE USER '$TEST_USER'@'localhost' IDENTIFIED 
BY '$TEST_PASS'" \
-mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "GRANT ALL PRIVILEGES ON * . * TO 
'$TEST_USER'@'localhost'" \
-mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "FLUSH PRIVILEGES" \
+echo '>>> Creating authentication database (credentials: $TEST_USER, 
$TEST_PASS)' \
+mysqladmin   --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild password 
abuildpw \
+mysqladmin   --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild 
--password=abuildpw create testhat \
+cat << EOF > $TEST_RUN_DIR/create_auth.sql \
+CREATE USER '$TEST_USER'@'localhost' IDENTIFIED BY '$TEST_PASS'; \
+GRANT ALL PRIVILEGES ON * . * TO '$TEST_USER'@'localhost'; \
+FLUSH PRIVILEGES; \
+EOF\
+mysql   --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild 
--password=abuildpw < $TEST_RUN_DIR/create_auth.sql \
 %nil
 
 #
@@ -95,6 +97,6 @@
 cat << EOF > $TEST_RUN_DIR/shutdown.sql \
 SHUTDOWN; \
 EOF\
-mysql   --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' < $TEST_RUN_DIR/shutdown.sql \
+mysql   --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild 
--password=abuildpw < $TEST_RUN_DIR/shutdown.sql \
 %nil
 





commit mariadb for openSUSE:Factory

2020-02-25 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-02-25 16:00:36

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.26092 (New)


Package is "mariadb"

Tue Feb 25 16:00:36 2020 rev:91 rq:777998 version:10.4.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-12-23 
22:36:32.681796906 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.26092/mariadb.changes   
2020-02-25 16:00:51.299987931 +0100
@@ -1,0 +2,89 @@
+Fri Feb 21 14:44:16 UTC 2020 - Kristyna Streitova 
+
+ - remove @VERSION@ from mariadb.service and mariadb@.service
+
+---
+Fri Feb  7 12:47:56 UTC 2020 - pgaj...@suse.com
+
+- disable testing with rpm macros as it does not work as for 10.4,
+  needs to be investigated
+
+---
+Wed Feb  5 14:08:30 UTC 2020 - Kristyna Streitova 
+
+- update suse_skipped_tests.list for ppc
+
+---
+Tue Feb  4 15:30:16 UTC 2020 - Kristyna Streitova 
+
+- rename mariadb.rpmlintrc to mariadb-rpmlintrc
+- for ppc install pam_user_map.so in /lib/security
+
+---
+Tue Feb  4 10:53:34 UTC 2020 - matthias.gerst...@suse.com
+
+- rename mariadb-10.2.12-harden_setuid.patch to
+  mariadb-10.4.12-harden_setuid.patch to match the correct version number.
+- add mariadb-10.4.12-fix-install-db.patch to improve default behaviour of
+  mysql_install_db. This prevents performing security sensitive actions to
+  be performed but instead only warns the caller (bsc#1160868).
+
+---
+Sun Feb  2 21:53:07 UTC 2020 - Kristyna Streitova 
+
+- update to 10.4.12
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10412-release-notes
+https://mariadb.com/kb/en/library/mariadb-10412-changelog
+https://mariadb.com/kb/en/library/mariadb-10411-release-notes
+https://mariadb.com/kb/en/library/mariadb-10411-changelog
+  * fixes for the following security vulnerabilities:
+CVE-2020-2574
+  * don't let mysql_install_db set SUID bit for auth_pam_tool
+in rpm/deb packages CVE-2020-7221 [bsc#1160868]
+- add mariadb-10.2.12-harden_setuid.patch to harden auth_pam_tool
+  setuid-root binary [bsc#1160285]
+- pack pam_user_map.so module in the /%{_lib}/security directory
+  and user_map.conf configuration file in the /etc/security directory
+- fix race condition with mysql_upgrade_info status file by moving
+  it to the location owned by root (/var/lib/misc) CVE-2019-18901
+  [bsc#1160895]
+- move .run-mysql_upgrade file from $datadir/.run-mysql_upgrade
+  to /var/lib/misc/.mariadb_run_upgrade so the mysql user can't
+  use it for a symlink attack [bsc#1160912]
+- change -DWITH_COMMENT and -DCOMPILATION_COMMENT to be
+  SUSE/openSUSE independent
+
+---
+Fri Jan 24 17:02:52 UTC 2020 - Kristyna Streitova 
+
+- enhance mariadb.service and mariadb@.service with various options
+  (Documentation=, User=, Group=, KillSignal=, SendSIGKILL=,
+  Restart=, RestartSec=, CapabilityBoundingSet=, ProtectSystem=,
+  ProtectHome=, PermissionsStartOnly= and UMask=) [bsc#1160878] 
+- mysql-systemd-helper: use systemd-tmpfiles instead of shell
+  script operations for a cleaner and safer creating of /run/mysql
+  [bsc#1160883]
+
+---
+Fri Jan  3 13:31:34 UTC 2020 - Kristyna Streitova 
+
+- update to 10.4.10
+  * changes and improvements for 10.4
+https://mariadb.com/kb/en/changes-improvements-in-mariadb-104/
+  * fixes for the following security vulnerabilities: none
+- pack mariadb variants of the mysql binaries (e.g. mariadb-dumpslow
+  is a symlink to mysqldumpslow and the like)
+- refresh mariadb-10.2.4-fortify-and-O.patch
+- update suse_skipped_tests.list
+- _constraints: increase physicalmemory value
+- package auth_pam_tool setuid binary properly
+- add cracklib-password-check subpackage but do not build it right
+  now (cracklib-dict-full >= 2.9.0 is not available yet)
+- add rcmariadb compat link
+- add mariadb.rpmlintrc file
+- do not move my_safe_process to bindir but use rpmlint
+  arch-dependent-file-in-usr-share exception for it (this file
+  is used just for the testing and it doesn't have to be in bindir
+ 
+---

Old:

  mariadb-10.3.20.tar.gz
  mariadb-10.3.20.tar.gz.sig

New:

  mariadb-10.4.12-fix-install-db.patch
  mariadb-10.4.12-harden_setuid.patch
  mariadb-10.4.12.tar.gz
  mariadb-10.4.12.tar.gz.sig
  

commit mariadb for openSUSE:Factory

2019-12-23 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-12-23 22:35:11

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.6675 (New)


Package is "mariadb"

Mon Dec 23 22:35:11 2019 rev:90 rq:755500 version:10.3.20

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-12-02 
11:35:48.734431412 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.6675/mariadb.changes
2019-12-23 22:36:32.681796906 +0100
@@ -1,0 +2,7 @@
+Thu Dec  5 10:41:56 UTC 2019 - pgaj...@suse.com
+
+- added rpm test macros: %mysql_testserver_start,
+  %mysql_testserver_cconf, %mysql_testserver_stop
+  First two consuments are python-sortinghat and python-mysqlclient.
+
+---

New:

  macros.mariadb-test



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.YGfnDu/_old  2019-12-23 22:36:35.841798277 +0100
+++ /var/tmp/diff_new_pack.YGfnDu/_new  2019-12-23 22:36:35.885798296 +0100
@@ -71,6 +71,7 @@
 Source16:   mariadb.target
 Source17:   mysql-systemd-helper
 Source18:   mariadb@.service
+Source19:   macros.mariadb-test
 Source50:   suse_skipped_tests.list
 Patch1: mariadb-10.2.4-logrotate.patch
 Patch3: mariadb-10.1.1-mysqld_multi-features.patch
@@ -214,6 +215,13 @@
 This package contains the development header files and libraries
 for developing applications that embed the MariaDB.
 
+%package rpm-macros
+Summary:MariaDB RPM macros
+Requires:   %{name}
+
+%description rpm-macros
+Provides macros usable in rpm spec files.
+
 %package client
 Summary:Client for MariaDB
 Group:  Productivity/Databases/Clients
@@ -651,6 +659,11 @@
 # Create the directory specified in 'secure-file-priv' option
 mkdir -p '%{buildroot}'%{_localstatedir}/lib/mysql-files
 
+# install rpm macros file
+mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d
+install -m 644 %{SOURCE19} %{buildroot}%{_rpmconfigdir}/macros.d
+
+
 %check
 cd build
 
@@ -815,6 +828,10 @@
 %{_datadir}/mysql/systemd/mariadb.service
 %{_datadir}/mysql/systemd/mariadb@.service
 
+%files rpm-macros
+%dir %{_rpmconfigdir}/macros.d
+%{_rpmconfigdir}/macros.d/macros.mariadb-test
+
 %files -n libmariadbd%{soname}
 %{_libdir}/libmariadbd.so.*
 

++ macros.mariadb-test ++
%__mysql_test_run_dir  /tmp/mysql
%__mysql_test_user abuild
%__mysql_test_pass abuildpw
%__mysql_test_cconfabuild-myclient.cnf
%__mysql_test_port 63306

#
# macro: mysql_testserver_start -- start a test mysqld instance
#
#usage: %mysql_test_start -u  -p  -t 
#

%mysql_testserver_start(u:p:t:) \
TEST_RUN_DIR=%{__mysql_test_run_dir} \
TEST_USER="%{-u:%{-u*}}" \
if [ -z "$TEST_USER" ]; then \
  TEST_USER='%{__mysql_test_user}' \
fi \
TEST_PASS="%{-p:%{-p*}}" \
if [ -z "$TEST_PASS" ]; then \
  TEST_PASS='%{__mysql_test_pass}' \
fi \
TEST_PORT="%{-t:%{-t*}}" \
if [ -z "$TEST_PORT" ]; then \
  TEST_PORT='%{__mysql_test_port}' \
fi \
\
[ -d $TEST_RUN_DIR ] && rm -r $TEST_RUN_DIR \
mkdir -p $TEST_RUN_DIR/datadir{,-private} \
\
cat << EOF > $TEST_RUN_DIR/my.cnf \
[client] \
socket = $TEST_RUN_DIR/mysql.sock \
port   = $TEST_PORT \
[mysqld] \
user = $TEST_USER \
log-error= $TEST_RUN_DIR/mysqld.log \
secure_file_priv = $TEST_RUN_DIR/datadir-private \
datadir  = $TEST_RUN_DIR/datadir \
server-id= 1 \
socket   = $TEST_RUN_DIR/mysql.sock \
port = $TEST_PORT \
sql_mode = '' \
EOF\
\
echo '>>> Initializing databases' \
mysql_install_db --defaults-file=$TEST_RUN_DIR/my.cnf \
\
echo '>>> Invoking mysqld' \
/usr/sbin/mysqld --defaults-file=$TEST_RUN_DIR/my.cnf& \
sleep 2 \
\
echo '>>> Creating authentication database' \
mysqladmin   --defaults-file=$TEST_RUN_DIR/my.cnf --user root password 
'roots_secret' \
mysqladmin   --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' create testhat \
mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "CREATE USER '$TEST_USER'@'localhost' IDENTIFIED 
BY '$TEST_PASS'" \
mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "GRANT ALL PRIVILEGES ON * . * TO 
'$TEST_USER'@'localhost'" \
mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "FLUSH PRIVILEGES" \
%nil

#
# macro mysql_testserver_cconf -- generate client access conf
#

%mysql_testserver_cconf(n:t:) \
TEST_RUN_DIR=%{__mysql_test_run_dir} \
TEST_CCONF="%{-n:%{-n*}}" \
if [ -z "$TEST_CCONF" ]; then \
  TEST_CCONF='%{__mysql_test_cconf}' \
fi \
TEST_PORT="%{-t:%{-t*}}" \
if [ -z "$TEST_PORT" ]; then \
  

commit mariadb for openSUSE:Factory

2019-12-02 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-12-02 11:31:18

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.4691 (New)


Package is "mariadb"

Mon Dec  2 11:31:18 2019 rev:89 rq:751122 version:10.3.20

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-11-15 
22:33:11.340049292 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.4691/mariadb.changes
2019-12-02 11:35:48.734431412 +0100
@@ -1,0 +2,5 @@
+Tue Nov 19 17:16:49 UTC 2019 - Kristyna Streitova 
+
+- update the list of the skipped tests 
+
+---



Other differences:
--

++ suse_skipped_tests.list ++
--- /var/tmp/diff_new_pack.luL27J/_old  2019-12-02 11:35:50.586430494 +0100
+++ /var/tmp/diff_new_pack.luL27J/_new  2019-12-02 11:35:50.586430494 +0100
@@ -13,36 +13,20 @@
 
 # Failing because of "Self Signed Certificate in the Certificate Chain"
 perfschema.cnf_option: all
-rpl.rpl_row_img_blobs: all 
-rpl.rpl_row_img_eng_min  : all
-rpl.rpl_row_img_eng_noblob   : all
+rpl.rpl_row_img_blobs: all MDEV-13875
+rpl.rpl_row_img_eng_min  : all MDEV-13875
+rpl.rpl_row_img_eng_noblob   : all MDEV-13875
 
 #
 
 # Needs to be investigated (issues trackers will be added)
-sys_vars.slave_parallel_threads_basic: since 10.3.16 - x86_64, i386, 
s390x, armv7l
-rocksdb.2pc_group_commit : since 10.3.16 - x86_64
-rocksdb.read_only_tx : since 10.3.16 - x86_64
-rocksdb.shutdown : since 10.3.16 - x86_64
-rocksdb.index_merge_rocksdb  : since 10.3.16 - x86_64
-rocksdb_rpl.mdev12179: since 10.3.16 - x86_64
-main.gis_notembedded : since 10.3.16 - x86_64, i386, 
s390x, armv7l
-unit.conc_ps_bugs: since 10.3.16 - x86_64, i386, 
s390x, armv7l
-handler.heap : since 10.3.16 - s390x
-federated.federatedx_versioning  : since 10.3.16 - amrv7l
-versioning.partition : since 10.3.16 - amrv7l
-versioning.online: since 10.3.16 - amrv7l
-versioning.auto_increment: since 10.3.16 - amrv7l
-versioning.truncate  : since 10.3.16 - amrv7l
-versioning.select: since 10.3.16 - amrv7l
-versioning.delete: since 10.3.16 - amrv7l
-versioning.foreign   : since 10.3.16 - amrv7l
-versioning.insert: since 10.3.16 - amrv7l
-versioning.replace   : since 10.3.16 - amrv7l
-versioning.select2   : since 10.3.16 - amrv7l
-versioning.update: since 10.3.16 - amrv7l
-versioning.alter : since 10.3.16 - amrv7l
-versioning.commit_id : since 10.3.16 - amrv7l
-versioning.trx_id: since 10.3.16 - amrv7l
-mariabackup.system_versioning: since 10.3.16 - amrv7l
-versioning.insert2   : since 10.3.16 - amrv7l
+sys_vars.slave_parallel_threads_basic: since 10.3.16 - x86_64, i386, 
s390x, armv7l, aarch64, ppc64, ppc64le
+rocksdb.2pc_group_commit : since 10.3.16 - x86_64 
MDEV-14455
+rocksdb.read_only_tx : since 10.3.16 - x86_64 rocksdb 
tests are considered unstable
+rocksdb.shutdown : since 10.3.16 - x86_64 rocksdb 
tests are considered unstable
+rocksdb.index_merge_rocksdb  : since 10.3.16 - x86_64 rocksdb 
tests are considered unstable
+rocksdb_rpl.mdev12179: since 10.3.16 - x86_64 
MDEV-16632
+main.gis_notembedded : since 10.3.16 - x86_64, i386, 
s390x, armv7l, aarch64, ppc64, ppc64le
+versioning.partition : since 10.3.16 - armv7l
+innodb.innodb-page_compression_lzma  : since 10.3.20 - armv7l
+




commit mariadb for openSUSE:Factory

2019-11-15 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-11-15 22:33:08

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.26869 (New)


Package is "mariadb"

Fri Nov 15 22:33:08 2019 rev:88 rq:747745 version:10.3.20

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-09-27 
14:45:20.493249498 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.26869/mariadb.changes   
2019-11-15 22:33:11.340049292 +0100
@@ -1,0 +2,44 @@
+Mon Nov 11 15:42:21 UTC 2019 - Kristyna Streitova 
+
+- update to 10.3.20
+  * notable changes for 10.3.20
+* MDEV-20987: InnoDB fails to start when FTS table has FK relation
+  * notable changes for 10.3.19
+* MDEV-20864: Debug-only option innodb_change_buffer_dump for
+  dumping the contents of the InnoDB change buffer to the
+  server error log at startup.
+* MariaBackup:
+  * MDEV-18438: mbstream recreates xtrabackup_info on same
+directory as backup file
+  * MDEV-20703: mariabackup creates binlog files in serve
+binlog directory on --prepare --export step
+* FULLTEXT INDEX:
+  * MDEV-19647: Server hangs after dropping full text indexes
+and restart
+  * MDEV-19529: InnoDB hang on DROP FULLTEXT INDEX
+  * MDEV-19073: FTS row mismatch after crash recovery
+  * MDEV-20621: FULLTEXT INDEX activity causes InnoDB hang
+  * MDEV-20927: Duplicate key with auto increment
+* ALTER TABLE:
+  * MDEV-20799: DROP Virtual Column crash
+  * MDEV-20852: BtrBulk is unnecessarily holding dict_index_t::lock
+* System-Versioned Tables:
+  * MDEV-16210: FK constraints on versioned tables use historical
+rows, which may cause constraint violation
+  * MDEV-20812: Unexpected ER_ROW_IS_REFERENCED_2 or server
+crash in row_ins_foreign_report_err upon DELETE from
+versioned table with FK
+* Galera wsrep library updated to 25.3.28
+  * Fixes for the following security vulnerabilities:
+CVE-2019-2974, CVE-2019-2938
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10320-release-notes
+https://mariadb.com/kb/en/library/mariadb-10320-changelog
+https://mariadb.com/kb/en/library/mariadb-10319-release-notes
+https://mariadb.com/kb/en/library/mariadb-10319-changelog
+- remove mariadb-10.3.17-fix_ppc_build.patch (applied upstream)
+- refresh
+  * mariadb-10.2.4-logrotate.patch
+  * mariadb-10.0.15-logrotate-su.patch
+
+---

Old:

  mariadb-10.3.17-fix_ppc_build.patch
  mariadb-10.3.18.tar.gz
  mariadb-10.3.18.tar.gz.sig

New:

  mariadb-10.3.20.tar.gz
  mariadb-10.3.20.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.Euht06/_old  2019-11-15 22:33:13.468048358 +0100
+++ /var/tmp/diff_new_pack.Euht06/_new  2019-11-15 22:33:13.472048356 +0100
@@ -54,7 +54,7 @@
 %define python_path /usr/bin/python2
 %endif
 Name:   mariadb
-Version:10.3.18
+Version:10.3.20
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -77,7 +77,6 @@
 Patch7: mariadb-10.0.15-logrotate-su.patch
 Patch8: mariadb-10.2.4-fortify-and-O.patch
 Patch9: mariadb-10.2.19-link-and-enable-c++11-atomics.patch
-Patch10:mariadb-10.3.17-fix_ppc_build.patch
 # needed for bison SQL parser and wsrep API
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -334,7 +333,6 @@
 %patch7
 %patch8
 %patch9 -p1
-%patch10 -p1
 
 cp %{_sourcedir}/suse-test-run .
 

++ mariadb-10.0.15-logrotate-su.patch ++
--- /var/tmp/diff_new_pack.Euht06/_old  2019-11-15 22:33:13.544048325 +0100
+++ /var/tmp/diff_new_pack.Euht06/_new  2019-11-15 22:33:13.544048325 +0100
@@ -13,5 +13,5 @@
  # create 600 mysql mysql
 +su mysql mysql
  notifempty
-   daily
+ daily
  rotate 3

++ mariadb-10.2.4-logrotate.patch ++
--- /var/tmp/diff_new_pack.Euht06/_old  2019-11-15 22:33:13.556048319 +0100
+++ /var/tmp/diff_new_pack.Euht06/_new  2019-11-15 22:33:13.556048319 +0100
@@ -17,7 +17,7 @@
 +/var/log/mysql/*.log {
  # create 600 mysql mysql
  notifempty
-   daily
+ daily
 @@ -32,6 +32,14 @@
then
   @bindir@/mysqladmin --local flush-error-log \

++ mariadb-10.3.18.tar.gz -> mariadb-10.3.20.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.3.18.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new.26869/mariadb-10.3.20.tar.gz differ: 
char 5, line 1




commit mariadb for openSUSE:Factory

2019-09-27 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-09-27 14:44:55

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.2352 (New)


Package is "mariadb"

Fri Sep 27 14:44:55 2019 rev:87 rq:733171 version:10.3.18

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-09-11 
10:22:56.679491769 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.2352/mariadb.changes
2019-09-27 14:45:20.493249498 +0200
@@ -1,0 +2,26 @@
+Tue Sep 24 11:08:33 UTC 2019 - Kristyna Streitova 
+
+- update to 10.3.18
+  * notable changes
+* Connect updated to Connect 1.06.0010
+* MDEV-20066: This bug could cause a table to become corrupt if
+  a column was added instantly
+* MDEV-15326: A race condition in InnoDB transaction commit that
+  affects record locking was fixed
+* MDEV-17187: Table doesn't exist in engine after ALTER of
+  FOREIGN KEY
+* MDEV-20301: InnoDB's MVCC has O(N^2) behaviors
+* MDEV-18128: Simplify .ibd file creation
+* MDEV-20060: Failing assertion: srv_log_file_size <= 512ULL
+  << 30 while preparing backup
+* MDEV-20247: Replication hangs with "preparing" and never starts
+* MDEV-17614: Remove unnecessary locking for INSERT...ON
+  DUPLICATE KEY UPDATE
+* MDEV-20311: row_ins_step accesses uninitialized memory
+* MDEV-19947: Repositories for RHEL 8 ppc64le added
+  * fixes for the following security vulnerabilities: none
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10318-release-notes
+https://mariadb.com/kb/en/library/mariadb-10318-changelog
+
+---

Old:

  mariadb-10.3.17.tar.gz
  mariadb-10.3.17.tar.gz.sig

New:

  mariadb-10.3.18.tar.gz
  mariadb-10.3.18.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.pXeavp/_old  2019-09-27 14:45:21.629246544 +0200
+++ /var/tmp/diff_new_pack.pXeavp/_new  2019-09-27 14:45:21.633246534 +0200
@@ -54,7 +54,7 @@
 %define python_path /usr/bin/python2
 %endif
 Name:   mariadb
-Version:10.3.17
+Version:10.3.18
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception

++ mariadb-10.3.17.tar.gz -> mariadb-10.3.18.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.3.17.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new.2352/mariadb-10.3.18.tar.gz differ: 
char 5, line 1




commit mariadb for openSUSE:Factory

2019-09-11 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-09-11 10:22:55

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.7948 (New)


Package is "mariadb"

Wed Sep 11 10:22:55 2019 rev:86 rq:728689 version:10.3.17

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-08-22 
15:12:30.010426626 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.7948/mariadb.changes
2019-09-11 10:22:56.679491769 +0200
@@ -1,0 +2,6 @@
+Thu Sep  5 21:43:14 UTC 2019 - Stefan Brüns 
+
+- Use  instead of  for _constraints, increasing
+  the worker pool on x86_64 from 6 to >700.
+
+---



Other differences:
--
++ _constraints ++
--- /var/tmp/diff_new_pack.38FVPe/_old  2019-09-11 10:23:00.655491275 +0200
+++ /var/tmp/diff_new_pack.38FVPe/_new  2019-09-11 10:23:00.667491274 +0200
@@ -7,8 +7,11 @@
 
 
   
-10
+6
   
+  
+10
+  
 
   
 
@@ -18,6 +21,9 @@
   
 13
   
+  
+8
+  
 
   
 





commit mariadb for openSUSE:Factory

2019-08-22 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-08-22 15:03:19

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.7948 (New)


Package is "mariadb"

Thu Aug 22 15:03:19 2019 rev:85 rq:721801 version:10.3.17

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-05-22 
10:53:38.611219398 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.7948/mariadb.changes
2019-08-22 15:12:30.010426626 +0200
@@ -1,0 +2,168 @@
+Thu Aug  8 10:06:04 UTC 2019 - Kristyna Streitova 
+
+- remove sql_mode from my.ini/my.cnf as NO_ENGINE_SUBSTITUTION and
+  STRICT_TRANS_TABLES are already set by default from version
+  10.2.4 [bsc#1144314]
+
+---
+Wed Aug  7 11:22:39 UTC 2019 - Kristyna Streitova 
+
+- add mariadb-10.3.17-fix_ppc_build.patch to fix a compilation
+  failure for ppc if ${CRC32_LIBRARY} target has no COMPILE_FLAGS
+  yet. Then GET_TARGET_PROPERTY returns COMPILE_FLAGS-NOTFOUND,
+  which doesn't work very well when it's later fed back into
+  COMPILE_FLAGS.
+- _constraints: increase the memory because of the ppc build
+- adjust mysql-systemd-helper ("shutdown protected MySQL" section)
+  so it checks both ping response and the pid in a process list
+  as it can take some time till the process is terminated.
+  Otherwise it can lead to "found left-over process" situation
+  when regular mariadb is started [bsc#1143215]
+
+---
+Fri Aug  2 10:32:48 UTC 2019 - Kristyna Streitova 
+
+- update to 10.3.17 [bsc#1141798]
+  * notable changes:
+* MDEV-19795: Merge upstream MyRocks.
+* MDEV-17228: Encrypted temporary tables are not encrypted.
+* MDEV-18328: Disks Plugin is now stable and requires the FILE
+  privilege.
+* Merge relevant InnoDB changes from MySQL 5.7.27
+* Adjust spin loops to the x86 PAUSE instruction latency
+* CREATE TABLE: MDEV-19292, MDEV-20102
+* ALTER TABLE: MDEV-15641, MDEV-19630, MDEV-19916, MDEV-19974
+* Indexed virtual columns: MDEV-16222, MDEV-17005, MDEV-19870
+* FULLTEXT INDEX: MDEV-14154
+* Encryption: MDEV-17228, MDEV-19914
+* Galera + FOREIGN KEY: MDEV-19660
+* Recovery & Mariabackup: MDEV-19978
+* MDEV-19781: Add page id matching check in innochecksum tool
+* MDEV-20091: DROP TEMPORARY table is logged despite no CREATE
+  was logged
+* MDEV-19427: mysql_upgrade_service throws exception upgrading
+  from 10.0 to 10.3
+* MDEV-19814: Server crash in row_upd_del_mark_clust_rec or
+  Assertion
+* MDEV-17363: Compressed columns cannot be restored from dump
+  * fixes for the following security vulnerabilities:
+CVE-2019-2805, CVE-2019-2740, CVE-2019-2739, CVE-2019-2737,
+CVE-2019-2758
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10317-release-notes
+https://mariadb.com/kb/en/library/mariadb-10317-changelog
+- add "BuildRequires: python3" as some tests and myrocks_hotbackup
+  script need python3. Make the PYTHON_SHEBANG value configurable
+  [bsc#1142909]
+- remove "innodb_file_format" option from my.ini (my.cnf) file that
+  was removed in MariaDB 10.3.1. Also remove "innodb_file_per_table=ON"
+  option that is by default ON and it's redundant now.
+- remove mariadb-10.2.9-galera_cnf.patch as it's not clear what the
+  correct path to galera wsrep provider is while users can use
+  galera 3, galera 4 or galera compiled on their own
+- add "Requires: python3-mysqlclient" that is needed by
+  myrocks_hotbackup script
+
+---
+Fri Aug  2 08:14:49 UTC 2019 - Martin Liška 
+
+- Use FAT LTO objects in order to provide proper static library.
+
+---
+Thu Jul 25 11:07:30 UTC 2019 - Kristyna Streitova 
+
+- remove client_ed25519.so plugin because it's shipped in
+  mariadb-connector-c package (libmariadb_plugins)
+
+---
+Wed Jul 24 12:49:32 UTC 2019 - matthias.gerst...@suse.com
+
+- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
+  firewalld, see [1].
+
+  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html
+
+---
+Mon Jun 17 13:39:54 UTC 2019 - Kristýna Streitová 
+
+- update to 10.3.16 [bsc#1108088]
+  * notable changes:
+* MDEV-19490: show tables fails when selecting the
+  information_schema database
+* MDEV-19491: multi-update with triggers and stored routines
+* MDEV-19541: InnoDB crashes when trying to recover
+  a corrupted page
+* MDEV-19725: 

commit mariadb for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-05-22 10:53:35

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.5148 (New)


Package is "mariadb"

Wed May 22 10:53:35 2019 rev:84 rq:704063 version:10.2.24

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-04-01 
12:33:08.165794574 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.5148/mariadb.changes
2019-05-22 10:53:38.611219398 +0200
@@ -1,0 +2,66 @@
+Tue May 14 12:20:09 UTC 2019 - Kristýna Streitová 
+
+- update to 10.2.24 GA [bsc#1122198]
+  * notable changes:
+* MDEV-18968 - Both (WHERE 0.1) and (WHERE NOT 0.1) return empty set
+* MDEV-18466 - Unsafe to log updates on tables referenced by
+  foreign keys with triggers in statement format
+* MDEV-18899 - Server crashes in Field::set_warning_truncated_wrong_value
+* MDEV-18298 - Crashes server with segfault during role grants
+* MDEV-17610 - Unexpected connection abort after certain operations
+  from within stored procedure
+* MDEV-19112 - WITH clause does not work with information_schema 
+  as default database
+* MDEV-17830 - Server crashes in Item_null_result::field_type upon
+  SELECT with CHARSET(date) and ROLLUP
+* MDEV-14041 - Server crashes in String::length on queries with
+  functions and ROLLUP
+* MDEV-18920 - Prepared statements with st_convexhull hang and
+  eat 100% cpu.
+* MDEV-15837 - Assertion item1->type() == Item::FIELD_ITEM &&
+  item2->type() == Item::FIELD_ITEM
+* MDEV-9531 - GROUP_CONCAT with ORDER BY inside takes a lot of
+  memory while it's executed
+* MDEV-17036 - BULK with replace doesn't take the first parameter
+  in account
+* Bug#28986737 - RENAMING AND REPLACING MYSQL.USER TABLE CAN
+  LEAD TO A SERVER CRASH
+* MDEV-19350 - Server crashes in delete_tree_element / ... /
+  Item_func_group_concat::repack_tree
+* MDEV-19188 - Server Crash When Using a Trigger With A Number
+  of Virtual Columns on INSERT/UPDATE
+* MDEV-19352 - Server crash in alloc_histograms_for_table_share
+  upon query from information schema InnoDB
+* InnoDB persistent corruption fixes: MDEV-19426, MDEV-19022,
+  MDEV-19241, MDEV-13942
+* InnoDB recovery fixes and speedup: MDEV-18733, MDEV-12699,
+  MDEV-19356, MDEV-19426
+* MDEV-14398 - innodb_encrypt_tables will work even with
+  innodb_encryption_rotate_key_age=0
+* MDEV-17036 - BULK with replace doesn't take the first
+  parameter in account
+* MDEV-14784 - Slave crashes in show_status_array upon running
+  a trigger with select from I_S
+* MDEV-19060 - mariabackup continues, despite failing to open
+  a tablespace
+* MDEV-18686 - Add option to PAM authentication plugin to allow
+  case insensitive username matching
+* bugfix - multi-update checked privileges on views incorrectly
+* MDEV-19276 - during connect, write error log warning for
+  ER_DBACCESS_DENIED_ERROR, if log_warnings > 1
+* MDEV-17456 - Malicious SUPER user can possibly change audit
+  log configuration without leaving traces.
+  * fixes for the following security vulnerabilities:
+[CVE-2019-2614], [CVE-2019-2627], [CVE-2019-2628]
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10224-release-notes
+https://mariadb.com/kb/en/library/mariadb-10224-changelog
+- refresh mariadb-10.2.19-link-and-enable-c++11-atomics.patch
+
+---
+Tue Apr  2 12:00:15 UTC 2019 - Kristýna Streitová 
+
+- remove %{extra_provides} definition and Provides/Obsoletes where
+  it was used. It's just a remnant and it's no longer needed.
+
+---

Old:

  mariadb-10.2.23.tar.gz
  mariadb-10.2.23.tar.gz.sig

New:

  mariadb-10.2.24.tar.gz
  mariadb-10.2.24.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.0c8bHu/_old  2019-05-22 10:53:39.803218306 +0200
+++ /var/tmp/diff_new_pack.0c8bHu/_new  2019-05-22 10:53:39.803218306 +0200
@@ -18,10 +18,6 @@
 
 # libmysqld soname
 %define soname 19
-# Used in Provides/Obsoletes for mariadb, test, tools, bench and 
-# errormessages subpackages to ensure a smooth transition from SLE12
-# to SLE15 [fate#323756]
-%define extra_provides mariadb-102
 # Set this to 1 to run regression test suite (it takes a long time)
 %define run_testsuite 1
 # Set this to 1 for testing purposes (run all regression tests but ignore
@@ -49,7 +45,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:

commit mariadb for openSUSE:Factory

2019-04-01 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-04-01 12:33:02

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.25356 (New)


Package is "mariadb"

Mon Apr  1 12:33:02 2019 rev:83 rq:688840 version:10.2.23

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-03-04 
09:13:55.156670685 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.25356/mariadb.changes   
2019-04-01 12:33:08.165794574 +0200
@@ -1,0 +2,26 @@
+Tue Mar 26 12:45:14 UTC 2019 - Kristýna Streitová 
+
+- update to 10.2.23 GA
+  * notable changes:
+* InnoDB ALTER TABLE fixes: MDEV-18016, MDEV-18630, MDEV-18775,
+  MDEV-18732, MDEV-18749, MDEV-18637, MDEV-13818, MDEV-17595
+* MDEV-18878: InnoDB Purge: Optimize away futile table lookups
+* MDEV-14984: Regression in connect performance
+* MDEV-18936: Purge thread fails to exit on shutdown
+* MDEV-18272: InnoDB fails to rollback after exceeding FOREIGN
+  KEY recursion depth
+* MDEV-9519: Data corruption on Galera cluster size change
+* MDEV-18204: fix incremental MyRocks backup
+* MDEV-18611: mariabackup terminated while copying InnoDB
+  redo log
+* MDEV-18669: mariabackup writes timestamp in version line
+* MDEV-18855: Mariabackup should fetch innodb_compression_level
+  from running server
+  * fixes for the following security vulnerabilities: none
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10223-release-notes
+https://mariadb.com/kb/en/library/mariadb-10223-changelog
+- remove mariadb-10.2.22-fix_path.patch that is no longer needed
+  (applied upstream)
+
+---

Old:

  mariadb-10.2.22-fix_path.patch
  mariadb-10.2.22.tar.gz
  mariadb-10.2.22.tar.gz.sig

New:

  mariadb-10.2.23.tar.gz
  mariadb-10.2.23.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.J4RKu3/_old  2019-04-01 12:33:10.153795083 +0200
+++ /var/tmp/diff_new_pack.J4RKu3/_new  2019-04-01 12:33:10.157795084 +0200
@@ -49,7 +49,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.22
+Version:10.2.23
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -78,7 +78,6 @@
 Patch8: mariadb-10.2.4-fortify-and-O.patch
 Patch9: mariadb-10.2.19-link-and-enable-c++11-atomics.patch
 Patch11:mariadb-10.2.9-galera_cnf.patch
-Patch12:mariadb-10.2.22-fix_path.patch
 BuildRequires:  bison
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -334,7 +333,6 @@
 %patch8 -p0
 %patch9 -p1
 %patch11 -p1
-%patch12 -p1
 
 cp %{_sourcedir}/suse-test-run .
 

++ mariadb-10.2.22.tar.gz -> mariadb-10.2.23.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.2.22.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new.25356/mariadb-10.2.23.tar.gz differ: 
char 5, line 1




commit mariadb for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-03-04 09:13:43

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.28833 (New)


Package is "mariadb"

Mon Mar  4 09:13:43 2019 rev:82 rq:680132 version:10.2.22

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2019-01-21 
10:06:38.906903980 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.28833/mariadb.changes   
2019-03-04 09:13:55.156670685 +0100
@@ -1,0 +2,51 @@
+Wed Feb 27 14:48:43 UTC 2019 - kstreit...@suse.com
+
+- add mariadb-10.2.22-fix_path.patch to fix a path to resolveip in
+  mysql_install_db script [bsc#1127027] MDEV-18526
+
+---
+Thu Feb 21 15:46:53 UTC 2019 - kstreit...@suse.com
+
+- my.cnf/my.ini: move slow_query_log example to the error log so
+  it's logically together
+
+---
+Mon Feb 18 21:58:17 UTC 2019 - suse+bu...@de-korte.org
+
+- fix references path below legacy directory /var/run -> /run
+
+---
+Fri Feb 15 15:39:01 UTC 2019 - rick.salev...@suse.com
+
+- remove xtrabackup requirement as MariaDB ships a build in
+  mariabackup so xtrabackup is not needed unless a user specificaly
+  wants to use xtrabackup as sst method
+
+---
+Thu Feb 14 15:01:27 UTC 2019 - Thomas Bechtold 
+
+- add slow_query_log example to my.cnf and adjust the logrotate
+  configuration to rotate all /var/log/mysql/*.log files .
+  This is useful when the slow query log is enabled. In that case,
+  this log file should also be rotated (bsc#1112767)
+
+---
+Tue Feb 12 13:48:59 UTC 2019 - Nicolas Bock 
+
+- update to 10.2.22 GA
+  * notable changes:
+* Backport Information Schema CHECK_CONSTRAINTS Table.
+* MDEV-17475: Maximum value of table_definition_cache is
+  now 2097152
+* InnoDB ALTER TABLE fixes: MDEV-16499, MDEV-18186, MDEV-18237,
+  MDEV-18222, MDEV-18256, MDEV-18016, MDEV-16849
+* Mariabackup fixes: MDEV-18185, MDEV-18201, MDEV-18194
+* Galera crash recovery fix: MDEV-15740
+* Encryption fixes: MDEV-18129, MDEV-18183, MDEV-18279
+  * Fixes for the following security vulnerabilities:
+* CVE-2019-2510, CVE-2019-2537
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10222-release-notes
+https://mariadb.com/kb/en/library/mariadb-10222-changelog
+
+---

Old:

  mariadb-10.2.21.tar.gz
  mariadb-10.2.21.tar.gz.sig

New:

  mariadb-10.2.22-fix_path.patch
  mariadb-10.2.22.tar.gz
  mariadb-10.2.22.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.FsgQhe/_old  2019-03-04 09:13:56.904670370 +0100
+++ /var/tmp/diff_new_pack.FsgQhe/_new  2019-03-04 09:13:56.908670370 +0100
@@ -49,7 +49,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.21
+Version:10.2.22
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -78,6 +78,7 @@
 Patch8: mariadb-10.2.4-fortify-and-O.patch
 Patch9: mariadb-10.2.19-link-and-enable-c++11-atomics.patch
 Patch11:mariadb-10.2.9-galera_cnf.patch
+Patch12:mariadb-10.2.22-fix_path.patch
 BuildRequires:  bison
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -228,7 +229,6 @@
 Requires:   rsync
 Requires:   socat
 Requires:   which
-Requires:   xtrabackup
 # We need Conflicts here as galera_new_cluster (and 
use_galera_new_cluster.conf)
 # and galera_recovery scripts were in mariadb package but now they are in 
galera
 # subpackage
@@ -334,6 +334,7 @@
 %patch8 -p0
 %patch9 -p1
 %patch11 -p1
+%patch12 -p1
 
 cp %{_sourcedir}/suse-test-run .
 
@@ -388,8 +389,8 @@
-DWITH_EDITLINE=system   \
-DINSTALL_LAYOUT=RPM \
-DWITH_LZ4=system\
-   -DMYSQL_UNIX_ADDR="%{_localstatedir}/run/mysql/mysql.sock"   \
-   -DINSTALL_UNIX_ADDRDIR="%{_localstatedir}/run/mysql/mysql.sock" \
+   -DMYSQL_UNIX_ADDR="%{_rundir}/mysql/mysql.sock"  \
+   -DINSTALL_UNIX_ADDRDIR="%{_rundir}/mysql/mysql.sock" \
-DINSTALL_MYSQLSHAREDIR=share/%{name}\
-DWITH_COMMENT="openSUSE mariadb rpm"\
-DWITH_EXTRA_CHARSET=all  

commit mariadb for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2019-01-21 10:06:33

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.28833 (New)


Package is "mariadb"

Mon Jan 21 10:06:33 2019 rev:81 rq:664568 version:10.2.21

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-12-27 
00:24:08.715920316 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.28833/mariadb.changes   
2019-01-21 10:06:38.906903980 +0100
@@ -1,0 +2,48 @@
+Thu Jan  3 15:01:44 UTC 2019 - kstreit...@suse.com
+
+- update to 10.2.21 GA
+  * notable changes:
+* MDEV-17589 - Stack-buffer-overflow with indexed varchar
+  (utf8) field
+* MDEV-16987 - ALTER DATABASE possible in read-only mode
+  (forbid ALTER DATABASE in read_only)
+* MDEV-17720 - slave_ddl_exec_mode=IDEMPOTENT does not handle
+  DROP DATABASE
+* MDEV-6453 - Assertion `inited==NONE || (inited==RND && scan)'
+  failed in handler::ha_rnd_init(bool) with InnoDB, joins,
+  AND/OR conditions
+* MDEV-18105 - Mariabackup fails to copy encrypted InnoDB
+  system tablespace if LSN>4G
+* MDEV-18041 - Database corruption after renaming a
+  prefix-indexed column [bsc#1120041]
+* MDEV-17470 - Orphan temporary files after interrupted ALTER
+  cause InnoDB: Operating system error number 17 and eventual
+  fatal error 71
+* MDEV-17833: ALTER TABLE is not enforcing prefix index size
+  limit
+* MDEV-17989: InnoDB: Failing assertion:
+  dict_tf2_is_valid(flags, flags2)
+* MDEV-17765: Locking bug fix for SPATIAL INDEX
+* MDEV-17923, MDEV-17904, MDEV-17938: Fixes for FULLTEXT INDEX
+* Fixes for regressions introduced in MariaDB Server 10.2.19 by
+  the backup-safe TRUNCATE TABLE (MDEV-13564,
+  innodb_safe_truncate=ON) and innodb_undo_log_truncate:
+  * MDEV-17780, MDEV-17816, MDEV-17849, MDEV-17851, MDEV-17885
+* Several improvements to MariaDB Server and backup for dealing
+  with encrypted or page_compressed pages:
+  * MDEV-12112: corruption in encrypted table may be overlooked
+  * MDEV-17958: On little-endian systems, remove bug-compatible
+variant of innodb_checksum_algorithm=crc32
+  * MDEV-17957: Make innodb_checksum_algorithm stricter for
+strict_* values
+  * MDEV-18025: Mariabackup fails to detect corrupted
+page_compressed=1 tables
+  * fixes for the following security vulnerabilities: none
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10221-release-notes
+https://mariadb.com/kb/en/library/mariadb-10221-changelog
+https://mariadb.com/kb/en/library/mariadb-10220-release-notes
+https://mariadb.com/kb/en/library/mariadb-10220-changelog
+- update suse_skipped_tests.list
+
+---

Old:

  mariadb-10.2.19.tar.gz
  mariadb-10.2.19.tar.gz.sig

New:

  mariadb-10.2.21.tar.gz
  mariadb-10.2.21.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.KL6ggb/_old  2019-01-21 10:06:41.038901821 +0100
+++ /var/tmp/diff_new_pack.KL6ggb/_new  2019-01-21 10:06:41.042901818 +0100
@@ -49,7 +49,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.19
+Version:10.2.21
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -518,7 +518,8 @@
 rm %{buildroot}%{_bindir}/mysql_config
 rm %{buildroot}%{_bindir}/mariadb_config
 rm %{buildroot}%{_datadir}/pkgconfig/mariadb.pc
-rm %{buildroot}%{_prefix}/lib/pkgconfig/libmariadb.pc
+rm -f %{buildroot}%{_prefix}/lib/pkgconfig/libmariadb.pc
+rm -f %{buildroot}%{_prefix}/lib64/pkgconfig/libmariadb.pc
 rm %{buildroot}%{_datadir}/aclocal/mysql.m4
 rm %{buildroot}%{_mandir}/man1/mysql_config*.1*
 rm -r %{buildroot}%{_includedir}/mysql

++ mariadb-10.2.19.tar.gz -> mariadb-10.2.21.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.2.19.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new.28833/mariadb-10.2.21.tar.gz differ: 
char 5, line 1

++ suse_skipped_tests.list ++
--- /var/tmp/diff_new_pack.KL6ggb/_old  2019-01-21 10:06:41.214901644 +0100
+++ /var/tmp/diff_new_pack.KL6ggb/_new  2019-01-21 10:06:41.214901644 +0100
@@ -16,17 +16,14 @@
 # unify the correct number of the repetition in the test for all
 # various platforms (fails for s390x)
 main.func_regexp_pcre: bsc#1058722 comment 11
-#
 
-# Failing with GCC 8
-mroonga/storage.index_multiple_column_range_all_used_less_than 
  : bsc#1092544, 

commit mariadb for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-12-27 00:24:07

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.28833 (New)


Package is "mariadb"

Thu Dec 27 00:24:07 2018 rev:80 rq:657991 version:10.2.19

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-12-10 
12:26:11.330655787 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.28833/mariadb.changes   
2018-12-27 00:24:08.715920316 +0100
@@ -1,0 +2,8 @@
+Wed Dec 12 13:38:00 UTC 2018 - kstreit...@suse.com
+
+- remove PerconaFT from the package as it has AGPL licence
+  [bsc#1118754]
+- use a new syntax for cmake variables that specify which plugin
+  will be built
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.xiVrCH/_old  2018-12-27 00:24:10.339918992 +0100
+++ /var/tmp/diff_new_pack.xiVrCH/_new  2018-12-27 00:24:10.343918988 +0100
@@ -39,6 +39,7 @@
 # see https://mariadb.com/kb/en/mariadb/tokudb/
 # Temporarily stop to build it as jemalloc 5 is not backwards compatible
 # and a build without jemalloc is not supported upstream (MDEV-15034)
+# Also we can't use PerconaFT (AGPL licence) that is needed for tokudb
 %define with_tokudb 0
 # Mroonga currently only supports the x86_64 architecture
 # see https://mariadb.com/kb/en/mariadb/about-mroonga/
@@ -365,6 +366,9 @@
 # Remove python scripts remains from tokudb upstream (those files are not used 
anyway)
 rm -r storage/tokudb/mysql-test/tokudb/t/*.py
 
+# Remove PerconaFT from the package because it has AGPL licence [bsc#1118754]
+rm -rf storage/tokudb/PerconaFT
+
 %build
 EXTRA_FLAGS="-Wno-unused-but-set-variable -fno-strict-aliasing 
-Wno-unused-parameter"
 # Mariadb devs seems to fall in love with -Werror option
@@ -394,13 +398,13 @@
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1   \
 %if 0%{with_oqgraph} < 1
-   -DWITHOUT_OQGRAPH=ON \
+   -DPLUGIN_OQGRAPH=NO  \
 %endif
 %if 0%{with_tokudb} < 1
-   -DWITHOUT_TOKUDB=ON  \
+   -DPLUGIN_TOKUDB=NO   \
 %endif
 %if 0%{with_mroonga} < 1
-   -DWITHOUT_MROONGA=ON \
+   -DPLUGIN_MROONGA=NO  \
 %endif
-DWITH_XTRADB_STORAGE_ENGINE=1   \
-DWITH_CSV_STORAGE_ENGINE=1  \





commit mariadb for openSUSE:Factory

2018-12-10 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-12-10 12:26:07

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.19453 (New)


Package is "mariadb"

Mon Dec 10 12:26:07 2018 rev:79 rq:653776 version:10.2.19

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-11-28 
11:12:22.946984317 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.19453/mariadb.changes   
2018-12-10 12:26:11.330655787 +0100
@@ -1,0 +2,10 @@
+Sat Dec  1 09:44:46 UTC 2018 - John Paul Adrian Glaubitz 

+
+- Add patch to link against libatomic where necessary and
+  use C++11 atomics instead of gcc built-in atomics
+  * mariadb-10.2.19-link-and-enable-c++11-atomics.patch
+- Add two tests to suse_skipped_tests.list for ppc
+  * encryption.innodb-bad-key-change2
+  * encryption.innodb-bad-key-change4
+
+---

New:

  mariadb-10.2.19-link-and-enable-c++11-atomics.patch



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.6Jzf4s/_old  2018-12-10 12:26:13.166653954 +0100
+++ /var/tmp/diff_new_pack.6Jzf4s/_new  2018-12-10 12:26:13.174653946 +0100
@@ -75,6 +75,7 @@
 Patch6: mariadb-10.1.12-deharcode-libdir.patch
 Patch7: mariadb-10.0.15-logrotate-su.patch
 Patch8: mariadb-10.2.4-fortify-and-O.patch
+Patch9: mariadb-10.2.19-link-and-enable-c++11-atomics.patch
 Patch11:mariadb-10.2.9-galera_cnf.patch
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -330,6 +331,7 @@
 %patch6 -p0
 %patch7 -p0
 %patch8 -p0
+%patch9 -p1
 %patch11 -p1
 
 cp %{_sourcedir}/suse-test-run .

++ mariadb-10.2.19-link-and-enable-c++11-atomics.patch ++
diff -Nru mariadb-10.2.19.orig/configure.cmake mariadb-10.2.19/configure.cmake
--- mariadb-10.2.19.orig/configure.cmake2018-11-12 17:32:38.0 
+0100
+++ mariadb-10.2.19/configure.cmake 2018-11-30 14:02:10.883523898 +0100
@@ -946,6 +946,21 @@
   }"
   HAVE_GCC_ATOMIC_BUILTINS)
   CHECK_CXX_SOURCE_COMPILES("
+  #include 
+  int main() {
+  uint64_t x = 1;
+  __atomic_add_fetch(, 0, __ATOMIC_RELAXED);
+ return x;
+  }
+  " HAVE__ATOMIC_ADD_FETCH)
+  if (NOT HAVE__ATOMIC_ADD_FETCH)
+  check_library_exists(atomic __atomic_add_fetch_8 "" HAVE_LIBATOMIC)
+  if (HAVE_LIBATOMIC)
+  SET(CMAKE_REQUIRED_LIBRARIES atomic)
+  SET(LIBATOMIC atomic)
+  endif()
+  endif()
+  CHECK_CXX_SOURCE_COMPILES("
   int main()
   {
 long long int var= 1;
diff -Nru mariadb-10.2.19.orig/include/atomic/gcc_builtins.h 
mariadb-10.2.19/include/atomic/gcc_builtins.h
--- mariadb-10.2.19.orig/include/atomic/gcc_builtins.h  2018-11-12 
17:32:38.0 +0100
+++ mariadb-10.2.19/include/atomic/gcc_builtins.h   2018-11-30 
17:21:09.058725896 +0100
@@ -16,6 +16,72 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA */
 
+#if defined(HAVE_GCC_C11_ATOMICS)
+#define MY_ATOMIC_MODE "gcc-atomics-smp"
+
+#define MY_MEMORY_ORDER_RELAXED __ATOMIC_RELAXED
+#define MY_MEMORY_ORDER_CONSUME __ATOMIC_CONSUME
+#define MY_MEMORY_ORDER_ACQUIRE __ATOMIC_ACQUIRE
+#define MY_MEMORY_ORDER_RELEASE __ATOMIC_RELEASE
+#define MY_MEMORY_ORDER_ACQ_REL __ATOMIC_ACQ_REL
+#define MY_MEMORY_ORDER_SEQ_CST __ATOMIC_SEQ_CST
+
+#define my_atomic_store32_explicit(P, D, O) __atomic_store_n((P), (D), (O))
+#define my_atomic_store64_explicit(P, D, O) __atomic_store_n((P), (D), (O))
+#define my_atomic_storeptr_explicit(P, D, O) __atomic_store_n((P), (D), (O))
+
+#define my_atomic_load32_explicit(P, O) __atomic_load_n((P), (O))
+#define my_atomic_load64_explicit(P, O) __atomic_load_n((P), (O))
+#define my_atomic_loadptr_explicit(P, O) __atomic_load_n((P), (O))
+
+#define my_atomic_fas32_explicit(P, D, O) __atomic_exchange_n((P), (D), (O))
+#define my_atomic_fas64_explicit(P, D, O) __atomic_exchange_n((P), (D), (O))
+#define my_atomic_fasptr_explicit(P, D, O) __atomic_exchange_n((P), (D), (O))
+
+#define my_atomic_add32_explicit(P, A, O) __atomic_fetch_add((P), (A), (O))
+#define my_atomic_add64_explicit(P, A, O) __atomic_fetch_add((P), (A), (O))
+
+#define my_atomic_cas32_weak_explicit(P, E, D, S, F) \
+  __atomic_compare_exchange_n((P), (E), (D), true, (S), (F))
+#define my_atomic_cas64_weak_explicit(P, E, D, S, F) \
+  __atomic_compare_exchange_n((P), (E), (D), true, (S), (F))
+#define my_atomic_casptr_weak_explicit(P, E, D, S, F) \
+  __atomic_compare_exchange_n((P), (E), (D), true, (S), (F))
+
+#define my_atomic_cas32_strong_explicit(P, E, D, S, F) \
+  __atomic_compare_exchange_n((P), (E), (D), false, (S), (F))
+#define 

commit mariadb for openSUSE:Factory

2018-11-28 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-11-28 11:11:08

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new.19453 (New)


Package is "mariadb"

Wed Nov 28 11:11:08 2018 rev:78 rq:651994 version:10.2.19

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-10-02 
19:40:47.182266240 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new.19453/mariadb.changes   
2018-11-28 11:12:22.946984317 +0100
@@ -1,0 +2,60 @@
+Wed Nov 14 09:42:24 UTC 2018 - kstreit...@suse.com
+
+- update to 10.2.19 GA [bsc#1116686]
+  * notable changes:
+* innodb_safe_truncate system variable for a backup-safe
+  TRUNCATE TABLE implementation that is based on RENAME,
+  CREATE, DROP (MDEV-14717, MDEV-14585, MDEV-13564). Default
+  value for this variable is ON. If you absolutely must use
+  XtraBackup instead of Mariabackup, you can set it to OFF and
+  restart the server
+* MDEV-17289: Multi-pass recovery fails to apply some redo
+  log records
+* MDEV-17073: INSERT…ON DUPLICATE KEY UPDATE became more
+  deadlock-prone
+* MDEV-17491: micro optimize page_id_t
+* MDEV-13671: InnoDB should use case-insensitive column name
+  comparisons like the rest of the server
+* Fixes for indexed virtual columns: MDEV-17215, MDEV-16980
+* MDEV-17433: Allow InnoDB start up with empty ib_logfile0
+  from mariabackup --prepare
+* MDEV-12547: InnoDB FULLTEXT index has too strict
+  innodb_ft_result_cache_limit max limit
+* MDEV-17541: KILL QUERY during lock wait in FOREIGN KEY
+  check causes hang
+* MDEV-17531: Crash in RENAME TABLE with FOREIGN KEY and
+  FULLTEXT INDEX
+* MDEV-17532: Performance_schema reports wrong directory for
+  the temporary files of ALTER TABLE…ALGORITHM=INPLACE
+* MDEV-17545: Predicate lock for SPATIAL INDEX should lock
+  non-matching record
+* MDEV-17546: SPATIAL INDEX should not be allowed for
+  FOREIGN KEY
+* MDEV-17548: Incorrect access to off-page column for
+  indexed virtual column
+* MDEV-12023: Assertion failure sym_node->table != NULL
+  on startup
+* MDEV-17230: encryption_key_id from alter is ignored by
+  encryption threads
+  * fixes for the following security vulnerabilities:
+  CVE-2018-3282 [bsc#1112432], CVE-2016-9843 [bsc#1013882],
+  CVE-2018-3174 [bsc#1112368], CVE-2018-3143 [bsc#1112421],
+  CVE-2018-3156 [bsc#1112417], CVE-2018-3251 [bsc#1112397],
+  CVE-2018-3185 [bsc#1112384], CVE-2018-3277 [bsc#1112391],
+  CVE-2018-3162 [bsc#1112415], CVE-2018-3173 [bsc#1112386],
+  CVE-2018-3200 [bsc#1112404], CVE-2018-3284 [bsc#1112377]
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10219-release-notes
+https://mariadb.com/kb/en/library/mariadb-10219-changelog
+- do not pack libmariadb.pc (packed in mariadb-connector-c)
+
+---
+Tue Oct 30 14:59:59 UTC 2018 - kstreit...@suse.com
+
+- add "Requires: libmariadb_plugins" to the mariadb-test subpackage
+  in order to be able to test client plugins successfuly
+  [bsc#859]
+- don't remove debug_key_management.so anymore [bsc#858]
+
+
+---

Old:

  mariadb-10.2.18.tar.gz
  mariadb-10.2.18.tar.gz.sig

New:

  mariadb-10.2.19.tar.gz
  mariadb-10.2.19.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.oXiarP/_old  2018-11-28 11:12:25.726980409 +0100
+++ /var/tmp/diff_new_pack.oXiarP/_new  2018-11-28 11:12:25.726980409 +0100
@@ -48,7 +48,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.18
+Version:10.2.19
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -273,6 +273,8 @@
 Requires:   %{name}-bench = %{version}
 Requires:   %{name}-client = %{version}
 Requires:   %{name}-tools = %{version}
+# Requires libmariadb_plugins in order to test client plugins successfuly
+Requires:   libmariadb_plugins >= 3.0
 Requires:   perl-DBD-mysql
 Requires:   procps
 Requires:   time
@@ -498,9 +500,6 @@
 # Remove systemd-sysusers conf file for creating of mysql user (we do it in 
the specfile)
 rm -f %{buildroot}%{_sysusersdir}/sysusers.conf
 
-# Remove debug management for keys Mariadb 101+
-rm -f %{buildroot}%{_libdir}/mysql/plugin/debug_key_management.so
-
 # Remove client libraries that are now provided in mariadb-connector-c
 # Client library and links
 rm %{buildroot}%{_libdir}/libmariadb*.so.*
@@ -513,6 +512,7 

commit mariadb for openSUSE:Factory

2018-10-02 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-10-02 19:40:44

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Tue Oct  2 19:40:44 2018 rev:77 rq:638723 version:10.2.18

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-09-16 
18:30:15.299445653 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-10-02 
19:40:47.182266240 +0200
@@ -1,0 +2,26 @@
+Wed Sep 26 09:28:21 UTC 2018 - kstreit...@suse.com
+
+- update to 10.2.18 GA
+  * notable changes:
+* MDEV-15511 - if available, stunnel can be used during Galera
+  rsync SST
+* MDEV-16791 - mariabackup: Support DDL commands during backup
+* MDEV-13564 - Refuse MLOG_TRUNCATE in mariabackup
+* MDEV-16934 - add new system variable eq_range_index_dive_limit
+  to speed up queries that new long nested IN lists. The default
+  value, for backward compatibility, is 0 meaning "unlimited".
+* MDEV-1 - errors on InnoDB lock conflict
+* Report all InnoDB redo log corruption
+* MDEV-17043 - Purge of indexed virtual columns may cause hang
+  on table-rebuilding DDL
+* MDEV-16868 - corruption of InnoDB temporary tables
+* MDEV-16465 - Invalid (old?) table or database name or hang
+  in ha_innobase::delete_table and log semaphore wait upon
+  concurrent DDL with foreign keys
+  * fixes for the following security vulnerabilities: none
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10218-release-notes
+https://mariadb.com/kb/en/library/mariadb-10218-changelog
+- refresh mariadb-10.2.4-fortify-and-O.patch
+
+---

Old:

  mariadb-10.2.17.tar.gz
  mariadb-10.2.17.tar.gz.sig

New:

  mariadb-10.2.18.tar.gz
  mariadb-10.2.18.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.gbS1GR/_old  2018-10-02 19:40:48.718263959 +0200
+++ /var/tmp/diff_new_pack.gbS1GR/_new  2018-10-02 19:40:48.722263952 +0200
@@ -48,7 +48,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.17
+Version:10.2.18
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception

++ mariadb-10.2.17.tar.gz -> mariadb-10.2.18.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.2.17.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.2.18.tar.gz differ: char 5, 
line 1

++ mariadb-10.2.4-fortify-and-O.patch ++
--- /var/tmp/diff_new_pack.gbS1GR/_old  2018-10-02 19:40:48.834263786 +0200
+++ /var/tmp/diff_new_pack.gbS1GR/_new  2018-10-02 19:40:48.838263780 +0200
@@ -9,7 +9,7 @@
 ===
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -217,7 +217,6 @@ IF(SECURITY_HARDENED)
+@@ -224,7 +224,6 @@ IF(SECURITY_HARDENED)
MY_CHECK_AND_SET_COMPILER_FLAG("-pie -fPIC")
MY_CHECK_AND_SET_COMPILER_FLAG("-Wl,-z,relro,-z,now")
MY_CHECK_AND_SET_COMPILER_FLAG("-fstack-protector 
--param=ssp-buffer-size=4")
@@ -33,8 +33,8 @@
  )
  endif ()
  
-@@ -102,23 +100,23 @@ set_cflags_if_supported(
-   )
+@@ -111,23 +109,23 @@ set_cflags_if_supported(
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions")
  
  ## set extra debugging flags and preprocessor definitions
 -set(CMAKE_C_FLAGS_DEBUG "-g3 -O0 ${CMAKE_C_FLAGS_DEBUG}")
@@ -65,7 +65,7 @@
  else ()
if (APPLE)
  set(FLTO_OPTS "-fwhole-program")
-@@ -126,10 +124,10 @@ else ()
+@@ -135,10 +133,10 @@ else ()
  set(FLTO_OPTS "-fuse-linker-plugin")
endif()
# we overwrite this because the default passes -DNDEBUG and we don't want 
that




commit mariadb for openSUSE:Factory

2018-09-16 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-09-16 18:30:06

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Sun Sep 16 18:30:06 2018 rev:76 rq:635515 version:10.2.17

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-09-04 
22:46:10.378942551 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-09-16 
18:30:15.299445653 +0200
@@ -1,0 +2,6 @@
+Thu Sep 13 08:15:11 UTC 2018 - kstreit...@suse.com
+
+- add ssl tests that are failing with OpenSSL 1.1.1 to 
+  suse_skipped_tests.list [MDEV-17184]
+
+---



Other differences:
--

++ suse_skipped_tests.list ++
--- /var/tmp/diff_new_pack.Uum3BZ/_old  2018-09-16 18:30:18.695444301 +0200
+++ /var/tmp/diff_new_pack.Uum3BZ/_new  2018-09-16 18:30:18.695444301 +0200
@@ -28,6 +28,11 @@
 mroonga/storage.optimization_order_limit_optimized_datetime_less_than  
  : bsc#1092544, MDEV-16127
 mroonga/storage.optimization_order_limit_optimized_datetime_less_than_or_equal 
  : bsc#1092544, MDEV-16127
 
+# Failing with OpenSSL 1.1.1.
+main.ssl_cipher  : MDEV-17184
+main.openssl_6975: MDEV-17184
+main.ssl : MDEV-17184
+
 # Needs to be investigated (issues trackers will be added)
 perfschema.cnf_option: all
 rpl.rpl_row_img_blobs: all 




commit mariadb for openSUSE:Factory

2018-09-04 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-09-04 22:46:04

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Tue Sep  4 22:46:04 2018 rev:75 rq:632079 version:10.2.17

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-08-02 
14:54:34.555918833 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-09-04 
22:46:10.378942551 +0200
@@ -1,0 +2,30 @@
+Tue Aug 28 00:17:03 UTC 2018 - kstreit...@suse.com
+
+- update to 10.2.17 GA
+  * notable changes:
+* New variable innodb_log_optimize_ddl for avoiding delay due
+  to page flushing and allowing concurrent backup
+* InnoDB updated to 5.7.23
+* MDEV-14637 - Fix hang due to DDL with FOREIGN KEY or
+  persistent statistics
+* MDEV-15953 - Alter InnoDB Partitioned Table Moves Files
+  (which were originally not in the datadir) to the datadir
+* MDEV-16515 - InnoDB: Failing assertion: ++retries < 1 in
+  file dict0dict.cc line 2737
+* MDEV-16809 - Allow full redo logging for ALTER TABLE
+* Temporary tables: MDEV-16713 - InnoDB hang with repeating
+  log entry
+* indexed virtual columns: MDEV-15855 - Deadlock between purge
+  thread and DDL statement
+* MDEV-16664 - Change the default to
+  innodb_lock_schedule_algorithm=fcfs
+* Galera: MDEV-15822 - WSREP: BF lock wait long for trx
+  * fixes for the following security vulnerabilities:
+CVE-2018-3064 [bsc#1103342], CVE-2018-3063 [bsc#1101677],
+CVE-2018-3058 [bsc#1101676], CVE-2018-3066 [bsc#1101678],
+CVE-2018-3060
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10217-release-notes
+https://mariadb.com/kb/en/library/mariadb-10217-changelog
+
+---

Old:

  mariadb-10.2.16.tar.gz
  mariadb-10.2.16.tar.gz.sig

New:

  mariadb-10.2.17.tar.gz
  mariadb-10.2.17.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.IyHAA0/_old  2018-09-04 22:46:12.014948192 +0200
+++ /var/tmp/diff_new_pack.IyHAA0/_new  2018-09-04 22:46:12.018948206 +0200
@@ -48,7 +48,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.16
+Version:10.2.17
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception

++ mariadb-10.2.16.tar.gz -> mariadb-10.2.17.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.2.16.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.2.17.tar.gz differ: char 5, 
line 1




commit mariadb for openSUSE:Factory

2018-08-02 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-08-02 14:54:33

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Thu Aug  2 14:54:33 2018 rev:74 rq:626166 version:10.2.16

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-07-28 
12:37:39.484109474 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-08-02 
14:54:34.555918833 +0200
@@ -1,0 +2,6 @@
+Fri Jul 27 20:27:36 UTC 2018 - kstreit...@suse.com
+
+- switch to libedit as control sequences were already fixed there
+  so we don't have to avoid it [bsc#1098683]
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.gRX7xf/_old  2018-08-02 14:54:36.855922670 +0200
+++ /var/tmp/diff_new_pack.gRX7xf/_new  2018-08-02 14:54:36.859922677 +0200
@@ -157,12 +157,7 @@
 %ifnarch i586 %{arm}
 BuildRequires:  lzo-devel
 %endif
-# We want readline5 for openSUSE and libedit for SLE12
-%if ( 0%{?suse_version} == 1315 ) && ( ! 0%{?is_opensuse} )
 BuildRequires:  libedit-devel
-%else
-BuildRequires:  readline5-devel
-%endif
 %if 0%{with_oqgraph} > 0
 BuildRequires:  judy-devel
 %if 0%{?suse_version} > 1315





commit mariadb for openSUSE:Factory

2018-07-28 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-07-28 12:37:31

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Sat Jul 28 12:37:31 2018 rev:73 rq:624029 version:10.2.16

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-06-03 
12:32:19.272721432 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-07-28 
12:37:39.484109474 +0200
@@ -1,0 +2,40 @@
+Tue Jul 17 12:50:27 UTC 2018 - kstreit...@suse.com
+
+- update to 10.2.16 GA
+  * notable changes:
+* MDEV-13122: mariabackup now supports MyRocks
+* MDEV-13779 - InnoDB fails to shut down purge workers, causing
+  hang
+* MDEV-16267 - Wrong INFORMATION_SCHEMA.INNODB_BUFFER_PAGE.\
+  TABLE_NAME
+* MDEV-13834 - Upgrade failure from 10.1 innodb_encrypt_log
+* MDEV-16283 - ALTER TABLE...DISCARD TABLESPACE still takes long
+  on a large buffer pool
+* MDEV-16376 - ASAN: heap-use-after-free in
+  gcol.innodb_virtual_debug
+* MDEV-15824 - innodb_defragment=ON trumps
+  innodb_optimize_fulltext_only=ON in OPTIMIZE TABLE
+* MDEV-16124 - fil_rename_tablespace() times out and crashes
+  server during table-rebuilding ALTER TABLE
+* MDEV-16416 - Crash on IMPORT TABLESPACE of a
+  ROW_FORMAT=COMPRESSED table
+* MDEV-16456 - InnoDB error "returned OS error 71" complains
+  about wrong path
+* MDEV-13103 - Deal with page_compressed page corruption
+* MDEV-16496 - Mariabackup: Implement --verbose option to
+  instrument InnoDB log apply
+* MDEV-16087 - Inconsistent SELECT results when query cache
+  is enabled
+* MDEV-15114 - ASAN heap-use-after-free in mem_heap_dup or
+  dfield_data_is_binary_equal (fix for indexed virtual columns)
+  * fixes for the following security vulnerabilities:
+none 
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10216-release-notes
+https://mariadb.com/kb/en/library/mariadb-10216-changelog
+- refresh mariadb-5.5.28-install_db-quiet.patch
+- refresh mariadb-10.2.9-galera_cnf.patch
+- pack wsrep_sst_rsync_wan file to galera subpackage
+- update suse_skipped_tests.list
+
+---

Old:

  mariadb-10.2.15.tar.gz
  mariadb-10.2.15.tar.gz.sig

New:

  mariadb-10.2.16.tar.gz
  mariadb-10.2.16.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.776RSI/_old  2018-07-28 12:37:41.044112469 +0200
+++ /var/tmp/diff_new_pack.776RSI/_new  2018-07-28 12:37:41.044112469 +0200
@@ -48,7 +48,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.15
+Version:10.2.16
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -544,7 +544,7 @@
 fi
 
 # mariadb-galera.files
-filelist galera_new_cluster galera_recovery wsrep_sst_common 
wsrep_sst_mariabackup wsrep_sst_mysqldump wsrep_sst_rsync 
wsrep_sst_xtrabackup-v2 wsrep_sst_xtrabackup >mariadb-galera.files
+filelist galera_new_cluster galera_recovery wsrep_sst_common 
wsrep_sst_mariabackup wsrep_sst_mysqldump wsrep_sst_rsync 
wsrep_sst_xtrabackup-v2 wsrep_sst_xtrabackup wsrep_sst_rsync_wan 
>mariadb-galera.files
 
 # mariadb-bench.files
 filelist mysqlslap >mariadb-bench.files

++ mariadb-10.2.15.tar.gz -> mariadb-10.2.16.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.2.15.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.2.16.tar.gz differ: char 5, 
line 1

++ mariadb-10.2.9-galera_cnf.patch ++
--- /var/tmp/diff_new_pack.776RSI/_old  2018-07-28 12:37:41.136112645 +0200
+++ /var/tmp/diff_new_pack.776RSI/_new  2018-07-28 12:37:41.136112645 +0200
@@ -10,17 +10,17 @@
 Maintainer: Kristyna Streitova 
 
 
-Index: mariadb-10.2.9/support-files/wsrep.cnf.sh
+Index: mariadb-10.2.16/support-files/wsrep.cnf.sh
 ===
 mariadb-10.2.9.orig/support-files/wsrep.cnf.sh
-+++ mariadb-10.2.9/support-files/wsrep.cnf.sh
-@@ -30,8 +30,11 @@ bind-address=0.0.0.0
- ## WSREP options
+--- mariadb-10.2.16.orig/support-files/wsrep.cnf.sh
 mariadb-10.2.16/support-files/wsrep.cnf.sh
+@@ -31,10 +31,10 @@ bind-address=0.0.0.0
  ##
  
-+# Whether or not wsrep replication is enabled
+ # Enable wsrep
+-wsrep_on=1
 +wsrep_on=OFF
-+
+ 
  # Full path to wsrep provider library or 'none'
 -wsrep_provider=none
 +wsrep_provider=%{_libdir}/galera/libgalera_smm.so

++ mariadb-5.5.28-install_db-quiet.patch ++
--- /var/tmp/diff_new_pack.776RSI/_old  2018-07-28 12:37:41.152112676 +0200
+++ 

commit mariadb for openSUSE:Factory

2018-06-03 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-06-03 12:32:19

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Sun Jun  3 12:32:19 2018 rev:72 rq:612828 version:10.2.15

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-05-22 
17:01:22.765497713 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-06-03 
12:32:19.272721432 +0200
@@ -1,0 +2,6 @@
+Wed May 23 15:23:00 CEST 2018 - ku...@suse.de
+
+- Don't require systemd explicit, spec file can handle both cases
+  correct and in containers we don't have systemd.
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.jCjPAV/_old  2018-06-03 12:32:20.76865 +0200
+++ /var/tmp/diff_new_pack.jCjPAV/_new  2018-06-03 12:32:20.76865 +0200
@@ -147,7 +147,11 @@
 Obsoletes:  %{extra_provides} < %{version}
 Provides:   %{extra_provides}-debug-version = %{version}
 Obsoletes:  %{extra_provides}-debug-version < %{version}
+%if 0%{?suse_version} < 1500
+# Explicit requires of systemd is not needed anymore and
+# creates a problem for containers
 %{?systemd_requires}
+%endif
 # Do not BuildRequires lzo for i586 and arm
 # https://lists.launchpad.net/maria-discuss/msg04639.html
 %ifnarch i586 %{arm}





commit mariadb for openSUSE:Factory

2018-05-22 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-05-22 17:01:16

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Tue May 22 17:01:16 2018 rev:71 rq:610541 version:10.2.15

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-05-06 
14:57:10.118493737 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-05-22 
17:01:22.765497713 +0200
@@ -1,0 +2,44 @@
+Fri May 18 11:02:12 UTC 2018 - kstreit...@suse.com
+
+- update to 10.2.15 GA
+  * notable changes:
+* PCRE updated to 8.42
+* The embedded server library now supports SSL when connecting
+  to remote servers [bsc#1088681], [CVE-2018-2767]
+* MDEV-15325 - Incomplete validation of missing tablespace
+  during recovery
+* MDEV-15720 - ib_buffer_pool unnecessarily includes the
+  temporary tablespace
+* MDEV-15764 - InnoDB may write uninitialized garbage to redo
+  log
+* MDEV-15553 - Virtual Columns: Assertion failed in
+  dict_table_get_col_name
+* MDEV-14705 - slow innodb startup/shutdown can exceed systemd
+  timeout
+* MDEV-15507 - Assertion failed in dict_check_sys_tables on
+  upgrade from 5.5
+* MDEV-15916 - Change buffer crash during TRUNCATE or
+  DROP TABLE
+* encryption fixes - MDEV-12632, MDEV-13516, MDEV-15752,
+  MDEV-15566, MDEV-16092
+* temporary table ROLLBACK fixes - MDEV-15826, MDEV-15374
+* applicable changes from 5.7.22 - MDEV-16142
+  * fixes for the following security vulnerabilities:
+CVE-2018-2786, CVE-2018-2759, CVE-2018-2777, CVE-2018-2810,
+CVE-2018-2782, CVE-2018-2784, CVE-2018-2787, CVE-2018-2766,
+CVE-2018-2755, CVE-2018-2819, CVE-2018-2817, CVE-2018-2761, 
+CVE-2018-2781, CVE-2018-2771, CVE-2018-2813
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10215-release-notes
+https://mariadb.com/kb/en/library/mariadb-10215-changelog
+- update suse_skipped_tests.list and add tests that are failing
+  with GCC 8 [bsc#1092544], MDEV-16127
+- do not build TokuDB as a build without jemalloc is not supported
+  upstream
+
+---
+Mon Apr 30 22:36:12 UTC 2018 - kstreit...@suse.com
+
+- update suse_skipped_tests.list and add failing tests for s390
+
+---

Old:

  mariadb-10.2.14.tar.gz
  mariadb-10.2.14.tar.gz.sig

New:

  mariadb-10.2.15.tar.gz
  mariadb-10.2.15.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.7oASVL/_old  2018-05-22 17:01:24.953418094 +0200
+++ /var/tmp/diff_new_pack.7oASVL/_new  2018-05-22 17:01:24.957417949 +0200
@@ -37,15 +37,9 @@
 %endif
 # TokuDB engine is available only for x86_64 architecture
 # see https://mariadb.com/kb/en/mariadb/tokudb/
-# Don't build for SLE<15 (missing jemalloc dependency)
-# Note that jemalloc 5 is not backwards compatible and therefore
-# MariaDB is currently built without its support (MDEV-15034)
+# Temporarily stop to build it as jemalloc 5 is not backwards compatible
+# and a build without jemalloc is not supported upstream (MDEV-15034)
 %define with_tokudb 0
-%if 0%{?is_opensuse} > 0 || 0%{?sle_version} > 120300
-%ifarch x86_64
-%define with_tokudb 1
-%endif
-%endif
 # Mroonga currently only supports the x86_64 architecture
 # see https://mariadb.com/kb/en/mariadb/about-mroonga/
 %ifarch x86_64
@@ -54,7 +48,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.14
+Version:10.2.15
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception

++ mariadb-10.2.14.tar.gz -> mariadb-10.2.15.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.2.14.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.2.15.tar.gz differ: char 5, 
line 1

++ suse_skipped_tests.list ++
--- /var/tmp/diff_new_pack.7oASVL/_old  2018-05-22 17:01:25.205408924 +0200
+++ /var/tmp/diff_new_pack.7oASVL/_new  2018-05-22 17:01:25.209408779 +0200
@@ -18,6 +18,16 @@
 main.func_regexp_pcre: bsc#1058722 comment 11
 #
 
+# Failing with GCC 8
+mroonga/storage.index_multiple_column_range_all_used_less_than 
  : bsc#1092544, MDEV-16127
+mroonga/storage.index_multiple_column_range_all_used_less_than_or_equal
  : bsc#1092544, MDEV-16127
+mroonga/storage.index_multiple_column_range_partially_used_have_prefix_less_than
 : bsc#1092544, MDEV-16127

commit mariadb for openSUSE:Factory

2018-05-06 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-05-06 14:57:05

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Sun May  6 14:57:05 2018 rev:70 rq:602557 version:10.2.14

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-03-24 
16:05:33.676734784 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-05-06 
14:57:10.118493737 +0200
@@ -1,0 +2,56 @@
+Mon Apr 30 13:29:35 UTC 2018 - kstreit...@suse.com
+
+- update to 10.2.14 GA
+  * notable changes:
+* MyRocks is now Gamma (RC)
+* MDEV-14533 - Added the DISKS plugin, for monitoring disk
+  space
+* MDEV-14611 - ALTER TABLE EXCHANGE PARTITION does not work
+  properly when used with DATA DIRECTORY.
+* MDEV-15333 - MariaDB (still) slow start
+* MDEV-12255 - Wrong result with
+  innodb_prefix_index_cluster_optimization
+* MDEV-12396 - IMPORT TABLESPACE cleanup
+* MDEV-14648 - Restore fix for MySQL BUG#39053 - UNINSTALL
+  PLUGIN does not allow the storage engine to cleanup open
+  connections
+* MDEV-15249 - IMPORT fixes
+* MDEV-14988 - innodb_read_only tries to modify files if
+  transactions were recovered in COMMITTED state
+* MDEV-14773 - DROP TABLE hangs for InnoDB table with FULLTEXT
+  index (fixing a recent regression from upstream)
+* MDEV-15529 - IMPORT TABLESPACE unnecessarily uses the
+  doublewrite buffer
+* MDEV-15554 - InnoDB page_cleaner shutdown sometimes hangs
+* MDEV-14545 - Mariabackup - Backup fails due to
+  MLOG_INDEX_LOAD record
+  * fixes for the following security vulnerabilities: none
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10214-release-notes
+https://mariadb.com/kb/en/library/mariadb-10214-changelog
+- remove the following patches
+  * mariadb-10.2.14-xtrabackup-v2.patch (applied upstream,
+MDEV-15254)
+  * mariadb-10.2.13-aarch_compilefix.patch (applied upstream,
+MDEV-14318)
+  * mariadb-10.2.10-disable_openssl_compatibility_check.patch
+(fixed upstream in https://github.com/MariaDB/server/pull/558)
+  * mariadb-10.2.8-systemd-cmake.patch and DWITH_SYSTEMD=ON
+compile option that are no longer needed - systemd is detected
+correctly now (discussed in [bsc#1080891] and MDEV-8379)
+  * mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch (fixed
+upstream in 52516706c86f9f66c76836eabde7e2477694bac3)
+  * remove mariadb-10.2.3-group.patch that was just a half solution
+of the group support (missing server part) and moreover using
+a group option in mysql-systemd-helper was removed few years ago
+as it caused troubles because MariaDB resolved it as
+'group_concat_max_len option' (see
+https://github.com/openSUSE/mysql-packaging/issues/15) 
+- remove jar files from the tarball (used for testing from the
+  source)
+- build TokuDB without the jemalloc support for now. Jemalloc 5
+  is not backwards compatible which leads to the errors in the
+  testsuite at least (MDEV-15034)
+- update suse_skipped_tests.list
+
+---

Old:

  mariadb-10.2.10-disable_openssl_compatibility_check.patch
  mariadb-10.2.13-aarch_compilefix.patch
  mariadb-10.2.13.tar.gz
  mariadb-10.2.13.tar.gz.sig
  mariadb-10.2.14-xtrabackup-v2.patch
  mariadb-10.2.3-group.patch
  mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
  mariadb-10.2.8-systemd-cmake.patch

New:

  mariadb-10.2.14.tar.gz
  mariadb-10.2.14.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.OUnhE8/_old  2018-05-06 14:57:11.614438847 +0200
+++ /var/tmp/diff_new_pack.OUnhE8/_new  2018-05-06 14:57:11.614438847 +0200
@@ -23,7 +23,7 @@
 # to SLE15 [fate#323756]
 %define extra_provides mariadb-102
 # Set this to 1 to run regression test suite (it takes a long time)
-%define run_testsuite 0
+%define run_testsuite 1
 # Set this to 1 for testing purposes (run all regression tests but ignore
 # failures). Set this to 0 for production usage (skip tests in the
 # unstable-tests list (contains also suse_skipped_tests.list) and don't
@@ -38,6 +38,8 @@
 # TokuDB engine is available only for x86_64 architecture
 # see https://mariadb.com/kb/en/mariadb/tokudb/
 # Don't build for SLE<15 (missing jemalloc dependency)
+# Note that jemalloc 5 is not backwards compatible and therefore
+# MariaDB is currently built without its support (MDEV-15034)
 %define with_tokudb 0
 %if 0%{?is_opensuse} > 0 || 0%{?sle_version} > 120300
 %ifarch x86_64
@@ -52,7 +54,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:   

commit mariadb for openSUSE:Factory

2018-03-24 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-03-24 16:05:32

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Sat Mar 24 16:05:32 2018 rev:69 rq:587889 version:10.2.13

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-03-01 
12:04:01.218255323 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-03-24 
16:05:33.676734784 +0100
@@ -1,0 +2,17 @@
+Fri Mar 16 12:17:05 UTC 2018 - kstreit...@suse.com
+
+- change %{extra_provides} macro from "mariadb_102" to "mariadb-102"
+  and use this macro in Provides/Obsoletes for mariadb, test,
+  tools, bench and errormessages subpackages to ensure a smooth
+  transition from SLE12 to SLE15 [fate#323756]
+- remove "Provides: mariadb-errormessages = 10.1.25" that shouldn't
+  be needed anymore
+
+---
+Wed Mar 14 00:35:11 CET 2018 - r...@suse.de
+
+- fix build on aarch64: compile a few more files with -O0
+  from https://jira.mariadb.org/browse/MDEV-14318
+  add patch mariadb-10.2.13-aarch_compilefix.patch
+
+---

New:

  mariadb-10.2.13-aarch_compilefix.patch



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.ewGJ19/_old  2018-03-24 16:05:37.044613374 +0100
+++ /var/tmp/diff_new_pack.ewGJ19/_new  2018-03-24 16:05:37.060612797 +0100
@@ -18,7 +18,10 @@
 
 # libmysqld soname
 %define soname 19
-%define extra_provides mariadb_102
+# Used in Provides/Obsoletes for mariadb, test, tools, bench and 
+# errormessages subpackages to ensure a smooth transition from SLE12
+# to SLE15 [fate#323756]
+%define extra_provides mariadb-102
 # Set this to 1 to run regression test suite (it takes a long time)
 %define run_testsuite 0
 # Set this to 1 for testing purposes (run all regression tests but ignore
@@ -82,6 +85,7 @@
 Patch11:mariadb-10.2.9-galera_cnf.patch
 Patch12:mariadb-10.2.10-disable_openssl_compatibility_check.patch
 Patch13:mariadb-10.2.14-xtrabackup-v2.patch
+Patch14:mariadb-10.2.13-aarch_compilefix.patch
 BuildRequires:  bison
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -249,11 +253,8 @@
 Summary:The error messages files required by server, client and 
libmysqld
 Group:  System/Localization
 BuildArch:  noarch
-# Old libmysqld18 requires an exact version of errormessages. This causes 
problem
-# during the update ("libmysqld18-10.1.25-3.1.x86_64 requires 
mariadb-errormessages
-# = 10.1.25, but this requirement cannot be provided").
-# Add the following Provides that solves this update issue.
-Provides:   mariadb-errormessages = 10.1.25
+Provides:   %{extra_provides}-errormessages = %{version}
+Obsoletes:  %{extra_provides}-errormessages < %{version}
 
 %description errormessages
 This package provides translated error messages for the standalone
@@ -342,6 +343,13 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%ifarch aarch64
+%if 0%{?suse_version} == 1315
+# gcc48 on sle12 on aarch64 has some optimisation issues
+# add some more files to the list of sources compiled with -O0
+%patch14 -p1
+%endif
+%endif
 
 cp %{_sourcedir}/suse-test-run .
 

++ mariadb-10.2.13-aarch_compilefix.patch ++
--- mariadb-10.2.13/storage/innobase/CMakeLists.txt 2018/03/13 23:32:34 
1.1
+++ mariadb-10.2.13/storage/innobase/CMakeLists.txt 2018/03/13 23:33:42
@@ -175,7 +175,10 @@
   btr/btr0btr.cc
   btr/btr0cur.cc
   buf/buf0buf.cc
+  fts/fts0fts.cc
   gis/gis0sea.cc
+  handler/handler0alter.cc
+  row/row0mysql.cc
   COMPILE_FLAGS "-O0"
   )
   ENDIF()




commit mariadb for openSUSE:Factory

2018-03-01 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-03-01 12:03:59

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Thu Mar  1 12:03:59 2018 rev:68 rq:580780 version:10.2.13

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-02-25 
11:32:35.663898445 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-03-01 
12:04:01.218255323 +0100
@@ -1,0 +2,5 @@
+Tue Feb 27 14:13:50 UTC 2018 - rsalev...@suse.com
+
+- add mariadb-10.2.14-xtrabackup-v2.patch (bsc#1083087)
+
+---

New:

  mariadb-10.2.14-xtrabackup-v2.patch



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.p9f6gv/_old  2018-03-01 12:04:03.302180565 +0100
+++ /var/tmp/diff_new_pack.p9f6gv/_new  2018-03-01 12:04:03.306180422 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mariadb
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -54,7 +54,7 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-URL:https://www.mariadb.org
+Url:https://www.mariadb.org
 Source: 
https://downloads.mariadb.org/f/mariadb-%{version}/source/mariadb-%{version}.tar.gz
 Source1:%{name}-%{version}.tar.gz.sig
 Source2:%{name}.keyring
@@ -81,6 +81,7 @@
 Patch10:mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
 Patch11:mariadb-10.2.9-galera_cnf.patch
 Patch12:mariadb-10.2.10-disable_openssl_compatibility_check.patch
+Patch13:mariadb-10.2.14-xtrabackup-v2.patch
 BuildRequires:  bison
 BuildRequires:  cmake
 BuildRequires:  dos2unix
@@ -137,8 +138,8 @@
 Conflicts:  otherproviders(mysql-debug)
 Conflicts:  otherproviders(mysql-server)
 # Compatibility with Fedora/CentOS
-Provides:   mysql-server = %{version}
 Provides:   mariadb-server = %{version}
+Provides:   mysql-server = %{version}
 # Compatibility with old version
 Provides:   %{name}-debug-version = %{version}
 Obsoletes:  %{name}-debug-version < %{version}
@@ -227,8 +228,8 @@
 Requires:   %{name} = %{version}
 # galera-3 is not in openSUSE:Factory now
 #Requires:   galera-3 >= 25.3.18
-Requires:   lsof
 Requires:   iproute2
+Requires:   lsof
 Requires:   rsync
 Requires:   socat
 Requires:   which
@@ -315,8 +316,8 @@
 Conflicts:  otherproviders(mysql-tools)
 # make sure this package is installed when updating from 10.2 and older
 Provides:   mysql-client:%{_bindir}/perror
-Provides:   mysql:%{_bindir}/mysqlhotcopy
 Provides:   mysql-tools = %{version}
+Provides:   mysql:%{_bindir}/mysqlhotcopy
 Obsoletes:  mysql-tools < %{version}
 Provides:   %{extra_provides}-tools = %{version}
 Obsoletes:  %{extra_provides}-tools < %{version}
@@ -340,6 +341,7 @@
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
 
 cp %{_sourcedir}/suse-test-run .
 


++ mariadb-10.2.14-xtrabackup-v2.patch ++
>From 4e6dab94d0931eafba502f5a91da29a54e75bb33 Mon Sep 17 00:00:00 2001
From: Daniel Black 
Date: Wed, 21 Feb 2018 19:38:57 +0530
Subject: [PATCH] MDEV-10.1.31 does not join an existing cluster with SST
 xtrabackup-v2

Analysis:- The problem  is the change in the implementation of wait_for_listen
in wsrep_sst_xtrabackup-v2.sh. The new script uses lsof which will always
exit with an error code if it can't find all the items, and because the
script has the -e option set in the hashbang line (#!/bin/bash -ue), the
script will abort right after running lsof if lsof can't find even a single
item among all the items listed in its arguments. This will happen even if
socat is running and listening, because it can't find nc. The loop in
wait_for_listen will therefore always quit after one iteration without
writing the "ready" line to signal the parent.

Solution:- We will or the lsof with true.

Patch Credit :Daniel Black and David Wang
---
 scripts/wsrep_sst_xtrabackup-v2.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/wsrep_sst_xtrabackup-v2.sh 
b/scripts/wsrep_sst_xtrabackup-v2.sh
index 64dd182e2f2f..9104daf19bc3 100644
--- a/scripts/wsrep_sst_xtrabackup-v2.sh
+++ b/scripts/wsrep_sst_xtrabackup-v2.sh
@@ -644,7 +644,7 @@ wait_for_listen()
 
 for i in {1..300}
 do
-LSOF_OUT=$(lsof 

commit mariadb for openSUSE:Factory

2018-02-25 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-02-25 11:32:30

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Sun Feb 25 11:32:30 2018 rev:67 rq:579673 version:10.2.13

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-02-16 
21:38:54.207571682 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-02-25 
11:32:35.663898445 +0100
@@ -1,0 +2,46 @@
+Wed Feb 14 11:51:39 UTC 2018 - kstreit...@suse.com
+
+- update to 10.2.13 GA
+  * notable changes
+* InnoDB updated to 5.7.21
+* Galera wsrep library updated to 25.3.23
+* MDEV-13869 - MariaDB slow start
+* MDEV-14611 - ALTER TABLE EXCHANGE PARTITION does not work
+  properly when used with DATA DIRECTORY
+* MDEV-15249 - Crash in MVCC read after IMPORT TABLESPACE
+* Foreign key bugs:
+* MDEV-15199 - Referential integrity broken in ON DELETE
+  CASCADE/MDEV-14222 Unnecessary 'cascade' memory allocation
+  for every updated row
+* MDEV-15219 - FOREIGN KEY CASCADE or SET NULL operations will
+  not resume after lock wait
+* MDEV-15042 - INSERT ON DUPLICATE KEY UPDATE produces error
+  1032 (Can't find record)
+* MDEV-13205 - InnoDB: Failing assertion:
+  !dict_index_is_online_ddl(index) upon ALTER TABLE
+* MDEV-14958 - Merge new release of InnoDB MySQL 5.7.21 to 10.2
+* MDEV-15165 - InnoDB purge for index on virtual column is
+  trying to access an incomplete record
+* MDEV-15143 - InnoDB: Rollback of trx with id 0 completed
+* MDEV-11415 - Remove excessive undo logging during ALTER
+  TABLE…ALGORITHM=COPY
+* MDEV-15016 - multiple page cleaner threads use a lot of CPU
+* MDEV-14941 - Timeouts on persistent statistics tables caused
+  by MDEV-14511
+* MDEV-14985 - innodb_undo_log_truncate may be blocked if
+  transactions were recovered at startup
+* MDEV-14441 - InnoDB hangs when setting
+  innodb_adaptive_hash_index=OFF during UPDATE
+* MDEV-14887 - On a 32-bit system, MariaDB 10.2 mishandles
+  data file sizes exceeding 4GiB
+  * fixes for the following security vulnerabilities:
+* CVE-2018-2562, CVE-2018-2622, CVE-2018-2640, CVE-2018-2665,
+  CVE-2018-2668, CVE-2018-2612
+  * release notes and changelog:
+https://mariadb.com/kb/en/library/mariadb-10213-release-notes/
+https://mariadb.com/kb/en/library/mariadb-10213-changelog/
+  * fixes [bsc#1058729] and [bsc#1068906]
+- refresh mariadb-10.2.10-disable_openssl_compatibility_check.patch
+- refresh mariadb-10.2.3-group.patch
+
+---

Old:

  mariadb-10.2.12.tar.gz
  mariadb-10.2.12.tar.gz.sig

New:

  mariadb-10.2.13.tar.gz
  mariadb-10.2.13.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.IVgbQo/_old  2018-02-25 11:32:38.295802871 +0100
+++ /var/tmp/diff_new_pack.IVgbQo/_new  2018-02-25 11:32:38.299802726 +0100
@@ -49,7 +49,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.12
+Version:10.2.13
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -543,7 +543,7 @@
 
 # Generate various filelists (binaries and manpages)
 # mariadb.files
-filelist mariabackup mbstream innochecksum mariadb-service-convert 
my_print_defaults myisam_ftdump myisamchk myisamlog myisampack 
mysql_fix_extensions  mysql_install_db mysql_secure_installation mysql_upgrade 
mysqld mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow resolve_stack_dump 
resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump {m,}aria_pack 
{m,}aria_read_log tokuft_logprint tokuft_logdump tokuftdump mysql_ldb sst_dump 
>mariadb.files
+filelist mariabackup mbstream innochecksum mariadb-service-convert 
my_print_defaults myisam_ftdump myisamchk myisamlog myisampack 
mysql_fix_extensions  mysql_install_db mysql_secure_installation mysql_upgrade 
mysqld mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow resolve_stack_dump 
resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump {m,}aria_pack 
{m,}aria_read_log tokuft_logprint tokuft_logdump tokuftdump mysql_ldb sst_dump 
myrocks_hotbackup >mariadb.files
 
 # mariadb-client.files
 filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow 
mysql_config_editor mysqld_safe_helper >mariadb-client.files

++ mariadb-10.2.10-disable_openssl_compatibility_check.patch ++
--- /var/tmp/diff_new_pack.IVgbQo/_old  2018-02-25 11:32:38.403798950 +0100
+++ /var/tmp/diff_new_pack.IVgbQo/_new  2018-02-25 11:32:38.403798950 +0100
@@ -21,7 +21,7 @@
 -  

commit mariadb for openSUSE:Factory

2018-02-16 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-02-16 21:38:53

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Fri Feb 16 21:38:53 2018 rev:66 rq:575990 version:10.2.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-01-25 
12:34:45.374865768 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-02-16 
21:38:54.207571682 +0100
@@ -1,0 +2,5 @@
+Mon Feb 12 17:12:18 UTC 2018 - dmuel...@suse.com
+
+- add dependency on which for galera scripts
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.mspxgZ/_old  2018-02-16 21:38:56.987471324 +0100
+++ /var/tmp/diff_new_pack.mspxgZ/_new  2018-02-16 21:38:56.991471180 +0100
@@ -231,6 +231,7 @@
 Requires:   iproute2
 Requires:   rsync
 Requires:   socat
+Requires:   which
 Requires:   xtrabackup
 # We need Conflicts here as galera_new_cluster (and 
use_galera_new_cluster.conf)
 # and galera_recovery scripts were in mariadb package but now they are in 
galera





commit mariadb for openSUSE:Factory

2018-01-25 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-01-25 12:34:44

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Thu Jan 25 12:34:44 2018 rev:65 rq:567863 version:10.2.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-01-13 
21:34:29.462876288 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-01-25 
12:34:45.374865768 +0100
@@ -1,0 +2,8 @@
+Fri Jan 19 13:28:50 UTC 2018 - kstreit...@suse.com
+
+- 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]
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.wpzidg/_old  2018-01-25 12:34:48.082739358 +0100
+++ /var/tmp/diff_new_pack.wpzidg/_new  2018-01-25 12:34:48.086739172 +0100
@@ -852,7 +852,7 @@
 %{_mandir}/man1/mysql-test-run.pl.1*
 %{_mandir}/man1/mysql-stress-test.pl.1*
 %{_datadir}/mysql-test/valgrind.supp
-%dir %attr(755, root, root)%{_datadir}/mysql-test
+%dir %attr(755, mysql, mysql)%{_datadir}/mysql-test
 %{_datadir}/mysql-test/[^v]*
 %dir %attr(755, mysql, mysql) %{_datadir}/mysql-test%{_localstatedir}
 





commit mariadb for openSUSE:Factory

2018-01-13 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-01-13 21:34:26

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Sat Jan 13 21:34:26 2018 rev:64 rq:563277 version:10.2.12

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2018-01-02 
16:32:27.031239869 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-01-13 
21:34:29.462876288 +0100
@@ -1,0 +2,60 @@
+Fri Jan  5 12:23:20 UTC 2018 - kstreit...@suse.com
+
+- 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
+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
+- 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]
+- add 'bind-address = 127.0.0.1' as a default option to my.cnf file
+  for security reasons (disable MariaDB to listen for TCP/IP
+  connections by default) [bsc#1058374]
+- update my.cnf file and add a section with SSL configuration
+  [bsc#1058374]
+
+---
+Tue Jan  2 14:04:21 UTC 2018 - kstreit...@suse.com
+
+- switch from deprecated 'net-tools' to 'iproute2' for 
+  mariadb-galera subpackage. This dependency switch is sufficient
+  for making wsrep_sst_rsync.sh script to use 'ip' instead of 
+  'ifconfig' command
+
+---

Old:

  configuration-tweaks.tar.xz
  mariadb-10.2.11.tar.gz
  mariadb-10.2.11.tar.gz.sig
  mysql-patches.tar.xz
  mysql.service
  mysql.target
  mysql@.service
  series

New:

  mariadb-10.0.15-logrotate-su.patch
  mariadb-10.1.1-mysqld_multi-features.patch
  mariadb-10.1.12-deharcode-libdir.patch
  mariadb-10.2.10-disable_openssl_compatibility_check.patch
  mariadb-10.2.12.tar.gz
  mariadb-10.2.12.tar.gz.sig
  mariadb-10.2.3-group.patch
  mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
  mariadb-10.2.4-fortify-and-O.patch
  mariadb-10.2.4-logrotate.patch
  mariadb-10.2.8-systemd-cmake.patch
  mariadb-10.2.9-galera_cnf.patch
  mariadb-5.2.3-cnf.patch
  mariadb-5.5.28-install_db-quiet.patch
  mariadb.service
  mariadb.target
  mariadb@.service
  mysql-community-server-5.1.45-multi-configuration.patch



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.VeCaqG/_old  2018-01-13 21:34:31.986758125 +0100
+++ /var/tmp/diff_new_pack.VeCaqG/_new  2018-01-13 21:34:31.990757937 +0100
@@ -49,7 +49,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.11
+Version:10.2.12
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -62,15 +62,25 @@
 Source5:suse-test-run
 Source6:mysql.SuSEfirewall2
 Source7:

commit mariadb for openSUSE:Factory

2018-01-02 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2018-01-02 16:32:18

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Tue Jan  2 16:32:18 2018 rev:63 rq:559491 version:10.2.11

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-12-06 
08:56:03.706535953 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2018-01-02 
16:32:27.031239869 +0100
@@ -1,0 +2,9 @@
+Thu Dec 21 12:42:28 UTC 2017 - dims...@opensuse.org
+
+- Do not manually delete
+  
%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something:
+  The file is listed as ghost and thus properly owned by the
+  package.
+- Use %tmpfiles_create which can cope with transactional updates.
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.GCATUt/_old  2018-01-02 16:32:30.134205129 +0100
+++ /var/tmp/diff_new_pack.GCATUt/_new  2018-01-02 16:32:30.138203796 +0100
@@ -673,15 +673,12 @@
 
 %post
 %service_add_post mysql.service
-# Use %%tmpfiles_create when 13.2 is oldest in support scope
-%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/mysql.conf || :
+%tmpfiles_create %{_tmpfilesdir}/mysql.conf
 
 # SLE11 Migration support
 for i in protected tmp; do
 rmdir "$datadir"/.$i 2>/dev/null || :
 done
-# Remove any messages that could've been in place about the upgrade
-rm -f 
%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something
 
 # During package rename (migration maria->mysql-community-server),
 # there might be config file move and we get rpmsave that we should keep
@@ -735,8 +732,6 @@
 
 %postun
 %service_del_postun mysql.service
-# Remove the /var/adm updatemsg that was hand-created and thus not on filelist
-rm -f 
%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something
 
 %post -n libmysqld%{soname} -p /sbin/ldconfig
 %postun -n libmysqld%{soname} -p /sbin/ldconfig





commit mariadb for openSUSE:Factory

2017-12-05 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-12-06 08:55:02

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Wed Dec  6 08:55:02 2017 rev:62 rq:547173 version:10.2.11

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-11-30 
12:44:15.516389656 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-12-06 
08:56:03.706535953 +0100
@@ -1,0 +2,19 @@
+Thu Nov 30 07:53:14 UTC 2017 - kstreit...@suse.com
+
+- 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
+
+---
+Wed Nov 29 16:16:45 UTC 2017 - rha...@suse.de
+
+- Added mariadb-10.2.10-wsrep_sst_common.patch (bsc#1069401).
+  Upstream bug: https://jira.mariadb.org/browse/MDEV-14256
+
+---
@@ -19 +38 @@
-* 10.2.10: CVE-2017-10378, CVE-2017-10268
+* 10.2.10: CVE-2017-10378, CVE-2017-10268, CVE-2017-15365

Old:

  mariadb-10.2.10.tar.gz
  mariadb-10.2.10.tar.gz.sig

New:

  mariadb-10.2.11.tar.gz
  mariadb-10.2.11.tar.gz.sig



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.qqaIGl/_old  2017-12-06 08:56:05.782459961 +0100
+++ /var/tmp/diff_new_pack.qqaIGl/_new  2017-12-06 08:56:05.786459815 +0100
@@ -49,7 +49,7 @@
 %define with_mroonga 0
 %endif
 Name:   mariadb
-Version:10.2.10
+Version:10.2.11
 Release:0
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -376,7 +376,8 @@
-DINSTALL_MYSQLSHAREDIR=share/%{name}\
-DWITH_COMMENT="openSUSE mariadb rpm"\
-DWITH_EXTRA_CHARSET=all \
-   -DDEFAULT_CHARSET=utf8  -DDEFAULT_COLLATION=utf8_general_ci  \
+   -DDEFAULT_CHARSET=utf8mb4\
+   -DDEFAULT_COLLATION=utf8mb4_general_ci   \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1   \
 %if 0%{with_oqgraph} < 1
@@ -512,7 +513,7 @@
 
 # Generate various filelists (binaries and manpages)
 # mariadb.files
-filelist mariabackup mbstream innochecksum mariadb-service-convert 
my_print_defaults myisam_ftdump myisamchk myisamlog myisampack 
mysql_fix_extensions  mysql_install_db mysql_secure_installation mysql_upgrade 
mysqld mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow mroonga 
resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump 
{m,}aria_pack {m,}aria_read_log tokuft_logprint tokuft_logdump tokuftdump 
mysql_ldb sst_dump >mariadb.files
+filelist mariabackup mbstream innochecksum mariadb-service-convert 
my_print_defaults myisam_ftdump myisamchk myisamlog myisampack 
mysql_fix_extensions  mysql_install_db mysql_secure_installation mysql_upgrade 
mysqld mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow resolve_stack_dump 
resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump {m,}aria_pack 
{m,}aria_read_log tokuft_logprint tokuft_logdump tokuftdump mysql_ldb sst_dump 
>mariadb.files
 
 # mariadb-client.files
 filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow 
mysql_config_editor mysqld_safe_helper >mariadb-client.files
@@ -768,6 +769,15 @@
 %exclude %{_libdir}/mysql/plugin/dialog*.so
 %ghost 
%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something
 %dir %attr(0750, mysql, mysql) %{_localstatedir}/lib/mysql-files
+%if 0%{with_mroonga} > 0
+%{_datadir}/mariadb/mroonga/
+%dir %{_datadir}/groonga/
+%{_datadir}/groonga/COPYING
+%{_datadir}/groonga/README.md
+%dir %{_datadir}/groonga-normalizer-mysql
+%{_datadir}/groonga-normalizer-mysql/README.md
+%{_datadir}/groonga-normalizer-mysql/lgpl-2.0.txt
+%endif
 %dir %{_datadir}/mysql/policy
 %dir %{_datadir}/mysql/policy/apparmor
 %{_datadir}/mysql/policy/apparmor/README

++ mariadb-10.2.10.tar.gz -> mariadb-10.2.11.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.2.10.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.2.11.tar.gz differ: char 5, 
line 1

++ mysql-patches.tar.xz ++




commit mariadb for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-11-30 12:44:11

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Thu Nov 30 12:44:11 2017 rev:61 rq:546442 version:10.2.10

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-10-28 
14:20:28.962188004 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-11-30 
12:44:15.516389656 +0100
@@ -1,0 +2,145 @@
+Wed Nov 29 12:54:23 UTC 2017 - vci...@suse.com
+
+- 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
+
+---
+Tue Oct 31 14:23:22 UTC 2017 - kstreit...@suse.com
+
+- 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)
+- change '=' to '>=' in  Requires:mariadb-errormessages for
+  libmysqld%{soname}. Versioned libraries shouldn't require regular
+  packages with '='. It also causes problems during update (Problem:
+  libmysqld18-10.1.25-3.1.x86_64 requires mariadb-errormessages = 10.1.25,
+  but this requirement cannot be provided).
+  Also add "Provides: mariadb-errormessages = 10.1.25" for errormessages
+  subpackage that solves this problem for the current update.
+- pack new files, remove mysql specific files
+- remove README.SUSE as it was outdated
+- package cleaning
+  * run spec-cleaner
+  * renumber sources
+  * reorganize subpackages order and update summaries, descriptions
+and groups
+  * tweak and add some comments to the specfile
+  * remove warning about mysql-packaging repository that is no longer
+used for this package
+  * remove checks whether we build mysql or mariadb (we build mariadb
+only)
+- add galera subpackage
+  * add missing "Requires:" (lsof, net-tools, rsync, socat,
+xtrabackup) for proper wsrep scripts functionality
+  * add mariadb-10.2.9-galera_cnf.patch that enhances galera.cnf
+configuration file (add wsrep_on=OFF and set the location
+of the wsrep library)
+  * rename README-wsrep to README.wsrep so it corresponds with the
+other README names
+  * move galera_new_cluster, galera_recovery,
+use_galera_new_cluster.conf, wsrep_* scripts to the galera
+subpackage
+- remove the following macros definitions:
+  * %{_tmpfilesdir} - it's been defined in systemd macros since
+openSUSE 13.2
+  * %{preferred} - we no longer need to distinguish between preferred
+and not preferred version (we build mariadb only)
+  * %{with_mandatory_lz4} - mysql specific
+  * %{build_extras}, %{pretty_name}, %{build_readline},
+%{builtin_plugins} and {libname} - they are no longer needed
+- add the following macros
+  * %{run_testsuite} macro that controls the run of the regression
+testsuite
+  * %{ignore_testsuite_result} macro - when set to 1 it ignores
+results from the regression testsuite (debug purposes)
+  * %{with_mroonga} macro (enable mroonga build for x86_64 archs only)
+- rename %{with_jemalloc} to %{with_tokudb} and enable tokudb 

commit mariadb for openSUSE:Factory

2017-10-28 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-10-28 14:20:28

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Sat Oct 28 14:20:28 2017 rev:60 rq:536722 version:10.1.25

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-09-25 
13:52:21.774379312 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-10-28 
14:20:28.962188004 +0200
@@ -1,0 +2,6 @@
+Thu Oct 26 05:16:30 UTC 2017 - bwiedem...@suse.com
+
+- Drop INFO_BIN from package because it is not needed
+  and differs for every build (boo#1047218)
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.dWW46J/_old  2017-10-28 14:20:31.218105523 +0200
+++ /var/tmp/diff_new_pack.dWW46J/_new  2017-10-28 14:20:31.218105523 +0200
@@ -460,9 +460,8 @@
 
 # Symbols from build to go into libdir
 install -m 644 build/sql/mysqld.sym %{buildroot}%{_libdir}/mysql/mysqld.sym
-# INFO_BIN and INFO_SRC binaries
+# INFO_SRC binary
 install -p -m 644 build/Docs/INFO_SRC %{buildroot}%{_libdir}/mysql/
-install -p -m 644 build/Docs/INFO_BIN %{buildroot}%{_libdir}/mysql/
 
 # Remove debug management for keys Mariadb 101+
 rm -f %{buildroot}%{_libdir}/mysql/plugin/debug_key_management.so
@@ -768,7 +767,6 @@
 %{_datadir}/%{name}/*.sql
 %dir %{_libdir}/mysql
 %{_libdir}/mysql/mysqld.sym
-%{_libdir}/mysql/INFO_BIN
 %{_libdir}/mysql/INFO_SRC
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/mysql
 %dir %{_libdir}/mysql/plugin




commit mariadb for openSUSE:Factory

2017-09-25 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-09-25 13:52:14

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Mon Sep 25 13:52:14 2017 rev:59 rq:527463 version:10.1.25

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-07-17 
09:01:42.547781666 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-09-25 
13:52:21.774379312 +0200
@@ -1,0 +2,6 @@
+Tue Sep 19 15:54:05 UTC 2017 - vci...@suse.com
+
+- Explicitly require libopenssl-1_0_0-devel, to successfully build
+  once we switch openssl to 1.1 (bsc#1042632)
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.ER0s3p/_old  2017-09-25 13:52:24.226034370 +0200
+++ /var/tmp/diff_new_pack.ER0s3p/_new  2017-09-25 13:52:24.226034370 +0200
@@ -76,7 +76,12 @@
 BuildRequires:  libxml2-devel
 BuildRequires:  lzo-devel
 BuildRequires:  ncurses-devel
+# Temporarily require OpenSSL 1.0.x until we update to 10.2 which builds fine 
with OpenSSL 1.1
+%if %{suse_version} < 1330
 BuildRequires:  openssl-devel
+%else
+BuildRequires:  libopenssl-1_0_0-devel
+%endif
 BuildRequires:  pam-devel
 BuildRequires:  pcre-devel
 BuildRequires:  perl(Data::Dumper)




commit mariadb for openSUSE:Factory

2017-07-17 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-07-17 09:00:57

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Mon Jul 17 09:00:57 2017 rev:58 rq:509376 version:10.1.25

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-05-30 
16:10:47.485683357 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-07-17 
09:01:42.547781666 +0200
@@ -1,0 +2,19 @@
+Mon Jul 10 11:30:59 UTC 2017 - kstreit...@suse.com
+
+- 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
+ 
+---

Old:

  mariadb-10.1.22.tar.gz

New:

  mariadb-10.1.25.tar.gz



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.conEze/_old  2017-07-17 09:01:45.815321551 +0200
+++ /var/tmp/diff_new_pack.conEze/_new  2017-07-17 09:01:45.823320425 +0200
@@ -43,7 +43,7 @@
 %define with_cassandra 0
 %endif
 Name:   mariadb
-Version:10.1.22
+Version:10.1.25
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -484,7 +484,7 @@
 %endif
 
 # Generate various filelists
-filelist innochecksum my_print_defaults myisam_ftdump myisamchk myisamlog 
myisampack mysql_fix_extensions mysql_fix_privilege_tables mysql_ssl_rsa_setup 
mysql_install_db mysql_secure_installation mysql_upgrade mysqlbug mysqld 
mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow mysqlmanager mroonga 
resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump 
{m,}aria_pack {m,}aria_read_log xtstat tokuft_logprint tokuftdump >mysql.files
+filelist galera_new_cluster galera_recovery innochecksum 
mariadb-service-convert my_print_defaults myisam_ftdump myisamchk myisamlog 
myisampack mysql_fix_extensions mysql_fix_privilege_tables mysql_ssl_rsa_setup 
mysql_install_db mysql_secure_installation mysql_upgrade mysqlbug mysqld 
mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow mysqlmanager mroonga 
resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump 
{m,}aria_pack {m,}aria_read_log xtstat tokuft_logprint tokuft_logdump 
tokuftdump >mysql.files
 
 filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow 
mysql_config_editor mysqld_safe_helper >mysql-client.files
 # The dialog stuff is mariadb only
@@ -506,7 +506,7 @@
 
 filelist mysql_client_test mysql_client_test_embedded mysql_waitpid mysqltest 
mysqltest_embedded >mysql-test.files
 
-filelist msql2mysql mysql_plugin mysql_convert_table_format mysql_find_rows 
mysql_setpermission mysql_tzinfo_to_sql mysql_zap mysqlaccess mysqlhotcopy 
perror replace mysql_embedded %{name}_mytop hsclient %{_bindir}/wsrep* 
%{_datadir}/mysql/wsrep_notify >mysql-tools.files
+filelist msql2mysql mysql_plugin mysql_convert_table_format mysql_find_rows 
mysql_setpermission mysql_tzinfo_to_sql mysql_zap mysqlaccess mysqlhotcopy 
perror replace mysql_embedded %{name}_mytop hsclient wsrep_sst_common 
wsrep_sst_mariabackup wsrep_sst_mysqldump wsrep_sst_rsync 
wsrep_sst_xtrabackup-v2 wsrep_sst_xtrabackup %{_datadir}/mysql/wsrep_notify 
>mysql-tools.files
 
 filelist ndbd ndbmtd ndbd_redo_log_reader >mysql-ndb-storage.files
 
@@ -775,6 +775,8 @@
 %{_bindir}/galera_new_cluster
 %{_bindir}/galera_recovery
 %{_bindir}/mariadb-service-convert
+%{_bindir}/mariabackup
+%{_bindir}/mbstream
 %dir %{_datadir}/mysql/policy
 %dir %{_datadir}/mysql/policy/apparmor
 %{_datadir}/mysql/policy/apparmor/README
@@ -832,6 +834,9 @@
 %files test -f mysql-test.files
 %defattr(-, root, root)
 %{_bindir}/my_safe_process
+%if "%{extra_provides}" == "mariadb_101"
+%{_mandir}/man1/my_safe_process.1*
+%endif
 %{_mandir}/man1/mysql-test-run.pl.1*
 %{_mandir}/man1/mysql-stress-test.pl.1*
 %{_datadir}/mysql-test/valgrind.supp

++ configuration-tweaks.tar.xz ++

++ mariadb-10.1.22.tar.gz -> mariadb-10.1.25.tar.gz ++

commit mariadb for openSUSE:Factory

2017-05-30 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-05-30 16:10:44

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Tue May 30 16:10:44 2017 rev:57 rq:499777 version:10.1.22

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-04-18 
13:46:56.799782610 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-05-30 
16:10:47.485683357 +0200
@@ -1,0 +2,15 @@
+Tue May 30 13:12:47 UTC 2017 - fv...@suse.com
+
+- 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]
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.sMWJfM/_old  2017-05-30 16:10:49.265432366 +0200
+++ /var/tmp/diff_new_pack.sMWJfM/_new  2017-05-30 16:10:49.269431802 +0200
@@ -544,7 +544,7 @@
install -m 644 "${i}" "${DOCDIR}" || true
 done
 # Default configuration file
-install -m 660 %{SOURCE14} %{buildroot}%{_sysconfdir}/my.cnf
+install -m 664 %{SOURCE14} %{buildroot}%{_sysconfdir}/my.cnf
 
 # Systemd/initscript
 install -D -m 755 %{_sourcedir}/mysql-systemd-helper 
'%{buildroot}'%{_libexecdir}/mysql/mysql-systemd-helper
@@ -744,9 +744,9 @@
 
 %files -f mysql.files
 %defattr(-, root, root)
-%config(noreplace) %attr(0640, root, mysql) %{_sysconfdir}/my.cnf
-%dir %attr(0750, root, mysql) %{_sysconfdir}/my.cnf.d
-%config(noreplace) %attr(0640, root, mysql) %{_sysconfdir}/my.cnf.d/*
+%config(noreplace) %attr(0644, root, mysql) %{_sysconfdir}/my.cnf
+%dir %attr(0755, root, mysql) %{_sysconfdir}/my.cnf.d
+%config(noreplace) %attr(0644, root, mysql) %{_sysconfdir}/my.cnf.d/*
 %config %{_sysconfdir}/logrotate.d/%{name}
 %doc %{_defaultdocdir}/%{name}
 %dir %{_libexecdir}/mysql

++ README.SUSE ++
--- /var/tmp/diff_new_pack.sMWJfM/_old  2017-05-30 16:10:49.341421649 +0200
+++ /var/tmp/diff_new_pack.sMWJfM/_new  2017-05-30 16:10:49.345421085 +0200
@@ -35,7 +35,7 @@
 
 File locations changes:
  - MySQL socket file and pid file were moved from /var/lib/mysql to more
-   reasonable location ( /var/run/mysql ) by default.
+   reasonable location ( /run/mysql ) by default.
  - MySQL log files are in /var/log/mysql.
 
 3) BerkeleyDB:

++ configuration-tweaks.tar.xz ++

++ my.ini ++
--- /var/tmp/diff_new_pack.sMWJfM/_old  2017-05-30 16:10:49.485401344 +0200
+++ /var/tmp/diff_new_pack.sMWJfM/_new  2017-05-30 16:10:49.485401344 +0200
@@ -2,11 +2,14 @@
 # It is based on upstream defaults with some additional examples.
 
 
-# The following options will be passed to all MariaDB clients
+# The following options will be passed to all MySQL/MariaDB clients
 [client]
-# password  = your_password
+# Please note that storing the password in this file is not safe. For this
+# purpose you can, for example, list your password in the [client] section
+# of the '~/.my.cnf' configuration file with an access mode set to 400 or 600.
+# password   = your_password
 # port   = 3306
-# socket = /var/run/mysql/mysql.sock
+# socket = /run/mysql/mysql.sock
 
 [mysqld]
 
@@ -38,7 +41,7 @@
 
 # These are commonly set, remove the # and set as required.
 # port = 3306
-# socket = /var/run/mysql/mysql.sock
+# socket = /run/mysql/mysql.sock
 
 # Don't listen on a TCP/IP port at all. This can be a security enhancement,
 # if all processes that need to connect to mysqld run on the same host.

++ mysql-patches.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-10.1.22-xtradb_null_checks.patch 
new/mysql-patches/mysql-patches/mariadb-10.1.22-xtradb_null_checks.patch
--- old/mysql-patches/mysql-patches/mariadb-10.1.22-xtradb_null_checks.patch
1970-01-01 01:00:00.0 +0100
+++ new/mysql-patches/mysql-patches/mariadb-10.1.22-xtradb_null_checks.patch
2017-05-30 14:51:50.656604976 +0200
@@ -0,0 +1,21 @@
+PATCH-P1-FIX-HACK: Disable attributes globally to avoid GCC7 optimizing away 
null checks
+
+See boo#1041525.
+Source of this patch:

commit mariadb for openSUSE:Factory

2017-04-18 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-04-18 13:46:53

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Tue Apr 18 13:46:53 2017 rev:56 rq:487420 version:10.1.22

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-03-21 
22:44:07.752756779 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-04-18 
13:46:56.799782610 +0200
@@ -1,0 +2,7 @@
+Tue Apr 11 13:35:46 UTC 2017 - kstreit...@suse.com
+
+- 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
+
+---



Other differences:
--
++ _constraints ++
--- /var/tmp/diff_new_pack.MUKgJK/_old  2017-04-18 13:46:59.043465042 +0200
+++ /var/tmp/diff_new_pack.MUKgJK/_new  2017-04-18 13:46:59.043465042 +0200
@@ -7,7 +7,7 @@
 
 
   
-5000
+7000
   
 
   

++ configuration-tweaks.tar.xz ++

++ mysql-patches.tar.xz ++




commit mariadb for openSUSE:Factory

2017-03-21 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-03-21 22:44:05

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Tue Mar 21 22:44:05 2017 rev:55 rq:479950 version:10.1.22

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-02-20 
13:11:54.375371422 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-03-21 
22:44:07.752756779 +0100
@@ -1,0 +2,28 @@
+Wed Mar 15 18:42:17 UTC 2017 - kstreit...@suse.com
+
+- 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] 
+
+---

Old:

  mariadb-10.1.21.tar.gz

New:

  mariadb-10.1.22.tar.gz



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.dGZC3X/_old  2017-03-21 22:44:11.744192485 +0100
+++ /var/tmp/diff_new_pack.dGZC3X/_new  2017-03-21 22:44:11.748191920 +0100
@@ -43,7 +43,7 @@
 %define with_cassandra 0
 %endif
 Name:   mariadb
-Version:10.1.21
+Version:10.1.22
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception

++ configuration-tweaks.tar.xz ++

++ mariadb-10.1.21.tar.gz -> mariadb-10.1.22.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.1.21.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.1.22.tar.gz differ: char 5, 
line 1

++ mysql-patches.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-10.1.16-systemd-cmake.patch 
new/mysql-patches/mysql-patches/mariadb-10.1.16-systemd-cmake.patch
--- old/mysql-patches/mysql-patches/mariadb-10.1.16-systemd-cmake.patch 
2016-08-12 11:59:31.221436485 +0200
+++ new/mysql-patches/mysql-patches/mariadb-10.1.16-systemd-cmake.patch 
2017-03-15 18:14:43.247637250 +0100
@@ -6,14 +6,14 @@
 
 Maintainer: Kristyna Streitova 
 
-Index: mariadb-10.1.14/cmake/systemd.cmake
+Index: mariadb-10.1.22/cmake/systemd.cmake
 ===
 mariadb-10.1.14.orig/cmake/systemd.cmake
-+++ mariadb-10.1.14/cmake/systemd.cmake
+--- mariadb-10.1.22.orig/cmake/systemd.cmake
 mariadb-10.1.22/cmake/systemd.cmake
 @@ -19,9 +19,9 @@ INCLUDE(FindPkgConfig)
  MACRO(CHECK_SYSTEMD)
IF(UNIX)
- SET(WITH_SYSTEMD "auto" CACHE STRING "Compile with systemd socket 
activation and notification")
+ SET(WITH_SYSTEMD "auto" CACHE STRING "Enable systemd scripts and 
notification support")
 -IF(WITH_SYSTEMD STREQUAL "yes" OR WITH_SYSTEMD STREQUAL "auto")
 +IF(WITH_SYSTEMD OR WITH_SYSTEMD STREQUAL "auto")
IF(PKG_CONFIG_FOUND)
@@ -22,7 +22,7 @@
pkg_search_module(LIBSYSTEMD REQUIRED libsystemd libsystemd-daemon)
  ELSE()
pkg_search_module(LIBSYSTEMD libsystemd libsystemd-daemon)
-@@ -74,7 +74,7 @@ MACRO(CHECK_SYSTEMD)
+@@ -75,7 +75,7 @@ MACRO(CHECK_SYSTEMD)
  UNSET(HAVE_SYSTEMD_SD_NOTIFY)
  UNSET(HAVE_SYSTEMD_SD_NOTIFYF)
  MESSAGE(STATUS "Systemd features not enabled")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch 
new/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch
--- 
old/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch   
2017-01-31 11:05:33.433560970 +0100

commit mariadb for openSUSE:Factory

2017-02-20 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-02-20 13:11:48

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2017-02-03 
17:49:48.765933195 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-02-20 
13:11:54.375371422 +0100
@@ -1,0 +2,24 @@
+Fri Feb  3 18:02:42 UTC 2017 - kstreit...@suse.com
+
+- 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]
+
+---

Old:

  mariadb-10.1.20.tar.gz

New:

  mariadb-10.1.21.tar.gz



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.suxV9y/_old  2017-02-20 13:11:57.258965516 +0100
+++ /var/tmp/diff_new_pack.suxV9y/_new  2017-02-20 13:11:57.262964952 +0100
@@ -43,7 +43,7 @@
 %define with_cassandra 0
 %endif
 Name:   mariadb
-Version:10.1.20
+Version:10.1.21
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -486,7 +486,7 @@
 # Generate various filelists
 filelist innochecksum my_print_defaults myisam_ftdump myisamchk myisamlog 
myisampack mysql_fix_extensions mysql_fix_privilege_tables mysql_ssl_rsa_setup 
mysql_install_db mysql_secure_installation mysql_upgrade mysqlbug mysqld 
mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow mysqlmanager mroonga 
resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump 
{m,}aria_pack {m,}aria_read_log xtstat tokuft_logprint tokuftdump >mysql.files
 
-filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow 
mysql_config_editor >mysql-client.files
+filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow 
mysql_config_editor mysqld_safe_helper >mysql-client.files
 # The dialog stuff is mariadb only
 if [ "`ls '%{buildroot}'%{_libdir}/mysql/plugin/dialog*.so 2> /dev/null`" ]; 
then
 echo '%%dir %%_libdir/mysql'   >> mysql-client.files
@@ -782,6 +782,7 @@
 %dir %{_datadir}/mysql/policy/selinux
 %{_datadir}/mysql/policy/selinux/README
 %{_datadir}/mysql/policy/selinux/mariadb-server.*
+%{_datadir}/mysql/policy/selinux/mariadb.te
 %dir %{_datadir}/mysql/systemd
 %{_datadir}/mysql/systemd/mariadb.service
 %{_datadir}/mysql/systemd/mariadb@.service

++ configuration-tweaks.tar.xz ++

++ mariadb-10.1.20.tar.gz -> mariadb-10.1.21.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.1.20.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.1.21.tar.gz differ: char 5, 
line 1

++ mysql-patches.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch 
new/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch
--- 
old/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch   
1970-01-01 01:00:00.0 +0100
+++ 
new/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch   
2017-01-31 11:05:33.433560970 +0100
@@ -0,0 +1,77 @@
+PATCH-P1-FIX: Fix incorrect linked list handling
+
+More information can be found below.
+
+Maintainer: Kristyna Streitova 
+
+From 4797ea0b772d5f4c5889bc552424132806f46e93 Mon Sep 17 00:00:00 2001
+From: Nisha Gopalakrishnan 
+Date: Mon, 21 Jul 2014 21:21:15 +0530
+Subject: [PATCH] BUG#17512527: LIST HANDLING INCORRECT IN
+ MYSQL_PRUNE_STMT_LIST()
+
+Analysis:
+-
+Invalid memory access maybe observed when using prepared statements if:
+a) The mysql client connection is lost after statement preparation
+   is complete and
+b) 

commit mariadb for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2017-01-31 12:32:15

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2016-05-13 
09:22:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-02-03 
17:49:48.765933195 +0100
@@ -1,0 +2,127 @@
+Thu Jan 26 10:54:15 UTC 2017 - dims...@opensuse.org
+
+- Replace systemd and systemd-devel BuildRequires with
+  pkgconfig(libsystemd), which matches what the build system is
+  actually looking for.
+
+---
+Tue Dec 27 03:19:07 UTC 2016 - 13i...@gmail.com
+
+- update to MariaDB 10.1.20
+  * notable changes:
+* XtraDB updated to 5.6.34-79.1
+* TokuDB updated to 5.6.34-79.1
+* HeidiSQL updated to 9.4
+* The limit for the table_open_cache system variable has been increased to 
1024K
+* Galera wsrep library updated to 25.3.19
+  * release notes and changelog:
+* https://mariadb.com/kb/en/mariadb/mariadb-10120-release-notes/
+* https://mariadb.com/kb/en/mariadb/mariadb-10120-changelog/
+
+---
+Fri Dec  2 15:26:57 UTC 2016 - kstreit...@suse.com
+
+- update to MariaDB 10.1.19
+  * notable changes:
+* XtraDB updated to 5.6.33-79.0
+* TokuDB updated to 5.6.33-79.0
+  * release notes and changelog:
+ * https://mariadb.com/kb/en/mariadb/mariadb-10119-release-notes/
+ * https://mariadb.com/kb/en/mariadb/mariadb-10119-changelog/
+  * fixes for the following security vulnerabilities:
+CVE-2016-7440 [bsc#1005581]
+CVE-2016-5584 [bsc#1005558]
+- add mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to fix
+  mysql_install_db.sh script to find data files in mariadb
+  directories when a user uses "--basedir" option [bsc#1006539]
+-  switch to xz compression instead of bz2 for the following tarballs:
+ * mysql-patches.tar.bz2 renamed to mysql-patches.tar.xz
+ * configuration-tweaks.tar.bz2 renamed to configuration-tweaks.tar.xz
+   replace occurrences of "bzip2" with "xz" in README.debug 
+
+---
+Mon Oct 24 18:38:45 UTC 2016 - kstreit...@suse.com
+
+- update to 10.1.18
+  * Release notes:
+https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/
+https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/
+https://mariadb.com/kb/en/mariadb/mariadb-10116-release-notes/
+https://mariadb.com/kb/en/mariadb/mariadb-10115-release-notes/
+  * Changelog:
+https://mariadb.com/kb/en/mariadb/mariadb-10118-changelog/
+https://mariadb.com/kb/en/mariadb/mariadb-10117-changelog/
+https://mariadb.com/kb/en/mariadb/mariadb-10116-changelog/
+https://mariadb.com/kb/en/mariadb/mariadb-10115-changelog/
+  * fixed CVE's:
+CVE-2016-8283, CVE-2016-6663, CVE-2016-5629, CVE-2016-5626,
+CVE-2016-5624, CVE-2016-5616, CVE-2016-3492, CVE-2016-6662,
+CVE-2016-5440, CVE-2016-3615, CVE-2016-3521, CVE-2016-3477
+  * fix:
+[bsc#1005582], [bsc#1001367], [bsc#1005569], [bsc#1005566],
+[bsc#1005564], [bsc#1005562], [bsc#100], [bnc#998309],
+[bsc#989926],  [bsc#989922],  [bsc#989919],  [bsc#989913]
+  * refresh mariadb-10.1.4-group.patch
+  * refresh mariadb-10.1.12-fortify-and-O.patch
+- requires devel packages for aio and lzo2
+- remove mariadb-10.0.21-mysql-test_main_bootstrap.patch that is no
+  longer needed [bnc#984858]  
+- append "--ignore-db-dir=lost+found" to the mysqld options in
+  "mysql-systemd-helper" script if "lost+found" directory is found
+  in $datadir [bnc#986251]
+- remove syslog.target from *.service files [bsc#983938]
+- add BuildRequires: systemd-devel
+- make some dependecies switchable 
+- add systemd to deps to build on leap and friends  
+- add mariadb-10.1.16-systemd-cmake.patch to allow more
+  (case-insensitive) values for 'WITH_SYSTEMD' variable in systemd.cmake
+- replace '%{_libexecdir}/systemd/system' with %{_unitdir} macro
+- remove useless mysql@default.service [bsc#971456]  
+- replace all occurrences of the string "@sysconfdir@" with "/etc" in
+  mysql-community-server-5.1.46-logrotate.patch as it wasn't expanded
+  properly [bsc#990890] 
+
+---
+Sun Jun 12 11:25:08 UTC 2016 - kstreit...@suse.com
+
+- update to 10.1.14
+  * What is MariadDB 10.1:
+https://mariadb.com/kb/en/mariadb/what-is-mariadb-101/
+  * CVEs fixed in 10.1.x branch
+CVE-2016-2047, CVE-2016-0668, CVE-2016-0651, CVE-2016-0650, 
+CVE-2016-0649, CVE-2016-0646, CVE-2016-0644, CVE-2016-0642, 
+CVE-2016-0641, CVE-2016-0640, CVE-2016-0616, 

commit mariadb for openSUSE:Factory

2016-05-13 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2016-05-13 09:22:38

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2016-02-11 
12:32:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2016-05-13 
09:22:39.0 +0200
@@ -1,0 +2,5 @@
+Thu May  5 14:31:50 UTC 2016 - dmuel...@suse.com
+
+- fix constraints conditions for 32bit architectures
+
+---



Other differences:
--
++ _constraints ++
--- /var/tmp/diff_new_pack.p4Z3sx/_old  2016-05-13 09:22:41.0 +0200
+++ /var/tmp/diff_new_pack.p4Z3sx/_new  2016-05-13 09:22:41.0 +0200
@@ -1,11 +1,23 @@
 
-  
-
-  5000
-
-
-  13
-
-  
-
+  
+
+  i586
+  x86_64
+  ppc64le
+
+
+  
+5000
+  
+
+  
 
+  
+
+
+  
+13
+  
+
+  
+




commit mariadb for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2016-02-11 12:32:19

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2015-12-06 
07:28:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2016-02-11 
12:32:20.0 +0100
@@ -1,0 +2,6 @@
+Tue Feb  2 13:13:35 UTC 2016 - kstreit...@suse.com
+
+- fix information leak via mysql-systemd-helper script 
+  [CVE-2015-5969], [bnc#957174] 
+
+---



Other differences:
--
++ configuration-tweaks.tar.bz2 ++

++ mysql-patches.tar.bz2 ++

++ mysql-systemd-helper ++
--- /var/tmp/diff_new_pack.flCYBV/_old  2016-02-11 12:32:22.0 +0100
+++ /var/tmp/diff_new_pack.flCYBV/_new  2016-02-11 12:32:22.0 +0100
@@ -22,9 +22,11 @@
if [[ -n "$INSTANCE" && "x$INSTANCE" != "xdefault" ]]; then
opts="$(/usr/bin/my_print_defaults mysqld mysqld_multi 
"$INSTANCE")"
tmp_opts="$opts"
+   config="/etc/my${INSTANCE}.cnf"
else
opts="$(/usr/bin/my_print_defaults mysqld)"
tmp_opts="$opts"
+   config="/etc/my.cnf"
fi
 
# Update local variables according to the settings from config
@@ -87,8 +89,8 @@
# Run protected MySQL accessible only though socket in our 
directory
echo "Running protected MySQL... "
/usr/sbin/mysqld \
+   --defaults-file="$config" \
--user="$mysql_daemon_user" \
-   $opts \
--skip-networking \
--skip-grant-tables \
--log-error="$protected/log_upgrade_run" \
@@ -144,7 +146,9 @@
 }
 
 mysql_start() {
-   exec /usr/sbin/mysqld --user="$mysql_daemon_user" $opts 
+   exec /usr/sbin/mysqld \
+   --defaults-file="$config" \
+   --user="$mysql_daemon_user"
 }
 
 # We rely on output in english at some points




commit mariadb for openSUSE:Factory

2015-12-05 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2015-12-06 07:28:45

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2015-09-13 
09:42:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2015-12-06 
07:28:48.0 +0100
@@ -1,0 +2,21 @@
+Mon Nov 30 11:38:12 UTC 2015 - kstreit...@suse.com
+
+- update to 10.0.22
+  * Release notes:
+https://kb.askmonty.org/en/mariadb-10022-release-notes/
+  * Changelog:
+https://kb.askmonty.org/en/mariadb-10022-changelog/
+  * fixed CVEs:
+CVE-2015-4802, CVE-2015-4807, CVE-2015-4815, CVE-2015-4826
+CVE-2015-4830, CVE-2015-4836, CVE-2015-4858, CVE-2015-4861
+CVE-2015-4870, CVE-2015-4913, CVE-2015-4792
+  * remove the following patches (applied upstream)
+* mysql-community-server-5.6.12-srv_buf_size.patch
+* mariadb-10.0.16-header_files_const_warnings.patch
+- add mariadb-10.0.21-mysql-test_main_bootstrap.patch that fix
+  main.bootstrap test (change default charset to utf8 in test
+  result) [bnc#937787]
+- add mariadb-10.0.22-fix_build_denabled_profiling_off.patch to
+  fix compilation with '-DENABLED_PROFILING=OFF' 
+
+---

Old:

  mariadb-10.0.21.tar.gz

New:

  mariadb-10.0.22.tar.gz



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.Fp9v3R/_old  2015-12-06 07:28:52.0 +0100
+++ /var/tmp/diff_new_pack.Fp9v3R/_new  2015-12-06 07:28:52.0 +0100
@@ -44,7 +44,7 @@
 %define with_cassandra 0
 %endif
 Name:   mariadb
-Version:10.0.21
+Version:10.0.22
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -127,8 +127,8 @@
 Obsoletes:  %{extra_provides}-debug-version < %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
-# On mariadb we want readline5 and on mysql we use libedit from system
-%if "%{name}" == "mariadb"
+# On mariadb we want readline5 (except for SLE12) and on mysql we use libedit 
from system
+%if ("%{name}" == "mariadb" ) && ! (( 0%{?suse_version} == 1315 ) && ( ! 
0%{?is_opensuse} ))
 BuildRequires:  readline5-devel
 %else
 BuildRequires:  libedit-devel

++ configuration-tweaks.tar.bz2 ++

++ mariadb-10.0.21.tar.gz -> mariadb-10.0.22.tar.gz ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.0.21.tar.gz 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.0.22.tar.gz differ: char 5, 
line 1

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-10.0.16-header_files_const_warnings.patch
 
new/mysql-patches/mysql-patches/mariadb-10.0.16-header_files_const_warnings.patch
--- 
old/mysql-patches/mysql-patches/mariadb-10.0.16-header_files_const_warnings.patch
   2015-06-16 13:03:35.0 +0200
+++ 
new/mysql-patches/mysql-patches/mariadb-10.0.16-header_files_const_warnings.patch
   1970-01-01 01:00:00.0 +0100
@@ -1,114 +0,0 @@
-PATCH-P0-FIX-UPSTREAM: Fix unclean prototype declarations
-BUGS: bnc#860137
-
-Maintainer: Roman Drahtmueller 
-
-
-Index: include/my_dbug.h
-===
 include/my_dbug.h.orig
-+++ include/my_dbug.h
-@@ -58,7 +58,7 @@ extern  void _db_end_(void);
- extern  void _db_lock_file_(void);
- extern  void _db_unlock_file_(void);
- extern  FILE *_db_fp_(void);
--extern  void _db_flush_();
-+extern  void _db_flush_(void);
- extern void dbug_swap_code_state(void **code_state_store);
- extern void dbug_free_code_state(void **code_state_store);
- extern  const char* _db_get_func_(void);
-@@ -123,7 +123,7 @@ extern  const char* _db_get_func_(void);
- #ifdef __WIN__
- #define DBUG_SUICIDE() DBUG_ABORT()
- #else
--extern void _db_suicide_();
-+extern void _db_suicide_(void);
- #define DBUG_SUICIDE() (_db_flush_(), _db_suicide_())
- #endif
- 
-Index: include/my_global.h
-===
 include/my_global.h.orig
-+++ include/my_global.h
-@@ -555,7 +555,7 @@ typedef intmy_socket;  /* File descripto
- /* Type for fuctions that handles signals */
- #define sig_handler RETSIGTYPE
- C_MODE_START
--typedef void  (*sig_return)();/* Returns type from signal */
-+typedef void  (*sig_return)(void);/* Returns type from signal */
- C_MODE_END
- #if defined(__GNUC__) && !defined(_lint)
- typedef char  pchar;  /* Mixed prototypes can take char */
-Index: 

commit mariadb for openSUSE:Factory

2015-09-13 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2015-09-13 09:42:17

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is "mariadb"

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2015-07-19 
11:45:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2015-09-13 
09:42:19.0 +0200
@@ -1,0 +2,34 @@
+Fri Aug 28 14:38:45 UTC 2015 - kstreit...@suse.com
+
+- update to MariaDB 10.0.21
+  * changes:
+* https://mariadb.com/kb/en/mariadb/mariadb-10021-release-notes
+  * the following patches were processed upstream and are no longer needed:
+* mariadb-5.5.28-hotcopy.patch
+* mariadb-5.1.50-strncat-overflow.patch
+* mysql-community-server-5.1.51-mysql_config.patch
+* mariadb-5.5.32-upgrade-exit-status.patch
+* mariadb-5.5.41-mariadb-admincrash.patch
+- use syntax in mysql-systemd-helper that is accepted by both mariadb 
+  and mysql [bnc#937767]
+- fix spurious macro expansion in comment in specfile
+- install INFO_BIN and INFO_SRC, noticed in MDEV-6912
+- replace readline-devel for readline5-devel (MDEV-6912) [bnc#902396]
+- use spec-cleaner
+- Tweak some cmake switches to enable more things
+  * WITH_ASAN=OFF adress sanitization
+WITH_LIBWRAP=ON tcp wrappers
+ENABLED_PROFILING=OFF profiling disable (for mysql)
+ENABLE_DEBUG_SYNC=OFF debug testing sync disable (for mysql)
+WITH_PIC=ON by default we want pic generated binaries (for mysql)
+- set cmake options for MariaDB Galera Cluster
+- remove superfluous '--group' parameter from mysql-systemd-helper
+- make -devel package installable in the presence of LibreSSL
+- cleanup after the update-message if it was displayed
+- add 'exec' to mysql-systemd-helper to shutdown mysql/mariadb cleanly
+  [bnc#943096]
+- remove redundant entry from %{_tmpfilesdir}/mysql.conf. Using both
+  'x' and 'X' options is redundant and causes a warning message.
+  Leaving only the 'x' line fixes this problem. [bnc#942908]
+
+---

Old:

  mariadb-10.0.20.tar.gz

New:

  mariadb-10.0.21.tar.gz



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.WjFZ9A/_old  2015-09-13 09:42:21.0 +0200
+++ /var/tmp/diff_new_pack.WjFZ9A/_new  2015-09-13 09:42:21.0 +0200
@@ -27,13 +27,14 @@
 %define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
 %define extra_provides mariadb_100
 %define with_mandatory_boost 0
+%define build_extras 0
 # _tmpfilesdir is not defined in systemd macros up to openSUSE 13.2
 %{!?_tmpfilesdir: %global _tmpfilesdir %{_libexecdir}/tmpfiles.d }
 # Remove when 13.1 is out of support scope
 %if ! %{defined _rundir}
 %define _rundir %{_localstatedir}/run
 %endif
-%if 0 > 0
+%if 0%{build_extras} > 0
 %define with_jemalloc 1
 %define with_oqgraph 1
 %define with_cassandra 1
@@ -43,7 +44,7 @@
 %define with_cassandra 0
 %endif
 Name:   mariadb
-Version:10.0.20
+Version:10.0.21
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -71,7 +72,6 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libaio-devel
 BuildRequires:  libbz2-devel
-BuildRequires:  libedit-devel
 BuildRequires:  libevent-devel
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
@@ -80,29 +80,27 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
 BuildRequires:  pcre-devel
-BuildRequires:  pkgconfig
-BuildRequires:  procps
-BuildRequires:  pwdutils
-BuildRequires:  readline-devel
-BuildRequires:  sqlite
-BuildRequires:  tcpd-devel
-BuildRequires:  zlib-devel
-BuildRequires:  pkgconfig(systemd)
-# Tests requires time and ps and some perl modules
-# Keep in sync with Requires of mysql-testsuite
-BuildRequires:  procps
-BuildRequires:  time
+BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Env)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Fcntl)
 BuildRequires:  perl(File::Temp)
-BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(IPC::Open3)
 BuildRequires:  perl(Socket)
 BuildRequires:  perl(Sys::Hostname)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Time::HiRes)
+BuildRequires:  pkgconfig
+# Tests requires time and ps and some perl modules
+# Keep in sync with Requires of mysql-testsuite
+BuildRequires:  procps
+BuildRequires:  pwdutils
+BuildRequires:  sqlite
+BuildRequires:  tcpd-devel
+BuildRequires:  time
+BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(systemd)
 # required by rcmysql
 Requires:   %{name}-client
 Requires:   %{name}-errormessages = 

commit mariadb for openSUSE:Factory

2015-07-19 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2015-07-19 11:45:12

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2015-04-27 
22:07:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2015-07-19 
11:45:14.0 +0200
@@ -1,0 +2,30 @@
+Sat Jul 11 12:25:05 UTC 2015 - tchva...@suse.com
+
+- Sync to git state, fixes bnc#937754 too
+
+---
+Tue Jul  7 09:24:09 UTC 2015 - tchva...@suse.com
+
+- Sync to git state fixing few triv issues
+
+---
+Fri Jun 26 07:41:39 UTC 2015 - tchva...@suse.com
+
+- Enable testsuite
+
+---
+Thu Jun 25 13:50:12 UTC 2015 - tchva...@suse.com
+
+- Update to 10.0.20:
+  https://mariadb.com/kb/en/mariadb/mariadb-10020-release-notes/
+  * Fixes bnc#934789 Logjam Attack using 512bit dh groups in ssl
+- Sync the package to git state, redoing initscripts to be more
+  robust
+
+---
+Tue Jun 23 13:16:03 UTC 2015 - tchva...@suse.com
+
+- Update to 10.0.19, sync to git state of repository:
+  https://mariadb.com/kb/en/mariadb/mariadb-10019-release-notes/
+
+---
@@ -16,0 +47,5 @@
+
+---
+Wed Mar 11 15:02:44 UTC 2015 - sweet_...@gmx.de
+ 
+- fix build for openSUSE 13.2 ppc bnc#921955

Old:

  build.inc
  install.inc
  mariadb-10.0.17.tar.gz
  rc.mysql.systemd
  rc.mysql.sysvinit

New:

  mariadb-10.0.20.tar.gz
  mysql-systemd-helper
  mysql.target
  mysql@.service



Other differences:
--
++ mariadb.spec ++
 937 lines (skipped)
 between /work/SRC/openSUSE:Factory/mariadb/mariadb.spec
 and /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.spec

++ README.debug ++
--- /var/tmp/diff_new_pack.LXfE7V/_old  2015-07-19 11:45:17.0 +0200
+++ /var/tmp/diff_new_pack.LXfE7V/_new  2015-07-19 11:45:17.0 +0200
@@ -45,14 +45,6 @@
 
 core-file
 
-  Note: this unfortunatelly doesn't work in SUSE Linux 10.1 and older.
-  On these systems, you need to run safe_mysqld directly under user
-  mysql:
-
-su - mysql
-mysqld_safe --socket=/var/lib/mysql/mysql.sock \
---datadir=/var/lib/mysql --core-file 
-
 The core file will be written to the /var/lib/mysql/ directory. I
 suggest setting the kernel variable kernel.core_uses_pid to 1
 
@@ -64,31 +56,19 @@
 After you got the core file, install the gdb and mysql-debuginfo
 packages and run
 
-gdb /usr/sbin/mysqld /var/lib/mysql/core
+gdb /usr/sbin/mysqld /var/lib/mysql/core
 (gdb) bt
 
-Replace mysqld with the mysqld version you used (mysqld, mysqld-max)
-and core with the actual name of the coredump.
+Replace the core with the actual name of the coredump.
 
 3) Trace files
 --
-Start mysqld using following command:
-
-$ MYSQLD_DEBUG=yes rcmysql start
-
-The init script will then start mysqld and add the --core-file,
---log and --debug options for you. The query log will be stored in
-
-/var/lib/mysql/myqld-query.log
-
-and the trace file in
-
-/var/lib/mysql/mysqld.trace
-
-If you don't like the options set by the init script, just put your own
-into /etc/my.cnf and the init script will honor them.
-
 The trace file will contain various debug information and function
 calls/returns and will become _extremly_ huge after a while, so don't
 attach it to bugzilla unless requested.
 
+Add the following line to your /etc/my.cnf into section [mysqld]:
+
+stack-trace
+
+The trace file will be then written to /var/lib/mysql directory.
\ No newline at end of file

++ README.install ++
--- /var/tmp/diff_new_pack.LXfE7V/_old  2015-07-19 11:45:17.0 +0200
+++ /var/tmp/diff_new_pack.LXfE7V/_new  2015-07-19 11:45:17.0 +0200
@@ -9,7 +9,7 @@
 To do so, start the server, then issue the following commands:
 
 '/usr/bin/mysqladmin' -u root password 'new-password'
-'/usr/bin/mysqladmin' -u root -h misibook password 'new-password'
+'/usr/bin/mysqladmin' -u root -h hostname password 'new-password'
 
 Alternatively you can run:
 '/usr/bin/mysql_secure_installation'

++ _constraints ++
--- /var/tmp/diff_new_pack.LXfE7V/_old  2015-07-19 11:45:17.0 +0200
+++ /var/tmp/diff_new_pack.LXfE7V/_new  2015-07-19 11:45:17.0 +0200
@@ -1,5 +1,8 @@
 constraints
   hardware
+physicalmemory
+  size 

commit mariadb for openSUSE:Factory

2015-04-27 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2015-04-27 22:07:17

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-11-18 
22:55:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2015-04-27 
22:07:20.0 +0200
@@ -1,0 +2,55 @@
+Tue Apr 14 13:42:54 UTC 2015 - michal.hruse...@opensuse.org
+
+- fix parent directory has insecure permissions error
+
+---
+Tue Apr 14 08:20:47 UTC 2015 - michal.hruse...@opensuse.org
+
+- disable optional features for mariadb
+  * still possible to use them from mariadb_100 package
+
+---
+Mon Mar 23 23:24:11 UTC 2015 - dval...@suse.com
+
+- Adjust _constraints. 11GB is not enough for ppc64 builds, 
+  increase to 13GB
+
+---
+Tue Mar  3 05:48:08 UTC 2015 - michal.hruse...@opensuse.org
+
+- Updated to the version 10.0.17
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-10017-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-10017-changelog
+- merged patches to packaging git and regenerated
+  * few fixes mainly to upgrades
+
+---
+Mon Mar  2 17:25:47 UTC 2015 - mgo...@suse.com
+
+- README.SuSE is now README.SUSE; fix name in some places.
+
+---
+Fri Jan 23 19:17:09 UTC 2015 - xri...@otenet.gr
+
+- Fix undefined initial status in systemd script (boo #914370)
+
+---
+Mon Jan 12 20:29:24 UTC 2015 - xri...@otenet.gr
+
+- Fix include dir in alternative cnf files (bnc #859345) 
+
+---
+Sat Dec  6 11:44:25 UTC 2014 - michal.hruse...@opensuse.org
+
+- run spec cleaner on spec
+- update to 10.0.15
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-10015-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-10015-changelog
+- conditionally enable more storage engines
+- updated packaging to the latest templates
+
+---

Old:

  mariadb-10.0.14.tar.bz2

New:

  mariadb-10.0.17.tar.gz



Other differences:
--
++ mariadb.spec ++
 751 lines (skipped)
 between /work/SRC/openSUSE:Factory/mariadb/mariadb.spec
 and /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.spec

++ README.debug ++
--- /var/tmp/diff_new_pack.y5VfTY/_old  2015-04-27 22:07:23.0 +0200
+++ /var/tmp/diff_new_pack.y5VfTY/_new  2015-04-27 22:07:23.0 +0200
@@ -1,7 +1,7 @@
 Debugging mysqld crashes
 
 Author: Michal Marek mma...@suse.cz
-Last modified: 2006-07-31
+Last modified: 2014-11-21
 
 Contents
 
@@ -67,22 +67,16 @@
 gdb /usr/sbin/mysqld /var/lib/mysql/core
 (gdb) bt
 
-Replace mysqld with the mysqld version you used (mysqld, mysqld-max or
-mysqld-debug) and core with the actual name of the coredump.
+Replace mysqld with the mysqld version you used (mysqld, mysqld-max)
+and core with the actual name of the coredump.
 
 3) Trace files
 --
-You'll need the mysqld-debug binary from the mysql-debug package to get
-a trace file. Install the mysqld-debug package and the start mysqld
-using following command:
+Start mysqld using following command:
 
 $ MYSQLD_DEBUG=yes rcmysql start
 
-  Note: The init script doesn't automatically pick up the mysqld-debug
-  binary (as it does with mysqld-max), because it is expected to be used
-  just temporarily to help solving a particular problem.
-
-The init script will then start mysqld-debug and add the --core-file,
+The init script will then start mysqld and add the --core-file,
 --log and --debug options for you. The query log will be stored in
 
 /var/lib/mysql/myqld-query.log
@@ -92,9 +86,7 @@
 /var/lib/mysql/mysqld.trace
 
 If you don't like the options set by the init script, just put your own
-into /etc/my.cnf and the init script will honor it. For information
-about the --debug option, see The DBUG Package:
-http://dev.mysql.com/doc/refman/5.0/en/the-dbug-package.html .
+into /etc/my.cnf and the init script will honor them.
 
 The trace file will contain various debug information and function
 calls/returns and will become _extremly_ huge after a while, so don't

++ README.install ++
--- /var/tmp/diff_new_pack.y5VfTY/_old  2015-04-27 

commit mariadb for openSUSE:Factory

2014-11-18 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-11-18 22:55:46

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-10-15 
16:19:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-11-18 
22:55:59.0 +0100
@@ -1,0 +2,5 @@
+Sun Nov 09 18:53:00 UTC 2014 - Led led...@gmail.com
+
+- fix bashism in posttrans script
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.MUDOUR/_old  2014-11-18 22:56:01.0 +0100
+++ /var/tmp/diff_new_pack.MUDOUR/_new  2014-11-18 22:56:01.0 +0100
@@ -479,8 +479,8 @@
 if [ -d /var/lib/mysql ]; then
touch /var/lib/mysql/.run-mysql_upgrade
 fi
-for i in /var/lib/mysql/{.protected,.tmp}; do
-   ( [ -d $i ]  rmdir $i ) || :
+for in in protected tmp; do
+   rmdir /var/lib/mysql/.$i 2/dev/null || :
 done
 # start mysql again if it should run
 if [ `ls /etc/rc.d/rc*.d/S*mysql 2 /dev/null` ] || [ -d 
%{_rundir}/mysql/restart ]; then

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2014-10-15 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-10-15 16:19:39

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-10-05 
20:29:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-10-15 
16:19:52.0 +0200
@@ -1,0 +2,10 @@
+Thu Oct  9 16:58:53 UTC 2014 - michal.hruse...@opensuse.org
+
+- update to 10.0.14
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-10014-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-10014-changelog
+- fix build thanks to pull request from Andreas Schwab
+
+---

Old:

  mariadb-10.0.13.tar.bz2

New:

  mariadb-10.0.14.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.XT5PB6/_old  2014-10-15 16:19:54.0 +0200
+++ /var/tmp/diff_new_pack.XT5PB6/_new  2014-10-15 16:19:54.0 +0200
@@ -40,9 +40,9 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:10.0.13
+Version:10.0.14
 Release:0
-%define srv_vers 5.6.19
+%define srv_vers 5.6.20
 Url:https://www.mariadb.org
 Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf

++ configuration-tweaks.tar.bz2 ++

++ mariadb-10.0.13.tar.bz2 - mariadb-10.0.14.tar.bz2 ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.0.13.tar.bz2 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.0.14.tar.bz2 differ: char 
11, line 1

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-10.0.13-default-source.patch 
new/mysql-patches/mysql-patches/mariadb-10.0.13-default-source.patch
--- old/mysql-patches/mysql-patches/mariadb-10.0.13-default-source.patch
1970-01-01 01:00:00.0 +0100
+++ new/mysql-patches/mysql-patches/mariadb-10.0.13-default-source.patch
2014-10-08 14:47:51.0 +0200
@@ -0,0 +1,14 @@
+PATCH-P1-FIX-UPSTREAM: define _DEFAULT_SOURCE to avoid warning about 
_SVID_SOURCE
+
+Index: 
mariadb-10.0.13/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
+===
+--- 
mariadb-10.0.13.orig/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
 
mariadb-10.0.13/storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake
+@@ -17,6 +17,7 @@ add_c_defines(
+ if (NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
+   ## on FreeBSD these types of macros actually remove functionality
+   add_c_defines(
++_DEFAULT_SOURCE
+ _SVID_SOURCE
+ _XOPEN_SOURCE=600
+ )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-10.0.13-upgrade-datadir.patch 
new/mysql-patches/mysql-patches/mariadb-10.0.13-upgrade-datadir.patch
--- old/mysql-patches/mysql-patches/mariadb-10.0.13-upgrade-datadir.patch   
2014-08-19 08:08:50.0 +0200
+++ new/mysql-patches/mysql-patches/mariadb-10.0.13-upgrade-datadir.patch   
1970-01-01 01:00:00.0 +0100
@@ -1,100 +0,0 @@
-PATCH-P0-FEATURE-UPSTREAM: Keep datadir across multiple calls
-
-mysql_upgrade script asks for datadir multiple times during update but at some
-point privileges gets updated and if --skip-grant-tables was used (like in SUSE
-init scripts), datadir is no longer queryable. So we cache the value.
-
-Maintainer: Michal Hrusecky michal.hruse...@opensuse.org
-
-Index: client/mysql_upgrade.c
-===
 client/mysql_upgrade.c.orig
-+++ client/mysql_upgrade.c
-@@ -608,21 +608,37 @@ static int extract_variable_from_show(DY
- 
- static int get_upgrade_info_file_name(char* name)
- {
--  DYNAMIC_STRING ds_datadir;
--  DBUG_ENTER(get_upgrade_info_file_name);
-+  static char *data_dir = NULL;
-+  static size_t len;
- 
--  if (init_dynamic_string(ds_datadir, NULL, 32, 32))
--die(Out of memory);
-+  DBUG_ENTER(get_upgrade_info_file_name);
- 
--  if (run_query(show variables like 'datadir',
--ds_datadir, FALSE) ||
--  extract_variable_from_show(ds_datadir, name))
-+  if(data_dir==NULL)
-   {
-+DYNAMIC_STRING ds_datadir;
-+
-+if (init_dynamic_string(ds_datadir, NULL, 32, 32))
-+  die(Out of memory);
-+
-+if (run_query(show variables like 'datadir',
-+  ds_datadir, FALSE) ||
-+

commit mariadb for openSUSE:Factory

2014-10-05 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-10-05 20:29:12

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-09-28 
19:53:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-10-05 
20:29:14.0 +0200
@@ -1,0 +2,11 @@
+Wed Sep 24 12:54:56 UTC 2014 - michal.hruse...@opensuse.org
+
+- some CentOS/Fedora compatibility
+
+---
+Wed Sep 24 08:08:36 UTC 2014 - michal.hruse...@opensuse.org
+
+- systemd not depending on SUSE version anymore
+- fixing build on distributions with %docdir != %datadir/doc/%name
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.7kiCSE/_old  2014-10-05 20:29:16.0 +0200
+++ /var/tmp/diff_new_pack.7kiCSE/_new  2014-10-05 20:29:16.0 +0200
@@ -100,7 +100,11 @@
 # required by rcmysql
 Requires:   %{name}-client
 Requires:   %{name}-errormessages = %version
+%if 0%{?suse_version}
 Requires:   perl-base
+%else
+Requires:   perl
+%endif
 # systemd requirements for openSUSE = 12.1
 %if 0%{?suse_version} = 1210
 BuildRequires:  pkgconfig(systemd)
@@ -121,6 +125,11 @@
 Obsoletes:  mysql-Max  %{srv_vers}
 %endif
 Conflicts:  otherproviders(mysql)
+# Compatibility with Fedora/CentOS
+Provides:   mysql-server = %{srv_vers}
+Provides:   mariadb-server = %{srv_vers}
+Conflicts:  otherproviders(mysql-server)
+Conflicts:  otherproviders(mariadb-server)
 
 %description
 MariaDB is a backward compatible, drop-in replacement branch of the MySQL
@@ -541,7 +550,7 @@
 %if %have_info
 %doc %{_infodir}/mysql.info.*
 %endif
-%if 0%{?suse_version} = 1210  0%{?use_systemd}  0
+%if 0%{?use_systemd}  0
 %dir /usr/lib/mysql
 /usr/lib/mysql/rcmysql
 /usr/lib/systemd/system/mysql.service

++ configuration-tweaks.tar.bz2 ++

++ install.inc ++
--- /var/tmp/diff_new_pack.7kiCSE/_old  2014-10-05 20:29:16.0 +0200
+++ /var/tmp/diff_new_pack.7kiCSE/_new  2014-10-05 20:29:16.0 +0200
@@ -86,7 +86,7 @@
 for i in ${DOCS[@]}; do
install -m 644 ${i} ${DOCDIR} || true
 done
-%if 0%{?suse_version} = 1210  0%{?use_systemd}  0
+%if 0%{?use_systemd}  0
 install -D -m 755 %_sourcedir/rc.mysql.systemd 
'%buildroot'/usr/lib/mysql/rcmysql
 sed -i 's|@MYSQLVER@|%{version}|' '%buildroot'/usr/lib/mysql/rcmysql
 ln -sf service '%buildroot'/usr/sbin/rcmysql
@@ -163,6 +163,14 @@
echo '%%dir %%_libdir/mysql/plugin' mysql-client.files
echo '%%_libdir/mysql/plugin/dialog*.so'mysql-client.files
 fi
+if [ %{_defaultdocdir} \!= /usr/share/doc ]; then
 rm -rf '%buildroot'/usr/share/doc/{mysql,mariadb}*
+fi
+if [ %{name} \!= mysql ]; then
+rm -rf '%buildroot'/usr/share/doc/mysql
+fi
+if [ %{name} \!= mariadb ]; then
+rm -rf '%buildroot'/usr/share/doc/mariadb
+fi
 rm -f  '%buildroot'/usr/share/doc/* 2 /dev/null || true
 rm -rf '%buildroot'/usr/share/mysql/{solaris,SELinux}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2014-09-28 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-09-28 19:53:36

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-09-12 
15:25:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-09-28 
19:53:48.0 +0200
@@ -1,0 +2,10 @@
+Fri Sep 19 17:41:26 UTC 2014 - michal.hruse...@opensuse.org
+
+- Get rid of error during update
+
+---
+Tue Sep 16 06:37:15 UTC 2014 - michal.hruse...@opensuse.org
+
+- Little polishing of rc script
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.pzsjB3/_old  2014-09-28 19:53:50.0 +0200
+++ /var/tmp/diff_new_pack.pzsjB3/_new  2014-09-28 19:53:50.0 +0200
@@ -42,7 +42,7 @@
 Group:  Productivity/Databases/Servers
 Version:10.0.13
 Release:0
-%define srv_vers 5.6.17
+%define srv_vers 5.6.19
 Url:https://www.mariadb.org
 Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -476,8 +476,8 @@
 # start mysql again if it should run
 if [ `ls /etc/rc.d/rc*.d/S*mysql 2 /dev/null` ] || [ -d 
%{_rundir}/mysql/restart ]; then
[ -x /usr/sbin/rcmysql ]  /usr/sbin/rcmysql start
-   rmdir %{_rundir}/mysql/restart || :
-   rmdir %{_rundir}/mysql || :
+   # Might not be there, so ignoring errors
+   rmdir %{_rundir}/mysql/restart 2 /dev/null || :
 fi
 # warn on first run
 datadir=/var/lib/mysql

++ configuration-tweaks.tar.bz2 ++

++ rc.mysql.systemd ++
--- /var/tmp/diff_new_pack.pzsjB3/_old  2014-09-28 19:53:50.0 +0200
+++ /var/tmp/diff_new_pack.pzsjB3/_new  2014-09-28 19:53:50.0 +0200
@@ -35,9 +35,9 @@
 rc_check ()
 {
 _rc_status_ret=$?
-test $_rc_status_ret || _rc_status_ret=0
-test $_rc_status_ret -eq 0 || _rc_status=$_rc_status_ret
-test $_rc_status -eq 0 || _rc_status_all=$_rc_status
+test $_rc_status_ret   || _rc_status_ret=0
+test 0$_rc_status_ret  -eq 0 || _rc_status=$_rc_status_ret
+test 0$_rc_status  -eq 0 || _rc_status_all=$_rc_status
 return 0$_rc_status_ret
 }
 
@@ -45,21 +45,20 @@
 {
 rc_check
 _rc_status_ret=$_rc_status
-local i
-for i ; do
-   case $i in
-   -v|-v[1-9]|-v[1-9][0-9])
-   case $_rc_status in
-   0)  echo Everything is Ok ;; # success
-   *)  echo Something went wrong ;; # failed
-   esac
+if [ $1 ]; then
+case $1 in
+-v|-v[1-9]|-v[1-9][0-9])
+case $_rc_status in
+0) echo Everything is Ok;; # success
+*) echo Something went wrong;; # failed
+esac
 
-   # reset _rc_status to 0 after verbose case
-   _rc_status=0 ;;
-   -r) rc_reset ;;
-   *)  echo rc_status: Usage: [-v[num] [-r]] 12 ; return 0 ;;
-   esac
-done
+# reset _rc_status to 0 after verbose case
+_rc_status=0 ;;
+-r) rc_reset ;;
+*)  echo rc_status: Usage: [-v[num] [-r]] 12 ; return 0 ;;
+esac
+fi
 return $_rc_status_ret
 }
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2014-09-12 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-09-12 15:25:06

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-08-28 
21:05:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-09-12 
15:25:22.0 +0200
@@ -1,0 +2,7 @@
+Wed Sep  3 12:26:08 UTC 2014 - kstreit...@novell.com
+
+- bnc#894479: fix URL (changed from http://www.mariab.org; to 
+ https://www.mariadb.org;) 
+- README.SuSE renamed to README.SUSE
+
+---

Old:

  README.SuSE

New:

  README.SUSE



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.7XWx4c/_old  2014-09-12 15:25:23.0 +0200
+++ /var/tmp/diff_new_pack.7XWx4c/_new  2014-09-12 15:25:23.0 +0200
@@ -43,14 +43,14 @@
 Version:10.0.13
 Release:0
 %define srv_vers 5.6.17
-Url:http://www.mariab.org
+Url:https://www.mariadb.org
 Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf
 Source3:README.debug
 Source4:suse-test-run
 Source5:mysql.SuSEfirewall2
 Source7:README.install
-Source8:README.SuSE
+Source8:README.SUSE
 Source9:mysql-patches.tar.bz2
 Source10:   build.inc
 Source11:   install.inc
@@ -388,7 +388,7 @@
 
 %prep
 %setup -q -n mariadb-%{version} -D -a 9
-cp %_sourcedir/README.SuSE .
+cp %_sourcedir/README.SUSE .
 cp %_sourcedir/suse-test-run .
 # apply patches from series
 mysql-patches/tools/quilt-setup.sh  %{S:12}

++ README.SUSE ++
Notes about MySQL 5.1 package:
==

With MySQL 5.1 package we introduced some changes you may like to know. Most of
them will affect you only if you are upgrading from previous version and you
did some changes to your configuration.

1) Plugins:
===

One of the new features in MySQL 5.1 is support for plugins. So some of the
storage engines are now shipped like that. You can use following plugins:

 - archive
 - blackhole
 - federated
 - example

InnoDB is still compiled as internal part of MySQL. If you are upgrading from
version 5.0 or if this is your first installation of MySQL 5.1, all plugins
will be enabled by default and you can disable them manually later (see
http://dev.mysql.com/doc/refman/5.1/en/uninstall-plugin.html).

With this change you need to remove skip-federated option from your my.cnf file
if you have changed it manually. This option was there by default in previous
versions of MySQL.

2) File locations:
==

There were some changes in files locations. Most of them were made in the
default configuration file so if you are experiencing problems and you have
made some manual adjustments to your /etc/my.cnf, try to merge this file with
/etc/my.cnf.rpmnew.

File locations changes:
 - MySQL socket file and pid file were moved from /var/lib/mysql to more
   reasonable location ( /var/run/mysql ) by default.
 - MySQL log files are in /var/log/mysql.

3) BerkeleyDB:
==

MySQL no longer contains BerkeleyDB as storage engine. There is no fix for that
and if you used it before, you have to migrate your data to different storage
engine BEFORE updating. This can be done for example using following command:

ALTER TABLE foo ENGINE = INNODB;

4) MySQL Upgrade Log


If you missed messages displayed during automatic MySQL database upgrade, you
can find them from now on in

/var/log/mysql/mysqld-upgrade.log

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2014-08-28 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-08-28 21:05:23

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-07-13 
14:06:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-08-28 
21:05:43.0 +0200
@@ -1,0 +2,14 @@
+Tue Aug 19 06:42:53 UTC 2014 - michal.hruse...@opensuse.org
+
+- fix privileges as a last step of upgrade
+
+---
+Mon Aug 18 17:39:33 UTC 2014 - michal.hruse...@opensuse.org
+
+- Update to 10.0.13
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-10013-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-10013-changelog
+
+---

Old:

  mariadb-10.0.12.tar.bz2

New:

  _constraints
  mariadb-10.0.13.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.Viq49H/_old  2014-08-28 21:05:46.0 +0200
+++ /var/tmp/diff_new_pack.Viq49H/_new  2014-08-28 21:05:46.0 +0200
@@ -40,7 +40,7 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:10.0.12
+Version:10.0.13
 Release:0
 %define srv_vers 5.6.17
 Url:http://www.mariab.org

++ _constraints ++
constraints
  hardware
disk
  size unit=G9/size
/disk
  /hardware
/constraints

++ configuration-tweaks.tar.bz2 ++

++ mariadb-10.0.12.tar.bz2 - mariadb-10.0.13.tar.bz2 ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.0.12.tar.bz2 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.0.13.tar.bz2 differ: char 
11, line 1

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-10.0.13-upgrade-datadir.patch 
new/mysql-patches/mysql-patches/mariadb-10.0.13-upgrade-datadir.patch
--- old/mysql-patches/mysql-patches/mariadb-10.0.13-upgrade-datadir.patch   
1970-01-01 01:00:00.0 +0100
+++ new/mysql-patches/mysql-patches/mariadb-10.0.13-upgrade-datadir.patch   
2014-08-19 08:08:50.0 +0200
@@ -0,0 +1,100 @@
+PATCH-P0-FEATURE-UPSTREAM: Keep datadir across multiple calls
+
+mysql_upgrade script asks for datadir multiple times during update but at some
+point privileges gets updated and if --skip-grant-tables was used (like in SUSE
+init scripts), datadir is no longer queryable. So we cache the value.
+
+Maintainer: Michal Hrusecky michal.hruse...@opensuse.org
+
+Index: client/mysql_upgrade.c
+===
+--- client/mysql_upgrade.c.orig
 client/mysql_upgrade.c
+@@ -608,21 +608,37 @@ static int extract_variable_from_show(DY
+ 
+ static int get_upgrade_info_file_name(char* name)
+ {
+-  DYNAMIC_STRING ds_datadir;
+-  DBUG_ENTER(get_upgrade_info_file_name);
++  static char *data_dir = NULL;
++  static size_t len;
+ 
+-  if (init_dynamic_string(ds_datadir, NULL, 32, 32))
+-die(Out of memory);
++  DBUG_ENTER(get_upgrade_info_file_name);
+ 
+-  if (run_query(show variables like 'datadir',
+-ds_datadir, FALSE) ||
+-  extract_variable_from_show(ds_datadir, name))
++  if(data_dir==NULL)
+   {
++DYNAMIC_STRING ds_datadir;
++
++if (init_dynamic_string(ds_datadir, NULL, 32, 32))
++  die(Out of memory);
++
++if (run_query(show variables like 'datadir',
++  ds_datadir, FALSE) ||
++extract_variable_from_show(ds_datadir, name)
++)
++{
++  dynstr_free(ds_datadir);
++  DBUG_RETURN(1); /* Query failed */
++}
+ dynstr_free(ds_datadir);
+-DBUG_RETURN(1); /* Query failed */
+-  }
++len = strlen(name)+1;
++if ((data_dir=(char*)malloc(sizeof(char)*len))==NULL)
++{
++  die(Out of memory);
++}
++strncpy(data_dir,name,len);
+ 
+-  dynstr_free(ds_datadir);
++  } else {
++strncpy(name, data_dir, len);
++  }
+ 
+   fn_format(name, mysql_upgrade_info, name, , MYF(0));
+   DBUG_PRINT(exit, (name: %s, name));
+@@ -757,7 +773,7 @@ static int run_mysqlcheck_upgrade(const
+ 
+ static int run_mysqlcheck_fixnames(void)
+ {
+-  verbose(Phase 2/3: Fixing table and database names);
++  verbose(Phase 2/4: Fixing table and database names);
+   print_conn_args(mysqlcheck);
+   return run_tool(mysqlcheck_path,
+   NULL, /* Send output from mysqlcheck directly to screen */
+@@ -1000,7 +1016,7 @@ int main(int argc, char **argv)
+ 

commit mariadb for openSUSE:Factory

2014-07-13 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-07-13 14:05:59

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-06-19 
13:07:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-07-13 
14:06:37.0 +0200
@@ -1,0 +2,10 @@
+Wed Jul  2 21:43:19 UTC 2014 - michal.hruse...@opensuse.org
+
+- Update to 10.0.12
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-10012-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-10012-changelog
+- Not chowning datadir
+
+---

Old:

  mariadb-10.0.11.tar.bz2

New:

  mariadb-10.0.12.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.46e7Qh/_old  2014-07-13 14:06:38.0 +0200
+++ /var/tmp/diff_new_pack.46e7Qh/_new  2014-07-13 14:06:38.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 # Few definitions which will alter build
 %define preferred01
 %define use_systemd  01
@@ -41,7 +40,7 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:10.0.11
+Version:10.0.12
 Release:0
 %define srv_vers 5.6.17
 Url:http://www.mariab.org
@@ -470,7 +469,6 @@
 %endif
 if [ -d /var/lib/mysql ]; then
touch /var/lib/mysql/.run-mysql_upgrade
-   chown -R --no-dereference mysql:mysql /var/lib/mysql
 fi
 for i in /var/lib/mysql/{.protected,.tmp}; do
( [ -d $i ]  rmdir $i ) || :

++ configuration-tweaks.tar.bz2 ++

++ mariadb-10.0.11.tar.bz2 - mariadb-10.0.12.tar.bz2 ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-10.0.11.tar.bz2 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.0.12.tar.bz2 differ: char 
11, line 1

++ mysql-patches.tar.bz2 ++

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2014-06-19 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-06-19 13:07:45

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2014-06-02 
07:00:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-06-19 
13:07:46.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 16 09:55:54 UTC 2014 - co...@suse.com
+
+- switch from buildrequire systemd to pkgconfig(systemd) to avoid cycles
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.7hTsN7/_old  2014-06-19 13:07:48.0 +0200
+++ /var/tmp/diff_new_pack.7hTsN7/_new  2014-06-19 13:07:48.0 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 # Few definitions which will alter build
 %define preferred01
 %define use_systemd  01
@@ -103,7 +104,7 @@
 Requires:   perl-base
 # systemd requirements for openSUSE = 12.1
 %if 0%{?suse_version} = 1210
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
 %endif
 %if %{name} != mysql

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2014-05-22 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2014-05-22 20:38:08

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-12-16 
07:08:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2014-05-22 
20:38:30.0 +0200
@@ -1,0 +2,5 @@
+Wed May 14 05:45:51 UTC 2014 - co...@suse.com
+
+- use %_rundir if available
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.TEBwrx/_old  2014-05-22 20:38:32.0 +0200
+++ /var/tmp/diff_new_pack.TEBwrx/_new  2014-05-22 20:38:32.0 +0200
@@ -24,6 +24,10 @@
 %define use_extra_provides 1
 %define extra_provides mariadb_55
 
+%if ! %{defined _rundir}
+%define _rundir %{_localstatedir}/run
+%endif
+
 %if %{?rel:0}%{!?rel:1}
 %define rel 1
 %endif
@@ -451,7 +455,7 @@
   os.execute(/usr/sbin/rcmysql stop)
 
   if restart == 0 then
-os.execute(/bin/mkdir -p /var/run/mysql/restart)
+os.execute(/bin/mkdir -p %{_rundir}/mysql/restart)
   end
 end
 
@@ -468,9 +472,9 @@
( [ -d $i ]  rmdir $i ) || :
 done
 # start mysql again if it should run
-if [ `ls /etc/rc.d/rc*.d/S*mysql 2 /dev/null` ] || [ -d 
/var/run/mysql/restart ]; then
+if [ `ls /etc/rc.d/rc*.d/S*mysql 2 /dev/null` ] || [ -d 
%{_rundir}/mysql/restart ]; then
[ -x /usr/sbin/rcmysql ]  /usr/sbin/rcmysql start
-   rmdir /var/run/mysql/restart || :
+   rmdir %{_rundir}/mysql/restart || :
 fi
 
 ###
@@ -529,7 +533,7 @@
 %dir /usr/share/mysql
 /usr/share/%{name}/charsets/
 /usr/share/%{name}/*.sql
-%ghost %dir %attr(755,mysql,mysql)/var/run/mysql
+%ghost %dir %attr(755,mysql,mysql)%{_rundir}/mysql
 %dir %{_libdir}/mysql
 %{_libdir}/mysql/mysqld.sym
 %config /etc/sysconfig/SuSEfirewall2.d/services/mysql

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2013-09-26 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-09-26 19:36:23

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-09-23 
10:02:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-09-26 
19:36:24.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 23 10:46:28 UTC 2013 - bbrun...@suse.com
+
+- bnc#841709: Added libmysqlclient18 as requirement for libmysqlclient_r18
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.U6ZsZm/_old  2013-09-26 19:36:25.0 +0200
+++ /var/tmp/diff_new_pack.U6ZsZm/_new  2013-09-26 19:36:25.0 +0200
@@ -170,6 +170,7 @@
 %package -n libmysqlclient_r18
 Summary:Shared Libraries for MariaDB
 Group:  Development/Libraries/Other
+Requires:   libmysqlclient18
 
 %description -n libmysqlclient_r18
 This package contains the shared libraries (.so) which certain

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2013-09-23 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-09-23 10:02:33

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-08-21 
15:08:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-09-23 
10:02:36.0 +0200
@@ -1,0 +2,28 @@
+Thu Sep 19 08:03:20 UTC 2013 - mhruse...@suse.com
+
+- comment out old settings dir if it doesn't exist
+
+---
+Wed Sep 18 23:33:33 CEST 2013 - mhruse...@suse.cz
+
+- fixed commenting out of incompatible options
+- updated to MariaDB 5.5.33
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5533-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5533-changelog
+  * not using TokuDB and jmalloc
+
+---
+Mon Sep  9 10:37:12 CEST 2013 - mhruse...@suse.cz
+
+- better version detection
+- drop /etc/mysql dir, use upstream /etc/my.cfn.d only
+
+---
+Thu Aug 22 03:04:45 UTC 2013 - crrodrig...@opensuse.org
+
+- Build with -DOPENSSL_LOAD_CONF so mariadb respects 
+  and load the system's openSSL configuration.
+
+---

Old:

  mariadb-5.5.32.tar.bz2

New:

  mariadb-5.5.33.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.9fLBJ9/_old  2013-09-23 10:02:38.0 +0200
+++ /var/tmp/diff_new_pack.9fLBJ9/_new  2013-09-23 10:02:38.0 +0200
@@ -16,9 +16,10 @@
 #
 
 # Few definitions which will alter build
-%define prefered   1
-%define use_cmake  1
-%define cluster0
+%define prefered   01
+%define use_cmake  01
+%define cluster00
+%define have_info  0
 %define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
 %define use_extra_provides 1
 %define extra_provides mariadb_55
@@ -34,9 +35,9 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.32
+Version:5.5.33
 Release:0
-%define srv_vers 5.5.32
+%define srv_vers 5.5.33
 Url:http://www.mariab.org
 Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -54,6 +55,9 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
+%if %have_info
+PreReq: %install_info_prereq %insserv_prereq
+%endif
 %endif
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -399,6 +403,8 @@
 %endif
 # Broken test that needs sources
 rm -f mysql-test/t/file_contents.test mysql-test/r/file_contents.result
+# Present only in newer MariaDB, big change, needs fixing  testing
+rm -rf storage/tokudb
 
 %build
 %{expand:%(cat %_sourcedir/build.inc)}
@@ -445,6 +451,10 @@
 end
 
 %posttrans
+%if %have_info
+[ -z `ls %{_infodir}/mysql.info.* 2 /dev/null` ] || \
+%install_info --info-dir=%{_infodir} %{_infodir}/mysql.info.*
+%endif
 if [ -d /var/lib/mysql ]; then
touch /var/lib/mysql/.run-mysql_upgrade
chown -R --no-dereference mysql:mysql /var/lib/mysql
@@ -484,6 +494,9 @@
 
 %postun
 if [ $1 = 0 ]; then
+   %if %have_info
+   %install_info_delete --info-dir=%{_infodir} %{_infodir}/mysql.info.*
+   %endif
%{insserv_cleanup}
rm -f /var/lib/systemd/migrated/mysql.service
if [ -x /usr/bin/systemctl ]; then
@@ -502,6 +515,9 @@
 %config(noreplace) %attr(0640, root, mysql) /etc/my.cnf.d/*
 %config /etc/logrotate.d/mysql
 %doc %{_defaultdocdir}/%{name}
+%if %have_info
+%doc %{_infodir}/mysql.info.*
+%endif
 /etc/init.d/mysql
 /usr/sbin/rcmysql
 %dir /usr/share/%{name}

++ build.inc ++
--- /var/tmp/diff_new_pack.9fLBJ9/_old  2013-09-23 10:02:38.0 +0200
+++ /var/tmp/diff_new_pack.9fLBJ9/_new  2013-09-23 10:02:38.0 +0200
@@ -9,7 +9,7 @@
 %ifarch ppc64
 export EXTRA_FLAGS= -mminimal-toc 
 %endif
-export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DFORCE_INIT_OF_VARS $EXTRA_FLAGS 
+export CFLAGS=$RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF -DPIC -fPIC 
-DFORCE_INIT_OF_VARS $EXTRA_FLAGS 
 export CXXFLAGS=$CFLAGS -fno-exceptions -fno-rtti
 
 %if 0%{use_cmake}  1
@@ -101,6 +101,7 @@
shift
cmake -DWITH_SSL=system\
-DWITH_ZLIB=system  
 \
+   -DWITH_JEMALLOC=no  
 \
-DWITH_READLINE=0 

commit mariadb for openSUSE:Factory

2013-08-21 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-08-21 15:08:30

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-08-13 
10:15:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-08-21 
15:08:32.0 +0200
@@ -1,0 +2,13 @@
+Wed Aug 21 14:52:43 CEST 2013 - mhruse...@suse.cz
+
+- fix includedir in configuration file
+
+---
+Sat Aug 17 13:46:26 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Fix INSTALL_LIBDIR_RPM and INSTALL_PLUGINDIR_RPM, they need to
+  point to %_lib, not %_libdir
+- Drop so symlink generation and removal, that is not necessary and
+  breaks non x86_64 builds of dependent packages
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.KUNDQN/_old  2013-08-21 15:08:33.0 +0200
+++ /var/tmp/diff_new_pack.KUNDQN/_new  2013-08-21 15:08:33.0 +0200
@@ -447,7 +447,7 @@
 %posttrans
 if [ -d /var/lib/mysql ]; then
touch /var/lib/mysql/.run-mysql_upgrade
-   chown -R mysql:mysql /var/lib/mysql
+   chown -R --no-dereference mysql:mysql /var/lib/mysql
 fi
 for i in /var/lib/mysql/{.protected,.tmp}; do
( [ -d $i ]  rmdir $i ) || :

++ build.inc ++
--- /var/tmp/diff_new_pack.KUNDQN/_old  2013-08-21 15:08:33.0 +0200
+++ /var/tmp/diff_new_pack.KUNDQN/_new  2013-08-21 15:08:33.0 +0200
@@ -114,8 +114,8 @@
-DWITH_EMBEDDED_SERVER=true 
 \
-DCOMPILATION_COMMENT=openSUSE package
 \
-DDENABLE_DOWNLOADS=false   
 \
-   -DINSTALL_PLUGINDIR_RPM=%{_libdir}/mysql/plugin   
 \
-   -DINSTALL_LIBDIR_RPM=%{_libdir}   
 \
+   -DINSTALL_PLUGINDIR_RPM=%{_lib}/mysql/plugin  
 \
+   -DINSTALL_LIBDIR_RPM=%{_lib}  
 \
$@ ..
make %{?jobs:-j%jobs}
nm --numeric-sort sql/mysqld  sql/mysqld.sym

++ configuration-tweaks.tar.bz2 ++

++ install.inc ++
--- /var/tmp/diff_new_pack.KUNDQN/_old  2013-08-21 15:08:33.0 +0200
+++ /var/tmp/diff_new_pack.KUNDQN/_new  2013-08-21 15:08:33.0 +0200
@@ -1,5 +1,4 @@
 # install the debug server first, so that we don't overwrite the standard
-# /usr/sbin/mysqld
 mkdir -p %buildroot%_libdir/mysql
 make -C _build-debug/sql install DESTDIR=%buildroot
 mv %buildroot/usr/sbin/mysqld %buildroot/usr/sbin/mysqld-debug
@@ -10,16 +9,13 @@
 # remove handler socket client
 rm -f %buildroot%_libdir/libhsclient*
 rm -f %buildroot%_bindir/hsclient*
-if [ -f %{buildroot}%{_bindir}/mytop ]; then
-   mv %{buildroot}%{_bindir}/mytop %{buildroot}%{_bindir}/%{name}_mytop
-fi
+[ \! -f %{buildroot}%{_bindir}/mytop ] || mv %{buildroot}%{_bindir}/mytop 
%{buildroot}%{_bindir}/%{name}_mytop
 rm -f %buildroot%_libdir/mysql/plugin/handlersocket.so
 # remove most static libs (FIXME: don't build them at all...)
 [ \! -f %buildroot%_libdir/libmysqld.a ] || mv 
%buildroot%_libdir/libmysqld.a %buildroot%_libdir/libmysqld.static
 rm -f %buildroot%_libdir/*.a
 [ \! -f %buildroot%_libdir/libmysqld.static ] || mv 
%buildroot%_libdir/libmysqld.static %buildroot%_libdir/libmysqld.a
 rm -f %buildroot%_libdir/mysql/{,plugin}/*.{a,la}
-# XXX: package these? The ndb tools are linked statically atm
 rm -f %buildroot%_libdir/mysql/libndbclient.*
 rm -f %{buildroot}/usr/share/mysql-test/{mysql-test-run,mtr}
 rm -f 
%{buildroot}/usr/share/mysql/{binary-configure,errmsg-utf8.txt,magic,mysql-log-rotate,mysql*.server}
@@ -27,8 +23,7 @@
 ln -sf mysql-test-run.pl %{buildroot}/usr/share/mysql-test/mtr  
 ln -sf mysql-test-run.pl %{buildroot}/usr/share/mysql-test/mysql-test-run 
 mv %{buildroot}/usr/share/mysql-test/lib/My/SafeProcess/my_safe_process 
%{buildroot}%{_bindir}
-# generate filelist for binaries and their manpages (easier than enumerating
-# all the binaries and manapages manually
+# generate filelist for binaries and their manpages
 filelist()
 {
echo '%%defattr(-, root, root)'
@@ -125,23 +120,6 @@
rm -f .$tmp
 done
 %endif
-pushd '%buildroot'/%_libdir
-for i in *.so.*.*.*; do
-   if [ -L $i ]; then
-   trg=`readlink $i`
-   rm $i
-   mv $trg $i
-   ln -s $i $trg
-   fi
-done
-for i in *.so.*; do
-

commit mariadb for openSUSE:Factory

2013-08-13 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-08-13 10:15:22

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-07-27 
15:48:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-08-13 
10:15:56.0 +0200
@@ -1,0 +2,31 @@
+Mon Aug 12 14:32:51 CEST 2013 - mhruse...@suse.cz
+
+- chown --no-dereference instead of chown to improve security
+  * similar issue as CVE-2013-1976
+- fix build for ppc64 using -mminimal-toc
+
+---
+Mon Aug 12 12:25:16 CEST 2013 - mhruse...@suse.cz
+
+- merge latest packaging fixes
+  * better handling of libdir
+  * more cautious upgrades
+
+---
+Wed Aug  7 15:12:13 CEST 2013 - r...@suse.de
+
+- add patch for lib64 on s390x
+  mysql-patches/mariadb-5.5.24-s390x-libdir.patch 
+
+---
+Tue Jul 30 21:51:25 CEST 2013 - mhruse...@suse.cz
+
+- get rid of info which is not info (bnc#747811)
+- minor polishing of spec/installation
+
+---
+Fri Jul 26 10:07:33 CEST 2013 - mhruse...@suse.cz
+
+- fix ownership of logdir (bnc#763150)
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.DrnnOb/_old  2013-08-13 10:15:58.0 +0200
+++ /var/tmp/diff_new_pack.DrnnOb/_new  2013-08-13 10:15:58.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 # Few definitions which will alter build
 %define prefered   1
 %define use_cmake  1
@@ -55,10 +54,10 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
-PreReq: %install_info_prereq %insserv_prereq
 %endif
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  bison
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libaio-devel
@@ -94,14 +93,18 @@
 BuildRequires:  systemd
 %{?systemd_requires}
 %endif
+%if %{name} != mysql
 Provides:   mysql = %{srv_vers}
+%endif
 Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
 %endif
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql  %{srv_vers}
+%endif
 Obsoletes:  mysql-Max  %{srv_vers}
 %endif
 Conflicts:  otherproviders(mysql)
@@ -171,18 +174,22 @@
 %package client
 Summary:Client for MariaDB
 Group:  Productivity/Databases/Clients
+%if %{name} != mysql
 Provides:   mysql-client = %{srv_vers}
+%endif
 %if 0%{?suse_version}
 PreReq: pwdutils
 %endif
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-client = %{version}
 Obsoletes:  %{extra_provides}-client  %{version}
-Requires:   %{name}-errormessages = %version
 %endif
+Requires:   %{name}-errormessages = %version
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql-client  %{srv_vers}
 %endif
+%endif
 Conflicts:  otherproviders(mysql-client)
 
 %description client
@@ -201,14 +208,18 @@
 Requires:   perl-DBD-mysql
 Summary:Benchmarks for MariaDB
 Group:  Productivity/Databases/Tools
+%if %{name} != mysql
 Provides:   mysql-bench = %{srv_vers}
+%endif
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-bench = %{version}
 Obsoletes:  %{extra_provides}-bench  %{version}
 %endif
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql-bench  %{srv_vers}
 %endif
+%endif
 Conflicts:  otherproviders(mysql-bench)
 
 %description bench
@@ -248,14 +259,18 @@
 Requires:   %{name}-client = %{version}
 Requires:   %{name}-tools = %{version}
 Requires:   perl-DBD-mysql
+%if %{name} != mysql
 Provides:   mysql-test = %{srv_vers}
+%endif
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-test = %{version}
 Obsoletes:  %{extra_provides}-test  %{version}
 %endif
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql-test  %{srv_vers}
 %endif
+%endif
 Conflicts:  otherproviders(mysql-test)
 
 %description test
@@ -269,15 +284,19 @@
 Requires:   perl-DBD-mysql
 # make sure this package is installed when updating from 10.2 and older
 Provides:   mysql-client:/usr/bin/perror
+%if %{name} != mysql
 Provides:   mysql-tools = %{srv_vers}
+%endif
 Provides:   

commit mariadb for openSUSE:Factory

2013-07-27 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-07-27 15:48:10

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-03-22 
12:01:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-07-27 
15:48:15.0 +0200
@@ -1,0 +2,55 @@
+Thu Jul 25 13:08:06 CEST 2013 - mhruse...@suse.cz
+
+- avoiding file conflicts with mytop
+
+---
+Tue Jul 23 10:28:10 CEST 2013 - mhruse...@suse.cz
+
+- updated to MariaDB 5.5.32
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5532-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5532-changelog
+
+---
+Thu Jun  6 13:22:37 UTC 2013 - mhruse...@suse.com
+
+- enable support for libaio (bnc#796164)
+- better rights for logdir (bnc#789263)
+
+---
+Wed Jun  5 08:48:42 UTC 2013 - mhruse...@suse.com
+
+- Moving directory with configuration to upstream default
+  (/etc/mysql - /etc/my.cnf.d)
+
+---
+Wed Jun  5 05:51:45 UTC 2013 - mhruse...@suse.com
+
+- New default config file
+
+---
+Fri May 24 08:27:48 CEST 2013 - mhruse...@suse.cz
+
+- updated to MariaDB 5.5.31
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5531-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5531-changelog
+- cleanups in upgrade procedure
+
+---
+Tue Mar 26 13:56:50 CET 2013 - mhruse...@suse.cz
+
+- little cleanup of systemd
+
+---
+Tue Mar 26 11:11:37 CET 2013 - mhruse...@suse.cz
+
+- updated to MariaDB 5.5.30
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5530-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5530-changelog
+
+---

Old:

  mariadb-5.5.29.tar.bz2

New:

  mariadb-5.5.32.tar.bz2
  my.ini



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.Y1AN4R/_old  2013-07-27 15:48:16.0 +0200
+++ /var/tmp/diff_new_pack.Y1AN4R/_new  2013-07-27 15:48:16.0 +0200
@@ -35,9 +35,9 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.29
+Version:5.5.32
 Release:0
-%define srv_vers 5.5.29
+%define srv_vers 5.5.32
 Url:http://www.mariab.org
 Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -51,6 +51,7 @@
 Source11:   install.inc
 Source12:   series
 Source13:   configuration-tweaks.tar.bz2
+Source14:   my.ini
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
@@ -60,6 +61,8 @@
 BuildRequires:  automake
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
+BuildRequires:  libaio-devel
+BuildRequires:  libedit-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
 BuildRequires:  openssl-devel
@@ -77,9 +80,6 @@
 %if 0%{?fedora_version}  11
 BuildRequires:  sqlite
 %endif
-%if 0%{?suse_version} = 1210
-BuildRequires:  systemd
-%endif
 %if 0%{?suse_version}  1030
 Recommends: logrotate
 %else
@@ -91,6 +91,7 @@
 Requires:   perl-base
 # systemd requirements for openSUSE = 12.1
 %if 0%{?suse_version} = 1210
+BuildRequires:  systemd
 %{?systemd_requires}
 %endif
 Provides:   mysql = %{srv_vers}
@@ -171,6 +172,9 @@
 Summary:Client for MariaDB
 Group:  Productivity/Databases/Clients
 Provides:   mysql-client = %{srv_vers}
+%if 0%{?suse_version}
+PreReq: pwdutils
+%endif
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-client = %{version}
 Obsoletes:  %{extra_provides}-client  %{version}
@@ -385,6 +389,12 @@
 %service_add_pre mysql.service
 %endif
 
+%pre client
+/usr/sbin/groupadd -r mysql /dev/null 2/dev/null || :
+/usr/sbin/useradd -r -o -g mysql -u 60 -c MySQL database admin \
+  -s /bin/false -d /var/lib/mysql mysql 2 /dev/null || :
+/usr/sbin/usermod -g mysql -s /bin/false mysql || :
+
 %post
 # systemd requirment 
 %if 0%{?suse_version} = 1210
@@ -396,10 +406,6 @@
 ###
 %preun
 [ $1 = 1 ] || /usr/sbin/rcmysql stop
-# systemd requirment

commit mariadb for openSUSE:Factory

2013-03-22 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-03-22 12:01:40

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-03-12 
22:37:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-03-22 
12:01:43.0 +0100
@@ -1,0 +2,5 @@
+Tue Mar 12 16:03:07 UTC 2013 - tpaszkow...@suse.com
+
+- systemd awareness for openSUSE = 12.1
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.GOuAZO/_old  2013-03-22 12:01:46.0 +0100
+++ /var/tmp/diff_new_pack.GOuAZO/_new  2013-03-22 12:01:46.0 +0100
@@ -77,6 +77,9 @@
 %if 0%{?fedora_version}  11
 BuildRequires:  sqlite
 %endif
+%if 0%{?suse_version} = 1210
+BuildRequires:  systemd
+%endif
 %if 0%{?suse_version}  1030
 Recommends: logrotate
 %else
@@ -86,6 +89,10 @@
 Requires:   %{name}-client
 Requires:   %{name}-errormessages = %version
 Requires:   perl-base
+# systemd requirements for openSUSE = 12.1
+%if 0%{?suse_version} = 1210
+%{?systemd_requires}
+%endif
 Provides:   mysql = %{srv_vers}
 Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
@@ -373,12 +380,26 @@
 /usr/sbin/useradd -r -o -g mysql -u 60 -c MySQL database admin \
   -s /bin/false -d /var/lib/mysql mysql 2 /dev/null || :
 /usr/sbin/usermod -g mysql -s /bin/false mysql || :
+# systemd requirment
+%if 0%{?suse_version} = 1210
+%service_add_pre mysql.service
+%endif
+
+%post
+# systemd requirment 
+%if 0%{?suse_version} = 1210
+%service_add_post mysql.service
+%endif
 
 ###
 # preun and posttran takes care of restart#
 ###
 %preun
 [ $1 = 1 ] || /usr/sbin/rcmysql stop
+# systemd requirment
+%if 0%{?suse_version} = 1210
+%service_del_preun mysql.service
+%endif
 
 %pretrans -p lua
 if posix.access(/usr/sbin/rcmysql, x) then
@@ -443,6 +464,10 @@
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mysql.info.*
%{insserv_cleanup}
 fi
+# systemd requirment
+%if 0%{?suse_version} = 1210
+%service_del_postun mysql.service
+%endif
 
 ###
 # Files section   #

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2013-03-12 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-03-12 22:37:26

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-02-11 
20:50:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-03-12 
22:37:27.0 +0100
@@ -1,0 +2,5 @@
+Sun Mar  3 21:32:37 UTC 2013 - sch...@suse.de
+
+- Add aarch64 to the list of lib64 platforms
+
+---



Other differences:
--
++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-5.5.24-aarch64-libdir.patch 
new/mysql-patches/mysql-patches/mariadb-5.5.24-aarch64-libdir.patch
--- old/mysql-patches/mysql-patches/mariadb-5.5.24-aarch64-libdir.patch 
1970-01-01 01:00:00.0 +0100
+++ new/mysql-patches/mysql-patches/mariadb-5.5.24-aarch64-libdir.patch 
2013-03-03 22:27:37.0 +0100
@@ -0,0 +1,15 @@
+PATCH-P0-FIX-SUSE: set libdir for aarch64 correctly
+
+Index: cmake/install_layout.cmake
+===
+--- cmake/install_layout.cmake
 cmake/install_layout.cmake
+@@ -140,7 +140,7 @@ SET(INSTALL_SBINDIR_RPM
+ SET(INSTALL_SCRIPTDIR_RPM   bin)
+ SET(INSTALL_SYSCONFDIR_RPM/etc)
+ #
+-IF(CMAKE_SYSTEM_PROCESSOR MATCHES x86_64 OR CMAKE_SYSTEM_PROCESSOR 
MATCHES ppc64)
++IF(CMAKE_SYSTEM_PROCESSOR MATCHES x86_64 OR CMAKE_SYSTEM_PROCESSOR 
MATCHES ppc64 OR CMAKE_SYSTEM_PROCESSOR MATCHES aarch64)
+   SET(INSTALL_LIBDIR_RPMlib64)
+   SET(INSTALL_PLUGINDIR_RPM lib64/mysql/plugin)
+ ELSE()

++ series ++
--- /var/tmp/diff_new_pack.gyqavM/_old  2013-03-12 22:37:29.0 +0100
+++ /var/tmp/diff_new_pack.gyqavM/_new  2013-03-12 22:37:29.0 +0100
@@ -10,3 +10,4 @@
 mysql-community-server-5.5.6-safe-process-in-bin.patch
 mariadb-5.5.28-group.patch
 mariadb-5.5.24-ppc64-libdir.patch
+mariadb-5.5.24-aarch64-libdir.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2013-02-11 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-02-11 20:50:06

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-01-31 
16:46:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-02-11 
20:50:10.0 +0100
@@ -1,0 +2,11 @@
+Sun Feb  3 15:29:02 CET 2013 - mhruse...@suse.cz
+
+- updated to MariaDB 5.5.29
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5529-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5529-changelog
+  * fixes following CVEs:
+CVE-2012-5611, CVE-2012-5627, CVE-2012-5615, CVE-2012-5612
+
+---

Old:

  mariadb-5.5.28a.tar.bz2

New:

  mariadb-5.5.29.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.dsEndW/_old  2013-02-11 20:50:13.0 +0100
+++ /var/tmp/diff_new_pack.dsEndW/_new  2013-02-11 20:50:13.0 +0100
@@ -35,9 +35,9 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.28a
+Version:5.5.29
 Release:0
-%define srv_vers 5.5.28
+%define srv_vers 5.5.29
 Url:http://www.mariab.org
 Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -106,7 +106,6 @@
 This package only contains the server-side programs.
 
 %if 0%{?prefered}  0
-
 %package -n libmysqlclient-devel
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
@@ -277,7 +276,6 @@
 %if 0%{?cluster}  0
 
 %if 0%{?cluster}  1
-
 %package -n libndbclient6
 Summary:Shared Libraries for cluster client
 Group:  Development/Libraries/Other
@@ -379,7 +377,6 @@
 ###
 # preun and posttran takes care of restart#
 ###
-
 %preun
 [ $1 = 1 ] || /usr/sbin/rcmysql stop
 
@@ -430,14 +427,12 @@
 %postun -n libmysqlclient_r18 -p /sbin/ldconfig
 
 %if 0%{cluster}  1
-
 %post -n libndbclient6 -p /sbin/ldconfig
 
 %postun -n libndbclient6 -p /sbin/ldconfig
 %endif
 
 %if 0%{prefered}  0
-
 %post -n libmysqld18 -p /sbin/ldconfig
 
 %postun -n libmysqld18 -p /sbin/ldconfig
@@ -485,7 +480,6 @@
 %config(noreplace) %attr(0640, root, mysql) /etc/mysqlaccess.conf
 
 %if 0%{prefered}  0
-
 %files -n libmysqlclient-devel -f libmysqlclient-devel.files
 %defattr(-, root, root)
 /usr/include/mysql
@@ -509,7 +503,6 @@
 %{_libdir}/libmysqlclient.so.*
 
 %if 0%{cluster}  1
-
 %files -n libndbclient6
 %defattr(-, root, root)
 %{_libdir}/libndbclient.so.*
@@ -545,7 +538,6 @@
 %_bindir/mysqloptimize
 
 %if 0%{cluster}  0
-
 %files ndb-storage -f mysql-ndb-storage.files
 
 %files ndb-management -f mysql-ndb-management.files

++ configuration-tweaks.tar.bz2 ++

++ mariadb-5.5.28a.tar.bz2 - mariadb-5.5.29.tar.bz2 ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-5.5.28a.tar.bz2 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-5.5.29.tar.bz2 differ: char 11, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2013-01-31 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-01-31 16:46:44

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2013-01-21 
17:39:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-01-31 
16:46:46.0 +0100
@@ -1,0 +2,6 @@
+Mon Jan 28 09:28:44 UTC 2013 - meiss...@suse.com
+
+- require the errormessage rpm in libmysqld too
+  for embedded usage like in AmaRoK.
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.FUZO0a/_old  2013-01-31 16:46:48.0 +0100
+++ /var/tmp/diff_new_pack.FUZO0a/_new  2013-01-31 16:46:48.0 +0100
@@ -36,7 +36,7 @@
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
 Version:5.5.28a
-Release:1
+Release:0
 %define srv_vers 5.5.28
 Url:http://www.mariab.org
 Source: mariadb-%{version}.tar.bz2
@@ -83,10 +83,11 @@
 Requires:   logrotate
 %endif
 # required by rcmysql
-Requires:   %{name}-client perl-base
+Requires:   %{name}-client
 Requires:   %{name}-errormessages = %version
-Provides:   mysql-Max = %{srv_vers}
+Requires:   perl-base
 Provides:   mysql = %{srv_vers}
+Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
@@ -110,13 +111,12 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
+Requires:   glibc-devel
 Requires:   libmysqlclient18 = %version
 Requires:   libmysqlclient_r18 = %version
-Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MariaDB development header files and libraries
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -124,22 +124,21 @@
 necessary to develop client applications for MariaDB.
 
 %package -n libmysqld18
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
 Group:  Development/Libraries/C and C++
+Requires:   %{name}-errormessages = %version
 
 %description -n libmysqld18
 This package contains the development header files and libraries
 for developing applications that embed the MariaDB.
 
 %package -n libmysqld-devel
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
+Group:  Development/Libraries/C and C++
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
-Requires:   tcpd-devel
 Requires:   libmysqld18 = %version
-Group:  Development/Libraries/C and C++
+Requires:   tcpd-devel
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
@@ -148,7 +147,6 @@
 
 %package -n libmysqlclient18
 Summary:Shared Libraries for MariaDB
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysqlclient18
@@ -157,7 +155,6 @@
 
 %package -n libmysqlclient_r18
 Summary:Shared Libraries for MariaDB
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysqlclient_r18
@@ -190,7 +187,8 @@
 server daemon as well as the embedded server
 
 %package bench
-Requires:   %{name}-client perl-DBD-mysql
+Requires:   %{name}-client
+Requires:   perl-DBD-mysql
 Summary:Benchmarks for MariaDB
 Group:  Productivity/Databases/Tools
 Provides:   mysql-bench = %{srv_vers}
@@ -214,8 +212,8 @@
 Summary:MariaDB with debug options turned on
 Group:  Productivity/Databases/Servers
 Requires:   %{name} = %{version}
-Provides:   mysql-debug = %{srv_vers}
 Provides:   %{name}-debug = %{srv_vers}
+Provides:   mysql-debug = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-debug-verion = %{version}
 Obsoletes:  %{extra_provides}-debug-version  %{version}
@@ -236,10 +234,10 @@
 Summary:Testsuite for MariaDB
 Group:  Productivity/Databases/Servers
 Requires:   %{name} = %{version}
+Requires:   %{name}-bench = %{version}
 Requires:   %{name}-client = %{version}
-Requires:   perl-DBD-mysql
 Requires:   %{name}-tools = 

commit mariadb for openSUSE:Factory

2013-01-21 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2013-01-21 17:39:40

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-11-12 
07:04:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2013-01-21 
17:39:43.0 +0100
@@ -1,0 +2,16 @@
+Thu Jan 17 09:14:41 CET 2013 - mhruse...@suse.cz
+
+- making MariaDB default
+
+---
+Fri Jan  4 12:52:20 CET 2013 - mhruse...@suse.cz
+
+- updated to MariaDB 5.5.28a
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5528a-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5528a-changelog
+  * fixes CVE-2012-5611 (bnc#792444)
+  * fixes CVE-2012-4414 (bnc#779476)
+
+---

Old:

  mariadb-5.5.28.tar.bz2

New:

  mariadb-5.5.28a.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.9roB5T/_old  2013-01-21 17:39:45.0 +0100
+++ /var/tmp/diff_new_pack.9roB5T/_new  2013-01-21 17:39:45.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mariadb
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 # Few definitions which will alter build
-%define prefered   0
+%define prefered   1
 %define use_cmake  1
 %define cluster0
 %define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
@@ -35,7 +35,7 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.28
+Version:5.5.28a
 Release:1
 %define srv_vers 5.5.28
 Url:http://www.mariab.org
@@ -146,21 +146,21 @@
 for developing applications that embed the MariaDB.
 %endif
 
-%package -n libmariadbclient18
+%package -n libmysqlclient18
 Summary:Shared Libraries for MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
-%description -n libmariadbclient18
+%description -n libmysqlclient18
 This package contains the shared libraries (.so) which certain
 languages and applications need to dynamically load and use MariaDB.
 
-%package -n libmariadbclient_r18
+%package -n libmysqlclient_r18
 Summary:Shared Libraries for MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
-%description -n libmariadbclient_r18
+%description -n libmysqlclient_r18
 This package contains the shared libraries (.so) which certain
 languages and applications need to dynamically load and use MariaDB.
 
@@ -360,9 +360,11 @@
 sed -i 's|@localstatedir@|/var/log|' support-files/mysql-log-rotate.sh
 %if 0%{prefered}  1
 for i in `grep -Rl mysqlclient .`; do
-   sed -i 's|mysqlclient|mariadbclient|g' $i
+   sed -i 's|mysqlclient|mysqlclient|g' $i
 done
 %endif
+# Broken test that needs sources
+rm -f mysql-test/t/file_contents.test mysql-test/r/file_contents.result
 
 %build
 %{expand:%(cat %_sourcedir/build.inc)}
@@ -421,13 +423,13 @@
 # Various ldconfig post scripts   #
 ###
 
-%post -n libmariadbclient18 -p /sbin/ldconfig
+%post -n libmysqlclient18 -p /sbin/ldconfig
 
-%postun -n libmariadbclient18 -p /sbin/ldconfig
+%postun -n libmysqlclient18 -p /sbin/ldconfig
 
-%post -n libmariadbclient_r18 -p /sbin/ldconfig
+%post -n libmysqlclient_r18 -p /sbin/ldconfig
 
-%postun -n libmariadbclient_r18 -p /sbin/ldconfig
+%postun -n libmysqlclient_r18 -p /sbin/ldconfig
 
 %if 0%{cluster}  1
 
@@ -504,9 +506,9 @@
 %_libdir/libmysqld.so.*
 %endif
 
-%files -n libmariadbclient18
+%files -n libmysqlclient18
 %defattr(-, root, root)
-%{_libdir}/libmariadbclient.so.*
+%{_libdir}/libmysqlclient.so.*
 
 %if 0%{cluster}  1
 
@@ -515,9 +517,9 @@
 %{_libdir}/libndbclient.so.*
 %endif
 
-%files -n libmariadbclient_r18
+%files -n libmysqlclient_r18
 %defattr(-, root, root)
-%{_libdir}/libmariadbclient_r.so.*
+%{_libdir}/libmysqlclient_r.so.*
 
 %files bench -f mysql-bench.files
 %defattr(-, root, root)

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.9roB5T/_old  2013-01-21 17:39:45.0 +0100
+++ /var/tmp/diff_new_pack.9roB5T/_new  2013-01-21 

commit mariadb for openSUSE:Factory

2012-11-11 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-11-12 07:04:06

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-10-06 
18:39:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-11-12 
07:04:08.0 +0100
@@ -1,0 +2,11 @@
+Wed Oct 31 22:31:34 CET 2012 - mhruse...@suse.cz
+
+- updated to MariaDB 5.5.28
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5527-release-notes
+http://kb.askmonty.org/v/mariadb-5528-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5527-changelog
+http://kb.askmonty.org/v/mariadb-5528-changelog
+
+---

Old:

  mariadb-5.5.25.tar.bz2

New:

  mariadb-5.5.28.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.iGX3DF/_old  2012-11-12 07:04:10.0 +0100
+++ /var/tmp/diff_new_pack.iGX3DF/_new  2012-11-12 07:04:10.0 +0100
@@ -35,9 +35,9 @@
 Summary:Server part of MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.25
-Release:0
-%define srv_vers 5.5.25
+Version:5.5.28
+Release:1
+%define srv_vers 5.5.28
 Url:http://www.mariab.org
 Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -83,11 +83,10 @@
 Requires:   logrotate
 %endif
 # required by rcmysql
-Requires:   %{name}-client
+Requires:   %{name}-client perl-base
 Requires:   %{name}-errormessages = %version
-Requires:   perl-base
-Provides:   mysql = %{srv_vers}
 Provides:   mysql-Max = %{srv_vers}
+Provides:   mysql = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
@@ -111,12 +110,13 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
-Requires:   glibc-devel
 Requires:   libmysqlclient18 = %version
 Requires:   libmysqlclient_r18 = %version
+Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MariaDB development header files and libraries
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -124,6 +124,7 @@
 necessary to develop client applications for MariaDB.
 
 %package -n libmysqld18
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
 Group:  Development/Libraries/C and C++
 
@@ -132,12 +133,13 @@
 for developing applications that embed the MariaDB.
 
 %package -n libmysqld-devel
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
-Group:  Development/Libraries/C and C++
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
-Requires:   libmysqld18 = %version
 Requires:   tcpd-devel
+Requires:   libmysqld18 = %version
+Group:  Development/Libraries/C and C++
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
@@ -146,6 +148,7 @@
 
 %package -n libmariadbclient18
 Summary:Shared Libraries for MariaDB
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmariadbclient18
@@ -154,6 +157,7 @@
 
 %package -n libmariadbclient_r18
 Summary:Shared Libraries for MariaDB
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmariadbclient_r18
@@ -186,8 +190,7 @@
 server daemon as well as the embedded server
 
 %package bench
-Requires:   %{name}-client
-Requires:   perl-DBD-mysql
+Requires:   %{name}-client perl-DBD-mysql
 Summary:Benchmarks for MariaDB
 Group:  Productivity/Databases/Tools
 Provides:   mysql-bench = %{srv_vers}
@@ -211,8 +214,8 @@
 Summary:MariaDB with debug options turned on
 Group:  Productivity/Databases/Servers
 Requires:   %{name} = %{version}
-Provides:   %{name}-debug = %{srv_vers}
 Provides:   mysql-debug = %{srv_vers}
+Provides:   %{name}-debug = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-debug-verion = %{version}
 Obsoletes:  %{extra_provides}-debug-version  %{version}
@@ -233,10 +236,10 

commit mariadb for openSUSE:Factory

2012-10-06 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-10-05 13:46:13

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-07-02 
21:53:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-10-06 
18:39:22.0 +0200
@@ -1,0 +2,10 @@
+Tue Aug 28 11:53:55 UTC 2012 - xg...@tellas.gr
+
+- Reenable use of initgroups() (revert a temporary workaround
+  for ancient bmc#3037, search below for bug #39798).
+  This is necessary if we want to use the auth_pam plugin to 
+  authenticate users against their unix password via pam_unix2.
+  For that, mysqld must run as group shadow and maintain membership
+  after forking.
+
+---



Other differences:
--
++ build.inc ++
--- /var/tmp/diff_new_pack.GBHwIX/_old  2012-10-06 18:39:23.0 +0200
+++ /var/tmp/diff_new_pack.GBHwIX/_new  2012-10-06 18:39:23.0 +0200
@@ -6,7 +6,7 @@
 %if 0%{?suse_version}  1140
 export WARN_DIS=$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing 
-Wno-unused-parameter 
 %endif
-export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS 
-DFORCE_INIT_OF_VARS $WARN_DIS 
+export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DFORCE_INIT_OF_VARS $WARN_DIS 
 export CXXFLAGS=$CFLAGS -fno-exceptions -fno-rtti
 
 %if 0%{use_cmake}  1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2012-07-02 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-07-02 21:43:13

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-06-28 
15:33:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-07-02 
21:43:14.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul  2 12:28:40 UTC 2012 - mhruse...@suse.com
+
+- fixed path for messages from previous commit
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.0RpXkd/_old  2012-07-02 21:43:16.0 +0200
+++ /var/tmp/diff_new_pack.0RpXkd/_new  2012-07-02 21:43:16.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 # Few definitions which will alter build
 %define prefered   0
@@ -34,11 +33,11 @@
 
 Name:   mariadb
 Summary:Server part of MariaDB
-Version:5.5.25
-Release:1
-%define srv_vers 5.5.25
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
+Version:5.5.25
+Release:0
+%define srv_vers 5.5.25
 Url:http://www.mariab.org
 Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -57,11 +56,20 @@
 PreReq: pwdutils
 PreReq: %install_info_prereq %insserv_prereq
 %endif
-BuildRequires:  gcc-c++ ncurses-devel openssl-devel procps readline-devel
-BuildRequires:  autoconf automake cmake libtool zlib-devel
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  ncurses-devel
+BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
+BuildRequires:  procps
+BuildRequires:  readline-devel
+BuildRequires:  zlib-devel
 %if 0%{?suse_version}
-BuildRequires:  pwdutils tcpd-devel
+BuildRequires:  pwdutils
+BuildRequires:  tcpd-devel
 %endif
 %if 0%{?suse_version}  1030 || 0%{?fedora_version}  8
 BuildRequires:  fdupes
@@ -75,10 +83,11 @@
 Requires:   logrotate
 %endif
 # required by rcmysql
-Requires:   %{name}-client perl-base
+Requires:   %{name}-client
 Requires:   %{name}-errormessages = %version
-Provides:   mysql-Max = %{srv_vers}
+Requires:   perl-base
 Provides:   mysql = %{srv_vers}
+Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
@@ -102,13 +111,12 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
+Requires:   glibc-devel
 Requires:   libmysqlclient18 = %version
 Requires:   libmysqlclient_r18 = %version
-Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MariaDB development header files and libraries
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -116,7 +124,6 @@
 necessary to develop client applications for MariaDB.
 
 %package -n libmysqld18
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
 Group:  Development/Libraries/C and C++
 
@@ -125,13 +132,12 @@
 for developing applications that embed the MariaDB.
 
 %package -n libmysqld-devel
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
+Group:  Development/Libraries/C and C++
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
-Requires:   tcpd-devel
 Requires:   libmysqld18 = %version
-Group:  Development/Libraries/C and C++
+Requires:   tcpd-devel
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
@@ -140,7 +146,6 @@
 
 %package -n libmariadbclient18
 Summary:Shared Libraries for MariaDB
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmariadbclient18
@@ -149,7 +154,6 @@
 
 %package -n libmariadbclient_r18
 Summary:Shared Libraries for MariaDB
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmariadbclient_r18
@@ -157,7 +161,6 @@
 languages and applications need to dynamically load and use MariaDB.
 
 %package client
-License:SUSE-GPL-2.0-with-FLOSS-exception
 

commit mariadb for openSUSE:Factory

2012-06-28 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-06-28 15:33:17

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-06-12 
21:58:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-06-28 
15:33:25.0 +0200
@@ -1,0 +2,23 @@
+Mon Jun 25 14:05:10 CEST 2012 - mhruse...@suse.cz
+
+- splitted out error messages and put them into diferent directory
+
+---
+Sat Jun 23 09:52:00 CEST 2012 - mhruse...@suse.cz
+
+- updated to MariaDB 5.5.25
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5525-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5525-changelog
+
+---
+Tue Jun 19 10:52:13 CEST 2012 - mhruse...@suse.cz
+
+- updated to MariaDB 5.5.24
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5524-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5524-changelog
+
+---

Old:

  mariadb-5.5.23.tar.bz2

New:

  mariadb-5.5.25.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.iMgQYZ/_old  2012-06-28 15:33:27.0 +0200
+++ /var/tmp/diff_new_pack.iMgQYZ/_new  2012-06-28 15:33:27.0 +0200
@@ -34,9 +34,9 @@
 
 Name:   mariadb
 Summary:Server part of MariaDB
-Version:5.5.23
+Version:5.5.25
 Release:1
-%define srv_vers 5.5.23
+%define srv_vers 5.5.25
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
 Url:http://www.mariab.org
@@ -76,6 +76,7 @@
 %endif
 # required by rcmysql
 Requires:   %{name}-client perl-base
+Requires:   %{name}-errormessages = %version
 Provides:   mysql-Max = %{srv_vers}
 Provides:   mysql = %{srv_vers}
 %if 0%{?use_extra_provides}  0
@@ -163,6 +164,7 @@
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-client = %{version}
 Obsoletes:  %{extra_provides}-client  %{version}
+Requires:   %{name}-errormessages = %version
 %endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql-client  %{srv_vers}
@@ -172,6 +174,14 @@
 %description client
 This package contains the standard clients for MariaDB.
 
+%package errormessages
+Summary:MySQL Community Server development header files and libraries
+Group:  Development/Libraries/C and C++
+
+%description errormessages
+This package provides the translated error messages for the standalone
+server daemon as well as the embedded server
+
 %package bench
 Requires:   %{name}-client perl-DBD-mysql
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -339,7 +349,9 @@
 # remove unneeded manpages ('make install' basically installs everything under
 # man/*)
 rm -f man/mysqlman.1# dummy fallback manpage
+[ \! -f man/CMakeLists.txt ] || sed -i 's|mysqlman.1||' man/CMakeLists.txt
 rm -f man/mysql.server.1# init script, not installed in our rpm
+[ \! -f man/CMakeLists.txt ] || sed -i 's|mysql.server.1||' man/CMakeLists.txt
 rm -f man/make_win_*.1  # windows build scripts
 rm -f man/comp_err.1# built-time utility
 # 5.1 Carrier Grade Edition only / still under development as of 5.1.22
@@ -452,7 +464,12 @@
 %doc %{_infodir}/mysql.info.*
 /etc/init.d/mysql
 /usr/sbin/rcmysql
-/usr/share/mysql/
+%dir /usr/share/%{name}
+%dir /usr/share/mysql
+/usr/share/%{name}/charsets/
+/usr/share/mysql/*.cnf
+/usr/share/mysql/*.ini
+/usr/share/%{name}/*.sql
 %ghost %dir %attr(755,mysql,mysql)/var/run/mysql
 %dir %{_libdir}/mysql
 %{_libdir}/mysql/mysqld.sym
@@ -460,6 +477,10 @@
 %dir %_libdir/mysql/plugin
 %_libdir/mysql/plugin/[!d]*.so
 
+%files errormessages -f errormessages.files
+%defattr(-, root, root)
+/usr/share/%{name}/*/errmsg.sys
+
 %files client -f mysql-client.files
 %defattr(-, root, root)
 %config(noreplace) %attr(0640, root, mysql) /etc/mysqlaccess.conf
@@ -487,9 +508,6 @@
 %files -n libmariadbclient18
 %defattr(-, root, root)
 %{_libdir}/libmariadbclient.so.*
-%dir %_libdir/mysql
-%dir %_libdir/mysql/plugin
-%_libdir/mysql/plugin/dialog*.so
 
 %if 0%{cluster}  1
 

++ build.inc ++
--- /var/tmp/diff_new_pack.iMgQYZ/_old  2012-06-28 15:33:27.0 +0200
+++ /var/tmp/diff_new_pack.iMgQYZ/_new  2012-06-28 15:33:27.0 +0200
@@ -6,7 +6,7 @@
 %if 0%{?suse_version}  1140
 export WARN_DIS=$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing 
-Wno-unused-parameter 
 %endif
-export 

commit mariadb for openSUSE:Factory

2012-06-12 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-06-12 21:58:35

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-05-07 
22:48:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-06-12 
21:58:39.0 +0200
@@ -1,0 +2,5 @@
+Sat Jun  9 18:30:56 UTC 2012 - xg...@tellas.gr
+
+- move the dialog.so client plugin to the client library package
+
+---



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.aO5Huz/_old  2012-06-12 21:58:40.0 +0200
+++ /var/tmp/diff_new_pack.aO5Huz/_new  2012-06-12 21:58:40.0 +0200
@@ -458,7 +458,7 @@
 %{_libdir}/mysql/mysqld.sym
 %config /etc/sysconfig/SuSEfirewall2.d/services/mysql
 %dir %_libdir/mysql/plugin
-%_libdir/mysql/plugin/*.so
+%_libdir/mysql/plugin/[!d]*.so
 
 %files client -f mysql-client.files
 %defattr(-, root, root)
@@ -487,6 +487,9 @@
 %files -n libmariadbclient18
 %defattr(-, root, root)
 %{_libdir}/libmariadbclient.so.*
+%dir %_libdir/mysql
+%dir %_libdir/mysql/plugin
+%_libdir/mysql/plugin/dialog*.so
 
 %if 0%{cluster}  1
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-05-07 22:47:55

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-04-23 
09:15:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-05-07 
22:48:19.0 +0200
@@ -1,0 +2,5 @@
+Wed Apr 25 11:24:31 UTC 2012 - dval...@suse.com
+
+- fix plugin libdir on ppc64 
+
+---



Other differences:
--
++ build.inc ++
--- /var/tmp/diff_new_pack.UmzCIy/_old  2012-05-07 22:48:21.0 +0200
+++ /var/tmp/diff_new_pack.UmzCIy/_new  2012-05-07 22:48:21.0 +0200
@@ -6,7 +6,7 @@
 %if 0%{?suse_version}  1140
 export WARN_DIS=$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing 
-Wno-unused-parameter 
 %endif
-export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS 
-DFORCE_INIT_OF_VARS $WARN_DIS 
+export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DFORCE_INIT_OF_VARS $WARN_DIS 
 export CXXFLAGS=$CFLAGS -fno-exceptions -fno-rtti
 
 %if 0%{use_cmake}  1

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mariadb-5.5.23-ppc64-libdir.patch 
new/mysql-patches/mysql-patches/mariadb-5.5.23-ppc64-libdir.patch
--- old/mysql-patches/mysql-patches/mariadb-5.5.23-ppc64-libdir.patch   
1970-01-01 01:00:00.0 +0100
+++ new/mysql-patches/mysql-patches/mariadb-5.5.23-ppc64-libdir.patch   
2012-04-25 12:31:33.0 +0200
@@ -0,0 +1,19 @@
+PATCH-P0-FIX-SUSE: fix ppc64 libdir
+
+This patch fixes libdir on ppc64
+
+Maintainer: Dinar Valeev dval...@suse.com
+
+Index: cmake/install_layout.cmake
+===
+--- cmake/install_layout.cmake.orig
 cmake/install_layout.cmake
+@@ -138,7 +138,7 @@
+ SET(INSTALL_SBINDIR_RPM sbin)
+ SET(INSTALL_SCRIPTDIR_RPM   bin)
+ #
+-IF(CMAKE_SYSTEM_PROCESSOR MATCHES x86_64)
++IF(CMAKE_SYSTEM_PROCESSOR MATCHES x86_64 OR CMAKE_SYSTEM_PROCESSOR 
MATCHES ppc64)
+   SET(INSTALL_LIBDIR_RPMlib64)
+   SET(INSTALL_PLUGINDIR_RPM lib64/mysql/plugin)
+ ELSE()

++ series ++
--- /var/tmp/diff_new_pack.UmzCIy/_old  2012-05-07 22:48:21.0 +0200
+++ /var/tmp/diff_new_pack.UmzCIy/_new  2012-05-07 22:48:21.0 +0200
@@ -9,3 +9,4 @@
 mariadb-5.2.3-cnf.patch
 mysql-community-server-5.5.6-safe-process-in-bin.patch
 mariadb-5.5.20-group.patch
+mariadb-5.5.23-ppc64-libdir.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2012-04-23 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-04-23 09:15:33

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-04-12 
09:40:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-04-23 
09:15:35.0 +0200
@@ -1,0 +2,8 @@
+Sun Apr 15 09:51:54 CEST 2012 - mhruse...@suse.cz
+
+- migrated to MariaDB 5.5.23, see:
+  http://kb.askmonty.org/en/what-is-mariadb-55
+  http://kb.askmonty.org/en/release-notes-mariadb-55-series
+  http://kb.askmonty.org/en/changelogs-mariadb-55-series
+
+---

Old:

  mariadb-5.3.6.tar.bz2

New:

  mariadb-5.5.23.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.RdzQn4/_old  2012-04-23 09:15:38.0 +0200
+++ /var/tmp/diff_new_pack.RdzQn4/_new  2012-04-23 09:15:38.0 +0200
@@ -19,11 +19,11 @@
 
 # Few definitions which will alter build
 %define prefered   0
-%define use_cmake  0
+%define use_cmake  1
 %define cluster0
 %define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
 %define use_extra_provides 1
-%define extra_provides mariadb_53
+%define extra_provides mariadb_55
 
 %if %{?rel:0}%{!?rel:1}
 %define rel 1
@@ -34,9 +34,9 @@
 
 Name:   mariadb
 Summary:Server part of MariaDB
-Version:5.3.6
+Version:5.5.23
 Release:1
-%define srv_vers 5.1.62
+%define srv_vers 5.5.23
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
 Url:http://www.mariab.org
@@ -101,8 +101,8 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
-Requires:   libmysqlclient16 = %version
-Requires:   libmysqlclient_r16 = %version
+Requires:   libmysqlclient18 = %version
+Requires:   libmysqlclient_r18 = %version
 Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
@@ -114,12 +114,12 @@
 This package contains the development header files and libraries
 necessary to develop client applications for MariaDB.
 
-%package -n libmysqld16
+%package -n libmysqld18
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
 Group:  Development/Libraries/C and C++
 
-%description -n libmysqld16
+%description -n libmysqld18
 This package contains the development header files and libraries
 for developing applications that embed the MariaDB.
 
@@ -129,7 +129,7 @@
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
 Requires:   tcpd-devel
-Requires:   libmysqld16 = %version
+Requires:   libmysqld18 = %version
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqld-devel
@@ -137,21 +137,21 @@
 for developing applications that embed the MariaDB.
 %endif
 
-%package -n libmariadbclient16
+%package -n libmariadbclient18
 Summary:Shared Libraries for MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
-%description -n libmariadbclient16
+%description -n libmariadbclient18
 This package contains the shared libraries (.so) which certain
 languages and applications need to dynamically load and use MariaDB.
 
-%package -n libmariadbclient_r16
+%package -n libmariadbclient_r18
 Summary:Shared Libraries for MariaDB
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
-%description -n libmariadbclient_r16
+%description -n libmariadbclient_r18
 This package contains the shared libraries (.so) which certain
 languages and applications need to dynamically load and use MariaDB.
 
@@ -410,13 +410,13 @@
 # Various ldconfig post scripts   #
 ###
 
-%post -n libmariadbclient16 -p /sbin/ldconfig
+%post -n libmariadbclient18 -p /sbin/ldconfig
 
-%postun -n libmariadbclient16 -p /sbin/ldconfig
+%postun -n libmariadbclient18 -p /sbin/ldconfig
 
-%post -n libmariadbclient_r16 -p /sbin/ldconfig
+%post -n libmariadbclient_r18 -p /sbin/ldconfig
 
-%postun -n libmariadbclient_r16 -p /sbin/ldconfig
+%postun -n libmariadbclient_r18 -p /sbin/ldconfig
 
 %if 0%{cluster}  1
 
@@ -484,7 +484,7 @@
 %_libdir/libmysqld.so.*
 %endif
 
-%files -n libmariadbclient16
+%files -n libmariadbclient18
 %defattr(-, root, root)
 %{_libdir}/libmariadbclient.so.*
 

commit mariadb for openSUSE:Factory

2012-04-12 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-04-12 09:40:51

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-03-22 
12:36:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-04-12 
09:40:53.0 +0200
@@ -1,0 +2,9 @@
+Tue Apr 10 11:42:16 CEST 2012 - mhruse...@suse.cz
+
+- updated to MariaDB 5.3.6
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-536-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-536-changelog
+
+---

Old:

  mariadb-5.3.5-ga.tar.bz2

New:

  mariadb-5.3.6.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.aPE95b/_old  2012-04-12 09:40:56.0 +0200
+++ /var/tmp/diff_new_pack.aPE95b/_new  2012-04-12 09:40:56.0 +0200
@@ -34,13 +34,13 @@
 
 Name:   mariadb
 Summary:Server part of MariaDB
-Version:5.3.5
+Version:5.3.6
 Release:1
-%define srv_vers 5.1.60
+%define srv_vers 5.1.62
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
 Url:http://www.mariab.org
-Source: mariadb-%{version}-ga.tar.bz2
+Source: mariadb-%{version}.tar.bz2
 Source2:baselibs.conf
 Source3:README.debug
 Source4:suse-test-run
@@ -330,7 +330,7 @@
 %endif
 
 %prep
-%setup -q -n mariadb-%{version}-ga -D -a 9
+%setup -q -n mariadb-%{version} -D -a 9
 cp %_sourcedir/README.SuSE .
 cp %_sourcedir/suse-test-run .
 # apply patches from series

++ configuration-tweaks.tar.bz2 ++

++ mariadb-5.3.5-ga.tar.bz2 - mariadb-5.3.6.tar.bz2 ++
/work/SRC/openSUSE:Factory/mariadb/mariadb-5.3.5-ga.tar.bz2 
/work/SRC/openSUSE:Factory/.mariadb.new/mariadb-5.3.6.tar.bz2 differ: char 11, 
line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mariadb for openSUSE:Factory

2012-03-22 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-03-22 12:35:27

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2012-02-16 
10:06:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-03-22 
12:36:23.0 +0100
@@ -1,0 +2,13 @@
+Mon Mar 12 16:03:38 UTC 2012 - mhruse...@suse.cz
+
+- migrated to MariaDB 5.3.5, see:
+  http://kb.askmonty.org/en/what-is-mariadb-53
+  http://kb.askmonty.org/en/release-notes-mariadb-53-series
+  http://kb.askmonty.org/en/changelogs-mariadb-53-series
+
+---
+Sat Feb 18 08:25:25 UTC 2012 - mhruse...@suse.cz
+
+- updated license to conform new policy
+
+---

Old:

  mariadb-5.2.10.tar.bz2

New:

  mariadb-5.3.5-ga.tar.bz2



Other differences:
--
++ mariadb.spec ++
--- /var/tmp/diff_new_pack.XrJsj1/_old  2012-03-22 12:36:27.0 +0100
+++ /var/tmp/diff_new_pack.XrJsj1/_new  2012-03-22 12:36:27.0 +0100
@@ -22,6 +22,8 @@
 %define use_cmake  0
 %define cluster0
 %define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
+%define use_extra_provides 1
+%define extra_provides mariadb_53
 
 %if %{?rel:0}%{!?rel:1}
 %define rel 1
@@ -32,13 +34,13 @@
 
 Name:   mariadb
 Summary:Server part of MariaDB
-Version:5.2.10
+Version:5.3.5
 Release:1
 %define srv_vers 5.1.60
-License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
 Url:http://www.mariab.org
-Source: mariadb-%{version}.tar.bz2
+Source: mariadb-%{version}-ga.tar.bz2
 Source2:baselibs.conf
 Source3:README.debug
 Source4:suse-test-run
@@ -57,6 +59,7 @@
 %endif
 BuildRequires:  gcc-c++ ncurses-devel openssl-devel procps readline-devel
 BuildRequires:  autoconf automake cmake libtool zlib-devel
+BuildRequires:  pam-devel
 %if 0%{?suse_version}
 BuildRequires:  pwdutils tcpd-devel
 %endif
@@ -75,6 +78,10 @@
 Requires:   %{name}-client perl-base
 Provides:   mysql-Max = %{srv_vers}
 Provides:   mysql = %{srv_vers}
+%if 0%{?use_extra_provides}  0
+Provides:   %{extra_provides} = %{version}
+Obsoletes:  %{extra_provides}  %{version}
+%endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql  %{srv_vers}
 Obsoletes:  mysql-Max  %{srv_vers}
@@ -100,7 +107,7 @@
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MariaDB development header files and libraries
-License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -108,7 +115,7 @@
 necessary to develop client applications for MariaDB.
 
 %package -n libmysqld16
-License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
 Group:  Development/Libraries/C and C++
 
@@ -117,7 +124,7 @@
 for developing applications that embed the MariaDB.
 
 %package -n libmysqld-devel
-License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MariaDB embedded server development files
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
@@ -132,7 +139,7 @@
 
 %package -n libmariadbclient16
 Summary:Shared Libraries for MariaDB
-License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmariadbclient16
@@ -141,7 +148,7 @@
 
 %package -n libmariadbclient_r16
 Summary:Shared Libraries for MariaDB
-License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmariadbclient_r16
@@ -149,10 +156,14 @@
 languages and applications need to dynamically load and use MariaDB.
 
 %package client
-License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:Client for MariaDB
 Group:  Productivity/Databases/Clients
 Provides:   mysql-client = %{srv_vers}
+%if 

commit mariadb for openSUSE:Factory

2012-02-16 Thread h_root
Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2012-02-16 10:06:09

Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and  /work/SRC/openSUSE:Factory/.mariadb.new (New)


Package is mariadb, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2011-11-05 
11:26:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2012-02-16 
10:06:12.0 +0100
@@ -1,0 +2,26 @@
+Mon Jan 30 08:46:31 UTC 2012 - mhruse...@suse.cz
+
+- adding /ush/share/aclocal in files
+- renaming *-debug package to *-debug-version to avoid conflicts
+
+---
+Mon Jan 30 08:23:32 UTC 2012 - mhruse...@suse.cz
+
+- adding missing buildrequires (fixes build for factory)
+
+---
+Thu Dec  8 10:39:05 CET 2011 - mhruse...@suse.cz
+
+- migrated to the new common template
+- updated to MariaDB 5.2.10
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-5210-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-5210-changelog
+
+---
+Wed Nov 23 09:27:43 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---

Old:

  changes.factory
  default_plugins.cnf
  mariadb-5.2.9.tar.bz2
  mariadb-strict-aliasing.patch

New:

  configuration-tweaks.tar.bz2
  mariadb-5.2.10.tar.bz2



Other differences:
--
++ mariadb.spec ++
 748 lines (skipped)
 between /work/SRC/openSUSE:Factory/mariadb/mariadb.spec
 and /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.spec

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.6AGShX/_old  2012-02-16 10:06:14.0 +0100
+++ /var/tmp/diff_new_pack.6AGShX/_new  2012-02-16 10:06:14.0 +0100
@@ -1,2 +1,2 @@
-libmysqlclient16
-libmysqlclient_r16
+libmariadbclient16
+libmariadbclient_r16

++ build.inc ++
--- /var/tmp/diff_new_pack.6AGShX/_old  2012-02-16 10:06:14.0 +0100
+++ /var/tmp/diff_new_pack.6AGShX/_new  2012-02-16 10:06:14.0 +0100
@@ -3,13 +3,14 @@
 %else
 %define socketpath /var/run/mysql
 %endif
-autoreconf -f -i
-export WARN_DIS= -Wno-unused-parameter 
 %if 0%{?suse_version}  1140
-export WARN_DIS=$WARN_DIS -Wno-unused-but-set-variable 
+export WARN_DIS=$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing 
-Wno-unused-parameter 
 %endif
-export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS 
-DFORCE_INIT_OF_VARS $WARN_DIS
+export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS 
-DFORCE_INIT_OF_VARS $WARN_DIS 
 export CXXFLAGS=$CFLAGS -fno-exceptions -fno-rtti
+
+%if 0%{use_cmake}  1
+autoreconf -f -i
 # Make the compile a function, since we do multiple builds
 BuildMySQL() {
# The --enable-assembler simply does nothing on systems that do not
@@ -18,7 +19,6 @@
mkdir _build$suffix
pushd _build$suffix
../configure \
---with-libevent \
--enable-assembler \
--without-readline \
--infodir=%{_infodir} \
@@ -48,6 +48,7 @@
 %endif
--with-ssl=/usr \
--with-plugins=%{builtin_plugins} \
+   --without-plugin-handlersocket \
HOSTNAME=/bin/hostname -f \
$@
# Add this for MyISAM RAID support:
@@ -69,7 +70,11 @@
popd
 }
 # Build the client, extra tools, libraries
+%if 0%{?prefered}  0
+BuildMySQL  --with-embedded-server
+%else
 BuildMySQL  --without-embedded-server
+%endif
 # build mysqld-debug
 BuildMySQL -debug --with-debug --without-embedded-server
 
@@ -85,3 +90,31 @@
 cd ..
 %endif
 
+%else # cmake build
+
+BuildMySQL() {
+   mkdir _build$1
+   pushd _build$1
+   shift
+   cmake -DWITH_SSL=system\
+   -DWITH_ZLIB=system  
 \
+   -DWITH_READLINE=0   
 \
+   -DWITH_LIBEDIT=0
 \
+   -DINSTALL_LAYOUT=RPM
 \
+   -DMYSQL_UNIX_ADDR=%{socketpath}/mysql.sock  
 \
+   -DWITH_COMMENT=openSUSE MySQL rpm 
 \
+   -DWITH_EXTRA_CHARSET=all
 \
+   -DDEFAULT_CHARSET=utf8  
-DDEFAULT_COLLATION=utf8_general_ci  \
+   -DWITH_INNOBASE_STORAGE_ENGINE=1 

commit mariadb for openSUSE:Factory

2011-08-17 Thread h_root

Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory
checked in at Wed Aug 17 09:42:36 CEST 2011.




--- mariadb/mariadb.changes 2010-05-26 11:54:09.0 +0200
+++ /mounts/work_src_done/STABLE/mariadb/mariadb.changes2011-08-16 
15:52:19.0 +0200
@@ -1,0 +2,128 @@
+Tue Aug 16 15:50:27 CEST 2011 - mhruse...@suse.cz
+
+- not building embedded server as we don't ship it anyway and it
+  adds some unresolvable dependencies
+
+---
+Wed Jul 27 13:51:14 CEST 2011 - mhruse...@suse.cz
+
+- requiring %{version} and not %{srv_vers}
+  - dependencies are resolvable now
+
+---
+Sat Jul 16 23:14:42 UTC 2011 - crrodrig...@opensuse.org
+
+- Fix strict-aliasing warnings
+- allow using the pool of threads feature that requires libevent
+
+---
+Wed Jun 22 19:19:50 CEST 2011 - mhruse...@suse.cz
+
+- updated to MariaDB 5.2.7
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-527-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-527-changelog
+
+---
+Sun May 15 18:53:40 CEST 2011 - mhruse...@suse.cz
+
+- updated to MariaDB 5.2.6
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-526-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-526-changelog
+
+---
+Mon Mar 14 16:47:16 CET 2011 - mhruse...@suse.cz
+
+- updated to MariaDB 5.2.5
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-525-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-525-changelog
+
+---
+Wed Feb 23 16:20:02 CET 2011 - mhruse...@suse.cz
+
+- fixed init script to
+  - work with SELinux (bnc#635645)
+  - allow running as different user/group
+  - create TMPDIR correctly
+
+---
+Wed Feb 23 10:59:13 UTC 2011 - adr...@suse.de
+
+- remove runlevel 2 from default start in init script or it isn't
+  usable on openSUSE 11.4 and later
+
+---
+Tue Dec  7 11:27:24 CET 2010 - mhruse...@suse.cz
+
+- updated to MariaDB 5.2.4
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-524-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-524-changelog
+
+---
+Wed Nov 10 11:58:13 CET 2010 - mhruse...@suse.cz
+
+- updated to MariaDB 5.2.3
+  * Release notes:
+http://kb.askmonty.org/v/mariadb-523-release-notes
+  * Changelog:
+http://kb.askmonty.org/v/mariadb-523-changelog
+
+---
+Thu Oct 21 11:07:15 CEST 2010 - mhruse...@suse.cz
+
+- fixed building on Mandriva
+
+---
+Mon Oct 18 22:53:09 CEST 2010 - mhruse...@suse.cz
+
+- rewritten spec file
+  - build and install parts are in separate file now
+  - patches in the archive
+- contains more documentation
+- contains tags
+- adding/removing patches just at in one configuration file
+
+---
+Wed Sep 29 12:15:59 CEST 2010 - mhruse...@suse.cz
+
+- updated to MariaDB 5.1.50
+  - based on MySQL 5.1.50 maintenance update
+  - changelog:
+http://kb.askmonty.org/v/mariadb-5150-changelog
+  - release notes:
+http://kb.askmonty.org/v/mariadb-5150-release-notes
+- fixed init script to work on SELinux machines (bnc#635645)
+
+---
+Thu Aug 12 11:54:38 CEST 2010 - mhruse...@suse.cz
+
+- updated to MariaDB 5.1.49
+  - based on MySQL 5.1.49 maintenance update
+  - changelog:
+http://kb.askmonty.org/v/mariadb-5149-changelog
+  - release notes:
+http://kb.askmonty.org/v/mariadb-5149-release-notes
+
+---
+Wed Jun  2 10:38:05 CEST 2010 - mhruse...@suse.cz
+
+- updated to MariaDB 5.1.47
+  - based on MySQL 5.1.47 maintenance update
+  - changelog:
+http://askmonty.org/wiki/Manual:MariaDB_5.1.47_Changelog
+  - release notes:
+http://askmonty.org/wiki/Manual:MariaDB_5.1.47_Release_Notes
+
+---
+Wed May 26 14:02:25 CEST 2010 - mhruse...@suse.cz
+
+- Fixed build for Fedora12
+
+---

calling whatdependson for head-i586


Old:

  abi_test.patch
  libmysql-no-pkglibdir.patch
  mariadb-5.1.44b.tar.bz2
  mysql-5.1.31-shebang.patch
  mysql-5.1.33-safe-process-in-bin.patch
  mysql-5.1.33-scripts-paths.patch
  mysql-5.1.33-ssl-lib64-macro.patch