From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reza Alizadeh Majd Subject: Re: Guix Packages - unpack issue Date: Tue, 08 Jan 2019 15:25:48 +0330 Message-ID: <1546948548.1430419.1628674424.060D2708@webmail.messagingengine.com> References: <1546773286.3556000.1626799440.555A8BFC@webmail.messagingengine.com> <87zhseq8qn.fsf@elephly.net> <1546886752.2949311.1627979648.27750D23@webmail.messagingengine.com> <87h8ek8dhm.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggpzB-00055f-GM for help-guix@gnu.org; Tue, 08 Jan 2019 06:55:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggpzA-0004pr-Mr for help-guix@gnu.org; Tue, 08 Jan 2019 06:55:57 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:45907) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ggpz9-0004ZI-80 for help-guix@gnu.org; Tue, 08 Jan 2019 06:55:56 -0500 In-Reply-To: <87h8ek8dhm.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix@gnu.org Thanks, using (method url-fetch/tarbomb) fixed my issue, later I need to fix package definition to prevent occurrence of tarbomb. -- Reza On Mon, Jan 7, 2019, at 11:08 PM, Ricardo Wurmus wrote: > > Hi Reza, > > please always send replies to all recipents, including the list. > > > (source (origin > > (method url-fetch) > > (uri (string-append > > "https://s3.eu-central-1.amazonaws.com/source-git-pantherx-org/guix-tools_" > > version ".tgz")) > > (sha256 > > (base32 "125h6h1b2i2q9vwlsi1y1yzqcn27vziqmg0w0cyaigkj9q0mc09q")))) > > This is a tarbomb. Its contents are directly unpacked to the current > directory. A well-behaved tarball should unpack into a directory. > > You can use (method url-fetch/tarbomb) in this case. > > -- > Ricardo >