X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/e9a3fb763c4e25b7e739d140a42e58268cbfa0a2..6454c25f66fd37513e8f8e94167c019e372c3ef7:/SL/InstallationCheck.pm diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 27581ad4f..397a99f24 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -39,6 +39,9 @@ BEGIN { { name => "Digest::SHA", url => "http://search.cpan.org/~mshelor/", debian => 'libdigest-sha-perl' }, { name => "IO::Socket::SSL", url => "http://search.cpan.org/~sullr/", debian => 'libio-socket-ssl-perl' }, { name => "Net::LDAP", url => "http://search.cpan.org/~gbarr/", debian => 'libnet-ldap-perl' }, + # Net::LDAP is core since 5.7.3 + { name => "Net::SMTP::SSL", version => '1.01', url => "http://search.cpan.org/~cwest/", debian => 'libnet-smtp-ssl-perl' }, + { name => "Net::SMTP::TLS", version => '0.12', url => "http://search.cpan.org/~awestholm/", debian => 'libnet-smtp-tls-perl' }, ); @developer_modules = ( @@ -57,7 +60,7 @@ sub module_available { my $module = $_[0]; my $version = $_[1] || '' ; - my $got = eval "use $module $version; 1"; + my $got = eval "use $module $version (); 1"; if ($got) { return ($got, $module->VERSION);