From nobody Tue May 21 19:56:10 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VkQDB4lqwz5M7mk; Tue, 21 May 2024 19:56:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkQDB1jbRz49hH; Tue, 21 May 2024 19:56:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716321370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=phkCgaHWTQ0/jV0CKXKt2jYREA5+NpdB3dzSD8XJ560=; b=Gcassa/fzYXQUCTqz+WmDpMlMV+3PSeVtQ4gK0IbBgJXOIfbgKZwZuLck+O7LL1whLvxAd it5u/+p/7fAQeLfn5hOSKJ8eNkaLFr3Cbsl1fckfBfVhpqqMuhYhEIh7ENp9YcXEmZUUR2 eiusrG7yvMOh39vIUE+Vsg3TCxPzZsSfrCDr+o0eAm2kC0y8maHRiJpCumWY3UUmm6a3iL YS+pYC0RXQH0pF9oblfALp0Jnj+s7u+/8xV+5Rv00oFXz3JrgfywZk8eeIq5jMLJVLUhD2 Pw7vApf110//OttNwi7Rn4vxes06zPSJsSFm2wZE2x/UJUQOCZOgYb7bI8ILww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716321370; a=rsa-sha256; cv=none; b=e/qjO84e4jsxPDjfpbY5vq7nGog7vNxa5R2kY+FMFvAjgczINIT3ZqtEOKgSecojE5/kAl LCIBPGsRyfITteFCwaZArFUkC//QjpoIL7wLWob65idOldM4qLivYeNKYeMMYfgSSR3lU/ i8GpBhKa76WKSahEswa2kOM7OTIOUqpWSRIcC2cekAOH/qjP4nP4kAZUqglLrhHuxem6DH nXlESwb2GYgTZWYcR06MSoxXN+9CGWknzda8EsqvuAKnPFE+XqipV5xCnhTuOCUCHkS+Of Ub+SnBv05MFNdEyB7apY1n5PEDdQHdSchxbaMuobmV1cx1hEV/FJ8XmjdLzwEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716321370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=phkCgaHWTQ0/jV0CKXKt2jYREA5+NpdB3dzSD8XJ560=; b=fY7IQJQLTQ3aTPemdp/oqUXSkZIbll1IWhkPy7wKCMDC4JFxsSh60iGvbSp60T4+1ImY+j NWxqZXsL8qS9IV0AMD8EVmROnLGrWynQkw+rWeGIk8tTfKt/KG7NdS8x4y+7DaQen5gigi ItSMkJGcLEJTHS/y+6NBXRk1N57F8C7dhDNFEV7y8Y/Q47gtZxVkfmJ22x9Xgkze0uAnhj Xhftycw/3KKT/8WHtgCGKJfSlLffjytRInUIu6K+pOhCAs+wwh8LdVqlzmLqjLudw2kyMN yMpT/eo3EEmeO6kCQAO6caHLpfe3lavT2EbZTHhstW/ZXY0V0q4nUKCHkCQlew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VkQDB1KtmzbYZ; Tue, 21 May 2024 19:56:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44LJuA2P024625; Tue, 21 May 2024 19:56:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44LJuAGI024622; Tue, 21 May 2024 19:56:10 GMT (envelope-from git) Date: Tue, 21 May 2024 19:56:10 GMT Message-Id: <202405211956.44LJuAGI024622@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 5569738064d7 - main - security/nmap: Use EXTRACT_AFTER_ARGS List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5569738064d7d6eabe931bf2975fe2ef2b284210 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=5569738064d7d6eabe931bf2975fe2ef2b284210 commit 5569738064d7d6eabe931bf2975fe2ef2b284210 Author: Daniel Engberg AuthorDate: 2024-05-21 19:11:58 +0000 Commit: Daniel Engberg CommitDate: 2024-05-21 19:56:02 +0000 security/nmap: Use EXTRACT_AFTER_ARGS To decrease I/O load skip extracting files instead of removing after extraction PR: 278742 Approved by: portmgr (maintainer timeout, 2+ weeks) --- security/nmap/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/security/nmap/Makefile b/security/nmap/Makefile index 820e26ffb6ca..c3b20bc1ae9d 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -21,6 +21,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE .if !defined(MASTERDIR) USES= tar:bzip2 gmake cpe + +# XXX limit results if we do a grep in the sources! +EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/mswin32 \ + --no-same-owner --no-same-permissions + GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share @@ -54,10 +59,6 @@ CONFIGURE_ARGS+=--without-localdirs \ .include -# 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: