mirror of
https://github.com/imapsync/imapsync.git
synced 2025-06-06 20:55:29 +02:00
Merge 0a28a496cd
into 0dd79e7e52
This commit is contained in:
commit
6072bdefde
9 changed files with 5 additions and 15 deletions
|
@ -57,7 +57,6 @@ RUN set -xe && \
|
||||||
libfile-tail-perl \
|
libfile-tail-perl \
|
||||||
libio-compress-perl \
|
libio-compress-perl \
|
||||||
libio-socket-ssl-perl \
|
libio-socket-ssl-perl \
|
||||||
libio-socket-inet6-perl \
|
|
||||||
libio-tee-perl \
|
libio-tee-perl \
|
||||||
libhtml-parser-perl \
|
libhtml-parser-perl \
|
||||||
libjson-webtoken-perl \
|
libjson-webtoken-perl \
|
||||||
|
|
|
@ -72,7 +72,6 @@ perl-Dist-CheckConflicts \
|
||||||
perl-ExtUtils-Embed \
|
perl-ExtUtils-Embed \
|
||||||
perl-File-Copy-Recursive \
|
perl-File-Copy-Recursive \
|
||||||
perl-File-Tail \
|
perl-File-Tail \
|
||||||
perl-IO-Socket-INET6 \
|
|
||||||
perl-IO-Socket-SSL \
|
perl-IO-Socket-SSL \
|
||||||
perl-JSON \
|
perl-JSON \
|
||||||
perl-HTML-Parser \
|
perl-HTML-Parser \
|
||||||
|
|
|
@ -48,7 +48,6 @@ Commands to run:
|
||||||
extra/perl-digest-hmac \
|
extra/perl-digest-hmac \
|
||||||
community/perl-dist-checkconflicts \
|
community/perl-dist-checkconflicts \
|
||||||
extra/perl-file-copy-recursive \
|
extra/perl-file-copy-recursive \
|
||||||
extra/perl-io-socket-inet6 \
|
|
||||||
extra/perl-io-socket-ssl \
|
extra/perl-io-socket-ssl \
|
||||||
community/perl-io-tee \
|
community/perl-io-tee \
|
||||||
community/perl-json \
|
community/perl-json \
|
||||||
|
|
|
@ -80,7 +80,6 @@ apt install -y \
|
||||||
libencode-imaputf7-perl \
|
libencode-imaputf7-perl \
|
||||||
libfile-copy-recursive-perl \
|
libfile-copy-recursive-perl \
|
||||||
libfile-tail-perl \
|
libfile-tail-perl \
|
||||||
libio-socket-inet6-perl \
|
|
||||||
libio-socket-ssl-perl \
|
libio-socket-ssl-perl \
|
||||||
libio-tee-perl \
|
libio-tee-perl \
|
||||||
libhtml-parser-perl \
|
libhtml-parser-perl \
|
||||||
|
@ -170,7 +169,6 @@ apt install \
|
||||||
libencode-imaputf7-perl \
|
libencode-imaputf7-perl \
|
||||||
libfile-copy-recursive-perl \
|
libfile-copy-recursive-perl \
|
||||||
libfile-tail-perl \
|
libfile-tail-perl \
|
||||||
libio-socket-inet6-perl \
|
|
||||||
libio-socket-ssl-perl \
|
libio-socket-ssl-perl \
|
||||||
libio-tee-perl \
|
libio-tee-perl \
|
||||||
libhtml-parser-perl \
|
libhtml-parser-perl \
|
||||||
|
@ -245,7 +243,6 @@ apt-get install \
|
||||||
libfile-copy-recursive-perl \
|
libfile-copy-recursive-perl \
|
||||||
libfile-tail-perl \
|
libfile-tail-perl \
|
||||||
libio-compress-perl \
|
libio-compress-perl \
|
||||||
libio-socket-inet6-perl \
|
|
||||||
libio-socket-ssl-perl \
|
libio-socket-ssl-perl \
|
||||||
libio-tee-perl \
|
libio-tee-perl \
|
||||||
libmail-imapclient-perl \
|
libmail-imapclient-perl \
|
||||||
|
|
|
@ -70,7 +70,6 @@ RUN set -xe && \
|
||||||
libfile-tail-perl \
|
libfile-tail-perl \
|
||||||
libio-compress-perl \
|
libio-compress-perl \
|
||||||
libio-socket-ssl-perl \
|
libio-socket-ssl-perl \
|
||||||
libio-socket-inet6-perl \
|
|
||||||
libio-tee-perl \
|
libio-tee-perl \
|
||||||
libhtml-parser-perl \
|
libhtml-parser-perl \
|
||||||
libjson-webtoken-perl \
|
libjson-webtoken-perl \
|
||||||
|
|
|
@ -26,7 +26,6 @@ libencode-imaputf7-perl \
|
||||||
libfile-copy-recursive-perl \
|
libfile-copy-recursive-perl \
|
||||||
libfile-tail-perl \
|
libfile-tail-perl \
|
||||||
libio-compress-perl \
|
libio-compress-perl \
|
||||||
libio-socket-inet6-perl \
|
|
||||||
libio-socket-ssl-perl \
|
libio-socket-ssl-perl \
|
||||||
libio-tee-perl \
|
libio-tee-perl \
|
||||||
libjson-webtoken-perl \
|
libjson-webtoken-perl \
|
||||||
|
|
|
@ -20,7 +20,6 @@ Encode::IMAPUTF7
|
||||||
File::Copy::Recursive
|
File::Copy::Recursive
|
||||||
File::Tail
|
File::Tail
|
||||||
IO::Socket::INET
|
IO::Socket::INET
|
||||||
IO::Socket::INET6
|
|
||||||
IO::Socket::SSL
|
IO::Socket::SSL
|
||||||
IO::Tee
|
IO::Tee
|
||||||
JSON
|
JSON
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -716,7 +716,7 @@ $(BIN_NAME): imapsync
|
||||||
imapsync ; \
|
imapsync ; \
|
||||||
}
|
}
|
||||||
# Maybe add -M Test2::Event::Info Mail::IMAPClient \
|
# Maybe add -M Test2::Event::Info Mail::IMAPClient \
|
||||||
#-M Net::SSLeay -M IO::Socket -M IO::Socket::INET6 -M IO::Socket::SSL \
|
#-M Net::SSLeay -M IO::Socket -M IO::Socket::SSL \
|
||||||
#-M Digest::MD5 -M Digest::HMAC_MD5 -M Term::ReadKey \
|
#-M Digest::MD5 -M Digest::HMAC_MD5 -M Term::ReadKey \
|
||||||
#-M Authen::NTLM -M HTML::Entities -M JSON::WebToken \
|
#-M Authen::NTLM -M HTML::Entities -M JSON::WebToken \
|
||||||
#-M Test2::Event -M Test2::Formatter -M Test2::Formatter::TAP \
|
#-M Test2::Event -M Test2::Formatter -M Test2::Formatter::TAP \
|
||||||
|
|
9
imapsync
9
imapsync
|
@ -1001,7 +1001,6 @@ use File::stat ;
|
||||||
use Getopt::Long ( ) ;
|
use Getopt::Long ( ) ;
|
||||||
use IO::File ;
|
use IO::File ;
|
||||||
use IO::Socket qw( :crlf SOL_SOCKET SO_KEEPALIVE ) ;
|
use IO::Socket qw( :crlf SOL_SOCKET SO_KEEPALIVE ) ;
|
||||||
use IO::Socket::INET6 ;
|
|
||||||
use IO::Socket::SSL ;
|
use IO::Socket::SSL ;
|
||||||
use IO::Tee ;
|
use IO::Tee ;
|
||||||
use IPC::Open3 'open3' ;
|
use IPC::Open3 'open3' ;
|
||||||
|
@ -7075,7 +7074,6 @@ sub modulesversion
|
||||||
'HTML::Entities' => sub { $HTML::Entities::VERSION },
|
'HTML::Entities' => sub { $HTML::Entities::VERSION },
|
||||||
'IO::Socket' => sub { $IO::Socket::VERSION },
|
'IO::Socket' => sub { $IO::Socket::VERSION },
|
||||||
'IO::Socket::INET' => sub { $IO::Socket::INET::VERSION },
|
'IO::Socket::INET' => sub { $IO::Socket::INET::VERSION },
|
||||||
'IO::Socket::INET6' => sub { $IO::Socket::INET6::VERSION },
|
|
||||||
'IO::Socket::IP' => sub { $IO::Socket::IP::VERSION },
|
'IO::Socket::IP' => sub { $IO::Socket::IP::VERSION },
|
||||||
'IO::Socket::SSL' => sub { $IO::Socket::SSL::VERSION },
|
'IO::Socket::SSL' => sub { $IO::Socket::SSL::VERSION },
|
||||||
'IO::Tee' => sub { $IO::Tee::VERSION },
|
'IO::Tee' => sub { $IO::Tee::VERSION },
|
||||||
|
@ -7870,13 +7868,14 @@ sub tests_connect_socket
|
||||||
skip( 'Tests avoided on CUILLERE/pcHPDV7-HP/macosx.polarhome.com/docker cannot do ipv6', 2 ) ;
|
skip( 'Tests avoided on CUILLERE/pcHPDV7-HP/macosx.polarhome.com/docker cannot do ipv6', 2 ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
$socket = IO::Socket::INET6->new(
|
$socket = IO::Socket::IP->new(
|
||||||
PeerAddr => 'ks6ipv6.lamiral.info',
|
PeerHost => 'ks6ipv6.lamiral.info',
|
||||||
PeerPort => 143,
|
PeerPort => 143,
|
||||||
|
V6Only => 1,
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
|
|
||||||
ok( $imap = connect_socket( $socket ), 'connect_socket: ks6ipv6.lamiral.info port 143 IO::Socket::INET6' ) ;
|
ok( $imap = connect_socket( $socket ), 'connect_socket: ks6ipv6.lamiral.info port 143 IO::Socket::IP' ) ;
|
||||||
#$imap->Debug( 1 ) ;
|
#$imap->Debug( 1 ) ;
|
||||||
# myprint( $imap->capability( ) ) ;
|
# myprint( $imap->capability( ) ) ;
|
||||||
if ( $imap ) {
|
if ( $imap ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue