5.1 COMMENTFILE Problem

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Jul 9 09:09:25 PDT 2003


On Wed, Jul 09, 2003 at 11:30:29AM -0400, DAVID MARKLE wrote:

> OK, I read the FAQ and did not find reference to changing the "owner" 
> of the ports tree (if you will, regestering the tree structure with 
> CVSup).  I cannot even install cvsupit from /usr/ports/net/cvsupit.  
> Doing a make install from that directory, I get the comment file.
> 
> Sorry for not getting it.

Hmmm... net/cvsupit is marked broken, plus it seems it hasn't been
updated since 4_6_RELEASE was state of the art.

I recommend that you just grab one of the cvsup or cvsup-without-gui
packages, plus any dependencies, from one of the FTP sites and install
(pkg_add) that. Those dependencies are:

    /net/cvsup:% make pretty-print-run-depends-list
    This port requires package(s) "XFree86-libraries-4.3.0_5 expat-1.95.6_1 fontconfig-2.2.1 freetype2-2.1.4_1 imake-4.3.0 pkgconfig-0.15.0" to run.

    /net/cvsup-without-gui:% make pretty-print-run-depends-list
    (no dependencies...)

Then the cheat's way of getting cvsup(1) configured quickly is to add
some variable settings to /etc/make.conf:

    SUP_UPDATE=     yes
    SUP=            /usr/local/bin/cvsup
    SUPFLAGS=       -g -L 2
    SUPHOST=        cvsup.XX.FreeBSD.org                       [1]
    SUPFILE=        /usr/share/examples/cvsup/standard-supfile [2]
    PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile

[1] Choose a server near to you

[2] standard-supfile will get you the sources for the same OS branch
as you installed.  In you case, probably RELENG_5_1.  However, if you
aren't interested in updating the system sources, it doesn't really
matter what this is set to.

Having done that, you can now:

    # cd /usr/ports
    # make update

to update your ports tree.  If you've got bandwidth to burn, you can
even go as far as removing most of the structure under /usr/ports
before you run cvsup(1):

    # cd /usr/ports
    # rm -rf [a-z]*

otherwise, you should probably do the register-the-files-with-cvsup
thing.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030709/c7f0d58f/attachment.bin


More information about the freebsd-questions mailing list