Hello community,
here is the log from the commit of package mysql-community-server for
openSUSE:Factory checked in at 2016-04-30 23:31:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
and /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mysql-community-server"
Changes:
--------
---
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2016-02-05 00:32:10.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
2016-04-30 23:31:10.000000000 +0200
@@ -1,0 +2,26 @@
+Mon Apr 25 12:33:26 UTC 2016 - [email protected]
+
+- update to 5.6.30
+ * changes
+ http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-30.html
+ http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-29.html
+ * fixed CVEs:
+ CVE-2016-0705, CVE-2016-0639, CVE-2015-3194, CVE-2016-0640,
+ CVE-2016-2047, CVE-2016-0644, CVE-2016-0646, CVE-2016-0647,
+ CVE-2016-0648, CVE-2016-0649, CVE-2016-0650, CVE-2016-0665,
+ CVE-2016-0666, CVE-2016-0641, CVE-2016-0642, CVE-2016-0655,
+ CVE-2016-0661, CVE-2016-0668, CVE-2016-0643
+ * fix [bnc#962779], [bnc#959724]
+- don't delete the log data when migration fails
+- add 'log-error' and 'secure-file-priv' configuration options
+ (added via configuration-tweaks.tar.bz2) [bsc#963810]
+ * add '/etc/my.cnf.d/error_log.conf' that specifies
+ 'log-error = /var/log/mysql/mysqld.log'. If no path is set, the error
+ log is written to '/var/lib/mysql/$HOSTNAME.err', which is not picked
+ up by logrotate.
+ * add '/etc/my.cnf.d/secure_file_priv.conf' which specifies that
+ 'LOAD DATA', 'SELECT ... INTO' and 'LOAD FILE()' will only work with
+ files in the directory specified by 'secure-file-priv' option
+ (='/var/lib/mysql-files').
+
+-------------------------------------------------------------------
Old:
----
mysql-5.6.28.tar.gz
New:
----
mysql-5.6.30.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mysql-community-server.spec ++++++
--- /var/tmp/diff_new_pack.34qi5C/_old 2016-04-30 23:31:12.000000000 +0200
+++ /var/tmp/diff_new_pack.34qi5C/_new 2016-04-30 23:31:12.000000000 +0200
@@ -36,7 +36,9 @@
%endif
%if 0%{build_extras} > 0
%define with_jemalloc 1
-%define with_oqgraph 1
+#temporarily disable OQGraph (see MDEV-9479)
+#%define with_oqgraph 1
+%define with_oqgraph 0
%define with_cassandra 1
%else
%define with_jemalloc 0
@@ -44,7 +46,7 @@
%define with_cassandra 0
%endif
Name: mysql-community-server
-Version: 5.6.28
+Version: 5.6.30
Release: 0
Summary: Server part of %{pretty_name}
License: SUSE-GPL-2.0-with-FLOSS-exception
@@ -487,6 +489,13 @@
mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process
%{buildroot}%{_bindir}
+# Remove unused services for mariadb_101
+%if "%{extra_provides}" == "mariadb_101"
+rm -f %{buildroot}'%{_libexecdir}/systemd/system/mariadb.service'
+rm -f %{buildroot}'%{_libexecdir}/systemd/system/[email protected]'
+rm -f
%{buildroot}'%{_libexecdir}/systemd/system/[email protected]/use_galera_new_cluster.conf'
+%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
@@ -621,6 +630,9 @@
# Unwanted packaged stuff
rm -rf '%{buildroot}'%{_datadir}/mysql/{solaris,SELinux}
+# Create the directory specified in 'secure-file-priv' option
+mkdir -p '%{buildroot}'/var/lib/mysql-files
+
%check
cd build
@@ -768,6 +780,23 @@
%dir %{_libdir}/mysql/plugin
%{_libdir}/mysql/plugin/[!d]*.so
%ghost %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}
+%dir %attr(0750, mysql, mysql) /var/lib/mysql-files
+# Pack files for mariadb_101
+%if "%{extra_provides}" == "mariadb_101"
+%{_bindir}/galera_new_cluster
+%{_bindir}/mariadb-service-convert
+%dir %{_datadir}/mysql/policy
+%dir %{_datadir}/mysql/policy/apparmor
+%{_datadir}/mysql/policy/apparmor/README
+%{_datadir}/mysql/policy/apparmor/usr.sbin.mysqld*
+%dir %{_datadir}/mysql/policy/selinux
+%{_datadir}/mysql/policy/selinux/README
+%{_datadir}/mysql/policy/selinux/mariadb-server.*
+%dir %{_datadir}/mysql/systemd
+%{_datadir}/mysql/systemd/mariadb.service
+%{_datadir}/mysql/systemd/[email protected]
+%{_datadir}/mysql/systemd/use_galera_new_cluster.conf
+%endif
%files errormessages -f errormessages.files
%defattr(-, root, root)
++++++ configuration-tweaks.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/error_log.cnf new/error_log.cnf
--- old/error_log.cnf 1970-01-01 01:00:00.000000000 +0100
+++ new/error_log.cnf 2016-04-25 14:30:21.000000000 +0200
@@ -0,0 +1,8 @@
+# If log-error is not set, mysqld will write to
+# /var/lib/mysql/$HOSTNAME.err
+# which is not beneficial for rotating the log file if it grows
+# in size.
+
+[mysqld]
+log-error = /var/log/mysql/mysqld.log
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/secure_file_priv.cnf new/secure_file_priv.cnf
--- old/secure_file_priv.cnf 1970-01-01 01:00:00.000000000 +0100
+++ new/secure_file_priv.cnf 2016-04-25 14:30:21.000000000 +0200
@@ -0,0 +1,2 @@
+[server]
+secure_file_priv = /var/lib/mysql-files
++++++ mysql-5.6.28.tar.gz -> mysql-5.6.30.tar.gz ++++++
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-5.6.28.tar.gz
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-5.6.30.tar.gz
differ: char 5, line 1
++++++ mysql-patches.tar.bz2 ++++++
++++++ mysql-systemd-helper ++++++
--- /var/tmp/diff_new_pack.34qi5C/_old 2016-04-30 23:31:12.000000000 +0200
+++ /var/tmp/diff_new_pack.34qi5C/_new 2016-04-30 23:31:12.000000000 +0200
@@ -124,8 +124,11 @@
# Cleanup
echo "Final cleanup"
- rm -rf "$protected" "/var/run/mysql/protecteddir.$INSTANCE"
- [[ -z "$up_ok" ]] || die "Something failed during upgrade,
please check logs"
+ if [[ -z "$up_ok" ]]; then
+ rm -rf "$protected"
"/var/run/mysql/protecteddir.$INSTANCE"
+ else
+ die "Something failed during upgrade, please check logs"
+ fi
fi
}