Hi Adolf
On Friday 17 June 2022 16:52 Adolf Belka wrote:
Hi All,
On 05/06/2022 20:10, Rob Brewer wrote:
Hi All,
Core-upgrade-165 introduced a new version of
/usr/lib/perl5/site_perl/5.32.1/LWP/UserAgent.pm
This version UserAgent.pm has a dependency on Encode/Locale.pm which isn't included in Core Update 167.
Can this module be included in the next upgrade?
I am putting together a patch for Encode::Locale. While looking at this I found a list of dependencies for perl-libwww which provides LWP::UserAgent, and only a few of those dependencies are installed on IPFire. It is likely that many are not needed for the use that IPFire makes of perl-libwww but are we just left with waiting to see if things break to figure out that a dependency is now needed for IPFire. I looked in the changes list for perl-libwww and there is no mention of Encode::Locale being needed for LWP::UserAgent.
Here is the list of dependencies and those with an X at the start of the line are not installed on IPFire.
X Digest::MD5 X Encode X Encode::Locale X File::Copy X File::Listing X File::Temp X Getopt::Long X HTML::Entities X HTML::HeadParser X HTTP::Cookies HTTP::Date X HTTP::Negotiate X HTTP::Request X HTTP::Request::Common X HTTP::Response X HTTP::Status X IO::Select X IO::Socket X LWP::MediaTypes MIME::Base64 X Net::FTP Net::HTTP X Scalar::Util Try::Tiny URI URI::Escape - included in URI X WWW::RobotRules
I will just go ahead and only do a patch for Encode::Locale at this point in time.
Regards,
Adolf.
Regards
Rob
Thank you for looking into this, I see you have generated a patch already which should satisfy this latest version of UserAgent.pm.
I use UserAgent.pl in one of my addons (which generates ADSL data graphs) and after I manually added /usr/lib/perl5/site_perl/5.32.1/Encode/Locale.pm from my debian distribution my addon was operational again after the CU 165 upgrade which added the new version of UserAgent.pl.
Regards
Rob
Kind Regards
Rob