1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

security/suricata: Fix libpcap LIB_DEPENDS

Fix the PORTS_PCAP option LIB_DEPENDS entry ambiguously depending on
net/libpcap, which should be libpcap.so.1 so as not to be satisfied
with the pcap library provided by base. [1]

While I'm here:

- Explicitly BUILD_DEPEND on libhtp >= 0.5.20, as configure breaks when
  that minimum version is not available.

PR:		211578
Reported by:	marino [1]
This commit is contained in:
Kubilay Kocak 2016-08-06 08:51:43 +00:00
parent 127ca6c8de
commit 5ad8f6ef6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419735

View File

@ -3,6 +3,7 @@
PORTNAME= suricata
PORTVERSION= 3.1.1
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.openinfosecfoundation.org/download/
@ -54,6 +55,7 @@ TESTS_DESC= Unit tests in suricata binary
GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP
GEOIP_CONFIGURE_ON= --enable-geoip
HTP_PORT_BUILD_DEPENDS= libhtp>=0.5.20:devel/libhtp
HTP_PORT_LIB_DEPENDS= libhtp.so:devel/libhtp
HTP_PORT_CONFIGURE_ON= --enable-non-bundled-htp
HTP_PORT_CONFIGURE_OFF= --enable-bundled-htp
@ -83,7 +85,7 @@ NSS_CONFIGURE_ON= --with-libnss-includes=${LOCALBASE}/include/nss/nss \
NETMAP_CONFIGURE_ENABLE= netmap
PORTS_PCAP_LIB_DEPENDS= libpcap.so:net/libpcap
PORTS_PCAP_LIB_DEPENDS= libpcap.so.1:net/libpcap
PORTS_PCAP_CONFIGURE_ON= --with-libpcap-includes=${LOCALBASE}/include \
--with-libpcap-libraries=${LOCALBASE}/lib
PORTS_PCAP_CONFIGURE_OFF= --with-libpcap-includes=/usr/include \