From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 22:22:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2089B106570C for ; Tue, 4 Nov 2008 22:22:58 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: from numail.brianwhalen.net (numail.brianwhalen.net [66.93.34.172]) by mx1.freebsd.org (Postfix) with ESMTP id F204D8FC12 for ; Tue, 4 Nov 2008 22:22:57 +0000 (UTC) (envelope-from brian@brianwhalen.net) Received: by numail.brianwhalen.net (Postfix, from userid 65534) id 79B0D284B2; Tue, 4 Nov 2008 14:22:56 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on numail.brianwhalen.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from [127.0.0.1] (numail.brianwhalen.net [192.168.15.25]) by numail.brianwhalen.net (Postfix) with ESMTP id B3B532847E for ; Tue, 4 Nov 2008 14:22:54 -0800 (PST) Message-ID: <4910CB3F.4050707@brianwhalen.net> Date: Tue, 04 Nov 2008 14:22:55 -0800 From: Brian Whalen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <2daa8b4e0811031738q759d34f4q274a676957ad379e@mail.gmail.com> In-Reply-To: <2daa8b4e0811031738q759d34f4q274a676957ad379e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Using csup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 22:22:58 -0000 David Allen wrote: > I'd like to move to using csup(1) and there's an error in the manpage > that's raising some questions for me: > > OPTIONS > base=base The default base directory is /usr/local/etc/csup. > > FILES > /usr/local/etc/cvsup Default base directory. > sup Default collDir subdirectory. > base/collDir/collection/checkouts* List files. > > Assuming that the default 'base' directory is /usr/local/etc/cvsup, would > the following three files be sufficient for csup to work? > > # /usr/local/etc/cvsup/standard-supfile > *default tag=RELENG_7_0 > *default host=cvsup10.us.FreeBSD.org > *default release=cvs delete use-rel-suffix compress > src-all > > # /usr/local/etc/cvsup/doc-supfile > doc-all > > # /usr/local/etc/cvsup/ports-supfile > ports-all tag=. > > # usr/local/etc/cvsup/sup/refuse > [contents of global refusefile] > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I like running this script. It requires the port/package fastest-cvsup, it will test for the fastest one then use that. Any server statement in your file is disregarded. You'll the the script still calls csup as you desire. #!/bin/sh if SERVER=`/usr/local/bin/fastest_cvsup -q -c us`; then /usr/bin/csup -g -L 1 -h $SERVER /usr/share/examples/cvsup/stable-supfile fi