Package: pflogsumm
Version: 1.1.3-1
Severity: important
Tags: upstream patch
Although the changelog claims to have added support for RFC 3339
timestamps, however, this doesn't work on squeeze where postfix logging
is done via rsyslog with "$ActionFileDefaultTemplate RSYSLOG_FileFormat"
config option.
As far as I can tell, this is an upstream bug.
Fix is below:
634c634
<
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:[\+\-](?:\d{2}):(?:\d{2})|Z)
\S+ (.+)$/o) == 10);
---
>
> /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:[\+\-](?:\d{2}):(?:\d{2})|Z)
> \S+ (.+)$/o) == 7);
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.27-openvz-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pflogsumm depends on:
ii libdate-calc-perl 6.0-2 Perl library for accessing dates
ii perl 5.10.1-17squeeze2 Larry Wall's Practical Extraction
pflogsumm recommends no packages.
pflogsumm suggests no packages.
-- no debconf information
634c634
<
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:[\+\-](?:\d{2}):(?:\d{2})|Z)
\S+ (.+)$/o) == 10);
---
>
> /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:[\+\-](?:\d{2}):(?:\d{2})|Z)
> \S+ (.+)$/o) == 7);