package/snort: needs zlib

In commit fe4b9321e5 ("package/libpcap:
remove unnecessary dependency on zlib"), the depedency of libpcap on
zlib was removed as it was not needed. However, it was thanks to this
dependency that the snort package satisfied its dependency on zlib,
which is now missing. This commit fixes that by adding a dependency of
snort on zlib.

Fixes:

  checking zlib.h usability... no
  checking zlib.h presence... no
  checking for zlib.h... no

     ERROR!  zlib header not found, go get it from
     http://www.zlib.net

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Peter Seiderer 2020-01-10 18:28:17 +01:00 committed by Thomas Petazzoni
parent 24e7ae4521
commit 1ae505f0bd
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@ config BR2_PACKAGE_SNORT
select BR2_PACKAGE_DAQ
select BR2_PACKAGE_PCRE
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
select BR2_PACKAGE_ZLIB
help
Snort is a free and open source network intrusion
prevention system (IPS) and network intrusion detection

View file

@ -9,7 +9,7 @@ SNORT_SITE = https://www.snort.org/downloads/snort
SNORT_LICENSE = GPL-2.0
SNORT_LICENSE_FILES = LICENSE COPYING
SNORT_DEPENDENCIES = libpcap libdnet daq pcre host-pkgconf
SNORT_DEPENDENCIES = libpcap libdnet daq pcre zlib host-pkgconf
# patching configure.in
SNORT_AUTORECONF = YES