FS#46222 - [logwatch] multiple perl warnings: Unescaped left brace in regex is deprecated, passed through in re

Attached to Project: Community Packages
Opened by Rajiv Aaron Manglani (rajiv) - Monday, 07 September 2015, 23:00 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 08 September 2015, 04:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

logwatch7.4.1-1 has several scripts which produce warnings with perl 5.22

example from logwatch output:

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(CLEAN|SPAM(?:MY)?|INFECTED \(.*?\)|BANNED \(.*?\)|BAD-HEADER(?:-\d)?|UNCHECKED|MTA-BLOCKED|OVERSIZED|OTHER|TEMPFAIL)(?: { <-- HERE [^}]+})?, ([^[]+ )?(?:([^<]+) )?[<(](.*?)[>)] -> ([(<].*?[)>]), (?:.*Hits: ([-+.\d]+))(?:.* size: (\d+))?(?:.* autolearn=(\w+))?/ at /usr/share/logwatch/scripts/services/amavis line 2286.


see this same bug reported against fedora https://bugzilla.redhat.com/show_bug.cgi?id=1237339

these patches could be included in arch
http://pkgs.fedoraproject.org/cgit/logwatch.git/commit/?id=0203917f1942067f444b1a443632108e8713105b
http://pkgs.fedoraproject.org/cgit/logwatch.git/commit/?id=81a4dbdec87e07647bd6454a92a21e11074b0171

This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 08 September 2015, 04:43 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#46057 

Loading...