+pflogsumm (1.1.5-6) UNRELEASED; urgency=medium
+
+ * Update postscreen-rejects patch with a fix for IPv6
+ addresses. Kudos to Juri Haberland <juri@sapienti-sat.org>
+ for the fix. (Closes: 955627)
+
+ -- Sven Hoexter <hoexter@debian.org> Sat, 04 Apr 2020 19:46:48 +0200
+
pflogsumm (1.1.5-5) unstable; urgency=medium
* Add patch to count milter rejects provided by Matus Uhlar.
-Index: pflogsumm.pl
+Index: pflogsumm/pflogsumm.pl
===================================================================
--- pflogsumm.orig/pflogsumm.pl
+++ pflogsumm/pflogsumm.pl
+ unless((($domain, $ipAddr) = /^([^\[]*)\[((?:\d{1,3}\.){3}\d{1,3})\]/) == 2||
+ (($domain, $ipAddr) = /^([^\/]*)\/([0-9a-f.:]+)/i) == 2) {
# more exhaustive method
- ($domain, $ipAddr) = /^([^\[\(\/]+)[\[\(\/]([^\]\)]+)[\]\)]?:?\s*$/;
+- ($domain, $ipAddr) = /^([^\[\(\/]+)[\[\(\/]([^\]\)]+)[\]\)]?:?\s*$/;
++ ($domain, $ipAddr) = /^([^\[\(\/]*)[\[\(\/]([^\]\)]+)[\]\)]:?\d*$/;
}
# "mach.host.dom"/"mach.host.do.co" to "host.dom"/"host.do.co"