From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 646F81389F5 for ; Mon, 17 Nov 2014 21:55:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69923E099C; Mon, 17 Nov 2014 21:54:52 +0000 (UTC) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A11DE098F for ; Mon, 17 Nov 2014 21:54:50 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id y19so6799798wgg.0 for ; Mon, 17 Nov 2014 13:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=l5T1XrO5MTA4U37EFYw8qc3gb845eAqpzzHiFt03k+Q=; b=eIs64H7avjmASqsyacH9wpgcvjsQlPKn7MKVFvq9oMUYFKfczaB/+urEFWhtOHVZDD +JuTLDSZoL8berHEC3xyTjdlEaXpCwUSbunvTtVHII9XwgbRMe25AipemhAPsajzUOVV Nnsr3mKpIE5oK9+vQynN1UxUOlWuVNUty1BiOVyKnB4hIVx9JwX8ldpmRawrVfmh5UIm 9GLopr49ShQS2Jp1C0Bhm6MF5gd/quPiCXSQX7Ig+0+CDXZuz5qxe99oxwVlW9jErWLP j3+3DVQ/6gEGkw6LX913ss2tvuaGqpLPx0bLh50DoKvXpU/E/V4xqF1fUlFGJFhkH+e6 6h1w== X-Received: by 10.194.19.4 with SMTP id a4mr41896270wje.3.1416261288561; Mon, 17 Nov 2014 13:54:48 -0800 (PST) Received: from [172.20.0.41] (105-237-183-250.access.mtnbusiness.co.za. [105.237.183.250]) by mx.google.com with ESMTPSA id u13sm16943123wiv.10.2014.11.17.13.54.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Nov 2014 13:54:48 -0800 (PST) Message-ID: <546A6E93.6050909@gmail.com> Date: Mon, 17 Nov 2014 23:54:27 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] question about binhost's References: <20141117210109.GA16054@asterix> <546A682C.3070400@gmail.com> <20141117214623.GA3253@asterix> In-Reply-To: <20141117214623.GA3253@asterix> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 04ee4e84-2f4d-415f-b984-a364970ab73d X-Archives-Hash: bef6305edde5b926effc1b147658a546 On 17/11/2014 23:46, Michael Mair-Keimberger wrote: > On Mon, Nov 17, 2014 at 11:27:08PM +0200, Alan McKinnon wrote: >> On 17/11/2014 23:01, Michael Mair-Keimberger wrote: >>> Hi list, >>> >>> I was setting up an binhost recently and i couldn't found any >>> information how to keep old builds. >>> Usually, for example a newer version of tcpdump gets build, the old >>> build will be deleted. Only different slots were keeped. However, I >>> want to keep these old builds but I haven't found an option for that. >>> >>> Is it even possible to keep these? If not, anyone know why? if it's not >>> possible there must be a reason and i couldn't think of anyone... >>> >> >> short answer: >> emerge -b >> >> long answer: >> read "man emerge". All of it. Gotchas await. > > Well, the man page doesn't describe why it can't keep old builds... > (don't know what you referring too) > > I do know `emerge -b` creates binary packages, but i orginally asked for > a way to keep older versions of binary packages. You can't because emerge does not work that way[1]. If you want to keep the contents of an installed package: a. use binpkgs to create an archive of the package at the time it is built (not at the time is is about to be replaced) b. Manually run quickpkg on packages you are interested in before emerging them [1] Unless Zac added this feature since the last time I read the man pages. Won't be the first time a new feature sneaked in without a user noticing :-) > > Example: > > emerge -b =net-analyzer/tcpdump-4.5.1-r1 > - binary package for tcpdump-4.5.1-r1 gets created > emerge -b =net-analyzer/tcpdump-4.6.2 > - binary package for tcpdump-4.6.2 gets created AND tcpdump-4.5.1-r1 > gets deleted > > However, I want to keep tcpdump-4.5.1-r1 if possible. > > Is there a way? Simply emerge -b isn't sufficiency. > >> >> -- >> Alan McKinnon >> alan.mckinnon@gmail.com >> >> > -- Alan McKinnon alan.mckinnon@gmail.com