From nobody Fri Apr 08 09:12:45 2022 X-Original-To: dev-commits-src-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 314351A90C22; Fri, 8 Apr 2022 09:12:55 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mail.vx.sk (mail.vx.sk [IPv6:2a01:4f8:191:9029::4]) by mx1.freebsd.org (Postfix) with ESMTP id 4KZXbB0gWJz4YV7; Fri, 8 Apr 2022 09:12:54 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mail.vx.sk (localhost [127.0.0.1]) by mail.vx.sk (Postfix) with ESMTP id CAE3B3A39BC; Fri, 8 Apr 2022 11:12:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.vx.sk Received: from mail.vx.sk by mail.vx.sk (amavisd-new, unix socket) with LMTP id HB2de04tKKqW; Fri, 8 Apr 2022 11:12:46 +0200 (CEST) Received: from [10.0.9.122] (188-167-171-2.static.chello.sk [188.167.171.2]) by mail.vx.sk (Postfix) with ESMTPSA id 6FFAF3A39BB; Fri, 8 Apr 2022 11:12:46 +0200 (CEST) Message-ID: Date: Fri, 8 Apr 2022 11:12:45 +0200 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: git: 833a452e9f08 - main - libarchive: import changes from upstream Content-Language: en-US To: Kyle Evans Cc: src-committers , dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org References: <202202092352.219Nqprv043107@gitrepo.freebsd.org> From: Martin Matuska In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KZXbB0gWJz4YV7 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 2a01:4f8:191:9029::4 is neither permitted nor denied by domain of mm@FreeBSD.org) smtp.mailfrom=mm@FreeBSD.org X-Spamd-Result: default: False [2.93 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[mm]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-0.997]; R_SPF_SOFTFAIL(0.00)[~all:c]; NEURAL_SPAM_MEDIUM(0.94)[0.936]; RCVD_COUNT_THREE(0.00)[4]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_HAM_SHORT(-0.51)[-0.507]; MLMMJ_DEST(0.00)[dev-commits-src-all,dev-commits-src-main]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Thanks for catching this, I didn't have that on my radar. Fix committed to main with 3-day MFC. Cheers, mm On 8. 4. 2022 5:13, Kyle Evans wrote: > On Wed, Feb 9, 2022 at 5:52 PM Martin Matuska wrote: >> The branch main has been updated by mm: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=833a452e9f082a7982a31c21f0da437dbbe0a39d >> >> commit 833a452e9f082a7982a31c21f0da437dbbe0a39d >> Merge: 17a56f3fabdf 84631082f67b >> Author: Martin Matuska >> AuthorDate: 2022-02-09 23:35:42 +0000 >> Commit: Martin Matuska >> CommitDate: 2022-02-09 23:35:42 +0000 >> >> libarchive: import changes from upstream >> >> Libarchive 3.6.0 >> >> New features: >> PR #1614: tar: new option "--no-read-sparse" >> PR #1503: RAR reader: filter support >> PR #1585: RAR5 reader: self-extracting archive support >> >> New features (not used in FreeBSD base): >> PR #1567: tar: threads support for zstd (#1567) >> PR #1518: ZIP reader: zstd decompression support >> >> Security Fixes: >> PR #1491, #1492, #1493, CVE-2021-36976: >> fix invalid memory access and out of bounds read in RAR5 reader >> PR #1566, #1618, CVE-2021-31566: >> extended fix for following symlinks when processing the fixup list >> >> Other notable bugfixes and improvements: >> PR #1620: tar: respect "--ignore-zeros" in c, r and u modes >> PR #1625: reduced size of application binaries >> >> MFC after: 2 weeks >> Relnotes: yes >> > Hi, > > This commit makes pkg angry when trying to use zstd support -- I > tracked it down to libarchive wanting to shell out now, because this > conditional changed: > > https://cgit.freebsd.org/src/tree/contrib/libarchive/libarchive/archive_write_add_filter_zstd.c#n112 > > We should probably make pkg accept ARCHIVE_WARN since shelling out > isn't so bad, but I have this diff to fix base libarchive: > > https://people.freebsd.org/~kevans/libarchive.diff > > I didn't quite check if there were any other surprises like this, > though. Is this sufficient and OK to commit? > > Thanks, > > Kyle Evans