]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
rpms: Add Director Authentication plugin to spec file
authorEric Bollengier <eric@baculasystems.com>
Fri, 16 Oct 2020 08:18:52 +0000 (10:18 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:02:58 +0000 (09:02 +0100)
bacula/platforms/rpms/redhat/bacula.spec.in

index e20912932349d99958602c2198f8d171e4e4e02f..b42fee349645eb3ab3cef65cd8cd5dbf5438f6d0 100644 (file)
@@ -311,6 +311,8 @@ exit 1
 
 Distribution: %_dist
 
+BuildRequires: openldap-devel
+
 # should we enable tcp wrappers support
 %define tcpwrappers 1
 %{?build_tcpwrappers:%define tcpwrappers 1}
@@ -741,6 +743,7 @@ rm -f $RPM_BUILD_ROOT%{script_dir}/breload
 rm -f $RPM_BUILD_ROOT%{script_dir}/manual_prune.pl
 rm -f $RPM_BUILD_ROOT%{systemd_dir}/bacula-dir.service
 rm -f $RPM_BUILD_ROOT%{systemd_dir}/bacula-sd.service
+rm -f $RPM_BUILD_ROOT%{plugin_dir}/ldap-dir.so
 %endif
 
 # install sqlite
@@ -875,6 +878,7 @@ rm -f $RPM_BUILD_DIR/Release_Notes-%{version}-%{release}.txt
 %attr(-, root, %{daemon_group}) %{_sbindir}/dbcheck
 %attr(-, root, %{storage_daemon_group}) %{script_dir}/mtx-changer
 %attr(-, root, %{storage_daemon_group}) %config(noreplace) %{script_dir}/mtx-changer.conf
+%attr(-, root, %{daemon_group}) %{plugin_dir}/ldap-dir.so
 
 %if %{usesystemd}
 %attr(-, root, %{daemon_group}) %{systemd_dir}/bacula-dir.service