Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2001 16:49:22 -0800 (PST)
From:      "Jason C. Wells" <jcwells@nwlink.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Ports updating... Good ways?
Message-ID:  <Pine.SOL.3.96.1010209163922.17386B-100000@utah>
In-Reply-To: <Pine.BSF.4.21.0102081914380.546-100000@veager.siteplus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
One way to make it easy to keep ports updated is to only cvsup the ports
you need.  Then you build from the top.

Cvsup has pattern matching so the following code doesn't need version
number suffixes.  You will end up with the latest versions.

I did this.

#!/bin/gross_pseudocode

$suplist=portpattern_1 \
	portpattern_2 \
	Mk and friends \
	portpattern_3;

cvsup $suplist

cd /usr/ports
make install

I deleted the script some time ago.  The method worked pretty well.  The
only problem is when a particular port added a new dependency (KDE was bad
for this).  The code above is gross, but the idea worked.

The cool part was the all of the installing and building went pretty well.
If you put your script ona  floppy, then you can rebuild all of the
/usr/local stuff on some other machine and come up with a near mirror.

Thank you,
Jason C. Wells



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.1010209163922.17386B-100000>