Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2000 13:13:38 -0700
From:      bmah@cisco.com (Bruce A. Mah)
To:        Eric Rivas <rivas45@sprintmail.com>
Cc:        Renaud Waldura <renaud@waldura.org>, ports@FreeBSD.ORG
Subject:   Re: Updating ported software 
Message-ID:  <200008012013.e71KDci14953@bmah-freebsd-0.cisco.com>
In-Reply-To: <39872BCF.64207C4E@sprintmail.com> 
References:  <20000801123256.A1400@ebola.biohz.net> <39872BCF.64207C4E@sprintmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_859723474P
Content-Type: text/plain; charset=us-ascii

If memory serves me right, Eric Rivas wrote:
> Renaud Waldura wrote:

> > I then updated my ports with cvsup, and now the Makefile for foo says it
> > is in version 1.1, but the foo binary itself is still in version 1.0. Hence
> > my first question: is there a way to automatically rebuild updated ports?

[snip]

Eric Rivas pretty much answered the question, but I'll toss in a few
tidbits:

1.  You can use pkg_version(1) on FreeBSD 3.4 and later to help you
figure out what's been updated between the time you installed each of
your ports and the last time the ports INDEX file was generated.
("pkg_version -v" will give you, IMHO, the most helpful output.)

2.  You don't want to really automatically rebuild ports...a larger 
version number doesn't always translate to "better".

3.  In general (but not always), you want to make sure you pkg_delete an
older version before installing a newer version, lest the package
maintenence software get confused by a file that could belong to two
different ports.  There are some exceptions, as always (Tcl, Tk, and PGP
come to mind).

Hope this helps...

Bruce.





--==_Exmh_859723474P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: w7b+59n/37P86HzWQEtD04kLldvOtN9o

iQA+AwUBOYcvctjKMXFboFLDEQK70gCgjXP/jR8E2ma1KyeQ0HNmwsHZQmgAmPPy
KdMpefdoXBSgoQ1PmtLY/fE=
=/fuV
-----END PGP SIGNATURE-----

--==_Exmh_859723474P--


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




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