Bug 2218100

Summary: Replace deprecated IP::Socket::INET6 by IO::Socket::IP
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: spamassassinAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jskarvad, kevin, nb, olysonek-foss, pavel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: spamassassin-4.0.0-5.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-29 06:30:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jitka Plesnikova 2023-06-28 07:14:32 UTC
The module IO::Socket::INET6 is deprecated [1]. Using of IP::Socket::IP is recommended now.

It is mentioned also in Mail-SpamAssassin-4.0.0/INSTALL
  - IO::Socket::IP (from CPAN)
  - IO::Socket::INET6 (from CPAN)

    Installing IO::Socket::IP is recommended if spamd is to listen on IPv6
    sockets or if DNS queries should go to an IPv6 name server.  If
    IO::Socket::IP is not available, using a deprecated module
    IO::Socket::INET6 will be attempted, and in its absence the support for
    IPv6 will not be available.  Some plugins and underlying modules may
    also prefer IO::Socket::IP over IO::Socket::INET6.

I checked the code and there should be no issue related to the change.
I prepared PR for the replacement.
https://src.fedoraproject.org/rpms/spamassassin/pull-request/15

It will help us reduce the number of dependencies on this deprecated module.

[1] https://metacpan.org/pod/IO::Socket::INET6

Reproducible: Always

Comment 1 Fedora Update System 2023-06-29 06:21:07 UTC
FEDORA-2023-ee47236b6b has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ee47236b6b

Comment 2 Fedora Update System 2023-06-29 06:30:09 UTC
FEDORA-2023-ee47236b6b has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.