From owner-freebsd-questions Mon Nov 9 16:24:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14000 for freebsd-questions-outgoing; Mon, 9 Nov 1998 16:24:12 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13987 for ; Mon, 9 Nov 1998 16:24:09 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id QAA12704; Mon, 9 Nov 1998 16:23:51 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 9 Nov 1998 16:23:50 -0800 (PST) From: Doug White To: "Jason C. Wells" cc: FreeBSD-questions Subject: Re: Refuse Files and Cvsup In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 3 Nov 1998, Jason C. Wells wrote: > Here is the question: > > How can get an absolutely up to date list of all ports without cvsupping > all of the ports? ftp://ftp.freebsd.org/pub/FreeBSD/ports-current/INDEX should be the most current ... > I have been working on a method to maintain a ports collection that has > _only_ certain software in it. To do this, I have generated a refuse file > from '/usr/ports/INDEX' which I fetch from > pub/FreeBSD/ports-current/INDEX. > > I then use 'sed' and some shell scripting to delete the desired software > directories out of the refuse file so that they will be fetched (not > refused) and kept up to date. > > There is one problem. '/usr/ports/INDEX' is not as up to date as the ports > collection. The result is that I get a refuse file that doesn't refuse > everything I want it to. I found this out when cvsup started checking out > files when all the files should have been refused. It's doing what you asked -- refuse to update INDEX -- so it'll always be stale. Perhaps you want to refuse everything else instead? > The big idea here is that I do not want to download all of the ports. I > only want a few. The only problem I am having is getting a current INDEX. Then don't refuse it. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message