]> git.pld-linux.org Git - packages/mysql.git/commitdiff
openldap dependency and bcond
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 9 Oct 2018 07:50:33 +0000 (09:50 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 9 Oct 2018 07:50:33 +0000 (09:50 +0200)
mysql.spec

index 0b46883f25d2cf023eee1e60e09cfe746620f6c7..36917154142ef69542f0216e0ca5daa9365178d2 100644 (file)
@@ -23,6 +23,7 @@
 %bcond_with    system_boost
 %bcond_without tests           # run test suite
 %bcond_with    ndb             # NDB is now a separate product, this here is broken, so disable it
+%bcond_without ldap            # LDAP auth support
 
 %include       /usr/lib/rpm/macros.perl
 Summary:       MySQL: a very fast and reliable SQL database engine
@@ -84,6 +85,7 @@ BuildRequires:        lz4-devel
 BuildRequires: mecab-devel
 BuildRequires: ncurses-devel >= 4.2
 %{?with_ssl:BuildRequires:     openssl-devel >= 0.9.7d}
+%{?with_ldap:BuildRequires:    openldap-devel}
 BuildRequires: pam-devel
 BuildRequires: perl-devel >= 1:5.6.1
 BuildRequires: protobuf-devel >= 2.5
@@ -896,7 +898,7 @@ done
 %attr(755,root,root) %{_libdir}/%{name}/plugin/auth.so
 %attr(755,root,root) %{_libdir}/%{name}/plugin/auth_socket.so
 %attr(755,root,root) %{_libdir}/%{name}/plugin/auth_test_plugin.so
-%attr(755,root,root) %{_libdir}/%{name}/plugin/authentication_ldap_sasl_client.so
+%{?with_ldap:%attr(755,root,root) %{_libdir}/%{name}/plugin/authentication_ldap_sasl_client.so}
 %attr(755,root,root) %{_libdir}/%{name}/plugin/connection_control.so
 %attr(755,root,root) %{_libdir}/%{name}/plugin/group_replication.so
 %attr(755,root,root) %{_libdir}/%{name}/plugin/keyring_file.so
This page took 0.124789 seconds and 4 git commands to generate.