Bug 20437: Force the dependency on HTTP::OAI < 4.0
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 16 Mar 2018 18:22:47 +0000 (15:22 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 May 2018 18:00:01 +0000 (15:00 -0300)
Until HTTP::OAI is patched so it actually works, and bug 17704 fixes the API change Koha-side, we need to explicitly pull the right version. Otherwise people using Debian 9+ derived distros (Ubuntu 16.04+) are seeing production issues.

This implies packaging our custom libhttp-oai-perl distribution in the meantime.

This patch makes Koha require a version lower than 4.0.

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

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

debian/list-deps

index d599df8..83e28bf 100755 (executable)
@@ -26,6 +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)',
     '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)',