From owner-freebsd-stable Sat Feb 27 12: 0:39 1999 Delivered-To: freebsd-stable@freebsd.org Received: from portwwwbus.tc.cc.va.us (portwwwbus.tc.cc.va.us [164.106.211.16]) by hub.freebsd.org (Postfix) with ESMTP id 6980D14BDB for ; Sat, 27 Feb 1999 12:00:34 -0800 (PST) (envelope-from djflow@my-dejanews.com) Received: from enigma (207-172-209-165.s165.tnt1.nrf.erols.com [207.172.209.165]) by portwwwbus.tc.cc.va.us (8.8.5/8.8.5) with SMTP id OAA22378; Sat, 27 Feb 1999 14:54:16 -0500 (EST) From: "Derek Flowers" To: "Steve Price" , "Jordan K. Hubbard" Cc: "Mike Meyer" , Subject: RE: Splitting package directories [was: release disk sizes?] Date: Sat, 27 Feb 1999 14:54:29 -0500 Message-ID: <000201be628a$fcc79620$4ad4fea9@enigma> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have some scripts I used to create split package directories and indexes for sysinstall. All that is required is a copy of the packages directory off the ftp site. The only prerequisite is that the package index is complete. Basically, I grabbed everything in the packages directory off the ftp site. Then I split the packages into two directories, the first being all console packages and the other all X11 packages. First, I copied everything in the packages directory except for the All directory to a new directory. I then used a script to look for all packages that have XFree86 as a dependency and moved those packages to the new directory. Then I run another script to verify that all the package dependencies exist in each package directory, those that do not get copied to the correct location. I then run a script to delete all non-existent links in each package directory. Finally, I run a script to recreate the package indexes. The end result is that there are two package directories, each with its own package index and complete package dependencies. With 3.1-RELEASE, the console packages directory can be placed on one CD along with all the install distributions and the second X11 packages directory can be placed on another CD. If there is interest, I can make available the scripts I used to do this and instructions on how they work. -Derek > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Steve Price > Sent: Friday, February 26, 1999 10:01 PM > To: Jordan K. Hubbard > Cc: Mike Meyer; freebsd-stable@FreeBSD.ORG > Subject: Re: release disk sizes? > > > On Fri, 26 Feb 1999, Jordan K. Hubbard wrote: > > # > Ok, that makes sense. Is there a makefile/script somewhere to take > # > care of all that for me as well? > # > # Nope, that's one piece which is still done more or less by hand. > # Well, Steve has some scripts for breaking packages colletions apart, > # but they probably require that you have an entire N gigabyte > # collection available. I don't have any of that stuff in any case > # since he always provides me with the packages already segregated now. > > Yes, the scripts I have require that for at least the first > couple of steps in the process you have a fresh ports tree, > all the packages, and all the distfiles accessible from the > machine that you are running the scripts on. I'm playing with > a few ideas to remedy that, but don't have anything solid > right now. > > -steve > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message