From owner-freebsd-ports Tue Aug 1 13:13:43 2000 Delivered-To: freebsd-ports@freebsd.org Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by hub.freebsd.org (Postfix) with ESMTP id 1FEAC37B862 for ; Tue, 1 Aug 2000 13:13:40 -0700 (PDT) (envelope-from bmah@cisco.com) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.0/8.11.0) id e71KDci14953; Tue, 1 Aug 2000 13:13:38 -0700 (PDT) (envelope-from bmah) Message-Id: <200008012013.e71KDci14953@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Eric Rivas Cc: Renaud Waldura , ports@FreeBSD.ORG Subject: Re: Updating ported software In-Reply-To: <39872BCF.64207C4E@sprintmail.com> References: <20000801123256.A1400@ebola.biohz.net> <39872BCF.64207C4E@sprintmail.com> Comments: In-reply-to Eric Rivas message dated "Tue, 01 Aug 2000 15:58:07 -0400." From: bmah@cisco.com (Bruce A. Mah) Reply-To: bmah@cisco.com X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_859723474P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 01 Aug 2000 13:13:38 -0700 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --==_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