From cb9def779a95d9e95a40840a01d3b44b9647abd3 Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Tue, 22 May 2018 12:32:19 +0200 Subject: [PATCH] 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: Tomas Cohen Arazi --- debian/control | 4 ++-- debian/list-deps | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 6731116b74..8b427512b0 100644 --- a/debian/control +++ b/debian/control @@ -64,7 +64,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, @@ -297,7 +297,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, diff --git a/debian/list-deps b/debian/list-deps index 83e28bfd83..fb6e8c3a25 100755 --- a/debian/list-deps +++ b/debian/list-deps @@ -26,7 +26,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)', -- 2.17.0