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

security/nmap-devel: Use EXTRACT_AFTER_ARGS

To decrease I/O load skip extracting files instead of removing after
extraction

PR:		278743
Reviewed by:	cy (maintainer)
This commit is contained in:
Daniel Engberg 2024-05-06 22:11:07 +02:00
parent 8ec237cd56
commit 27e3a3eab4

View File

@ -21,6 +21,11 @@ LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell
LIB_DEPENDS= libpcre2-16.so:devel/pcre2
USES= gmake cpe libtool
# XXX limit results if we do a grep in the sources!
EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/mswin32 \
--no-same-owner --no-same-permissions
USE_GITHUB= yes
GH_TAGNAME= 036714cde
NMAP_COMMIT_DATE= 20240327
@ -58,10 +63,6 @@ STRIP_FILES+= nmap nping
.include <bsd.port.options.mk>
# XXX limit results if we do a grep in the sources!
post-extract:
@${RM} -r ${WRKSRC}/mswin32
.if exists(/usr/lib/libibverbs.a)
# Link with libibverbs is needed by static libpcap
post-patch-PCAP-on: