community/percona-server to 8.0.30_22-1

This commit is contained in:
Kevin Mihelich 2022-11-23 02:10:45 +00:00
parent 75d4c40506
commit 2d924b4798

View file

@ -6,11 +6,11 @@
pkgbase=percona-server pkgbase=percona-server
pkgname=('libperconaserverclient' 'percona-server-clients' 'percona-server') pkgname=('libperconaserverclient' 'percona-server-clients' 'percona-server')
pkgver=8.0.29_21 pkgver=8.0.30_22
_boost_ver=1.77.0 _boost_ver=1.77.0
_pkgver=${pkgver/_/-} _pkgver=${pkgver/_/-}
_myver=${pkgver/_rel*} _myver=${pkgver/_rel*}
pkgrel=5 pkgrel=1
arch=('x86_64') arch=('x86_64')
makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl' makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl'
'rpcsvc-proto' 'doxygen' 'graphviz' 'libevent' 'protobuf' 'libfido2') # 'boost' 'rpcsvc-proto' 'doxygen' 'graphviz' 'libevent' 'protobuf' 'libfido2') # 'boost'
@ -22,22 +22,18 @@ source=("https://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona
'my.cnf' 'my.cnf'
'mysql-user.conf' 'mysql-user.conf'
'mysqlrouter-user.conf' 'mysqlrouter-user.conf'
'openldap-2.5.patch'
'0001-fix-LF_PINS-padding-calculation.patch') '0001-fix-LF_PINS-padding-calculation.patch')
sha256sums=('a54c45b23719d4f6ba1e409bb2916c59dc0c9aaae98e24299ff26f150ad4f735' sha256sums=('e536d7f797ac4d86ae3ce37d55f8a6a0ee7398b431cd67c38332566d5fa74114'
'5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131' '5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131'
'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731' 'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731'
'5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6' '5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6'
'4ca7ffdcb2d1716d4f31e4c7dd314e5d76e64f13fdc67c5d81c53650b793f5e0' '4ca7ffdcb2d1716d4f31e4c7dd314e5d76e64f13fdc67c5d81c53650b793f5e0'
'92d70b75a32517f598bbffbaf5db18b0d14be504c31f531e35c8572b330785f3'
'aa5e960625843b061f47c32b4a267fab1115667b8b7d1ce7ec952efe42eb77af') 'aa5e960625843b061f47c32b4a267fab1115667b8b7d1ce7ec952efe42eb77af')
prepare() { prepare() {
cd $pkgbase-$_pkgver cd $pkgbase-$_pkgver
rm -v sql/sql_yacc.{cc,h} rm -v sql/sql_yacc.{cc,h}
patch --verbose -p1 -i "$srcdir"/openldap-2.5.patch
sed -r -e s@/var/run/mysqlrouter@/run/mysqlrouter@ \ sed -r -e s@/var/run/mysqlrouter@/run/mysqlrouter@ \
-e s@lib64/mysql@lib/mysql@ \ -e s@lib64/mysql@lib/mysql@ \
-i cmake/install_layout.cmake -i cmake/install_layout.cmake