Hide Forgot
Description of problem: Due to a change in perl syntax for Perl 5.14 and onwards, the use of qw(...) in specific contexts is now disallowed. This generates lots of messages of the form: Use of qw(...) as parentheses is deprecated at /usr/share/perl5/vendor_perl/IPTables/ChainMgr.pm line 158. Version-Release number of selected component (if applicable): perl-IPTables-ChainMgr-0.9-8.fc16.noarch perl-5.14.2-191.fc16.x86_64 How reproducible: 100% Steps to Reproduce: 1. Found from "psad -S" but possible from any use of routine. 2. 3. Actual results: Numerous messages about deprecated feature. Expected results: No deprecated messages Additional info: Reading some of the perl list this only occurs in statements of the form: for my $var qw(...) { ... } and is fixed by the addition of "()", i.e. for my $var (qw(...)) { ... }
Thanks for your report. To reproduce: unpack source code and > cd t; perl IPTables-ChainMgr.t
Created attachment 551153 [details] Untested! patch
I've applied the patch and tested it lightly and it fixes the messages from ChainMgr.pm Thanks for the fast work.
Thanks for the testing. I have finally managed to check that this doesn't break the fwknop testsuite, and sent it upstream. F16 package update and rawhide build will follow shortly.
perl-IPTables-ChainMgr-0.9-9.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-IPTables-ChainMgr-0.9-9.fc16
Package perl-IPTables-ChainMgr-0.9-9.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-IPTables-ChainMgr-0.9-9.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0394/perl-IPTables-ChainMgr-0.9-9.fc16 then log in and leave karma (feedback).
perl-IPTables-ChainMgr-0.9-9.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.