[arch-commits] Commit in xtrabackup/trunk (PKGBUILD build.patch)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Aug 27 17:36:47 UTC 2014


    Date: Wednesday, August 27, 2014 @ 19:36:47
  Author: bpiotrowski
Revision: 117976

upgpkg: xtrabackup 2.2.3-1

new upstream release

Modified:
  xtrabackup/trunk/PKGBUILD
Deleted:
  xtrabackup/trunk/build.patch

-------------+
 PKGBUILD    |   29 ++++++++++-------------------
 build.patch |   11 -----------
 2 files changed, 10 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-27 17:00:27 UTC (rev 117975)
+++ PKGBUILD	2014-08-27 17:36:47 UTC (rev 117976)
@@ -2,10 +2,9 @@
 # Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
 # Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 
-
 pkgname=xtrabackup
-pkgver=2.1.8
-pkgrel=2
+pkgver=2.2.3
+pkgrel=1
 pkgdesc='Non-blocking backup tool for MySQL'
 arch=('i686' 'x86_64')
 url='http://www.percona.com/software/percona-xtrabackup/'
@@ -12,33 +11,25 @@
 license=('GPL')
 depends=('libaio' 'libgcrypt' 'openssl' 'perl-dbd-mysql')
 makedepends=('cmake' 'python-sphinx' 'zlib')
-source=(http://percona.com/redir/downloads/XtraBackup/XtraBackup-$pkgver/source/percona-xtrabackup-$pkgver.tar.gz
-        build.patch)
+source=(http://www.percona.com/downloads/XtraBackup/LATEST/source/tarball/percona-xtrabackup-$pkgver.tar.gz)
+md5sums=('9867f4059d31e15e7b1f45a9a9048531')
 
 build() {
   cd percona-xtrabackup-$pkgver
+  cmake -DBUILD_CONFIG=xtrabackup_release -DCMAKE_INSTALL_PREFIX=/usr
+  make
 
-  utils/build.sh xtradb55
-  cp src/xtrabackup_55 src/xbstream src/xbcrypt .
-  utils/build.sh xtradb56
-  cp src/xtrabackup_56 .
-
-  cd doc
+  cd storage/innobase/xtrabackup/doc
   make man
 }
 
 package() {
   cd percona-xtrabackup-$pkgver
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+  rm -rf "$pkgdir"/usr/xtrabackup-test
 
-  for file in innobackupex xtrabackup_55 xtrabackup_56 xbcrypt xbstream; do
-    install -Dm0755 $file "$pkgdir"/usr/bin/$file
-  done
-
-  cd doc/build/man
+  cd storage/innobase/xtrabackup/doc/build/man
   for file in *.1; do
     install -Dm0644 $file "$pkgdir"/usr/share/man/man1/$file
   done
 }
-
-sha256sums=('2a397372aaa42228b48e74b89c41265d0b0c4be815069a86feb855bc8fbf2ffa'
-            'e6f329c061c921be6e44e16fd64d79bcca8c61ea1ce4a1d2f923408d30318b25')

Deleted: build.patch
===================================================================
--- build.patch	2014-08-27 17:00:27 UTC (rev 117975)
+++ build.patch	2014-08-27 17:36:47 UTC (rev 117976)
@@ -1,11 +0,0 @@
---- utils/build.sh.orig 2014-01-24 10:37:41.206535420 +0100
-+++ utils/build.sh      2014-01-24 10:44:00.841407894 +0100
-@@ -167,6 +167,9 @@
-     tar xzf $top_dir/$1
-     cd $dirname
-     patch -p1 < $top_dir/patches/$2
-+    sed 's|srv_buf_size|srv_sort_buf_size|g' -i \
-+        sql/sql_planner.cc \
-+        storage/innobase/row/row0log.cc
-     cd -
- }




More information about the arch-commits mailing list