Package: vpnc
Version: 0.3.3+SVN20051028-3
Severity: normal
There was some trouble when testing pcf2vpnc:
- This Perl script relies on LWP::Simple which isn't necessarily
installed. I'd suggest to do a test first:
use IO::File;
+ eval { require LWP::Simple; } || die ("Please install the libwww-perl package
first");
use LWP::Simple;
since a "Depends: libwww-perl" seems a bit oversized for a seldom-used
helper application. "Suggests:" or "Recommends:" might be an idea.
- The script did not skip empty option lines in the .pcf shipped by my
university. Subsequently it tried to decode an empty enc_UserPassword
which is somewhat confusing. The cause for all that were \r\n line endings.
Fix:
while (<$file>) {
+ s/\r$//;
if (/^(.*?)=(.*?)$/) {
- Just for readability:
unless ($confirm eq "yes") {
- print STDERR "Password decryption has been omitted!";
+ print STDERR "Password decryption has been omitted!\n";
return "";
Else the first line of the output (on stdout only) ""## generated by
pcf2vpnc.pl" might not be printed on the beginning of the line.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.17
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages vpnc depends on:
ii iproute 20051007-4 Professional tools to control the
ii libc6 2.3.6-7 GNU C Library: Shared libraries
ii libgcrypt11 1.2.2-1 LGPL Crypto library - runtime libr
ii libgpg-error0 1.2-1 library for common error values an
vpnc recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]