[arch-commits] Commit in logwatch/trunk (PKGBUILD rsyslog-messages.patch)

Sergej Pupykin spupykin at archlinux.org
Thu May 12 16:03:44 UTC 2016


    Date: Thursday, May 12, 2016 @ 18:03:44
  Author: spupykin
Revision: 175053

upgpkg: logwatch 7.4.3-1

upd

Modified:
  logwatch/trunk/PKGBUILD
Deleted:
  logwatch/trunk/rsyslog-messages.patch

------------------------+
 PKGBUILD               |    4 ++--
 rsyslog-messages.patch |   26 --------------------------
 2 files changed, 2 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-12 16:00:23 UTC (rev 175052)
+++ PKGBUILD	2016-05-12 16:03:44 UTC (rev 175053)
@@ -3,7 +3,7 @@
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=logwatch
-pkgver=7.4.2
+pkgver=7.4.3
 pkgrel=1
 arch=('any')
 pkgdesc="Logwatch is a customizable log analysis system."
@@ -15,7 +15,7 @@
 	etc/logwatch/conf/ignore.conf
 	etc/logwatch/conf/override.conf)
 source=(http://downloads.sourceforge.net/project/logwatch/logwatch-$pkgver/logwatch-$pkgver.tar.gz)
-md5sums=('6eef537d20a7ec3bd3c99109853e2a05')
+md5sums=('22bd22841caa45f12c605abc3e0c2b09')
 
 package() {
 	cd $srcdir/$pkgname-$pkgver

Deleted: rsyslog-messages.patch
===================================================================
--- rsyslog-messages.patch	2016-05-12 16:00:23 UTC (rev 175052)
+++ rsyslog-messages.patch	2016-05-12 16:03:44 UTC (rev 175053)
@@ -1,26 +0,0 @@
---- /usr/share/logwatch/scripts/shared/applystddate.orig	2009-12-15 14:36:04.000000000 +0000
-+++ /usr/share/logwatch/scripts/shared/applystddate.orig	2010-04-19 14:25:55.000000000 +0000
-@@ -15,6 +15,7 @@ 
- my $Debug = $ENV{'LOGWATCH_DEBUG'} || 0;
- 
- $SearchDate = TimeFilter('%b %e %H:%M:%S');
-+$SearchDateRsyslog = TimeFilter('%Y-%m-%dT%H:%M:%S\.[0-9]+[+-][0-9]{2}:[0-9]{2}');
- 
- # The date might be "Dec 09", but it needs to be "Dec  9"...
- #$SearchDate =~ s/ 0/  /;
-@@ -22,11 +23,15 @@ 
- if ( $Debug > 5 ) {
-    print STDERR "DEBUG: Inside ApplyStdDate...\n";
-    print STDERR "DEBUG: Looking For: " . $SearchDate . "\n";
-+   print STDERR "DEBUG: Looking For: " . $SearchDateRsyslog . "\n";
- }
- 
- while (defined($ThisLine = <STDIN>)) {
-    if ($ThisLine =~ m/^$SearchDate /o) {
-       print $ThisLine;
-+   } elsif ($ThisLine =~ /^$SearchDateRsyslog /o) {
-+      $ThisLine =~ s/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})\.[0-9]+[+-][0-9]{2}:[0-9]{2} //o;
-+      print POSIX::strftime("%b %e %H:%M:%S", $6, $5, $4, $3+1, $2-1, $1 - 1900) . " " . $ThisLine;
-    } elsif ($ThisLine =~ m/(Mon|Tue|Wed|Thu|Fri|Sat|Sun) $SearchDate \d{4}/o) {
-       print $ThisLine;
-    }



More information about the arch-commits mailing list