[logwatch] Update dhcpd patch so that "Information-request" messages are matched (rhbz#624590)
richardfearn
richardfearn at fedoraproject.org
Sat Oct 9 12:16:43 UTC 2010
commit ad5b9c352404316c026f9819525731931df78bcb
Author: Richard Fearn <richardfearn at gmail.com>
Date: Sat Oct 9 13:15:30 2010 +0100
Update dhcpd patch so that "Information-request" messages are matched (rhbz#624590)
logwatch-7.3.6-dhcpd2.patch | 6 +++---
logwatch.spec | 6 +++++-
2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/logwatch-7.3.6-dhcpd2.patch b/logwatch-7.3.6-dhcpd2.patch
index 47c4c9f..cd3cd24 100644
--- a/logwatch-7.3.6-dhcpd2.patch
+++ b/logwatch-7.3.6-dhcpd2.patch
@@ -1,5 +1,5 @@
---- logwatch/scripts/services/dhcpd 2009-08-11 21:59:52.000000000 +1000
-+++ dhcpd 2010-01-18 09:39:55.000000000 +1100
+--- logwatch-7.3.6/scripts/services/dhcpd 2006-10-20 22:12:27.000000000 +0100
++++ logwatch-7.3.6-fedora/scripts/services/dhcpd 2010-10-09 13:01:42.000000000 +0100
@@ -16,6 +16,8 @@
my %data;
@@ -50,7 +50,7 @@
if ($Detail >= 5) {
$data{'Addresses Leased'}{$line}++;
}
-+ } elsif ($line =~ /^(Request|Confirm|Rebind|Renew|Release) message from ([0-9a-fA-F:]+)/) {
++ } elsif ($line =~ /^(Request|Confirm|Rebind|Renew|Information-request|Release) message from ([0-9a-fA-F:]+)/) {
+ $clientrequest{$2} = $1;
+ } elsif ($line =~ s/^Sending Reply to ([0-9a-fA-F:]+) port \d+/$1 (IPv6)/) {
+ my $clientrequest = $clientrequest{$1};
diff --git a/logwatch.spec b/logwatch.spec
index e1a95a8..19339e4 100644
--- a/logwatch.spec
+++ b/logwatch.spec
@@ -1,7 +1,7 @@
Summary: A log file analysis program
Name: logwatch
Version: 7.3.6
-Release: 55%{?dist}
+Release: 56%{?dist}
License: MIT
Group: Applications/System
URL: http://www.logwatch.org/
@@ -338,6 +338,10 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
%doc License project/CHANGES
%changelog
+* Sat Oct 9 2010 Richard Fearn <richardfearn at gmail.com> 7.3.6-56
+- Update dhcpd patch so that "Information-request" messages are matched
+ (rhbz#624590)
+
* Thu Aug 19 2010 Karel Klic <kklic at redhat.com> 7.3.6-55
- Removed BuildRoot tag and %%clean section
- Deleted trailing whitespaces in the spec file
More information about the scm-commits
mailing list