Package: fwsnort
Version: 1.6.3-1
Severity: serious
Justification: Policy 7.2

The fwsnort script from the fwsnort package doesn't run because its
debian/control file specifies libnet-ip-perl as a dependency, rather
than libnetaddr-ip-perl.

  ∴ apt-cache show fwsnort | grep Depends
  Depends: perl, debconf (>= 0.5) | debconf-2.0, iptables, libnet-ip-perl, 
libiptables-parse-perl

The error displayed when trying to run the fwsnort script is:

  Can't locate NetAddr/IP.pm in @INC (you may need to install the NetAddr::IP 
module)
   (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 
/usr/local/share/perl/5.18.2
   /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 
/usr/local/lib/site_perl .)
   at /usr/sbin/fwsnort line 4260.

Grepping the source package (cloned from
https://alioth.debian.org/anonscm/git/collab-maint/fwsnort.git), it
seems that fwsnort depends upon both libnetaddr-ip-perl and
libnet-rawip-perl:

  ∃!isisⒶwintermute:(debian *+=)~/code/sources/fwsnort ∴ ack-grep 'require Net'
  snortspoof.pl
  32:require Net::RawIP;

  fwsnort
  4260:    require NetAddr::IP;

Both libnetaddr-ip-perl and libnet-rawip-perl are missing from
debian/control and they should be added. The dependency on
libnet-ip-perl should be removed, I believe, as it appears to not
actually be required.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fwsnort depends on:
ii  debconf [debconf-2.0]   1.5.53
ii  iptables                1.4.21-2
ii  libiptables-parse-perl  1.1-1
ii  libnet-ip-perl          1.26-1
ii  perl                    5.18.2-4

Versions of packages fwsnort recommends:
ii  snort-rules-default  2.9.5.3-3

fwsnort suggests no packages.

-- debconf information:
  fwsnort/download: false

-- 
 ♥Ⓐ isis agora lovecruft
_________________________________________________________
GPG: 4096R/A3ADB67A2CDB8B35
Current Keys: https://blog.patternsinthevoid.net/isis.txt

Attachment: signature.asc
Description: Digital signature

Reply via email to