[arch-commits] Commit in percona-server/trunk (PKGBUILD openldap-2.5.patch)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sat Nov 13 19:52:11 UTC 2021
Date: Saturday, November 13, 2021 @ 19:52:10
Author: foutrelis
Revision: 1045987
Fix build with openldap 2.5+
Added:
percona-server/trunk/openldap-2.5.patch
Modified:
percona-server/trunk/PKGBUILD
--------------------+
PKGBUILD | 3 +++
openldap-2.5.patch | 11 +++++++++++
2 files changed, 14 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-13 19:51:54 UTC (rev 1045986)
+++ PKGBUILD 2021-11-13 19:52:10 UTC (rev 1045987)
@@ -17,6 +17,7 @@
'my.cnf'
'mysql-user.conf'
'mysqlrouter-user.conf'
+ 'openldap-2.5.patch'
'build-hostname.patch'
'no-werror.patch')
sha256sums=('3db3939bd9b317dbcfc1a5638779ff87e755f62d7e6feeb3137876be8bb59d6a'
@@ -24,6 +25,7 @@
'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731'
'5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6'
'4ca7ffdcb2d1716d4f31e4c7dd314e5d76e64f13fdc67c5d81c53650b793f5e0'
+ '92d70b75a32517f598bbffbaf5db18b0d14be504c31f531e35c8572b330785f3'
'1537fdbb92dd1c135c1eb9f4d10c44fd02e652db66c933d731990a1196f1397c'
'2343a191c452b91caa458b03b0c1ef3f5afb0e7031816c68467af5c6a6ffe253')
@@ -31,6 +33,7 @@
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
Added: openldap-2.5.patch
===================================================================
--- openldap-2.5.patch (rev 0)
+++ openldap-2.5.patch 2021-11-13 19:52:10 UTC (rev 1045987)
@@ -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)
More information about the arch-commits
mailing list