X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FInstallationCheck.pm;h=9fdfb8fff262ac597d8a53a2af6eb288e613aa57;hb=5142828d6dea553b3e54e936a2f1af368170f660;hp=ec2b719dc1aa712039cc5d921fd3fbd047cd938a;hpb=3720cd5e3b013e1b1af311179b383e9f61832baa;p=kivitendo-erp.git diff --git a/SL/InstallationCheck.pm b/SL/InstallationCheck.pm index ec2b719dc..9fdfb8fff 100644 --- a/SL/InstallationCheck.pm +++ b/SL/InstallationCheck.pm @@ -22,24 +22,25 @@ BEGIN { { name => "CGI", version => '3.43', url => "http://search.cpan.org/~leejo/", debian => 'libcgi-pm-perl' }, # 4.09 is not core anymore (perl 5.20) { name => "Clone", url => "http://search.cpan.org/~rdf/", debian => 'libclone-perl' }, { name => "Config::Std", url => "http://search.cpan.org/~dconway/", debian => 'libconfig-std-perl' }, - { name => "Daemon::Generic", version => '0.71', url => "http://search.cpan.org/~muir/", }, + { name => "Daemon::Generic", version => '0.71', url => "http://search.cpan.org/~muir/", debian => 'libdaemon-generic-perl'}, { name => "DateTime", url => "http://search.cpan.org/~drolsky/", debian => 'libdatetime-perl' }, - { name => "DateTime::Event::Cron", version => '0.08', url => "http://search.cpan.org/~msisk/", }, + { name => "DateTime::Event::Cron", version => '0.08', url => "http://search.cpan.org/~msisk/", debian => 'libdatetime-event-cron-perl' }, { name => "DateTime::Format::Strptime", url => "http://search.cpan.org/~drolsky/", debian => 'libdatetime-format-strptime-perl' }, { name => "DateTime::Set", version => '0.12', url => "http://search.cpan.org/~fglock/", debian => 'libdatetime-set-perl' }, { name => "DBI", version => '1.50', url => "http://search.cpan.org/~timb/", debian => 'libdbi-perl' }, { name => "DBD::Pg", version => '1.49', url => "http://search.cpan.org/~dbdpg/", debian => 'libdbd-pg-perl' }, { name => "Digest::SHA", url => "http://search.cpan.org/~mshelor/", debian => 'libdigest-sha-perl' }, - { name => "Exception::Lite", url => "http://search.cpan.org/~elisheva/", }, + { name => "Exception::Lite", url => "http://search.cpan.org/~elisheva/", }, # fallback latest version 2011 { name => "Email::Address", version => '1.888', url => "http://search.cpan.org/~rjbs/", debian => 'libemail-address-perl' }, { name => "Email::MIME", url => "http://search.cpan.org/~rjbs/", debian => 'libemail-mime-perl' }, { name => "FCGI", version => '0.72', url => "http://search.cpan.org/~mstrout/", debian => 'libfcgi-perl' }, { name => "File::Copy::Recursive", url => "http://search.cpan.org/~dmuey/", debian => 'libfile-copy-recursive-perl' }, - { name => "File::Flock", version => '2008.01', url => "http://search.cpan.org/~muir/", }, + { name => "File::Flock", version => '2008.01', url => "http://search.cpan.org/~muir/", debian => 'libfile-flock-perl' }, { name => "File::MimeInfo", url => "http://search.cpan.org/~michielb/", debian => 'libfile-mimeinfo-perl' }, + { name => "File::Slurp", url => "https://metacpan.org/author/CAPOEIRAB", debian => 'libfile-slurp-perl' }, { name => "GD", url => "http://search.cpan.org/~lds/", debian => 'libgd-gd2-perl', }, { name => 'HTML::Parser', url => 'http://search.cpan.org/~gaas/', debian => 'libhtml-parser-perl', }, - { name => 'HTML::Restrict', url => 'http://search.cpan.org/~oalders/', }, + { name => 'HTML::Restrict', url => 'http://search.cpan.org/~oalders/', debian => 'libhtml-restrict-perl'}, { name => "Image::Info", url => "http://search.cpan.org/~srezic/", debian => 'libimage-info-perl' }, { name => "JSON", url => "http://search.cpan.org/~makamaka", debian => 'libjson-perl' }, { name => "List::MoreUtils", version => '0.30', url => "http://search.cpan.org/~vparseval/", debian => 'liblist-moreutils-perl' }, @@ -53,8 +54,8 @@ BEGIN { { name => "Rose::Object", url => "http://search.cpan.org/~jsiracusa/", debian => 'librose-object-perl' }, { name => "Rose::DB", url => "http://search.cpan.org/~jsiracusa/", debian => 'librose-db-perl' }, { name => "Rose::DB::Object", version => 0.788, url => "http://search.cpan.org/~jsiracusa/", debian => 'librose-db-object-perl' }, - { name => "Set::Infinite", version => '0.63', url => "http://search.cpan.org/~fglock/", }, - { name => "Set::Crontab", version => '1.03', url => "http://search.cpan.org/~ams/", }, + { name => "Set::Infinite", version => '0.63', url => "http://search.cpan.org/~fglock/", debian => 'libset-infinite-perl' }, + { name => "Set::Crontab", version => '1.03', url => "http://search.cpan.org/~ams/", debian => 'libset-crontab-perl' }, { name => "String::ShellQuote", version => 1.01, url => "http://search.cpan.org/~rosch/", debian => 'libstring-shellquote-perl' }, { name => "Sort::Naturally", url => "http://search.cpan.org/~sburke/", debian => 'libsort-naturally-perl' }, # Test::Harness is core, so no Debian packages. Test::Harness 3.00 was first packaged in 5.10.1 @@ -127,9 +128,9 @@ sub template_dirs { sub classes_from_latex { my ($path, $class) = @_; - eval { use String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return; - $path = shell_quote $path; - $class = shell_quote $class; + eval { require String::ShellQuote; 1 } or warn "can't load String::ShellQuote" && return; + $path = String::ShellQuote::shell_quote $path; + $class = String::ShellQuote::shell_quote $class; open my $pipe, q#egrep -rs '^[\ \t]*# . "$class' $path". q# | sed 's/ //g' | awk -F '{' '{print $2}' | awk -F '}' '{print $1}' |#; my @cls = <$pipe>;