From owner-freebsd-stable Mon Mar 22 18: 1:53 1999 Delivered-To: freebsd-stable@freebsd.org Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (Postfix) with ESMTP id 4A6A914F59 for ; Mon, 22 Mar 1999 18:01:49 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id VAA28142; Mon, 22 Mar 1999 21:01:24 -0500 (EST) Received: from john.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id VAA14156; Mon, 22 Mar 1999 21:01:20 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 22 Mar 1999 21:01:23 -0500 (EST) From: John Baldwin To: Mike Meyer Subject: Re: Musings about tracking FreeBSD... Cc: stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a very simple shell script that greps /usr/ports/INDEX to find ports that need updating. It does have the rare false alarm (namely pgp-2.6.2). Also, I find that /usr/ports/INDEX isn't always up to date with the rest of the ports tree, occasionally producing another false alarm, but these are easy to find by just checking the version in the respective ports Makefile. If anyones interested, e-mail me and I'll send it to you. On 22-Mar-99 Mike Meyer wrote: > While it's good idea, it's not the way I'd tackle it. How about > grovelling over the output of "make update", and if a change in a port > shows up, check /usr/ports//Makefile for the package name, > and then /var/db/pkg for that name. If it's there, add a note about it > to that file. > > Of course this misses changes in the libraries/includes/etc. that > might cause you to want to rebuild a port. > > > On Mon, 22 Mar 1999, Richard J. Dawes wrote: > >> Date: Mon, 22 Mar 1999 13:45:43 -0800 (PST) >> From: Richard J. Dawes >> Reply-To: Richard Dawes >> To: Mike Meyer >> Cc: stable@FreeBSD.ORG >> Subject: Re: Musings about tracking FreeBSD... >> >> Hi! >> How about if you write a script that gets a list of ports you've >> installed (or just ones you worry about). Then it goes through your >> mail from the "cvs-all" mailing-list, and adds those regarding your list >> of ports to a file (sorted to taste), discarding the rest. Run nightly, >> or whenever you make world. >> A quick scan of the output should indicate the ports you might >> wish to upgrade. Might not be too hard in PERL. Just an idea... Good >> luck! >> >> --Rich >> >> >> On Mon, 22 Mar 1999, Mike Meyer wrote: >> > [...] >> > However, that brings up yet *another* level of problem. Even if you >> > follow the correct procedures completely (or at least as completely as >> > they have been specified here), you can still wind up with broken >> > binaries from the /ports tree. In fact, the first time I did a system >> > update, I did exactly that: update the source tree, build the world, >> > install the world, build a new kernel, install the new kernel, run >> > mergemaster, and reboot. Everything worked fine. Then I dumped / & >> > /usr to disk and tried to burn a CD-ROM of those dumps for archival >> > purposes - only to have cdrecord die in the middle with an illegal >> > system call. Rebuilding cdrecord solved the problem, but this >> > illustrates that the recommended procedure is incomplete - you need to >> > reinstall all ports/packages as well, right? Is there a tool that >> > inspects /var/db/pkg to automate that process? >> > [...] --- John Baldwin -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message