summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Leres <leres@FreeBSD.org>2024-05-06 18:14:27 -0700
committerCraig Leres <leres@FreeBSD.org>2024-05-06 18:14:27 -0700
commitb3b6a064559c17d7a38fb10321cd78ac115d41e9 (patch)
tree86b128283af7524680b1b7624ac210c5655fc636
parentx11/mate-desktop: Add run-dep on devel/dconf-editor. (diff)
security/zeek: Convert post-extract to EXTRACT_AFTER_ARGS
"Saves I/O by not extracting unused dependency" PR: 278766 Reported by: diizzy
-rw-r--r--security/zeek/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/security/zeek/Makefile b/security/zeek/Makefile
index b2c0bc260b52..ca59ca71499d 100644
--- a/security/zeek/Makefile
+++ b/security/zeek/Makefile
@@ -2,7 +2,6 @@ PORTNAME= zeek
DISTVERSION= 6.0.3
CATEGORIES= security
MASTER_SITES= https://download.zeek.org/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= leres@FreeBSD.org
COMMENT= System for detecting network intruders in real-time
@@ -21,6 +20,9 @@ USES= bison cmake compiler:c++17-lang cpe gettext-runtime perl5 \
USE_LDCONFIG= yes
+EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/auxil/c-ares \
+ --no-same-owner --no-same-permissions
+
BINARY_ALIAS= python3=${PYTHON_CMD}
PORTSCOUT= limit:^[0-9]*\.0\.
@@ -116,9 +118,6 @@ STRIP=
USE_RC_SUBR= zeek
.endif
-post-extract:
- @${RM} -rf ${WRKSRC}/auxil/c-ares
-
post-install-ZEEKCTL-on:
${MKDIR} ${STAGEDIR}${PREFIX}/logs
${MKDIR} ${STAGEDIR}${PREFIX}/spool/tmp