Split out logwatch scripts
This commit is contained in:
parent
77a6346cb4
commit
1fabaac9b0
35
bacula.spec
35
bacula.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: bacula
|
Name: bacula
|
||||||
Version: 7.0.5
|
Version: 7.0.5
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
|
||||||
# See LICENSE for details
|
# See LICENSE for details
|
||||||
License: AGPLv3 with exceptions
|
License: AGPLv3 with exceptions
|
||||||
@ -138,7 +138,6 @@ Group: System Environment/Daemons
|
|||||||
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
Requires: bacula-common%{?_isa} = %{version}-%{release}
|
||||||
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
Requires: bacula-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: bacula-libs-sql%{?_isa} = %{version}-%{release}
|
Requires: bacula-libs-sql%{?_isa} = %{version}-%{release}
|
||||||
Requires: logwatch
|
|
||||||
# Director backends merged into core.
|
# Director backends merged into core.
|
||||||
Provides: bacula-director-common = %{version}-%{release}
|
Provides: bacula-director-common = %{version}-%{release}
|
||||||
Obsoletes: bacula-director-common < 5.2.3-5
|
Obsoletes: bacula-director-common < 5.2.3-5
|
||||||
@ -169,6 +168,20 @@ based on a client/server architecture.
|
|||||||
|
|
||||||
This package contains the director files.
|
This package contains the director files.
|
||||||
|
|
||||||
|
%package logwatch
|
||||||
|
Summary: Bacula Director logwatch scripts
|
||||||
|
Group: System Environment/Daemons
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: bacula-director%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: logwatch
|
||||||
|
|
||||||
|
%description logwatch
|
||||||
|
Bacula is a set of programs that allow you to manage the backup, recovery, and
|
||||||
|
verification of computer data across a network of different computers. It is
|
||||||
|
based on a client/server architecture.
|
||||||
|
|
||||||
|
This package contains logwatch scripts for Bacula Director.
|
||||||
|
|
||||||
%package storage
|
%package storage
|
||||||
Summary: Bacula storage daemon files
|
Summary: Bacula storage daemon files
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -623,8 +636,6 @@ fi
|
|||||||
%doc updatedb examples/sample-query.sql
|
%doc updatedb examples/sample-query.sql
|
||||||
%config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf %attr(640,root,bacula)
|
%config(noreplace) %{_sysconfdir}/bacula/bacula-dir.conf %attr(640,root,bacula)
|
||||||
%config(noreplace) %{_sysconfdir}/bacula/query.sql %attr(640,root,bacula)
|
%config(noreplace) %{_sysconfdir}/bacula/query.sql %attr(640,root,bacula)
|
||||||
%config(noreplace) %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
|
|
||||||
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
|
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
|
%config(noreplace) %{_sysconfdir}/sysconfig/bacula-dir
|
||||||
%{_libexecdir}/%{name}/create_bacula_database
|
%{_libexecdir}/%{name}/create_bacula_database
|
||||||
%{_libexecdir}/%{name}/delete_catalog_backup
|
%{_libexecdir}/%{name}/delete_catalog_backup
|
||||||
@ -662,14 +673,19 @@ fi
|
|||||||
%{_sbindir}/bsmtp
|
%{_sbindir}/bsmtp
|
||||||
%{_sbindir}/bwild
|
%{_sbindir}/bwild
|
||||||
%{_sbindir}/dbcheck
|
%{_sbindir}/dbcheck
|
||||||
%{_sysconfdir}/logwatch/scripts/services/bacula
|
|
||||||
%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
%{_unitdir}/bacula-dir.service
|
%{_unitdir}/bacula-dir.service
|
||||||
%else
|
%else
|
||||||
%{_initrddir}/bacula-dir
|
%{_initrddir}/bacula-dir
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files logwatch
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/logwatch/conf/logfiles/bacula.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/logwatch/conf/services/bacula.conf
|
||||||
|
%{_sysconfdir}/logwatch/scripts/services/bacula
|
||||||
|
%{_sysconfdir}/logwatch/scripts/shared/applybaculadate
|
||||||
|
|
||||||
%files storage
|
%files storage
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%config(noreplace) %{_sysconfdir}/bacula/bacula-sd.conf %attr(640,root,root)
|
%config(noreplace) %{_sysconfdir}/bacula/bacula-sd.conf %attr(640,root,root)
|
||||||
@ -749,6 +765,13 @@ fi
|
|||||||
%{_libdir}/nagios/plugins/check_bacula
|
%{_libdir}/nagios/plugins/check_bacula
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 15 2015 Simone Caronni <negativo17@gmail.com> - 7.0.5-7
|
||||||
|
- Split logwatch files in its own package. Logwatch should be installed
|
||||||
|
explicitly by an administrator, and not by defaul. Also, the current logwatch
|
||||||
|
package for RHEL 7 has a bug and can not be customized:
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1221903
|
||||||
|
Thanks to Dimitri Maziuk for reporting.
|
||||||
|
|
||||||
* Tue May 12 2015 Simone Caronni <negativo17@gmail.com> - 7.0.5-6
|
* Tue May 12 2015 Simone Caronni <negativo17@gmail.com> - 7.0.5-6
|
||||||
- Require dejavu-lgc-sans-fonts for graphical programs. Fixes startup of bat on
|
- Require dejavu-lgc-sans-fonts for graphical programs. Fixes startup of bat on
|
||||||
headless servers without a desktop installed.
|
headless servers without a desktop installed.
|
||||||
|
Loading…
Reference in New Issue
Block a user