community/percona-server to 8.0.26_16-2

This commit is contained in:
Kevin Mihelich 2021-11-19 02:56:01 +00:00
parent b477feac80
commit 9bcd6ebeb2
2 changed files with 15 additions and 1 deletions

View file

@ -10,7 +10,7 @@ pkgver=8.0.26_16
_boost_ver=1.73.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' 'protobuf') # 'boost'
@ -21,6 +21,7 @@ source=("https://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona
'my.cnf'
'mysql-user.conf'
'mysqlrouter-user.conf'
'openldap-2.5.patch'
'build-hostname.patch'
'no-werror.patch'
'0001-fix-LF_PINS-padding-calculation.patch')
@ -29,6 +30,7 @@ sha256sums=('3db3939bd9b317dbcfc1a5638779ff87e755f62d7e6feeb3137876be8bb59d6a'
'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731'
'5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6'
'4ca7ffdcb2d1716d4f31e4c7dd314e5d76e64f13fdc67c5d81c53650b793f5e0'
'92d70b75a32517f598bbffbaf5db18b0d14be504c31f531e35c8572b330785f3'
'1537fdbb92dd1c135c1eb9f4d10c44fd02e652db66c933d731990a1196f1397c'
'2343a191c452b91caa458b03b0c1ef3f5afb0e7031816c68467af5c6a6ffe253'
'aa5e960625843b061f47c32b4a267fab1115667b8b7d1ce7ec952efe42eb77af')
@ -37,6 +39,7 @@ prepare() {
cd $pkgbase-$_pkgver
rm -v sql/sql_yacc.{cc,h}
patch --verbose -p1 -i "$srcdir"/openldap-2.5.patch
patch --verbose -p1 -i "$srcdir"/build-hostname.patch
patch --verbose -p1 -i "$srcdir"/no-werror.patch

View file

@ -0,0 +1,11 @@
--- percona-server-8.0.26-16.orig/plugin/auth_ldap/CMakeLists.txt 2021-10-18 15:11:29.000000000 +0300
+++ percona-server-8.0.26-16/plugin/auth_ldap/CMakeLists.txt 2021-11-13 21:44:21.752981358 +0200
@@ -36,7 +36,7 @@ IF(WITH_LDAP)
# libler?
MYSQL_ADD_PLUGIN(authentication_ldap_simple ${ALP_SOURCES_SIMPLE}
- LINK_LIBRARIES ldap_r MODULE_ONLY MODULE_OUTPUT_NAME "authentication_ldap_simple")
+ LINK_LIBRARIES ldap MODULE_ONLY MODULE_OUTPUT_NAME "authentication_ldap_simple")
IF(UNIX)
IF(INSTALL_MYSQLTESTDIR)