Hello community, here is the log from the commit of package xtrabackup for openSUSE:Factory checked in at 2013-08-13 13:10:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2013-05-28 07:46:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xtrabackup.new/xtrabackup.changes 2013-08-13 13:10:48.000000000 +0200 @@ -1,0 +2,51 @@ +Fri Aug 9 20:35:40 UTC 2013 - andreas.stie...@gmx.de + +- 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 + +------------------------------------------------------------------- Old: ---- mysql-5.1.59-nodoc.patch mysql-5.1.59-nodoc.tar.gz mysql-5.5.17-nodoc.tar.gz mysql-5.6.10-nodoc.tar.gz percona-xtrabackup-2.0.2-nodoc.patch percona-xtrabackup-2.1.3-nodoc.tar.gz New: ---- mysql-5.5.31-nodoc.tar.gz mysql-5.6.11-nodoc.tar.gz percona-xtrabackup-2.1.4-nodoc.tar.gz percona-xtrabackup-2.1.x-nodoc.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xtrabackup.spec ++++++ --- /var/tmp/diff_new_pack.1jJVte/_old 2013-08-13 13:10:51.000000000 +0200 +++ /var/tmp/diff_new_pack.1jJVte/_new 2013-08-13 13:10:51.000000000 +0200 @@ -16,30 +16,28 @@ # -%define MYSQL_51_VERSION 5.1.59 -%define MYSQL_55_VERSION 5.5.17 -%define MYSQL_56_VERSION 5.6.10 +%define MYSQL_55_VERSION 5.5.31 +%define MYSQL_56_VERSION 5.6.11 Summary: Online backup for MySQL / InnoDB License: GPL-2.0 Group: Productivity/Databases/Tools Name: xtrabackup -Version: 2.1.3 +Version: 2.1.4 Release: 0 Url: http://www.percona.com/software/percona-xtrabackup/ Source: percona-xtrabackup-%{version}-nodoc.tar.gz -Source1: mysql-%{MYSQL_51_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.0.2-nodoc.patch -Patch1: mysql-5.1.59-nodoc.patch +Patch0: percona-xtrabackup-2.1.x-nodoc.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 @@ -68,8 +66,6 @@ Requires: perl(Pod::Usage) Requires: perl(Time::HiRes) Requires: perl(strict) -# command line uncompressor for when optional --compress is used -Suggests: qpress %description Percona XtraBackup is an online (non-blocking) backup solution for InnoDB @@ -77,22 +73,18 @@ InnoDB, but can also backup MyISAM tables. %prep -%setup -q -n percona-xtrabackup-%{version} -a 1 -a 2 -a 3 +%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_51_VERSION} -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 -%patch1 +%patch0 -p1 %build set -ue export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS -fno-exceptions" export AUTO_DOWNLOAD=no -./utils/build.sh innodb51 -%__cp src/xtrabackup_plugin ./xtrabackup ./utils/build.sh innodb55 %__cp src/xtrabackup_innodb55 ./xtrabackup_55 %__cp src/xbstream . @@ -103,7 +95,6 @@ %install install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_datadir} -install -m 755 xtrabackup %{buildroot}%{_bindir} install -m 755 xtrabackup_55 %{buildroot}%{_bindir} install -m 755 xtrabackup_56 %{buildroot}%{_bindir} install -m 755 xbstream %{buildroot}%{_bindir} @@ -115,7 +106,6 @@ %defattr(-,root,root) %{_bindir}/innobackupex %{_bindir}/innobackupex-1.5.1 -%{_bindir}/xtrabackup %{_bindir}/xtrabackup_55 %{_bindir}/xtrabackup_56 %{_bindir}/xbstream ++++++ mysql-5.1.59-nodoc.tar.gz -> mysql-5.5.31-nodoc.tar.gz ++++++ /work/SRC/openSUSE:Factory/xtrabackup/mysql-5.1.59-nodoc.tar.gz /work/SRC/openSUSE:Factory/.xtrabackup.new/mysql-5.5.31-nodoc.tar.gz differ: char 5, line 1 ++++++ mysql-5.1.59-nodoc.tar.gz -> mysql-5.6.11-nodoc.tar.gz ++++++ /work/SRC/openSUSE:Factory/xtrabackup/mysql-5.1.59-nodoc.tar.gz /work/SRC/openSUSE:Factory/.xtrabackup.new/mysql-5.6.11-nodoc.tar.gz differ: char 5, line 1 ++++++ percona-xtrabackup-2.1.3-nodoc.tar.gz -> percona-xtrabackup-2.1.4-nodoc.tar.gz ++++++ /work/SRC/openSUSE:Factory/xtrabackup/percona-xtrabackup-2.1.3-nodoc.tar.gz /work/SRC/openSUSE:Factory/.xtrabackup.new/percona-xtrabackup-2.1.4-nodoc.tar.gz differ: char 5, line 1 ++++++ percona-xtrabackup-2.1.x-nodoc.patch ++++++ The rpm spec file extracts the MySQL sources during %setup, make the build script work with that. --- utils/build.sh | 4 ---- 1 file changed, 4 deletions(-) Index: percona-xtrabackup-2.1.4/utils/build.sh =================================================================== --- percona-xtrabackup-2.1.4.orig/utils/build.sh 2013-08-01 14:26:37.000000000 +0100 +++ percona-xtrabackup-2.1.4/utils/build.sh 2013-08-09 20:34:14.000000000 +0100 @@ -126,7 +126,6 @@ AUTO_DOWNLOAD to \"yes\"" function unpack_and_patch() { local dirname=`basename "$1" ".tar.gz"` - tar xzf $top_dir/$1 cd $dirname patch -p1 < $top_dir/patches/$2 cd - @@ -220,9 +219,6 @@ function build_all() innodb_dir=$server_dir/storage/$innodb_name - echo "Downloading sources" - auto_download $server_tarball - test -d $server_dir && rm -r $server_dir echo "Preparing sources" ++++++ xtrabackup-nodoc.sh ++++++ --- /var/tmp/diff_new_pack.1jJVte/_old 2013-08-13 13:10:51.000000000 +0200 +++ /var/tmp/diff_new_pack.1jJVte/_new 2013-08-13 13:10:51.000000000 +0200 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Remove documentation files from source archives # @@ -14,21 +14,19 @@ # published by the Open Source Initiative. # -XTRABACKUP_VERSION=2.1.3 -MYSQL51_VERSION=5.1.59 -MYSQL55_VERSION=5.5.17 -MYSQL56_VERSION=5.6.10 +XTRABACKUP_VERSION=2.1.4 +MYSQL55_VERSION=5.5.31 +MYSQL56_VERSION=5.6.11 gunzip -v < percona-xtrabackup-${XTRABACKUP_VERSION}.tar.gz > percona-xtrabackup-${XTRABACKUP_VERSION}.tar && \ -tar -v --delete -f percona-xtrabackup-${XTRABACKUP_VERSION}.tar "percona-xtrabackup-${XTRABACKUP_VERSION}/doc" && \ +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-${MYSQL51_VERSION}.tar.gz > mysql-${MYSQL51_VERSION}.tar && \ -tar -v --delete -f mysql-${MYSQL51_VERSION}.tar "mysql-${MYSQL51_VERSION}/Docs" && \ -mv -v mysql-${MYSQL51_VERSION}.tar mysql-${MYSQL51_VERSION}-nodoc.tar && \ -gzip -v mysql-${MYSQL51_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 && \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org