From nobody Sat Jul 09 20:40:52 2022 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 E095A180B049; Sat, 9 Jul 2022 20:40:52 +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 4LgMVX61JNz3Cm2; Sat, 9 Jul 2022 20:40:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657399252; 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=Xeh87HJNVOrSd0si5vvPtzq4l+UL6zXJvpeC2spgDXc=; b=PB4cWvuC7jp0wL2cUoeW7MIBtKiLhaHJPret0RvXM4FoS3QZUcYdZ0jMh7kS4/I1cW2/WB kJAeCrXm4fMnXxGK9w87kW+w9vr6NVh044TDDsMM9n10QF/SftjmrPrFglCJuMKCWo0gl2 qms9eeDbZgrPsSbtKJ3iFzSKpYNzFRHAckvxzkU6HkKZ7zfGJnipO0gwUR2rOmweV4zsX1 /b8wcx0ixXjQ0oWyFBEZPPJ11lSQu6CA+t1Z6B1dmDxTx+XHHe+KrbwEQBQFNWVMn4dEDa FW8/1f7/LyLwyOFM20IeJ+WI2T/mNYiYanGVZfuSOhfSd3Ys0PLEg3DPUff66g== 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 4LgMVX54x5zyfZ; Sat, 9 Jul 2022 20:40:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 269KeqN3069211; Sat, 9 Jul 2022 20:40:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 269Keq1h069210; Sat, 9 Jul 2022 20:40:52 GMT (envelope-from git) Date: Sat, 9 Jul 2022 20:40:52 GMT Message-Id: <202207092040.269Keq1h069210@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: 7311acbb84bc - main - archivers/pxz: update to 136e5c2 . 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7311acbb84bca3fd812ed7bc800b6f8e0fcde889 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657399252; 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=Xeh87HJNVOrSd0si5vvPtzq4l+UL6zXJvpeC2spgDXc=; b=QyiEha74+/SU1xSCDXaGbKx5IzR9gBL3vGwBJsEEIwD3CQO2ELSJfC1g8d6FeHmqgjOTlA bLH6oKGOb6v5oumdiG7yA5LqpBv1pT4nhkd5U95SgoRxoeK1mZxIryQbJkb82yD4qLRRQl 3FRKXbjup1eSYuQDJdTKiAlM9bk+gytAcA6FfHjHxVKJpM8EEtrhQQROYK0GvdQlpnvsWr 6ZlScExq5u9QfQIH06vXgQPFhDwfQk2Ob22qtBf81ooTnPZRe7zAqUM8XarcJAulv2UPta cN/gmNssxg/N3702H7o4hGIxbP9E3AAbTtLMn76odtYk5kbkzl0UJnV8b9hALg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657399252; a=rsa-sha256; cv=none; b=yp8kNIFvnEyQF3EyLMD9UAAsDnjxWFE1XuG8+MAcbaXk3zWbHbiBs/A0IjH621Oj4RQ3Ut uaYcyvk6X0x4eygm6VqeB3c2kWL1IcNLu2W2YBJ34l8GDjE6is5i4AYSjEnaYVDjwT5yyb oPT9qIB5xrWHlsZ7EputK/8h9D3PoAqviQYFyWaRVVnsLyRGdeoP1c9S4en/9sJ3ENCnuI xAiW9wngSFQi3sBs8FvEkxw7jImZt740URZURiZpwpk7ojwE1XH3MO9PVAWl/41O8nycx6 9wMad7B+r3hTzvjYHs4wtYRPm7ZC1HcBXCAottnVv62z9kSnJNFIOcqhRJn8eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=7311acbb84bca3fd812ed7bc800b6f8e0fcde889 commit 7311acbb84bca3fd812ed7bc800b6f8e0fcde889 Author: Xin LI AuthorDate: 2022-07-09 20:37:15 +0000 Commit: Xin LI CommitDate: 2022-07-09 20:40:42 +0000 archivers/pxz: update to 136e5c2 . --- archivers/pxz/Makefile | 12 ++++++------ archivers/pxz/distinfo | 5 +++-- archivers/pxz/files/patch-pxz.c | 14 +++++++------- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/archivers/pxz/Makefile b/archivers/pxz/Makefile index 47375cf87dd0..ea9609c4c6c0 100644 --- a/archivers/pxz/Makefile +++ b/archivers/pxz/Makefile @@ -1,11 +1,8 @@ # Created by: mm PORTNAME= pxz -PORTVERSION= 0.20141018 -PORTREVISION= 9 +PORTVERSION= 0.20220509 CATEGORIES= archivers -MASTER_SITES= LOCAL/delphij -DISTNAME= pxz-git-${PORTVERSION:S/0.//} MAINTAINER= ports@FreeBSD.org COMMENT= Parallel LZMA compressor using liblzma @@ -13,11 +10,14 @@ COMMENT= Parallel LZMA compressor using liblzma LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -WRKSRC= ${WRKDIR}/${PORTNAME} - USES= cpe tar:xz PLIST_FILES= bin/pxz share/man/man1/pxz.1.gz +USE_GITHUB= yes +GH_ACCOUNT= jnovy +GH_PROJECT= pxz +GH_TAGNAME= 136e5c2 + CPE_VENDOR= pxz_project MAKE_ENV+= BINDIR=${PREFIX}/bin \ diff --git a/archivers/pxz/distinfo b/archivers/pxz/distinfo index 16c350e2a1bc..2bede1d5d3c5 100644 --- a/archivers/pxz/distinfo +++ b/archivers/pxz/distinfo @@ -1,2 +1,3 @@ -SHA256 (pxz-git-20141018.tar.xz) = f60882dc25981cfb7ee58bd731f4f38e4c8b033fcfec862446964c37021690ed -SIZE (pxz-git-20141018.tar.xz) = 11324 +TIMESTAMP = 1657059037 +SHA256 (jnovy-pxz-0.20220509-136e5c2_GH0.tar.gz) = f41d1b36b4dddb5da5c1165cee2fb91f50dce76d0f5f861c3a4ce37187fb6c57 +SIZE (jnovy-pxz-0.20220509-136e5c2_GH0.tar.gz) = 12369 diff --git a/archivers/pxz/files/patch-pxz.c b/archivers/pxz/files/patch-pxz.c index 4f09c008714b..8c70d31c3ff3 100644 --- a/archivers/pxz/files/patch-pxz.c +++ b/archivers/pxz/files/patch-pxz.c @@ -1,4 +1,4 @@ ---- pxz.c.orig 2014-10-18 17:06:27 UTC +--- pxz.c.orig 2022-05-09 09:16:27 UTC +++ pxz.c @@ -23,11 +23,17 @@ @@ -29,17 +29,17 @@ #ifndef XZ_BINARY #define XZ_BINARY "xz" #endif -@@ -121,6 +131,13 @@ const struct option long_opts[] = { +@@ -131,6 +141,13 @@ const struct option long_opts[] = { + { "version", no_argument, NULL, 'V' }, { NULL, 0, NULL, 0 } }; - ++ +#ifdef __FreeBSD__ +static size_t __fpending (FILE *fp) +{ + return (fp->_p - fp->_bf._base); +} +#endif -+ - void __attribute__((noreturn)) run_xz( char **argv ) { - execvp(XZ_BINARY, argv); - error(0, errno, "execution of "XZ_BINARY" binary failed"); + + void __attribute__((noreturn)) run_xz( char **argv, char **envp ) { + execve(XZ_BINARY, argv, envp);