From owner-freebsd-ports@FreeBSD.ORG Thu Feb 6 13:05:55 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54A3BA22 for ; Thu, 6 Feb 2014 13:05:55 +0000 (UTC) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C9BA112A9 for ; Thu, 6 Feb 2014 13:05:54 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id c6so1395118lan.25 for ; Thu, 06 Feb 2014 05:05:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=IC4haVuE3puzUczbYWt/eEbzNMAesSJHdUjXc3sG25g=; b=Ga3YYcZNuItFcv4cOybDk1kDgD2gbf+FBLDGRjno2KrFJkVb4DAOo1qUM0Xunshv44 RjqcYqLsbtFg2h8S6oGcsjiglL7ZnSPrOnYxzDPRvkAIhn5AxXaFQjYvJa2BtjXcwqA6 9nxjIZKOS+0TE+JOMw/pIoJQ8UMyteb+vaN63bAGPdZC526A8/oL9jN1Tsy7K78eiAWk 1LRg7Z3RafEAEF32/ymUO/2jFBDUsnIaIftt50J3dFawPCrJXIbx1hcMX7SP78+ZA52g 8bP0JbjexgVu+fewXahfr4jbvbQjy7JkwcKd2uq0IQP/NMEjkEUkpRUj1hs58PRxeg8O BhMA== MIME-Version: 1.0 X-Received: by 10.112.33.108 with SMTP id q12mr5336139lbi.8.1391691952806; Thu, 06 Feb 2014 05:05:52 -0800 (PST) Received: by 10.112.61.66 with HTTP; Thu, 6 Feb 2014 05:05:52 -0800 (PST) In-Reply-To: <20140206124509.GA30566@sh4-5.1blu.de> References: <201402061228.s16CRo02023097@fire.js.berklix.net> <20140206124509.GA30566@sh4-5.1blu.de> Date: Thu, 6 Feb 2014 14:05:52 +0100 Message-ID: Subject: Re: [FreeBSD-Ports-Announce] Time to bid farewell to the old pkg_ tools From: Daniel Nebdal To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "Julian H. Stacey" , Michel Talon , Ports FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 13:05:55 -0000 On Thu, Feb 6, 2014 at 1:45 PM, Matthias Apitz wrote: > El d=EDa Thursday, February 06, 2014 a las 01:27:50PM +0100, Julian H. St= acey escribi=F3: > >> Michel Talon wrote: >> >> > The old package system was total =3D >> > crap, >> >> local.sqlite is also crap, breaks decades of accessibility by find & gre= p >> & other text pipe / search tools. > > Since many years I have always compiled "my" (i.e. the ports I need) > from CVS or now SVN ports tree on some fast baquery maschine. After > compiling I just did something like: > > # mkdir PKG > # cd PKG > # pkg_create -Rnb `cd /var/db/pkg ; ls -C1` > > and moved the resulting ~1500 packages to my laptops or smaller > netbooks. Until today I'm still using the old pkg_info/_add/_create > tools and skipped pkgng until today. > > Will the above procedure work fine too in the future? > > Why not keep the old methods unchanged in place as today? > > Thanks > > matthias > The recommended way to do that is to set up poudriere. It's a different tool, but easy enough to work with, and it has certain benefits [1]. Obviously, that's neither a "yes" nor a "no" - and in short I don't know how pkg supports that specific use. [1] It's smarter about building in parallel, so it should be faster. It also handles compiling upgraded packages better - the logic is about the same as in portmaster/portupgrade, though building each port in a clean jail (with dependencies installed from the packages it has already created) reduces the risk of contamination from old versions on the host (typically automake scripts detecting some installed and not-yet upgraded library that's not set as a dependency ... at least that has happened to me a few times). It also creates a pkg repository with the packages, so if you have network access (nfs or http) you can use pkg to do installs or upgrades on the "client" machines (especially upgrades are very smooth like that). --=20 Daniel Nebdal