From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19481: package.el: support .tar archives featuring a pax_global_header entry Date: Thu, 01 Jan 2015 20:27:29 +0200 Message-ID: <83bnmibbla.fsf@gnu.org> References: <871tne5qsd.fsf@violet.siamics.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1420136899 30660 80.91.229.3 (1 Jan 2015 18:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2015 18:28:19 +0000 (UTC) Cc: 19481@debbugs.gnu.org To: Ivan Shmakov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 01 19:28:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y6kTj-0000ca-OX for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jan 2015 19:28:11 +0100 Original-Received: from localhost ([::1]:49278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6kTi-0000ML-W9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jan 2015 13:28:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6kTf-0000M4-Aq for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2015 13:28:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6kTa-0000Kw-CH for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2015 13:28:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6kTa-0000Ks-8y for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2015 13:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y6kTZ-0008JB-SM for bug-gnu-emacs@gnu.org; Thu, 01 Jan 2015 13:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Jan 2015 18:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19481 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19481-submit@debbugs.gnu.org id=B19481.142013685931910 (code B ref 19481); Thu, 01 Jan 2015 18:28:01 +0000 Original-Received: (at 19481) by debbugs.gnu.org; 1 Jan 2015 18:27:39 +0000 Original-Received: from localhost ([127.0.0.1]:34620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6kTC-0008Ib-Jv for submit@debbugs.gnu.org; Thu, 01 Jan 2015 13:27:38 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:51754) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6kT9-0008IQ-8j for 19481@debbugs.gnu.org; Thu, 01 Jan 2015 13:27:36 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NHI00C00FYJ7700@mtaout25.012.net.il> for 19481@debbugs.gnu.org; Thu, 01 Jan 2015 20:23:28 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHI007WKGF45U60@mtaout25.012.net.il>; Thu, 01 Jan 2015 20:23:28 +0200 (IST) In-reply-to: <871tne5qsd.fsf@violet.siamics.net> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97922 Archived-At: > From: Ivan Shmakov > Date: Thu, 01 Jan 2015 17:55:46 +0000 > > As currently implemented, package.el signals an error trying to > process a .tar archive which has a pax_global_header entry, – > such as the archives produced with $ git archive --format=tar. > > Please thus consider the patch MIMEd. > > * lisp/emacs-lisp/package.el (package-untar-buffer): Ignore > archive entries with link type being 55. > (package-tar-file-info): Consider the second file name in the > archive if the first one has no directory component. > > * lisp/tar-mode.el (tar-untar-buffer): Ignore archive entries > with link type being 55 (pax global extended header.) What about type 72? (See tar-mode.el for the details.)