From owner-freebsd-doc Mon Oct 20 11:47:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA12465 for doc-outgoing; Mon, 20 Oct 1997 11:47:32 -0700 (PDT) (envelope-from owner-freebsd-doc) Received: from cerebus.asmrb.org (cerebus.asmrb.org [157.22.240.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA12459 for ; Mon, 20 Oct 1997 11:47:27 -0700 (PDT) (envelope-from gmfangs@asmrb.org) Received: from christophera.consensus.com (dynamic-addr-115.consensus.com [157.22.240.115]) by cerebus.asmrb.org (8.8.5/8.8.5) with ESMTP id LAA01291; Tue, 21 Oct 1997 11:19:13 -0700 (PDT) Message-Id: In-Reply-To: <199710201527.IAA26236@coven.queeg.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 20 Oct 1997 10:42:03 -0700 To: Brion Moss From: Christopher Allen Subject: Re:Problem based on Handbook answer Cc: freebsd-doc@freebsd.org Sender: owner-freebsd-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 8:27 AM -0700 10/20/97, Brion Moss wrote: >1) The problem is that the .tar.gz extension indicates a compressed >tar file. In order to unpack it you need to give tar the "z" argument >(e.g., "tar xzvf" instead of "tar xvf"). Someone should correct the handbook on this one ;-) The reference is . >2) The canonical way to do this is to use the ctm mailing lists to >keep current with the ports tree. See the handbook for details, but >basically you subscribe to a mailing list that sends out patches >periodically, and you filter the mail through a program which applies >those patches. Can you point me to a handbook link for this? I couldn't find it. >Or, you could write a script that looks like this: > > #!/bin/sh > # Fetch the new ports into /tmp > cd /tmp > fetch ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports.tar.gz My understanding was that if I did this it would also grab all the contents of the ports/distfiles/ directory as well, which would make it a huge download. Is there someway to get all the skeletons and not the ports/distfiles/ directory without seperately downloading each subdirectory of ports/? > # delete the old ports files. I didn't feel like listing them > # all, you'll have to finish the list > cd /usr > rm -rf ports/{archivers,astro,audio,benchmarks,cad,chinese,...} > # unpack the new ports file in place > tar xzf /tmp/ports.tar.gz > >Hope that helps. Thanks for your prompt advice. I hope that the folks writing the scripts for the ports directory can add to the wish list a quick "update skeletons" script that ships with the default distributions. The whole ports/ and pkg solution makes things so much easer for us with less unix experience, and this one addition would make it even easier. ----------------------------------------------------------------------- .. Christopher Allen 1563 Solano Ave., #353 .. .. ;-> Berkeley, CA 94707-2116 .. .. h510/528-9899 .. .. f510/649-3301 o510/649-3300 ..