Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Nov 2002 20:25:07 -0500
From:      Jud <judmarc@earthlink.net>
To:        Charles Pelletier <fozekizer@attbi.com>, paul beard <pdb2@u.washington.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: regarding 4.7 stable
Message-ID:  <oprfgwv5zgl478m7@localhost>
References:  <011b01c285f0$240e2ff0$32040101@hume> <3DC9AEB6.3060506@u.washington.edu> <013c01c285f1$d912dda0$32040101@hume>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 6 Nov 2002 18:08:48 -0600, Charles Pelletier <fozekizer@attbi.com> wrote:

>
>
>> Charles Pelletier wrote:
>> > is there not a server around that has 4.7 stable? seems like most have
> only
>> > got 4.7R.
>>
>> I think you get stable via CVS/cvsup (since it's constantly
>> changing - stable is a snapshot just like current, as far as I
>> understand it).
>>
>> So you can install -RELEASE and then use your cvs tool of choice
>> to update.
>
> So, then, since I am going ahead and adding 4.7 R ports, do i need to
> rebuild everything via cvs or do i just run mergemaster or..?
> --charlie pelletier
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>

CVS doesn't build anything, and mergemaster works on system (not ports) 
files built from source code obtained via CVS.  Mergemaster doesn't build 
anything from source itself.  It's a tool for comparing a file presently in 
your filesystem with a version in a temporary directory newly built from 
source. You can then choose to keep the old file, install the new file, 
merge the two files taking bits from each, or just leave it 'til later.

The sources for stable and the ports may be obtained by installing cvsup 
(most folks like the cvsup-without-gui port - fewer dependencies, may build 
quicker than "regular" cvsup); copying the ports-supfile and stable-supfile 
from /usr/share/examples/cvsup to anywhere convenient and editing them as 
you like; then running cvsup with appropriate flags against those - 
supfiles.  For instance, when not in X, and in the same directory as the - 
supfiles:

cvsup -g -L 2 stable-supfile

then

cvsup -g -L 2 ports-supfile

Then make world, rebuild your kernel, use mergemaster using the steps set 
out in the Handbook.

You can upgrade a port after updating the ports sources with cvsup and 
ports- supfile, without going through "make world."  If it's a port you 
haven't installed previously, just cd to the target port directory and:

make install clean

If you have already installed the port and have also installed the 
portupgrade port, then wherever you are, just type

portupgrade [port name]

If you do not have portupgrade installed, cd to the target port directory 
and

make deinstall clean

then

make install clean

Upgrading ports without updating the rest of your system entails some risk, 
since the port build process will expect current versions of various files 
and tools.  If these are outdated, the application may not work properly 
once built, or more likely will not build at all.

-- 
Jud

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprfgwv5zgl478m7>