Bug 20800: Keep Koha on Stretch from using broken libhttp-oai-perl

libhttp-oai-perl in Stretch is 4.03 and broken. Koha depends on
libhttp-oai-perl << 4 for that reason. To make the installation of Koha
on Stretch as easy as possible, this patch adds the alternative
libhttp-oai-3.27-perl which we provide in the Koha repository.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 56813f5c90)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Mirko Tietgen 2018-05-22 12:32:19 +02:00 committed by Fridolin Somers
parent 492af5173b
commit 2d3aca1b6d
2 changed files with 3 additions and 3 deletions

4
debian/control vendored
View File

@ -66,7 +66,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
libhtml-scrubber-perl,
libhttp-cookies-perl,
libhttp-message-perl,
libhttp-oai-perl (>= 3.2), libhttp-oai-perl (<< 4.0),
libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl,
libjson-perl,
libjson-validator-perl,
liblibrary-callnumber-lc-perl,
@ -298,7 +298,7 @@ Depends: libalgorithm-checkdigits-perl,
libhtml-scrubber-perl,
libhttp-cookies-perl,
libhttp-message-perl,
libhttp-oai-perl (>= 3.2), libhttp-oai-perl (<< 4.0),
libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl,
libjson-perl,
libjson-validator-perl,
liblibrary-callnumber-lc-perl,

2
debian/list-deps vendored
View File

@ -27,7 +27,7 @@ use C4::Installer::PerlDependencies;
# debian one.
my %overrides = (
'LWP::Protocol::https' => 'liblwp-protocol-https-perl|libwww-perl (<<6.02), libio-socket-ssl-perl',
'HTTP::OAI' => 'libhttp-oai-perl (>= 3.2), libhttp-oai-perl (<< 4.0)',
'HTTP::OAI' => 'libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<< 4.0) | libhttp-oai-3.27-perl',
'IO::Socket::IP' => 'perl-modules (>= 5.20.0) | perl-modules-5.22 | perl-modules-5.24 | libio-socket-ip-perl',
'Swagger2' => 'libswagger2-perl (>= 0.59)',
'Mojolicious' => 'libmojolicious-perl (>= 6.0)',