Hello community,
here is the log from the commit of package xtrabackup for openSUSE:Factory checked in at 2014-07-10 14:55:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xtrabackup (Old)
and /work/SRC/openSUSE:Factory/.xtrabackup.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xtrabackup"
Changes:
--------
--- /work/SRC/openSUSE:Factory/xtrabackup/xtrabackup.changes 2014-05-09 20:31:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xtrabackup.new/xtrabackup.changes 2014-07-10 14:55:18.000000000 +0200
@@ -1,0 +2,32 @@
+Sat Jul 5 23:15:54 UTC 2014 - andreas.stieger@gmx.de
+
+- Percona XtraBackup 2.2.3
+- Incompatible changes:
+ * removed multiple binaries (xtrabackup_56, xtrabackup_55)
+ * innobackupex-1.5.1 symlink removed
+- New Features:
+ * implemented support for backup locks (Percona Server)
+ * can now store backup history on the server itself in a special
+ table created for that purpose.
+ * rebased on MySQL 5.6.17
+- Bugs fixed:
+ * now recognizes new my.cnf option open_files_limit
+ * prevent crash upon prepare if remote InnoDB tablespace got was
+ CREATEd or ALTERed during the backup
+ * fix handling of signals when run from other processes
+ * fix InnoDB redo log incompatibility with compressed tables
+ * flush InnoDB redo log before finalizing
+ * now sets wsrep_causal_reads to 0 before executing FLUSH TABLES
+ WITH READ LOCK if the server is a member of the Galera cluster
+ * no longer adds XtraDB-specific fields when preparing a backup
+ * Information about backup type and parameters is now stored in
+ the xtrabackup_info file in the backup directory.
+- refresh patches:
+ * percona-xtrabackup-2.1.x-disable-default-version-check.patch to
+ percona-xtrabackup-2.2.x-disable-default-version-check.patch
+ * percona-xtrabackup-2.1.x-mysql-5.6.15-srv_buf_size.patch to
+ percona-xtrabackup-2.2.x-srv_buf_size.patch
+- removed patches:
+ * percona-xtrabackup-2.1.x-nodoc.patch no longer requird
+
+-------------------------------------------------------------------
Old:
----
mysql-5.5.35-nodoc.tar.gz
mysql-5.6.17-nodoc.tar.gz
percona-xtrabackup-2.1.9-nodoc.tar.gz
percona-xtrabackup-2.1.x-disable-default-version-check.patch
percona-xtrabackup-2.1.x-mysql-5.6.15-srv_buf_size.patch
percona-xtrabackup-2.1.x-nodoc.patch
New:
----
percona-xtrabackup-2.2.3-nodoc.tar.xz
percona-xtrabackup-2.2.x-disable-default-version-check.patch
percona-xtrabackup-2.2.x-srv_buf_size.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xtrabackup.spec ++++++
--- /var/tmp/diff_new_pack.WNn33J/_old 2014-07-10 14:55:21.000000000 +0200
+++ /var/tmp/diff_new_pack.WNn33J/_new 2014-07-10 14:55:21.000000000 +0200
@@ -16,22 +16,17 @@
#
-%define MYSQL_55_VERSION 5.5.35
-%define MYSQL_56_VERSION 5.6.17
Name: xtrabackup
-Version: 2.1.9
+Version: 2.2.3
Release: 0
Summary: Online backup for MySQL / InnoDB
License: GPL-2.0
Group: Productivity/Databases/Tools
Url: http://www.percona.com/software/percona-xtrabackup/
-Source: percona-xtrabackup-%{version}-nodoc.tar.gz
-Source2: mysql-%{MYSQL_55_VERSION}-nodoc.tar.gz
-Source3: mysql-%{MYSQL_56_VERSION}-nodoc.tar.gz
+Source: percona-xtrabackup-%{version}-nodoc.tar.xz
Source4: xtrabackup-nodoc.sh
-Patch0: percona-xtrabackup-2.1.x-nodoc.patch
-Patch1: percona-xtrabackup-2.1.x-mysql-5.6.15-srv_buf_size.patch
-Patch2: percona-xtrabackup-2.1.x-disable-default-version-check.patch
+Patch1: percona-xtrabackup-2.2.x-srv_buf_size.patch
+Patch2: percona-xtrabackup-2.2.x-disable-default-version-check.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@@ -47,11 +42,10 @@
BuildRequires: pwdutils
BuildRequires: readline-devel
BuildRequires: tcpd-devel
+BuildRequires: xz
BuildRequires: zlib-devel
#
Requires: mysql
-# some runtime perl requirements for innobackupex
-Requires: qpress
Requires: perl(DBD::mysql)
Requires: perl(File::Basename)
Requires: perl(File::Copy)
@@ -63,6 +57,8 @@
Requires: perl(Pod::Usage)
Requires: perl(Time::HiRes)
Requires: perl(strict)
+# some runtime perl requirements for innobackupex
+Requires: qpress
# This is to ease migration from Percona's generic packages
Provides: percona-xtrabackup = %{version}
Obsoletes: percona-xtrabackup < %{version}
@@ -73,13 +69,20 @@
engines. It features uninterrupted transaction processing during backups for
InnoDB, but can also backup MyISAM tables.
+%package test
+Summary: Test suite for Percona XtraBackup
+Group: Applications/Databases
+Requires: %{_bindir}/mysql
+Requires: %{name} = %{version}
+
+%description test
+This package contains the test suite for Percona XtraBackup %{version}
+
%prep
-%setup -q -n percona-xtrabackup-%{version} -a 2 -a 3
+%setup -q -n percona-xtrabackup-%{version}
# refuse to build from source tarballs with documentation due to license
%{__find} -maxdepth 1 -type d -iname "doc*" -print && exit 1
-%{__find} mysql-%{MYSQL_55_VERSION} -maxdepth 1 -type d -iname "doc*" -print && exit 1
-%{__find} mysql-%{MYSQL_56_VERSION} -maxdepth 1 -type d -iname "doc*" -print && exit 1
-%patch0 -p1
+%{__find} storage/innobase/xtrabackup -maxdepth 1 -type d -iname "doc*" -print && exit 1
%patch1 -p1
%patch2 -p1
@@ -87,32 +90,29 @@
set -ue
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags} -fno-exceptions"
-export AUTO_DOWNLOAD=no
-./utils/build.sh innodb55
-cp src/xtrabackup_innodb55 ./xtrabackup_55
-cp src/xbstream .
-cp src/xbcrypt .
-./utils/build.sh innodb56
-cp src/xtrabackup_56 .
+export CFLAGS="$CFLAGS -DXTRABACKUP_VERSION=\\\"%{version}\\\""
+export CXXFLAGS="$CXXFLAGS -DXTRABACKUP_VERSION=\\\"%{version}\\\""
+
+cmake . \
+ -DBUILD_CONFIG=xtrabackup_release \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DINSTALL_MYSQLTESTDIR=%{_datadir}/percona-xtrabackup-test
+
+make %{?_smp_mflags}
%install
-install -d %{buildroot}%{_bindir}
-install -d %{buildroot}%{_datadir}
-install -m 755 xtrabackup_55 %{buildroot}%{_bindir}
-install -m 755 xtrabackup_56 %{buildroot}%{_bindir}
-install -m 755 xbstream %{buildroot}%{_bindir}
-install -m 755 xbcrypt %{buildroot}%{_bindir}
-install -m 755 innobackupex %{buildroot}%{_bindir}
-ln -s innobackupex %{buildroot}%{_bindir}/innobackupex-1.5.1
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
%{_bindir}/innobackupex
-%{_bindir}/innobackupex-1.5.1
-%{_bindir}/xtrabackup_55
-%{_bindir}/xtrabackup_56
+%{_bindir}/xtrabackup
%{_bindir}/xbstream
%{_bindir}/xbcrypt
%doc COPYING
+%files test
+%defattr(-,root,root,-)
+%{_datadir}/percona-xtrabackup-test
+
%changelog
++++++ percona-xtrabackup-2.1.x-disable-default-version-check.patch -> percona-xtrabackup-2.2.x-disable-default-version-check.patch ++++++
--- /work/SRC/openSUSE:Factory/xtrabackup/percona-xtrabackup-2.1.x-disable-default-version-check.patch 2014-02-19 07:52:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xtrabackup.new/percona-xtrabackup-2.2.x-disable-default-version-check.patch 2014-07-10 14:55:18.000000000 +0200
@@ -12,14 +12,14 @@
Now the version check needs to be requested via command line.
---
- innobackupex.pl | 4 ++--
+ storage/innobase/xtrabackup/innobackupex.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-Index: percona-xtrabackup-2.1.7/innobackupex.pl
+Index: percona-xtrabackup-2.2.3/storage/innobase/xtrabackup/innobackupex.pl
===================================================================
---- percona-xtrabackup-2.1.7.orig/innobackupex.pl 2014-01-23 14:59:36.000000000 +0000
-+++ percona-xtrabackup-2.1.7/innobackupex.pl 2014-02-18 20:36:39.000000000 +0000
-@@ -142,7 +142,7 @@ my $option_rebuild_threads = 0;
+--- percona-xtrabackup-2.2.3.orig/storage/innobase/xtrabackup/innobackupex.pl 2014-07-06 00:06:29.000000000 +0100
++++ percona-xtrabackup-2.2.3/storage/innobase/xtrabackup/innobackupex.pl 2014-07-06 00:06:42.000000000 +0100
+@@ -145,7 +145,7 @@ my $option_rebuild_threads = 0;
my $option_debug_sleep_before_unlock = '';
@@ -28,7 +28,7 @@
my $option_force_non_empty_dirs = '';
-@@ -5193,7 +5193,7 @@ This option displays the xtrabackup vers
+@@ -5469,7 +5469,7 @@ This option displays the xtrabackup vers
=item --version-check
++++++ percona-xtrabackup-2.2.x-srv_buf_size.patch ++++++
From: Michal Hrusecky