From owner-freebsd-questions@FreeBSD.ORG Wed Apr 8 19:24:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51D79106566C for ; Wed, 8 Apr 2009 19:24:02 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id B04278FC19 for ; Wed, 8 Apr 2009 19:24:01 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: by ewy19 with SMTP id 19so303213ewy.43 for ; Wed, 08 Apr 2009 12:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zS995xO5DR/S8kIEnLWLbZTelSv/8T5hXHs16prUnBQ=; b=CbPuPmohJlz9ZenQl5enWhGtvfFU3vlQQ6LG4HHZ5R3Fl7fdbX2q6acNIlTBIBzzGX P2+85LgMvlsh8xGFyoF7BgXk3VrzyndYfZ86lk5a+o1AuDOukIaaHO9/OfG19w7OTTcn DkFP6i0EZdAPHfqIAXMB+q39SvpvaeUw+vrXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QPF2gWf/6OzsiLZfOygfmdegfzHykVBn42mevxmqvtLiwL2MPJCQaXR9zzAgXMaIYF zfM9LpCPgp7xP68sPtK4woNPLKhfkIvUZ/0WPxGdIL1RKPAJfS1T9ZLNI8H1my2BtrpQ q29/zHw3JBgrfPdV0JhiKKhLNF61YgEyguLl8= MIME-Version: 1.0 Received: by 10.216.18.205 with SMTP id l55mr399247wel.194.1239218640576; Wed, 08 Apr 2009 12:24:00 -0700 (PDT) In-Reply-To: <200904080859.41807.j.mckeown@ru.ac.za> References: <49D76B02.4060201@onetel.com> <54db43990904071435h5dc1e854p2e9892ac666aea35@mail.gmail.com> <200904080859.41807.j.mckeown@ru.ac.za> Date: Wed, 8 Apr 2009 15:24:00 -0400 Message-ID: <54db43990904081224l7c006143icac411c482401620@mail.gmail.com> From: Bob Johnson To: Jonathan McKeown Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: new package system proposal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 19:24:02 -0000 On 4/8/09, Jonathan McKeown wrote: > On Tuesday 07 April 2009 23:35:03 Bob Johnson wrote: >> On 4/4/09, Chris Whitehouse wrote: >> > Hi all >> >> [...] >> >> > My suggestion is to start with a ports tree that is fixed in time. Make >> > that ports tree available as part of this package system and compile a >> > typical desktop set of ports, particularly choosing ones which are large >> > or have many dependencies. When it is all complete release it and start >> > again. Surely quite a wide selection of desktops, wm's and apps could be >> > compiled in a couple of weeks? >> >> How is it an improvement over the existing tools? I must be missing >> something, because it sounds to me like you are merely asking that >> there be more ports made available as packages than are now offered. > > I think what you're missing is the suggestion to bundle a set of pre-built > packages with a snapshot of the ports tree used to build them. Currently > it's > difficult to mix and match packages and ports because the versions of > dependencies are likely to differ between the package and the local version > of the ports tree. If you know you have the same ports tree your packages > were built from, you can much more easily combine pre-built packages and > local builds from source. OK, I see now. > > This has clear advantages. At the moment, unless you're very lucky with your > timing, you tend to find that as soon as you want to build one port from > source (perhaps to fiddle with the configuration) you have to stop using > prebuilt packages altogether. > I've not really had a lot of trouble with that, although it sometimes causes problems. OK, with something big like KDE it causes problems. > The drawback I can see is the disk space required to keep several > generations > of packages online - if the package-port bundle is rebuilt every three > weeks, > let's say, and you want to keep 6 months' worth of packages online, you need > to keep 9 complete versions available. > I think a bigger drawback is the security issue. As soon as any package in the collection has a significant announced security flaw, you are faced with the choice of withdrawing the entire collection, withdrawing only that package, or leaving the flawed package out there for people to use because it is more convenient for them. At the very least, it creates a management headache for whomever has to make the decisions. > Chris's suggestion is certainly more than just a request for more packages, > though. > It seems to me that a great deal of what his suggestion would accomplish would be accomplished by building a very extensive set of packages once a week or so, so that it is easy to do binary updates of anything that needs updating. For many, that should solve the bulk of the problem. And because most ports don't change weekly, the week-to-week changes shouldn't be unmanageably large. That could also be a starting point for implementing his full suggestion. Keeping around week-to-week deltas rather than an entire collection would reduce the storage requirement substantially. PC-BSD seems to already keep up-to-date binary packages of their applications. Do they accomplish that by only offering a small subset of the full ports collection? -- -- Bob Johnson fbsdlists@gmail.com