Package: libnet-server-perl Version: 0.90-1 Severity: important Installing libnet-server-perl via apt-get (i.e. satisfying all dependencies) and starting a simple server script that also uses cidr functionality like cidr_allow:
-----------------------------------
package MyPackage;
use strict;
use vars qw(@ISA);
use Net::Server::PreFork;
@ISA = qw(Net::Server::PreFork);
MyPackage->run(
port => 8889,
cidr_allow => '192.168.0.0/16'
);
exit;
-----------------------------------
Then connecting to that server from another terminal:
$ telnet localhost 8889
yields in immediate
| Connection closed by foreign host.
while the server process prints (lines wrapped)
| Can't locate Net/CIDR.pm in @INC (@INC contains: /etc/perl
| /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
| /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
| /usr/local/lib/site_perl .) at /usr/share/perl5/Net/Server.pm line
| 793.
Please add libnet-cidr-perl to the Depends: clause to have that fixed.
-- 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.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages libnet-server-perl depends on:
ii libio-multiplex-perl 1.08-2 object-oriented interface to selec
ii perl 5.8.8-6.1 Larry Wall's Practical Extraction
libnet-server-perl recommends no packages.
-- no debconf information
signature.asc
Description: Digital signature

