Hello community,

here is the log from the commit of package xtrabackup.2627 for 
openSUSE:13.1:Update checked in at 2014-03-13 15:07:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/xtrabackup.2627 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.xtrabackup.2627.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xtrabackup.2627"

Changes:
--------
New Changes file:

--- /dev/null   2014-02-13 01:09:38.344032506 +0100
+++ /work/SRC/openSUSE:13.1:Update/.xtrabackup.2627.new/xtrabackup.changes      
2014-03-13 15:08:02.000000000 +0100
@@ -0,0 +1,590 @@
+-------------------------------------------------------------------
+Thu Mar  6 19:46:05 UTC 2014 - [email protected]
+
+- update to 2.1.8
+  Disabled the "binary version check" functionality in the
+  VersionCheck module due to security concerns. The automatic
+  version check remains disabled in the openSUSE package.
+  [bnc#864194] CVE-2014-2029
+- bugs fixed:
+  * do not discard read-ahead buffers through incorrect usage of
+    posic_fadvise() hints, which resulted in higher I/O rate on
+    the backup stage
+  * Spurious trailing data blocks that would normally be ignored
+    by InnoDB could lead to an assertion failure on the backup stage
+  * A spurious warning message could cause issues with third-party
+    wrapper scripts
+  * xbcrypt could fail with the xbcrypt:xb_crypt_read_chunk: unable
+    to read chunk iv size at offset error under some circumstances
+  * xbstream could sometimes hang when extracting a broken or
+    incomplete input stream
+
+-------------------------------------------------------------------
+Fri Feb 21 13:32:46 UTC 2014 - [email protected]
+
+- disable automatic version check [bnc#864194] CVE-2014-2029
+  Prevents transmission of version information to an external host
+  in the default configuration.
+  Can be used by owner of a Percona server (or an attacker who can
+  control this destination for the client) to collect arbitrary
+  MySQL configuration parameters and execute commands (with -v).
+  Now the version check needs to be requested via command line
+- added patches:
+  * percona-xtrabackup-2.1.x-disable-default-version-check.patch
+
+-------------------------------------------------------------------
+Sun Jan 26 18:23:07 UTC 2014 - [email protected]
+
+- update to 2.1.7 [bnc#860488]
+- general changes:
+  * rebased on MySQL versions 5.5.35 and 5.6.15
+  * now uses libgcrypt randomization functions for setting the IV
+    [lp#1255300] [bnc#852224] CVE-2013-6394
+- bugs fixed:
+  * After being rebased on MySQL 5.6.11 Percona XtraBackup has been
+    affected by the upstream bug #69780 (backward compatibility for
+    InnoDB recovery) [lp#1203669]
+  * Backup directory would need to be specified even for running the
+    innobackupex with --help and --version options. [lp#1223716]
+- bugs fixed specific to MySQL 5.6:
+  * xtrabackpu did not roll back prepared XA transactions when
+    applying the log. [lp#1254227]
+- removed patches:
+  * percona-xtrabackup-2.1.x-mysql-5.6.11-va_list.patch, committed
+    in 5.6.15
+- modified patches:
+  * percona-xtrabackup-2.1.x-nodoc.patch for upstream changes
+  * percona-xtrabackup-2.1.x-mysql-5.6.11-srv_buf_size.patch to
+  * percona-xtrabackup-2.1.x-mysql-5.6.15-srv_buf_size.patch
+    Reworked to apply to 5.6.15
+
+-------------------------------------------------------------------
+Thu Nov 28 19:10:38 UTC 2013 - [email protected]
+
+- update to 2.1.6 [bnc#852224]
+- New Features:
+  * New innobackupex --force-non-empty-directories option
+  * now supports logs created with the new log block checksums
+- New Features specific to MySQL 5.6:
+    option innodb_log_checksum_algorithm in Percona Server 5.6
+- Bugs Fixed:
+  * innobackupex --copy-back fails on empty innodb_data_home_dir
+  * A fixed initialization vector (constant string) was used while
+    encrypting the data. This opened the encrypted stream/data to
+    plaintext attacks among others.
+    CVE-2013-6394
+  * innobackupex --version-check is now on by default.
+  * Since Version Check is enabled by default, new optin 
+    --no-version-check option has been introduced to disable it.
+  * xtrabackup_slave_info didn't contain any GTID information, which 
+    could cause master_auto_position not to work properly
+  * now supports absolute paths in innodb_data_file_path variable.
+  * wouldn't back up the empty directory created with mkdir 
+    (i.e. test) outside of the server which could lead to
+    inconsistencies during the Percona XtraDB Cluster State Snapshot
+    Transfer.
+  * wasn't able to perform backups to the NFS mount in some NFS
+    configurations, because it was trying to preserve file ownership.
+  * unable to perform backup if innodb_log_arch_dir variable was
+    used in server configuration
+  * Race condition in start_query_killer child code could cause
+    parent MySQL connection to close.
+ - Bugs Fixed specific to MySQL 5.6:
+  * xtrabackup_56 was using CRC32 as the default checksum algorithm
+    This could cause error if the innodb_checksum_algorithm value
+    was changed to strict_innodb value after a restore.
+  * xtrabackup_56 binary didn't store the server’s
+    innodb_checksum_algorithm value to backup-my.cnf. This value is
+    needed because it affects the on-disk data format.
+- update and tag percona-xtrabackup-2.1.x-nodoc.patch
+
+-------------------------------------------------------------------
+Mon Sep 23 17:50:49 UTC 2013 - [email protected]
+
+- percona-xtrabackup-2.1.x-mysql-5.6.11-va_list.patch: Fix invalid use of
+  va_list
+
+-------------------------------------------------------------------
+Thu Sep 19 22:11:44 UTC 2013 - [email protected]
+
+- update to 2.1.5
+- New Features:
+  * now supports new innobackupex --version-check option
+- Note:
+  * new method of incremental backups for Percona Server 5.6 with 
+    experimental "Log Archiving for XtraDB" is not supported in 
+    this build
+- Bugs Fixed:
+  * when preparing a compact backup, close temporary files
+  * innobackupex: always terminate child processes on error
+  * xtrabackup_56 binary (use for MySQL 5.6 and Percona Server 5.6)
+    did not support Percona Server-specific innodb_log_block_size
+  * fix stop in rare case when log block numbers had to wrap around
+    at certain times
+  * xtrabackup_56 binary would fail to create a suspend file
+  * fix regression introduced in 2.1.4 which lead to cp utility 
+    being used to copy metadata files even with --rsync option
+  * further various issues as listed in 
+    
http://www.percona.com/doc/percona-xtrabackup/2.1/release-notes/2.1/2.1.5.html
+
+-------------------------------------------------------------------
+Fri Aug 16 14:03:07 CEST 2013 - [email protected]
+
+- fix build on Factory
+  * percona-xtrabackup-2.1.x-mysql-5.6.11-srv_buf_size.patch
+
+-------------------------------------------------------------------
+Fri Aug  9 20:35:40 UTC 2013 - [email protected]
+
+- update to 2.1.4
+  This package drops MySQL 5.1 support.
+- New features:
+  * introduce additional options to handle the locking during
+    FLUSH TABLES WITH READ LOCK to reduce read-only times.
+  * speed up the backup process by not stopping slave thread when
+    copying non-InnoDB data when innobackupex --no-lock option 
+  * add option innobackupex --decrypt
+  * and option innobackupex --decompress
+  * rebase to MySQL 5.5.30, 5.6.11
+- Bugs fixed:
+  * During the backup process loading tablespaces was started 
+    before the log copying, this could lead to a race between the 
+    datafiles state in the resulting backup and xtrabackup_logfile.
+    Tablespace created at a sensitive time would be missing in both 
+    the backup itself and as the corresponding log record in 
+    xtrabackup_logfile, so it would not be created on innobackupex 
+    --apply-log either
+  * innobackupex did not encrypt non-InnoDB files when doing local 
+    (i.e. non-streaming) backups.
+  * Difference in behavior between InnoDB 5.5 and 5.6 codebases in 
+    cases when a newly created tablespace has uninitialized first 
+    page at the time when XtraBackup opens it while creating a list
+    of tablespaces to backup would cause assertion error.
+  * xbcrypt could sometimes fail when reading encrypted stream from 
+    a pipe or network.
+  * innobackupex could not prepare the backup if there was no 
+    xtrabackup_binary file in the backup directory and the 
+    xtrabackup binary was not specified explicitly with innobackupex 
+    --ibbackup option.
+  * innobackupex would terminate with an error if innobackupex 
+    --safe-slave-backup option was used for backing up the master
+  * Under some circumstances XtraBackup could fail on a backup 
+    prepare with innodb_flush_method=O_DIRECT when XFS filesystem was
+    being used
+  * Percona XtraBackup didn’t recognize checkpoint #0 as a valid 
+    checkpoint on xtrabackup --prepare which would cause an error.
+  * Percona XtraBackup didn’t recognize the O_DIRECT_NO_FSYNC value 
+    for innodb_flush_method which was introduced in MySQL 5.6.7. 
+  * innobackupex would terminate if innobackupex --galera-info option
+    was specified when backing up non-galera server.
+- Packaging changes:
+  * refresh percona-xtrabackup-2.0.2-nodoc.patch to 
+    percona-xtrabackup-2.1.x-nodoc.patch
+  * drop MySQL 5.1 support
+  * now requires qpress rather than recommending it because
+    innobackupex now calls it directly
+
+-------------------------------------------------------------------
+Thu May 23 11:44:09 UTC 2013 - [email protected]
+
+- update to 2.1.3
+- bugs fixed:
+  * 2.1.2 would hang when performing State Snapshot Transfer
+    only affects users of XtraDB Cluster
+
+-------------------------------------------------------------------
+Tue May 21 23:54:05 UTC 2013 - [email protected]
+
++++ 393 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.xtrabackup.2627.new/xtrabackup.changes

New:
----
  mysql-5.5.35-nodoc.tar.gz
  mysql-5.6.15-nodoc.tar.gz
  percona-xtrabackup-2.1.8-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
  xtrabackup-nodoc.sh
  xtrabackup.changes
  xtrabackup.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xtrabackup.spec ++++++
#
# spec file for package xtrabackup
#
# Copyright (c) 2014 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define MYSQL_55_VERSION 5.5.35
%define MYSQL_56_VERSION 5.6.15

Summary:        Online backup for MySQL / InnoDB 
License:        GPL-2.0
Group:          Productivity/Databases/Tools
Name:           xtrabackup
Version:        2.1.8
Release:        0
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
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
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# This is to ease migration from Percona's generic packages
Provides:       percona-xtrabackup = %{version}
Obsoletes:      percona-xtrabackup < %{version}
#
Requires:       mysql
Requires:       qpress
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  bison
BuildRequires:  cmake >= 2.6.3
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  libaio-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  libtool
BuildRequires:  ncurses-devel
BuildRequires:  openssl-devel
BuildRequires:  procps
BuildRequires:  pwdutils
BuildRequires:  readline-devel
BuildRequires:  tcpd-devel
BuildRequires:  zlib-devel
# some runtime perl requirements for innobackupex
Requires:       perl(DBD::mysql)
Requires:       perl(File::Basename)
Requires:       perl(File::Copy)
Requires:       perl(File::Find)
Requires:       perl(File::Spec)
Requires:       perl(File::Temp)
Requires:       perl(FileHandle)
Requires:       perl(Getopt::Long)
Requires:       perl(Pod::Usage)
Requires:       perl(Time::HiRes)
Requires:       perl(strict)

%description
Percona XtraBackup is an online (non-blocking) backup solution for InnoDB
engines. It features uninterrupted transaction processing during backups for
InnoDB, but can also backup MyISAM tables.

%prep
%setup -q -n percona-xtrabackup-%{version} -a 2 -a 3
# 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
%patch1 -p1
%patch2 -p1

%build
set -ue
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS -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 .

%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

%files
%defattr(-,root,root)
%{_bindir}/innobackupex
%{_bindir}/innobackupex-1.5.1
%{_bindir}/xtrabackup_55
%{_bindir}/xtrabackup_56
%{_bindir}/xbstream
%{_bindir}/xbcrypt
%doc COPYING

%changelog
++++++ percona-xtrabackup-2.1.x-disable-default-version-check.patch ++++++
From: Andreas Stieger <[email protected]>
Date: Tue, 18 Feb 2014 20:47:12 +0000
Subject: disable automatic version check
References: bnc#864194 CVE-2014-2029 
https://bugs.launchpad.net/percona-toolkit/+bug/1279502
Upstream: no

Prevents transmission of version information to an external host
in the default configuration.
Can be used by owner of a Percona server (or an attacker who can
control this destination for the client) to collect arbitrary
MySQL configuration parameters and execute commands (with -v).
Now the version check needs to be requested via command line.

---
 innobackupex.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: percona-xtrabackup-2.1.7/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;
 
 my $option_debug_sleep_before_unlock = '';
 
-my $option_version_check = '1';
+my $option_version_check = '0';
 
 my $option_force_non_empty_dirs = '';
 
@@ -5193,7 +5193,7 @@ This option displays the xtrabackup vers
 
 =item --version-check
 
-This option controls if the version check should be executed by innobackupex 
after connecting to the server on the backup stage. This option is enabled by 
default, disable with --no-version-check.
+This option controls if the version check should be executed by innobackupex 
after connecting to the server on the backup stage.
 
 =back
 
++++++ percona-xtrabackup-2.1.x-mysql-5.6.15-srv_buf_size.patch ++++++
From: Michal Hrusecky <[email protected]>
Date: Fri, 16 Aug 2013 14:03:07 +0200
Subject: Rename srv_buf_size variable
References: http://bugs.mysql.com/bug.php?id=70047
Upstream: reported

Variable was probably renamed sometime in the past but error was not triggered
because ifdef was not satisfied.

---
 mysql-5.6.15/storage/innobase/row/row0log.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: percona-xtrabackup-2.1.7/mysql-5.6.15/storage/innobase/row/row0log.cc
===================================================================
--- percona-xtrabackup-2.1.7.orig/mysql-5.6.15/storage/innobase/row/row0log.cc  
2013-11-17 18:02:53.000000000 +0000
+++ percona-xtrabackup-2.1.7/mysql-5.6.15/storage/innobase/row/row0log.cc       
2014-01-25 23:58:54.000000000 +0000
@@ -2323,7 +2323,7 @@ all_done:
                and be ignored when the operation is unsupported. */
                fallocate(index->online_log->fd,
                          FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
-                         ofs, srv_buf_size);
+                         ofs, srv_sort_buf_size);
 #endif /* FALLOC_FL_PUNCH_HOLE */
 
                next_mrec = index->online_log->head.block;
@@ -3142,7 +3142,7 @@ all_done:
                and be ignored when the operation is unsupported. */
                fallocate(index->online_log->fd,
                          FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
-                         ofs, srv_buf_size);
+                         ofs, srv_sort_buf_size);
 #endif /* FALLOC_FL_PUNCH_HOLE */
 
                next_mrec = index->online_log->head.block;
++++++ percona-xtrabackup-2.1.x-nodoc.patch ++++++
From: Andreas Stieger <[email protected]>
Date: Sat, 25 Jan 2014 23:54:26 +0000
Subject: [PATCH] make Percona XtraBackup accept MySQL sources extracted using 
rpm %prep
Upstream: no

The rpm spec file extracts the MySQL sources during %setup, 
make the build script work with that.

---
 utils/build.sh |    8 --------
 1 file changed, 8 deletions(-)

Index: percona-xtrabackup-2.1.7/utils/build.sh
===================================================================
--- percona-xtrabackup-2.1.7.orig/utils/build.sh        2014-01-23 
14:59:36.000000000 +0000
+++ percona-xtrabackup-2.1.7/utils/build.sh     2014-01-26 00:35:25.000000000 
+0000
@@ -164,11 +164,6 @@ AUTO_DOWNLOAD to \"yes\""
 function unpack_and_patch()
 {
     local dirname=`basename "$1" ".tar.gz"`
-    if [ -f $top_dir/$1 ]; then
-      tar xzf $top_dir/$1
-    else
-      tar xfJ $top_dir/$dirname.tar.xz
-    fi
     cd $dirname
     patch -p1 < $top_dir/patches/$2
     cd -
@@ -264,9 +259,6 @@ function build_all()
 
     configure_file innobackupex.pl innobackupex +x
 
-    echo "Downloading sources"
-    auto_download $server_tarball
-
     test -d $server_dir && rm -r $server_dir
 
     echo "Preparing sources"
++++++ xtrabackup-nodoc.sh ++++++
#!/usr/bin/env bash
#
# Remove documentation files from source archives 
# 
# Copyright (c) 2014 Andreas Stieger <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#

XTRABACKUP_VERSION=2.1.8
MYSQL55_VERSION=5.5.35
MYSQL56_VERSION=5.6.15

gunzip -v < percona-xtrabackup-${XTRABACKUP_VERSION}.tar.gz > 
percona-xtrabackup-${XTRABACKUP_VERSION}.tar && \
tar -v --wildcards --delete -f percona-xtrabackup-${XTRABACKUP_VERSION}.tar \
        "percona-xtrabackup-${XTRABACKUP_VERSION}/doc" \
        "percona-xtrabackup-${XTRABACKUP_VERSION}/mysql-*.tar.gz" \
        "percona-xtrabackup-${XTRABACKUP_VERSION}/Percona-Server-*.tar.gz" \
        && \
mv -v percona-xtrabackup-${XTRABACKUP_VERSION}.tar 
percona-xtrabackup-${XTRABACKUP_VERSION}-nodoc.tar && \
gzip -v percona-xtrabackup-${XTRABACKUP_VERSION}-nodoc.tar

gunzip < mysql-${MYSQL55_VERSION}.tar.gz > mysql-${MYSQL55_VERSION}.tar && \
tar -v --delete -f mysql-${MYSQL55_VERSION}.tar "mysql-${MYSQL55_VERSION}/Docs" 
&& \
mv -v mysql-${MYSQL55_VERSION}.tar mysql-${MYSQL55_VERSION}-nodoc.tar && \
gzip -v mysql-${MYSQL55_VERSION}-nodoc.tar

gunzip < mysql-${MYSQL56_VERSION}.tar.gz > mysql-${MYSQL56_VERSION}.tar && \
tar -v --delete -f mysql-${MYSQL56_VERSION}.tar "mysql-${MYSQL56_VERSION}/Docs" 
&& \
mv -v mysql-${MYSQL56_VERSION}.tar mysql-${MYSQL56_VERSION}-nodoc.tar && \
gzip -v mysql-${MYSQL56_VERSION}-nodoc.tar


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to