From owner-freebsd-questions Wed Jul 28 13: 1:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.lee.net (trinity.lee.net [208.229.121.1]) by hub.freebsd.org (Postfix) with ESMTP id 00E32153FA for ; Wed, 28 Jul 1999 13:01:45 -0700 (PDT) (envelope-from awells@journalstar.com) Received: from journalstar.com (leepcC-159.sub-c.lee.net [208.205.126.159]) by trinity.lee.net (8.9.1/8.9.0) with ESMTP id PAA28197; Wed, 28 Jul 1999 15:04:18 -0500 Message-ID: <379F61C3.6E38BE26@journalstar.com> Date: Wed, 28 Jul 1999 15:02:11 -0500 From: Tony Wells X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Christopher Vance Cc: questions@FreeBSD.ORG Subject: Re: package update References: <19990728100358.C2104@aurema.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What you need is cvsup. (It's in ports) Compile cvsup and then read the docs at: http://www.freebsd.org/handbook/synching.html#CVSUP You can find an example supfile in /usr/share/examples/cvsup called 'ports-supfile' which is pretty self-explanatory. If you're behind a firewall you might have to use the '-P -' switch with cvsup to get it into passive mode. (I do.) Good luck! Christopher Vance wrote: > > One thing I love about FreeBSD is /usr/ports. Excellent work! > > One thing I dislike about ports (and packages) is the lack of a > command to update a package to a new version. > > I'd love to be able to go to /usr/ports, and type "make update", have > it check what versions of ports/packages I have installed, and > selectively compile and install them. > > Two things: > > 1) Determining out-of-date packages is not trivial - there are many > cases where directory names are not closely related to the installed > package name. Even looking in the Makefiles doesn't give this > information up easily. My perl script is not worth sharing :-(. > > 2) Even if you have determined a package to be out-of-date, and have > compiled it, it's still a royal pain to install these things. > I understand that just pkg_add'ing over an existing package is bad > form. And if there are dependencies (as is often so), it's not > trivial to pkg_delete first... > > Is there hope on the horizon, or should I fight on alone? > > Or even worse, did I miss something significant, resulting in > irrelevant questions? > > -- > Christopher Vance > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message