jetmore / swaks

Swaks - Swiss Army Knife for SMTP
http://jetmore.org/john/code/swaks/
GNU General Public License v2.0
847 stars 86 forks source link

Switch modules from INET6 to IP #57

Closed Urumasi closed 7 months ago

Urumasi commented 1 year ago

Since Perl 5.14, IO::Socket::IP supports both IPv4 and IPv6, and IO::Socket::INET6 is deprecated. This pull request removes IO::Socket::INET6 from its dependencies and replaces it with IO::Socket::IP

Closes #43

Urumasi commented 1 year ago

I've just found out that AWS Amazon Linux 2 ships an old version of IO::Socket::IP which does not support IPv6. Should this be addressed in some way? It could either work with backwards compatibility or simply using a patch for the Amazon Linux 2 package that does not include this module swap

jetmore commented 7 months ago

Thanks for doing this. I already had this mostly implemented but was trying to fix another bug first. I merged a fix for this in #61, closing this PR