Package: leo
Version: 2.0.1-1
Severity: normal
Tags: patch upstream
The leo command does not honour the http_proxy variable, so it is unusable
for users behind a firewall. The trivial patch attached below fixes the
problem. Please apply it to the Debian package and/or forward it to the
upstream author.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages leo depends on:
ii liblocale-gettext-perl 1.05-1 Using libc functions for internati
ii libnet-dict-leo-perl 0.08b-2 Perl module to translate English w
ii libterm-size-perl 0.2-1 Perl extension for retrieving term
ii perl 5.8.7-8 Larry Wall's Practical Extraction
ii perl-modules 5.8.7-8 Core Perl modules
leo recommends no packages.
-- no debconf information
--- Leo.pm-orig 2005-12-28 00:02:24.000000000 +0100
+++ Leo.pm 2006-01-11 09:26:19.521534376 +0100
@@ -96,6 +96,7 @@
if ( defined $form{useragent} and $form{useragent} ) {
agent $useragent $form{useragent};
}
+ $useragent->env_proxy();
# request
my $request = new HTTP::Request GET => "http://dict.leo.org/?$querystring";