From fa942d031dfa7d0895ab7fe5906968323ec5efe8 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Thu, 16 May 2013 11:45:13 +0200 Subject: [PATCH] Add bpluginfo command --- bacula.spec | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/bacula.spec b/bacula.spec index d212726..230cb56 100644 --- a/bacula.spec +++ b/bacula.spec @@ -391,6 +391,10 @@ make install DESTDIR=%{buildroot} # Nagios plugin install -p -m 755 -D examples/nagios/check_bacula/.libs/check_bacula %{buildroot}%{_libdir}/nagios/plugins/check_bacula +# Bacula plugin info utility +install -p -m 755 -D src/tools/.libs/bpluginfo %{buildroot}%{_sbindir}/bpluginfo +install -p -m 644 -D manpages/bpluginfo.8 %{buildroot}%{_mandir}/man8/bpluginfo.8 + # Remove catalogue backend symlinks rm -f %{buildroot}%{_libdir}/libbaccats.so rm -f %{buildroot}%{_libdir}/libbaccats-%{version}.so @@ -725,11 +729,13 @@ fi %attr(755,root,root) %dir %{_sysconfdir}/%{name} %dir %{_libexecdir}/%{name} %{_sbindir}/btraceback +%{_sbindir}/bpluginfo %{_libexecdir}/%{name}/btraceback.dbx %{_libexecdir}/%{name}/btraceback.gdb %{_libexecdir}/%{name}/bacula_config %{_libexecdir}/%{name}/btraceback.mdb -%{_mandir}/man8/btraceback.8.* +%{_mandir}/man8/btraceback.8* +%{_mandir}/man8/bpluginfo.8* %dir %attr(750, bacula, bacula) %{_localstatedir}/log/bacula %dir %attr(750, bacula, bacula) %{_localstatedir}/spool/bacula @@ -753,11 +759,11 @@ fi %{_sbindir}/bsmtp %{_sbindir}/bwild %{_sbindir}/dbcheck -%{_mandir}/man1/bsmtp.1.* -%{_mandir}/man8/bacula-dir.8.* -%{_mandir}/man8/bregex.8.* -%{_mandir}/man8/bwild.8.* -%{_mandir}/man8/dbcheck.8.* +%{_mandir}/man1/bsmtp.1* +%{_mandir}/man8/bacula-dir.8* +%{_mandir}/man8/bregex.8* +%{_mandir}/man8/bwild.8* +%{_mandir}/man8/dbcheck.8* %{_libexecdir}/%{name}/create_bacula_database %{_libexecdir}/%{name}/delete_catalog_backup %{_libexecdir}/%{name}/drop_bacula_database @@ -804,12 +810,12 @@ fi %{_libexecdir}/%{name}/dvd-handler %{_libexecdir}/%{name}/mtx-changer %{_libexecdir}/%{name}/mtx-changer.conf -%{_mandir}/man8/bacula-sd.8.* -%{_mandir}/man8/bcopy.8.* -%{_mandir}/man8/bextract.8.* -%{_mandir}/man8/bls.8.* -%{_mandir}/man8/bscan.8.* -%{_mandir}/man8/btape.8.* +%{_mandir}/man8/bacula-sd.8* +%{_mandir}/man8/bcopy.8* +%{_mandir}/man8/bextract.8* +%{_mandir}/man8/bls.8* +%{_mandir}/man8/bscan.8* +%{_mandir}/man8/btape.8* %files client %defattr(-,root,root,-) @@ -821,14 +827,14 @@ fi %endif %attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bacula-fd.conf %config(noreplace) %{_sysconfdir}/sysconfig/bacula-fd -%{_mandir}/man8/bacula-fd.8.* +%{_mandir}/man8/bacula-fd.8* %{_libdir}/bacula/bpipe-fd.so %files console %defattr(-,root,root,-) %{_sbindir}/bconsole %attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf -%{_mandir}/man8/bconsole.8.* +%{_mandir}/man8/bconsole.8* %if 0%{?fedora} || 0%{?rhel} >= 6 %files console-bat @@ -836,7 +842,7 @@ fi %doc %{_datadir}/doc/bacula-console-bat-%{version}/* %attr(640,root,root) %config(noreplace) %{_sysconfdir}/bacula/bat.conf %{_sbindir}/bat -%{_mandir}/man1/bat.1.* +%{_mandir}/man1/bat.1* %{_datadir}/applications/bacula-bat.desktop %{_datadir}/pixmaps/bat.png @@ -873,6 +879,7 @@ fi %changelog * Thu May 16 2013 Simone Caronni - 5.2.13-10 - Add aarch64 patch (#925072). +- Add bpluginfo commmand. * Tue Apr 16 2013 Simone Caronni - 5.2.13-9 - Systemd service files cleanup, thanks Michal Schmidt (#952334)