Package: argonaut-client Version: 0.9.1.3 Severity: important Tags: patch upstream
Dear Maintainer, * What led up to the situation? when running argonaut client i found that it didn't detect correctly the perl json rpc library to load * What exactly did you do (or not do) that was effective (or ineffective)? we (upstream) created a patch to fix the issue * What was the outcome of this action? it work as expected after the patch was applied -- System Information: Debian Release: 7.7 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Benoit Mortier CEO OpenSides "logiciels libres pour entreprises" : http://www.opensides.eu/ Promouvoir et défendre le Logiciel Libre http://www.april.org/ Main developper in FusionDirectory : http://www.fusiondirectory.org/ Official French representative for OPSI : http://opsi.org/
From 9c1ee3c09e8f078b826d2c741e4b6142f2260bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Bernigaud?= <come.bernig...@opensides.be> Date: Thu, 18 Dec 2014 13:16:54 +0100 Subject: [PATCH] Fixes #3526 Using legacy json-rpc in Jessie --- argonaut-client/bin/argonaut-client | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/argonaut-client/bin/argonaut-client b/argonaut-client/bin/argonaut-client index 238e549..3e9bd7d 100644 --- a/argonaut-client/bin/argonaut-client +++ b/argonaut-client/bin/argonaut-client @@ -69,7 +69,13 @@ $App::Daemon::as_user = "root"; daemonize(); -my $server = JSON::RPC::Server::Daemon->new( +my $serverClass; +if (USE_LEGACY_JSON_RPC) { + $serverClass = "JSON::RPC::Legacy::Server::Daemon"; +} else { + $serverClass = "JSON::RPC::Server::Daemon"; +} +my $server = $serverClass->new( LocalPort => $client_settings->{'port'}, ($server_settings->{'protocol'} eq 'https') ? (SSL_server => 1, SSL_key_file => $client_settings->{'keyfile'}, -- 1.7.10.4
signature.asc
Description: This is a digitally signed message part.