From 8941e960d2cd4c1af4963745107a9359ed59a19f Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Mon, 1 Aug 2016 18:08:38 +0200 Subject: [PATCH] Bug 17017 Dependency fixes for 16.05 Things I did for 16.05.02. Should go in 16.05.03. Adds to PerlDependencies.pm: IO::Socket::IP Readonly Readonly::XS Adds overrides to debian/list-deps: IO::Socket::IP => 'perl-modules (>= 5.20.0) | libio-socket-ip-perl' Swagger2 => 'libswagger2-perl (>= 0.59)' and an up to date debian/control based on that. --- C4/Installer/PerlDependencies.pm | 15 +++++++++++++++ debian/control | 15 ++++++++++----- debian/list-deps | 2 ++ 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index f4596f1..f8c11a7 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -802,6 +802,21 @@ our $PERL_DEPS = { 'required' => '0', 'min_ver' => '0.07' }, + 'IO::Socket::IP' => { + 'usage' => 'Rest API', + 'required' => '0', + 'min_ver' => '0.16' + }, + 'Readonly' => { + 'usage' => 'No idea', + 'required' => '0', + 'min_ver' => '0.01' + }, + 'Readonly::XS' => { + 'usage' => 'No idea', + 'required' => '0', + 'min_ver' => '0.01' + }, }; 1; diff --git a/debian/control b/debian/control index 30d7f87..0519126 100644 --- a/debian/control +++ b/debian/control @@ -59,9 +59,9 @@ Build-Depends: libalgorithm-checkdigits-perl, libhttp-cookies-perl, libhttp-message-perl, libhttp-oai-perl, - libio-socket-ip-perl, libjson-perl, liblibrary-callnumber-lc-perl, + liblingua-ispell-perl, liblingua-stem-perl, liblingua-stem-snowball-perl, liblist-moreutils-perl, @@ -93,6 +93,8 @@ Build-Depends: libalgorithm-checkdigits-perl, libpdf-reuse-perl, libpdf-table-perl, libplack-middleware-reverseproxy-perl, + libreadonly-perl, + libreadonly-xs-perl, libscalar-list-utils-perl, libschedule-at-perl, libsms-send-perl, @@ -138,9 +140,9 @@ Build-Depends: libalgorithm-checkdigits-perl, libyaml-syck-perl, perl, perl-modules, + perl-modules (>= 5.20.0) | libio-socket-ip-perl, debhelper (>= 7.0.50), gettext, xsltproc, docbook-xsl, - libxml2-utils, bash-completion, perl-modules (>= 5.14.2) | libtest-simple-perl (>= 0.98), - libreadonly-perl, libreadonly-xs-perl + libxml2-utils, bash-completion, perl-modules (>= 5.14.2) | libtest-simple-perl (>= 0.98) Package: koha-common Architecture: all @@ -273,9 +275,9 @@ Depends: libalgorithm-checkdigits-perl, libhttp-cookies-perl, libhttp-message-perl, libhttp-oai-perl, - libio-socket-ip-perl, libjson-perl, liblibrary-callnumber-lc-perl, + liblingua-ispell-perl, liblingua-stem-perl, liblingua-stem-snowball-perl, liblist-moreutils-perl, @@ -307,6 +309,8 @@ Depends: libalgorithm-checkdigits-perl, libpdf-reuse-perl, libpdf-table-perl, libplack-middleware-reverseproxy-perl, + libreadonly-perl, + libreadonly-xs-perl, libscalar-list-utils-perl, libschedule-at-perl, libsms-send-perl, @@ -351,7 +355,8 @@ Depends: libalgorithm-checkdigits-perl, libyaml-perl, libyaml-syck-perl, perl, - perl-modules + perl-modules, + perl-modules (>= 5.20.0) | libio-socket-ip-perl Architecture: all Description: Perl dep. for koha Koha is an Integrated Library Management system for real-world libraries diff --git a/debian/list-deps b/debian/list-deps index f12d088..77f3189 100755 --- a/debian/list-deps +++ b/debian/list-deps @@ -27,6 +27,8 @@ use C4::Installer::PerlDependencies; # debian one. my %overrides = ( 'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<6.02), libio-socket-ssl-perl', + 'IO::Socket::IP' => 'perl-modules (>= 5.20.0) | libio-socket-ip-perl', + 'Swagger2' => 'libswagger2-perl (>= 0.59)', ); # These are packages we're going to ignore -- 2.8.1