Blame netatalk-3.1.12-rewrite_deprecated_perl_dependency.patch
|
|
e2b9009 |
diff -ru netatalk-3.1.12.orig/contrib/shell_utils/asip-status.pl.in netatalk-3.1.12/contrib/shell_utils/asip-status.pl.in
|
|
|
e2b9009 |
--- netatalk-3.1.12.orig/contrib/shell_utils/asip-status.pl.in 2018-11-29 10:30:45.000000000 +0100
|
|
|
e2b9009 |
+++ netatalk-3.1.12/contrib/shell_utils/asip-status.pl.in 2021-05-20 01:48:48.125285875 +0200
|
|
|
e2b9009 |
@@ -20,7 +20,7 @@
|
|
|
e2b9009 |
#
|
|
|
e2b9009 |
|
|
|
e2b9009 |
use strict;
|
|
|
e2b9009 |
-use IO::Socket::INET6; # sucks because Timeout doesn't
|
|
|
e2b9009 |
+use IO::Socket::IP; # sucks because Timeout doesn't
|
|
|
e2b9009 |
|
|
|
e2b9009 |
my ($arg);
|
|
|
e2b9009 |
my ($hostport);
|
|
|
e2b9009 |
@@ -137,7 +137,7 @@
|
|
|
e2b9009 |
|
|
|
e2b9009 |
print "opening $host:$port\n" if ($main::debug);
|
|
|
e2b9009 |
|
|
|
e2b9009 |
- my ($asip_sock) = IO::Socket::INET6->new(
|
|
|
e2b9009 |
+ my ($asip_sock) = IO::Socket::IP->new(
|
|
|
e2b9009 |
Domain => $main::ipv,
|
|
|
e2b9009 |
PeerAddr => $host,
|
|
|
e2b9009 |
PeerPort => $port,
|
|
|
e2b9009 |
diff -ru netatalk-3.1.12.orig/doc/manpages/man1/asip-status.pl.1.xml netatalk-3.1.12/doc/manpages/man1/asip-status.pl.1.xml
|
|
|
e2b9009 |
--- netatalk-3.1.12.orig/doc/manpages/man1/asip-status.pl.1.xml 2016-06-18 15:02:35.000000000 +0200
|
|
|
e2b9009 |
+++ netatalk-3.1.12/doc/manpages/man1/asip-status.pl.1.xml 2021-05-20 02:02:41.516932877 +0200
|
|
|
e2b9009 |
@@ -75,7 +75,7 @@
|
|
|
e2b9009 |
supports both IPv4 and IPv6. It's decided by your system which IP version
|
|
|
e2b9009 |
to use. You can use -4 or -6 option to specify IP version.</para>
|
|
|
e2b9009 |
|
|
|
e2b9009 |
- <note><para><command>asip-status.pl</command> requires IO::Socket::INET6
|
|
|
e2b9009 |
+ <note><para><command>asip-status.pl</command> requires IO::Socket::IP
|
|
|
e2b9009 |
module.</para></note>
|
|
|
e2b9009 |
|
|
|
e2b9009 |
</refsect1>
|
|
|
e2b9009 |
diff -ru netatalk-3.1.12.orig/man/man1/asip-status.pl.1.in netatalk-3.1.12/man/man1/asip-status.pl.1.in
|
|
|
e2b9009 |
--- netatalk-3.1.12.orig/man/man1/asip-status.pl.1.in 2018-11-29 10:30:45.000000000 +0100
|
|
|
e2b9009 |
+++ netatalk-3.1.12/man/man1/asip-status.pl.1.in 2021-05-20 02:02:17.827687086 +0200
|
|
|
e2b9009 |
@@ -63,7 +63,7 @@
|
|
|
e2b9009 |
.br
|
|
|
e2b9009 |
.PP
|
|
|
e2b9009 |
\fBasip\-status\&.pl\fR
|
|
|
e2b9009 |
-requires IO::Socket::INET6 module\&.
|
|
|
e2b9009 |
+requires IO::Socket::IP module\&.
|
|
|
e2b9009 |
.sp .5v
|
|
|
e2b9009 |
.RE
|
|
|
e2b9009 |
.SH "OPTIONS"
|