From owner-freebsd-pkgbase@freebsd.org Fri Mar 4 18:28:06 2016 Return-Path: Delivered-To: freebsd-pkgbase@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 82824A09717 for ; Fri, 4 Mar 2016 18:28:06 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FCFDF54; Fri, 4 Mar 2016 18:28:06 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: by mail.lifanov.com (Postfix, from userid 58) id E94D7239744; Fri, 4 Mar 2016 13:28:05 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.lifanov.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from [127.0.0.1] (vnat600.ejoco.com [166.108.32.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 70C49239424; Fri, 4 Mar 2016 13:28:03 -0500 (EST) Subject: Re: [CFT] packaging the base system with pkg(8) To: Glen Barber , Garrett Wollman References: <20160302235429.GD75641@FreeBSD.org> <22232.56734.691784.696540@khavrinen.csail.mit.edu> <20160304010949.GC48568@FreeBSD.org> <22233.52687.99532.689186@khavrinen.csail.mit.edu> <20160304182024.GK53848@FreeBSD.org> Cc: freebsd-pkgbase@freebsd.org From: Nikolai Lifanov Message-ID: <56D9D3B2.7030906@mail.lifanov.com> Date: Fri, 4 Mar 2016 13:28:02 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160304182024.GK53848@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2016 18:28:06 -0000 On 03/04/16 13:20, Glen Barber wrote: > On Fri, Mar 04, 2016 at 01:02:55PM -0500, Garrett Wollman wrote: >> < said: >> >>>> I'm not convinced that it makes >>>> much sense to have all the different -lib32-* variants given the >>>> normal use case is runtime-only. >> >>> For those who have no need for lib32 stuff, we do not want to enforce >>> its existence. >> >> You may have missed my point: I was suggesting that the lib32 stuff be >> packed into fewer packages, because the places where it is needed are >> less likely to want fine-grained selection. So just having a single >> package with all the "runtime" packages would be closer to what most >> people needed (and likewise for the "development" etc. libraries which >> are almost never useful). >> > > You're right, I did miss your point. > > I see what you mean now. It's not impossible to do, but will require > a bit of tweaking to the script that generates the metadata files. > > Thank you for the suggestion. > > Glen > During BSDCan 2015, bapt@ said that there would be meta-packages for this: http://www.bsdcan.org/2015/schedule/attachments/321_packaging-base.pdf It would satisfy this type of use with: # pkg remove FreeBSD-lib32 <-- removes meta-package # pkg autoremove <-- removes dependencies Then there can be tweaking with "pkg set -A ..." for these that want a specific library gone or present. - Nikolai Lifanov