From owner-cvs-all Fri Jan 17 11:10:16 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28BD937B401 for ; Fri, 17 Jan 2003 11:10:15 -0800 (PST) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE0743F1E for ; Fri, 17 Jan 2003 11:10:13 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 27472 invoked from network); 17 Jan 2003 19:10:18 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 17 Jan 2003 19:10:18 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h0HJAAUT019122; Fri, 17 Jan 2003 14:10:11 -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: <200301171905.h0HJ5WnF033418@repoman.freebsd.org> Date: Fri, 17 Jan 2003 14:10:11 -0500 (EST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/usr.sbin/sysinstall dispatch.c dist.c dist.h 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 17-Jan-2003 John Baldwin wrote: > jhb 2003/01/17 11:05:32 PST > > Modified files: > usr.sbin/sysinstall dispatch.c dist.c dist.h install.c > menus.c sysinstall.h > Log: > - Rename installFixupBin to installFixupBase to finish up the 'bin' to > 'base' dist rename. > - Rework struct dist to allow for different types of dists. There are > currently three types of dists: DT_TARBALL, the traditonal gzipped and > split tar file; DT_PACKAGE, a package; and DT_SUBDIST, a meta-dist in > the tree that has its own array of dists as its contents. For example, > the 'base' dist is a DT_TARBALL dist, the 'perl' dist is a DT_PACKAGE > dist, and the 'src' dist is a DT_SUBDIST dist with its own dist table > that contains 'sbase', 'ssys', etc. > - Add helper macros for defining array entries for the different types of > dists to try and make the statically defined dist table in dist.c more > readable. > - Split the logic to deal with a DT_TARBALL dist out of distExtract() > and into its own distExtractTarball() function. distExtract() now > calls other functions to extract each dist. > - Tweak the percentage complete calculation in distExtractTarball() to > do the multiply prior to the divide so it doesn't have to use floating > point. > - Axe the installPackage() function along with the special handling for > the perl and XFree86 dists in distExtractAll() since distExtract() > handles package dists directly now. > - Add back in subdists for the X packages based on the split up packages > that XFree86-4 uses that as closely map to the X dists we used with > X 3.3.x. > - Lots of things like distSetX() and the X dist masks are no longer > #ifndef X_AS_PKG since we use them in both cases now. > - Make the entire installFixupXFree() function #ifndef X_AS_PKG, we only > call it in that case anyways, and it's not suitable for the X_AS_PKG > case. > - Add in X dist menus for the X_AS_PKG case. > > Approved by: re I am considering MFC'ing this for 4.8. Once that is done I will axe the support for the 3.3.x X bits in HEAD. -- 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