git: cf24ceafc1b6 - main - security/snort: Use libpcap from ports

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 05 Oct 2026 21:35:21 UTC
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cf24ceafc1b66a5380558145b5b81ee24a360a7a

commit cf24ceafc1b66a5380558145b5b81ee24a360a7a
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2026-10-05 21:00:03 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2026-10-05 21:35:15 +0000

    security/snort: Use libpcap from ports
    
    Summary:
    Add explicit lib version to force port to use libpcap from ports and
    avoid it rebuilding every time base packages are upgraded
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Reviewed By:    dvl
    Differential Revision:  https://reviews.freebsd.org/D60381
---
 security/snort/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/snort/Makefile b/security/snort/Makefile
index 5cd9d6a74dd2..773b76a9ec60 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	snort
 PORTVERSION=	2.9.20
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	security
 MASTER_SITES=	https://snort.org/downloads/snort/ \
 		https://snort.org/downloads/archive/snort/
@@ -17,7 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	daq>=2.2.2_3:net/daq
 LIB_DEPENDS=	libpcre.so:devel/pcre \
 		libdnet.so:net/libdnet \
-		libpcap.so:net/libpcap
+		libpcap.so.1:net/libpcap
 RUN_DEPENDS=	daq>=2.2.2_3:net/daq
 
 USES=			bison cpe libtool pathfix shebangfix ssl