Description of problem: $ racoon2-pskgen Use of "do" to call subroutines is deprecated at /usr/sbin/racoon2-pskgen line 63. Can't locate getopts.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/sbin/racoon2-pskgen line 62. Version-Release number of selected component (if applicable): racoon2-20100526a-18.fc18.x86_64 How reproducible: always
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle. Changing version to '20'. More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20
I'm not much into perl, will perl-Getopt-Simple be the right dependency, here?
Fixed in rawhide.
racoon2-20100526a-27.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/racoon2-20100526a-27.fc20
Package racoon2-20100526a-27.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing racoon2-20100526a-27.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3608/racoon2-20100526a-27.fc20 then log in and leave karma (feedback).
It looks like a simple change in the code is needed. The required module is in the base package so no extra deps are needed.
Created attachment 872180 [details] Switch from deprecated getopts.pl to Getopt::Std
(In reply to Alexander Boström from comment #6) > It looks like a simple change in the code is needed. The required module is > in the base package so no extra deps are needed. (In reply to Alexander Boström from comment #7) > Created attachment 872180 [details] > Switch from deprecated getopts.pl to Getopt::Std If I understand you correctly, the way it is fixed now is correct but you're suggesting a different way that avoids the dependency entirely. If so, please start a new RFE bug report for that, as this one will be closed once the testing package becomes stable.
Sorry, I was a bit unclear. Adding the dependency didn't fix the problem because there is no module that provides getopts.pl. A code change is needed to make it work at all (and the new code uses a module that's in the base perl package so no extra dep is required).
(In reply to Alexander Boström from comment #9) > Sorry, I was a bit unclear. Adding the dependency didn't fix the problem > because there is no module that provides getopts.pl. A code change is needed > to make it work at all (and the new code uses a module that's in the base > perl package so no extra dep is required). Thanks. Submitting a modified update, information will be automatically added soon.
Package racoon2-20100526a-28.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing racoon2-20100526a-28.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3608/racoon2-20100526a-28.fc20 then log in and leave karma (feedback).
racoon2-20100526a-28.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.