From owner-freebsd-current@freebsd.org Sat May 14 23:57:44 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDFC6B3BAB3 for ; Sat, 14 May 2016 23:57:44 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mail.vx.sk (mail.vx.sk [IPv6:2a01:4f8:161:9127::4]) by mx1.freebsd.org (Postfix) with ESMTP id A5FEE1DC8; Sat, 14 May 2016 23:57:44 +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 B837342D2D; Sun, 15 May 2016 01:57:43 +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 YKHysl-OvQE8; Sun, 15 May 2016 01:57:43 +0200 (CEST) Received: from [IPv6:2a02:2450:1023:10:e4f1:24cb:9d2d:a948] (unknown [IPv6:2a02:2450:1023:10:e4f1:24cb:9d2d:a948]) by mail.vx.sk (Postfix) with ESMTPSA id D8A9E42D15; Sun, 15 May 2016 01:57:42 +0200 (CEST) Subject: Re: libarchive update SVN r299529 breaks "ezjail update" To: "Ngie Cooper (yaneurabeya)" References: <2c059cf5-2c8a-3b89-16c3-eedf02a01ec5@protected-networks.net> <20160512173440.Horde.5l1s9ijXRgAeMNgmT0MmCPa@mail.vx.sk> <20160512175418.Horde.JvYoOSRwfU_l2TIXv697u2B@mail.vx.sk> <13C1C575-4AEA-463F-A6BE-92843DAD7B53@kientzle.com> <7838d5e7-5d81-37f5-53dd-efdd0e855ea6@protected-networks.net> <1463256489.1180.139.camel@freebsd.org> Cc: Ian Lepore , michael butler , Tim Kientzle , FreeBSD current From: Martin Matuska Message-ID: Date: Sun, 15 May 2016 01:57:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2016 23:57:45 -0000 That switch is "--insecure" and is supported in all libarchive versions freebsd ever used. On 15.05.2016 01:36, Ngie Cooper (yaneurabeya) wrote: >> On May 14, 2016, at 16:29, Martin Matuska wrote: >> >> Ian, we are here talking about cpio, not libarchive. The flag in >> libarchive is not active by default. >> >> On 14.05.2016 22:08, Ian Lepore wrote: >>> The real damage will happen to out-of-tree users. I think this will >>> impact our software updater for $work for example, and it has to work >>> with both old and new versions of libarchive, and now the new version >>> will require a flag that the old version will reject as unknown. >>> >>> Ick. > Ian’s comment was valid.. cpio doesn’t recognize the new switch on older versions, so something like cpio `cpio --help | grep -- switch && echo switch` would need to be employed everywhere for backwards compatibility — ew. > Thanks, > -Ngie