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 "[EMAIL PROTECTED]"
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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to