[arch-commits] Commit in xtrabackup/repos (3 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sat Jun 11 15:51:22 UTC 2022


    Date: Saturday, June 11, 2022 @ 15:51:22
  Author: foutrelis
Revision: 1233878

archrelease: copy trunk to community-staging-x86_64

Added:
  xtrabackup/repos/community-staging-x86_64/
  xtrabackup/repos/community-staging-x86_64/PKGBUILD
    (from rev 1233877, xtrabackup/trunk/PKGBUILD)
  xtrabackup/repos/community-staging-x86_64/gcc12.patch
    (from rev 1233877, xtrabackup/trunk/gcc12.patch)

-------------+
 PKGBUILD    |   62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 gcc12.patch |   12 +++++++++++
 2 files changed, 74 insertions(+)

Copied: xtrabackup/repos/community-staging-x86_64/PKGBUILD (from rev 1233877, xtrabackup/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-06-11 15:51:22 UTC (rev 1233878)
@@ -0,0 +1,62 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=xtrabackup
+pkgver=8.0.27_19
+_boost_ver=1.73.0
+pkgrel=4
+pkgdesc='Non-blocking backup tool for MySQL'
+arch=('x86_64')
+url='https://www.percona.com/software/mysql-database/percona-xtrabackup'
+license=('GPL')
+depends=('libaio' 'libev' 'libgcrypt' 'curl' 'perl-dbd-mysql' 'numactl')
+makedepends=('cmake' 'python-sphinx' 'zlib' 'vim' 'libedit' 'libevent' 'protobuf' 're2')
+optdepends=('qpress: for compressed backups')
+options=('debug')
+source=("https://www.percona.com/downloads/Percona-XtraBackup-LATEST/Percona-XtraBackup-${pkgver//_/-}/source/tarball/percona-xtrabackup-${pkgver//_/-}.tar.gz"
+        "https://boostorg.jfrog.io/artifactory/main/release/$_boost_ver/source/boost_${_boost_ver//./_}.tar.gz"
+        gcc12.patch)
+
+sha256sums=('0bcfc60b2b19723ea348e43b04bd904c49142f58d326ab32db11e69dda00b733'
+            '9995e192e68528793755692917f9eb6422f3052a53c5e13ba278a228af6c7acf'
+            'c0ec91be6ea6c1068b8f75b31c7ab4d743a628a808646afc0fdd9345a8d075f2')
+prepare() {
+  mkdir build
+  patch -Np1 -d percona-xtrabackup-${pkgver//_/-} <gcc12.patch
+}
+
+build() {
+  cd build
+  cmake -DBUILD_CONFIG=xtrabackup_release \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DMYSQL_DATADIR=/var/lib/mysql \
+        -DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \
+        -DWITH_LIBEVENT=system \
+        -DWITH_SSL=system \
+        -DWITH_EDITLINE=system \
+        -DWITH_LZ4=system \
+        -DWITH_LZMA=bundled \
+        -DWITH_PROTOBUF=system \
+        -DWITH_RE2=system \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DINSTALL_PLUGINDIR="/usr/lib/xtrabackup/plugin" \
+        -DINSTALL_MANDIR="/usr/share/man" \
+        -DINSTALL_STATIC_LIBRARIES=OFF \
+        -DWITH_BOOST="../boost_${_boost_ver//./_}" \
+        ../percona-xtrabackup-${pkgver//_/-}
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  cd "$pkgdir"
+  rm -rf usr/xtrabackup-test \
+         usr/lib/xtrabackup/plugin/debug \
+         usr/lib/*.a \
+         usr/include \
+         usr/docs \
+         usr/share/man/man8 \
+         usr/share/man/man1/{c,i,m,l,p,z}*
+}

Copied: xtrabackup/repos/community-staging-x86_64/gcc12.patch (from rev 1233877, xtrabackup/trunk/gcc12.patch)
===================================================================
--- community-staging-x86_64/gcc12.patch	                        (rev 0)
+++ community-staging-x86_64/gcc12.patch	2022-06-11 15:51:22 UTC (rev 1233878)
@@ -0,0 +1,12 @@
+diff --git a/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc b/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc
+index b48013298e1..92b483ba8bc 100644
+--- a/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc
++++ b/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc
+@@ -25,6 +25,7 @@
+ #include <cstring>
+ #include <iostream>
+ #include <locale>
++#include <memory>
+ #include <sstream>
+ 
+ #include <m_string.h>



More information about the arch-commits mailing list