[bacula] include /var/log/bacula/*.log in logwatch (#924797)
Petr Hracek
phracek at fedoraproject.org
Mon Apr 8 11:14:06 UTC 2013
commit 823c612468730c0b7b4e44d720486a7257918d5c
Author: Petr Hracek <phracek at redhat.com>
Date: Mon Apr 8 13:13:44 2013 +0200
include /var/log/bacula/*.log in logwatch (#924797)
bacula-5.2.13-logwatch.patch | 9 +++++++++
bacula.spec | 7 ++++++-
2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/bacula-5.2.13-logwatch.patch b/bacula-5.2.13-logwatch.patch
new file mode 100644
index 0000000..410893b
--- /dev/null
+++ b/bacula-5.2.13-logwatch.patch
@@ -0,0 +1,9 @@
+diff --git a/scripts/logwatch/logfile.bacula.conf.in b/scripts/logwatch/logfile.bacula.conf.in
+index 22b6e98..5d257ca 100644
+--- a/scripts/logwatch/logfile.bacula.conf.in
++++ b/scripts/logwatch/logfile.bacula.conf.in
+@@ -1,3 +1,3 @@
+ # What actual file? Defaults to LogPath if not absolute path....
+-LogFile = @logdir@/bacula.log
++LogFile = @logdir@/*.log
+
diff --git a/bacula.spec b/bacula.spec
index 8ebc047..dfd477b 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -3,7 +3,7 @@
Name: bacula
Version: 5.2.13
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Cross platform network backup for Linux, Unix, Mac and Windows
# See LICENSE for details
License: AGPLv3 with exceptions
@@ -36,6 +36,7 @@ Patch2: bacula-5.2.2-queryfile.patch
Patch3: bacula-5.0.3-sqlite-priv.patch
Patch4: bacula-5.2.13-bat-build.patch
Patch5: bacula-5.2.12-seg-fault.patch
+Patch6: bacula-5.2.13-logwatch.patch
BuildRequires: desktop-file-utils
BuildRequires: perl
@@ -321,6 +322,7 @@ Provides check_bacula support for Nagios.
%patch3 -p0 -b .priv
%patch4 -p1 -b .bat-build
%patch5 -p1 -b .seg-fault
+%patch6 -p1 -b .logwatch
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} .
# Remove execution permissions from files we're packaging as docs later on
@@ -907,6 +909,9 @@ fi
%changelog
+* Mon Apr 08 2013 Petr Hracek <phracek at redhat.com> - 5.2.13-7
+- include /var/log/bacula/*.log in logwatch (#924797)
+
* Mon Mar 04 2013 Simone Caronni <negativo17 at gmail.com> - 5.2.13-6
- Add mt-st requirement to storage package; update quick start docs.
More information about the scm-commits
mailing list