git: b3b6a064559c - main - security/zeek: Convert post-extract to EXTRACT_AFTER_ARGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 May 2024 01:14:57 UTC
The branch main has been updated by leres: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3b6a064559c17d7a38fb10321cd78ac115d41e9 commit b3b6a064559c17d7a38fb10321cd78ac115d41e9 Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2024-05-07 01:14:27 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2024-05-07 01:14:27 +0000 security/zeek: Convert post-extract to EXTRACT_AFTER_ARGS "Saves I/O by not extracting unused dependency" PR: 278766 Reported by: diizzy --- security/zeek/Makefile | 7 +++---- 1 file 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