X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FInstallationCheck.pm;h=758707d214fcf4bc7b7f8a21dfd29773e5205c71;hb=eb518737fe286cb180f4b5d4c0fc54831381e2cf;hp=3100ac67f0f5d4061ab65d4bdaebbb61ccc64381;hpb=8e4ccdd50ed020591ec6caec89f043253ecc0653;p=kivitendo-erp.git diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index 3100ac67f..758707d21 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -36,6 +36,8 @@ BEGIN { @optional_modules = ( { 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' }, ); @developer_modules = ( @@ -97,7 +99,7 @@ my %conditional_dependencies; sub check_for_conditional_dependencies { return if $conditional_dependencies{net_ldap}++; - push @required_modules, { 'name' => 'Net::LDAP', 'url' => 'http://search.cpan.org/~gbarr/' } + push @required_modules, grep { $_->{name} eq 'Net::LDAP' } @optional_modules if $::lx_office_conf{authentication} && ($::lx_office_conf{authentication}->{module} eq 'LDAP'); }