From owner-cvs-all Fri Apr 5 8: 7:30 2002 Delivered-To: cvs-all@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id C184237B41B for ; Fri, 5 Apr 2002 08:06:53 -0800 (PST) Received: (qmail 4095 invoked from network); 5 Apr 2002 16:06:03 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 5 Apr 2002 16:06:03 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g35G6mv32048; Fri, 5 Apr 2002 11:06:48 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020404194007.A83785@dragon.nuxi.com> Date: Fri, 05 Apr 2002 11:06:05 -0500 (EST) From: John Baldwin To: "David O'Brien" Subject: Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 05-Apr-2002 David O'Brien wrote: > On Thu, Apr 04, 2002 at 09:36:57AM -0500, John Baldwin wrote: >> I think a better comparison might be if you think about some of our current >> ports. We have things like vim and vim-lite. Imagine having a single vim >> package (so you don't have to duplicate all the share data) whose install >> script installs either the big vim binary or the smaller binary (both >> binaries >> are in the package, hence a "fat" package as I mentioned earlier) depending >> on >> if the system has X installed, user preference, etc. Since we would only >> need >> 1 copy of stuff that is now duplicated, we could actually end up with a net >> space gain as well as solving the problem of how to handle having 10 >> versions >> of a package for all the various WITH/WITHOUT combinations. > > You are impliying the reason we have vim and vim-lite the way we do (and > ghostscript w/o X11 and with); is due to using tar vs. zip. You are > toally wrong. We can easily do the same with pkg's today. What IS > missing is the makefile bits to build things the way you invision. Just > how would you create vim.zip ? No. You could achieve something similar like we do with xemacs by having a vim-share package and then vim and vim-lite packages that just have the binaries. However, now you have 3 different packages with which to further confuse the user. The tar vs. zip thing has to do with zip having an index so that all the metadata is collected in one place as I've explained earlier. They aren't just different compression formats they are very different archive formats as well. The reason we have different vim packages is due to the limitations of our current package system and libh attempts to use a new design that doesn't have the same limitations (though it does have some limitations, and it does make package generation more difficult I'm afraid). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message