From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 22:56:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4501F16A4CE for ; Fri, 24 Sep 2004 22:56:26 +0000 (GMT) Received: from usw2.natel.net (2b.bz [209.152.117.190]) by mx1.FreeBSD.org (Postfix) with SMTP id B6C7643D2D for ; Fri, 24 Sep 2004 22:56:25 +0000 (GMT) (envelope-from WD@US-Webmasters.com) Received: (qmail 6478 invoked from network); 24 Sep 2004 22:56:21 -0000 Received: from batv-01-034.dialup.netins.net (HELO xyz.US-Webmasters.com) (216.248.109.35) by us-webmasters.com with SMTP; 24 Sep 2004 22:56:21 -0000 Message-Id: <5.1.0.14.2.20040924173912.06169ce0@209.152.117.178> X-Sender: wd@209.152.117.178 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 24 Sep 2004 17:55:28 -0500 To: freebsd-questions@freebsd.org From: "W. D." In-Reply-To: <41532782.7080901@makeworld.com> References: <451E9011-0BF5-11D9-B049-000393934006@npc-usa.com> <200409211422.10752.donaldj1066@fastmail.fm> <4150B50B.7040208@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable cc: Curtis Vaughan cc: "Donald J. O'Neill" Subject: Re: Port upgrading - my way X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 22:56:26 -0000 At 14:44 9/23/2004, Chris, wrote: >>> You could join in the FreeBSD tradition, though, and do it the >>> Right Way(tm) ... >>> >>> http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html >>> >>> An excellent tutorial/article by Dru Lavigne.... >>> >>> Kevin Kinsey >>> >> OK, after reading this tutorial, here is MY new WAY. >>=20 >> /usr/local/bin/cvsup -g -L 2 /root/cvsup/ports-supfile >> portsdb -Uu >> portversion -l "<" [to see if any ports will be upgraded] >> portupgrade -arR [so dependencies will be installed, if necessary] >> [NB. If ever asked to run pkgdb -F, do it] >>=20 >> Taking into consideration other issues or options pointed out on the web= =20 >> tutorial, will this be a good strategy from now on for performing good=20 >> port upgrades? >>=20 >> Curtis > >Yes - this is more or less how I do mine. >--=20 >Best regards, >Chris OK, how about adding a cron job by root like this? (Line will wrap. Everything between '=3D=3D=3D' on one line) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D 15 3 * * * /usr/local/bin/cvsup -h cvsup7.FreeBSD.org= /usr/share/examples/cvsup/ports-supfile && portsdb -Uu && pkgdb -fu && cd= /usr/ports && make index =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D Then in the morning running: portversion -l "<" Would this automate things without causing problems? Any other safe ways to automate the process? Start Here to Find It Fast!=99 ->= http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names -> http://domains.us-webmasters.com/