commit mysql-community-server for openSUSE:Factory
Hello community,
here is the log from the commit of package mysql-community-server for openSUSE:Factory checked in at 2015-09-02 00:36:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2015-07-14 17:46:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes 2015-09-02 00:36:23.000000000 +0200
@@ -1,0 +2,41 @@
+Fri Aug 28 14:49:57 UTC 2015 - kstreitova@suse.com
+
+- update to MySQL 5.6.26
+ * changes:
+ * http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-26.html
+ * fixed CVEs:
+ CVE-2015-2617, CVE-2015-2648, CVE-2015-2611, CVE-2015-2582
+ CVE-2015-4752, CVE-2015-4756, CVE-2015-2643, CVE-2015-4772
+ CVE-2015-4761, CVE-2015-4757, CVE-2015-4737, CVE-2015-4771
+ CVE-2015-4769, CVE-2015-2639, CVE-2015-2620, CVE-2015-2641
+ CVE-2015-2661, CVE-2015-4767
+ * fix [bnc#938412]
+ * remove the following patches (changes were merged upstream):
+ * mysql-community-server-5.6.24-regex_heap_overflow.patch
+ * mysql-5.6.25-logjam.patch
+- disable Performance Schema by default. Since MySQL 5.6.6 upstream
+ enabled Performance Schema by default which results in increased
+ memory usage. The added option disable Performance Schema again in
+ order to decrease MySQL memory usage [bnc#852477].
+- fix spurious macro expansion in comment in specfile
+- install INFO_BIN and INFO_SRC, noticed in MDEV-6912
+- use spec-cleaner
+- tweak some cmake switches to enable more things
+ * WITH_ASAN=ON adress sanitization
+ WITH_LIBWRAP=ON tcp wrappers
+ ENABLED_PROFILING=OFF profiling disable
+ ENABLE_DEBUG_SYNC=OFF debug testing sync disable
+ WITH_PIC=ON by default we want pic generated binaries
+- 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]
+- mariadb: replace readline-devel for readline5-devel (MDEV-6912)
+ [bnc#902396]
+- mariadb-101: set cmake options for MariaDB Galera Cluster
+
+-------------------------------------------------------------------
Old:
----
mysql-5.6.25.tar.gz
New:
----
mysql-5.6.26.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mysql-community-server.spec ++++++
--- /var/tmp/diff_new_pack.ruNF5q/_old 2015-09-02 00:36:25.000000000 +0200
+++ /var/tmp/diff_new_pack.ruNF5q/_new 2015-09-02 00:36:25.000000000 +0200
@@ -27,13 +27,14 @@
%define builtin_plugins partition,csv,heap,myisam,innobase
%define extra_provides mysql-community-server_56
%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: mysql-community-server
-Version: 5.6.25
+Version: 5.6.26
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
@@ -81,17 +81,6 @@
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)
@@ -103,6 +92,15 @@
BuildRequires: perl(Sys::Hostname)
BuildRequires: perl(Test::More)
BuildRequires: perl(Time::HiRes)
+# 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 = %{version}
@@ -129,6 +127,12 @@
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"
+BuildRequires: readline5-devel
+%else
+BuildRequires: libedit-devel
+%endif
%if 0%{with_mandatory_boost} > 0
BuildRequires: boost-devel >= 1.57.0
%endif
@@ -180,8 +184,8 @@
Requires: glibc-devel
Requires: libmysqlclient%{soname} = %{version}
Requires: libmysqlclient_r%{soname} = %{version}
-Requires: openssl-devel
Requires: zlib-devel
+Requires: pkgconfig(libssl)
# mysql-devel needs to be provided as some pkgs still depend on it
Provides: mysql-devel = %{version}
Obsoletes: mysql-devel < %{version}
@@ -368,11 +372,17 @@
export CFLAGS="%{optflags} -DOPENSSL_LOAD_CONF -DPIC -fPIC -DFORCE_INIT_OF_VARS $EXTRA_FLAGS"
export CXXFLAGS="$CFLAGS -felide-constructors"
%cmake -DWITH_SSL=system \
+ -DWITH_ASAN=OFF \
+ -DWITH_LIBWRAP=ON \
+ -DENABLED_PROFILING=OFF \
+ -DENABLE_DEBUG_SYNC=OFF \
+ -DWITH_PIC=ON \
-DWITH_ZLIB=system \
-DWITH_LIBEVENT=system \
-DWITH_JEMALLOC=auto \
-DWITH_READLINE=0 \
-DWITH_LIBEDIT=0 \
+ -DWITH_EDITLINE=system \
-DINSTALL_LAYOUT=RPM \
-DMYSQL_UNIX_ADDR="%{_localstatedir}/run/mysql/mysql.sock" \
-DINSTALL_UNIX_ADDRDIR="%{_localstatedir}/run/mysql/mysql.sock" \
@@ -392,6 +402,8 @@
-DWITH_CSV_STORAGE_ENGINE=1 \
-DWITH_HANDLERSOCKET_STORAGE_ENGINE=1 \
-DWITH_EMBEDDED_SERVER=true \
+ -DWITH_WSREP=ON \
+ -DWITH_INNODB_DISALLOW_WRITES=1 \
-DCOMPILATION_COMMENT="openSUSE package" \
-DDENABLE_DOWNLOADS=false \
-DINSTALL_PLUGINDIR_RPM="%{_lib}/mysql/plugin" \
@@ -399,7 +411,8 @@
-DINSTALL_SYSCONF2DIR="%{_sysconfdir}/my.cnf.d" \
-DCMAKE_C_FLAGS_RELWITHDEBINFO="$CFLAGS" \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="$CXXFLAGS" \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DINSTALL_SQLBENCHDIR=share \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DINSTALL_SQLBENCHDIR=share \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \
@@ -450,6 +463,9 @@
# 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
+install -p -m 644 build/Docs/INFO_SRC %{buildroot}%{_libdir}/mysql/
+install -p -m 644 build/Docs/INFO_BIN %{buildroot}%{_libdir}/mysql/
# Remove handler socket client
rm -f %{buildroot}%{_libdir}/mysql/plugin/handlersocket.so
@@ -476,7 +492,7 @@
filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow mysql_config_editor >mysql-client.files
# The dialog stuff is mariadb only
-if [ "`ls '%buildroot'%_libdir/mysql/plugin/dialog*.so 2> /dev/null`" ]; then
+if [ "`ls '%{buildroot}'%{_libdir}/mysql/plugin/dialog*.so 2> /dev/null`" ]; then
echo '%%dir %%_libdir/mysql' >> mysql-client.files
echo '%%dir %%_libdir/mysql/plugin' >> mysql-client.files
echo '%%_libdir/mysql/plugin/dialog*.so' >> mysql-client.files
@@ -548,8 +564,7 @@
# bnc#852451
mkdir -p %{buildroot}%{_tmpfilesdir}
cat > %{buildroot}%{_tmpfilesdir}/mysql.conf <
participants (1)
-
root@hilbert.suse.de