extra/percona-server to 8.3.0_1-2

This commit is contained in:
Kevin Mihelich 2024-05-19 19:21:44 +00:00
parent 0860966bf2
commit 9793f27a06
3 changed files with 19 additions and 2 deletions

View file

@ -1,6 +1,6 @@
pkgbase = percona-server
pkgver = 8.3.0_1
pkgrel = 1
pkgrel = 2
url = https://www.percona.com/software/mysql-database/percona-server
arch = x86_64
license = GPL
@ -21,11 +21,13 @@ pkgbase = percona-server
makedepends = libfido2
source = https://www.percona.com/downloads/Percona-Server-8.3/Percona-Server-8.3.0-1/source/tarball/percona-server-8.3.0-1.tar.gz
source = https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.tar.gz
source = gcc-14.patch
source = my.cnf
source = mysql-user.conf
source = mysqlrouter-user.conf
sha256sums = 19eba27f3a82912b666f8a986bcd78ed7047bcca206307ec9f41721dd3b85848
sha256sums = 5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131
sha256sums = eeb9c6c8f70dd5eb05f735df0cdfc294365b393e5819f26029320e38714069a6
sha256sums = b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731
sha256sums = 5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6
sha256sums = 4ca7ffdcb2d1716d4f31e4c7dd314e5d76e64f13fdc67c5d81c53650b793f5e0

View file

@ -10,7 +10,7 @@ pkgver=8.3.0_1
_boost_ver=1.77.0
_pkgver=${pkgver/_/-}
_myver=${pkgver/_rel*}
pkgrel=1
pkgrel=2
arch=('x86_64')
makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl'
'rpcsvc-proto' 'doxygen' 'graphviz' 'libevent' 'libfido2') # 'boost'
@ -18,12 +18,14 @@ license=('GPL')
url="https://www.percona.com/software/mysql-database/percona-server"
source=("https://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona-Server-$_pkgver/source/tarball/percona-server-$_pkgver.tar.gz"
"https://boostorg.jfrog.io/artifactory/main/release/$_boost_ver/source/boost_${_boost_ver//./_}.tar.gz"
'gcc-14.patch'
'my.cnf'
'mysql-user.conf'
'mysqlrouter-user.conf'
'0001-fix-LF_PINS-padding-calculation.patch')
sha256sums=('19eba27f3a82912b666f8a986bcd78ed7047bcca206307ec9f41721dd3b85848'
'5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131'
'eeb9c6c8f70dd5eb05f735df0cdfc294365b393e5819f26029320e38714069a6'
'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731'
'5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6'
'4ca7ffdcb2d1716d4f31e4c7dd314e5d76e64f13fdc67c5d81c53650b793f5e0'
@ -45,6 +47,8 @@ prepare() {
sed '/^PrivateTmp=/ a StateDirectory=mysqlrouter\nRuntimeDirectory=mysqlrouter' \
-i scripts/systemd/mysqlrouter.service.in
patch -p1 -i ../gcc-14.patch # Fix build with GCC 14
patch -p1 -i "$srcdir"/0001-fix-LF_PINS-padding-calculation.patch
}

View file

@ -0,0 +1,11 @@
diff -ru percona-server-8.3.0-1.orig/components/audit_log_filter/event_filter_function/string_find.cc percona-server-8.3.0-1/components/audit_log_filter/event_filter_function/string_find.cc
--- percona-server-8.3.0-1.orig/components/audit_log_filter/event_filter_function/string_find.cc 2024-05-12 10:09:38.860441107 +0200
+++ percona-server-8.3.0-1/components/audit_log_filter/event_filter_function/string_find.cc 2024-05-12 10:10:01.817428593 +0200
@@ -16,6 +16,7 @@
#include "components/audit_log_filter/event_filter_function/string_find.h"
#include <functional>
+#include <algorithm>
namespace audit_log_filter::event_filter_function {