Bug 2218100 - Replace deprecated IP::Socket::INET6 by IO::Socket::IP
Summary: Replace deprecated IP::Socket::INET6 by IO::Socket::IP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: spamassassin
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-28 07:14 UTC by Jitka Plesnikova
Modified: 2023-06-29 06:30 UTC (History)
5 users (show)

Fixed In Version: spamassassin-4.0.0-5.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-29 06:30:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.