From nobody Mon May 20 21:54:00 2024 X-Original-To: dev-commits-ports-main@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 4Vjrtc4nc3z5LYB1; Mon, 20 May 2024 21:54:00 +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 4Vjrtc30Rdz4Zyk; Mon, 20 May 2024 21:54:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716242040; 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=7QM4m1PNQDTMZ4OGApdOR6HStd/lW+2j4halZhNNC6Y=; b=ot8FE4Vn1LZ5ioYuPhwYHddqHfJO04hmx5/AO+SPYx7CvwornGwUB8GT34qFsh97bPpTBX pTyZgq/ZcRIGd1Jra8PF46Vqp31wjf1EmSIoMoP2qoGr4CTND6Qt7yKNOg+Rs1HU4c7b2n 4su/nz/gh+pdk2jC/+y6vEqfDYQb5SS4+fQBmFvvQLbE8ao/FtWFiUuRCU8bf4jJVjGSYF txJbT7tue6q5Gx2knDFt4DppGXiVTxMZuqEwENY/jR3zlwvRc0iPx36EXwbB7oGAyPUr6F 49suYHotxrTFaAUq8ar5s0kfYEprlLzkFq7czAJgdJQIJE7uAxfp0yTKGAVw8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716242040; a=rsa-sha256; cv=none; b=y2dUg1S3SvzhHqq2rsj1QRhj2u2nf9vDynH2lvbvNc77ig/WRduzQ8Cl5EHcAmepRGY1oQ s6KC/Vr11MEYS9/0SH7xaXFPFlyGe/knfvII9HBlsrGQfqgKeQ7ihpxnm4ChlASAKeRX5Q 5DlnBa+PFsJHW72BMFQ1rHInS0IGlsQQUJlHSg+VhRRlHf4DLm6pH2K6kmC8bn/I3DkBDq I71ymG9hmrCy3w07Oy7hEXXHKOSeYyMWMJ4xm3UTiqYLqpaHOuUShOcKp+yVii81CRFUcS uoddPXLTkFhbmV4jYnEhry+mZSVos47f0PBxtn7ANCmNHXDxLGdWYIU1qVNo4A== 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=1716242040; 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=7QM4m1PNQDTMZ4OGApdOR6HStd/lW+2j4halZhNNC6Y=; b=kLQ0uYvMlkcxcofRoPPwIyaKAnR6RSnigblo7p+1CxWDsmMC+CltWQmLWlbj6tZVEteE5E TAlfycRs0oitakpQ2VBrg8brq/W+kf0yaYu0fxcjuWD6LrNsDnX/XHwe1JlVdaKlbQSiPn H6spwJ3WX/sPlfsyeMX7G9RClWh6XqJVdH5o5pXFaMkb1Yef83434oSarttHmzvICEZ5Kt 28TE72JfRUpfEFNLL2KT1oAbZtI+hQTxcsYoFv9VHX9HyEIiG6Od4bsbHHgFRfPOrNJtcx +6maKz2rPDY7U5iroRtDY9XCmCI57iYY1fzrplZylwBqwwQK7nqbnwlj/djsew== 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 4Vjrtc2L8zzw9D; Mon, 20 May 2024 21:54:00 +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 44KLs0tb091918; Mon, 20 May 2024 21:54:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44KLs0jm091915; Mon, 20 May 2024 21:54:00 GMT (envelope-from git) Date: Mon, 20 May 2024 21:54:00 GMT Message-Id: <202405202154.44KLs0jm091915@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: aa8d1b3f0cf8 - main - news/nzbhydra2: Convert post-extract to EXTRACT_AFTER_ARGS List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: aa8d1b3f0cf8c9e7b6dece28f8e1ea4cc00a2145 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa8d1b3f0cf8c9e7b6dece28f8e1ea4cc00a2145 commit aa8d1b3f0cf8c9e7b6dece28f8e1ea4cc00a2145 Author: Daniel Engberg AuthorDate: 2024-05-20 21:23:19 +0000 Commit: Daniel Engberg CommitDate: 2024-05-20 21:53:50 +0000 news/nzbhydra2: Convert post-extract to EXTRACT_AFTER_ARGS Saves a good amount of I/O instead of extracting everything While at it convert port to use (bsd)tar for extraction PR: 278745 Approved by: portmgr (maintainer timeout, 2+ weeks) --- news/nzbhydra2/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/news/nzbhydra2/Makefile b/news/nzbhydra2/Makefile index 99db5cee0da1..3716b82f33a8 100644 --- a/news/nzbhydra2/Makefile +++ b/news/nzbhydra2/Makefile @@ -13,10 +13,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le -USES= python zip +USES= python USE_JAVA= yes USE_RC_SUBR= nzbhydra2 +EXTRACT_SUFX= .zip +EXTRACT_AFTER_ARGS= --exclude executables \ + --exclude other \ + --exclude WindowsService \ + --exclude *.exe \ + --exclude nzbhydra2wrapper.py \ + --no-same-owner --no-same-permissions + NO_BUILD= yes NO_WRKSUBDIR= yes @@ -38,13 +46,6 @@ PLIST_FILES= ${DATADIR}/lib/core-${DISTVERSION}-exec.jar \ ${DATADIR}/readme.md \ ${DATADIR}/LICENSE -post-extract: - # Cleanup unnecessary files - @${RM} -r ${WRKSRC}/systemd ${WRKSRC}/sysv ${WRKSRC}/rc.d \ - ${WRKSRC}/upstart ${WRKSRC}/nzbhydra2wrapper.py \ - ${WRKSRC}/other ${WRKSRC}/executables ${WRKSRC}/WindowsService \ - ${WRKSRC}/NZBHydra2* - do-install: @${MKDIR} ${STAGEDIR}/${DATADIR} ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}