regress: Add install_deps support for Debian Lenny
Perl convert-binary-c is not in Lenny repos yet, so install from source.
This commit is contained in:
committed by
Glen Gibb
parent
fc8a51634d
commit
b70d37144f
@@ -143,7 +143,6 @@ sub install_ubuntu_debian {
|
||||
'libpcap0.8-dev',
|
||||
'iproute',
|
||||
'psmisc',
|
||||
'libconvert-binary-c-perl',
|
||||
'libnet-pcap-perl',
|
||||
'libnet-rawip-perl',
|
||||
'wget',
|
||||
@@ -157,6 +156,14 @@ sub install_ubuntu_debian {
|
||||
'http://www.cpan.org/authors/id/J/JV/JV/Getopt-Long-2.38.tar.gz',
|
||||
);
|
||||
|
||||
if ($distro eq UBUNTU) {
|
||||
push (@pkts, 'libconvert-binary-c-perl')
|
||||
}
|
||||
else {
|
||||
push (@modules,
|
||||
'http://search.cpan.org/CPAN/authors/id/M/MH/MHX/Convert-Binary-C-0.74.tar.gz')
|
||||
}
|
||||
|
||||
# Run apt-get
|
||||
my @flags = ('-y');
|
||||
push(@flags, '-s') if defined($sim);
|
||||
|
||||
Reference in New Issue
Block a user