From owner-freebsd-questions@FreeBSD.ORG Wed Apr 5 12:43:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5E25016A400 for ; Wed, 5 Apr 2006 12:43:02 +0000 (UTC) (envelope-from Zimmerman.Eric@con-way.com) Received: from ljcqs129.cnf.com (mail-cluster.cnf.com [63.230.177.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 047A743D73 for ; Wed, 5 Apr 2006 12:42:59 +0000 (GMT) (envelope-from Zimmerman.Eric@con-way.com) Received: from ljcqs129.cnf.com (localhost [127.0.0.1]) by ljcqs129.cnf.com (Postfix) with ESMTP id 61875F4323; Wed, 5 Apr 2006 05:42:59 -0700 (PDT) Received: from ciies004.conway.prod.con-way.com (cnfdcx-131-slb-02-in.cnf.com [10.0.108.132]) by ljcqs129.cnf.com (Postfix) with ESMTP id 4DD82F42EF; Wed, 5 Apr 2006 05:42:59 -0700 (PDT) Received: from qgaes001.conway.prod.con-way.com ([10.40.10.68]) by ciies004.conway.prod.con-way.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 5 Apr 2006 05:42:59 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 5 Apr 2006 07:42:57 -0500 Message-ID: <12AAD6CC50A25841834F43955F39B66E0402BB95@qgaes001.conway.prod.con-way.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Update from Ports removes dependency data thread-index: AcZYRMrJOhtt/bonSxmuu5REelGTqwAaWhgw From: "Zimmerman, Eric" To: "Kris Kennaway" , "Luke Dean" X-OriginalArrivalTime: 05 Apr 2006 12:42:59.0616 (UTC) FILETIME=[7884CA00:01C658AE] X-Virus-Scanned: ClamAV using ClamSMTP Cc: wc_fbsd@xxiii.com, freebsd-questions@freebsd.org Subject: RE: Update from Ports removes dependency data X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Apr 2006 12:43:02 -0000 > > and my algorithm isn't really airtight, but I'll give you the algorithm > > I'm using. The script just uses pkg_info, pkg_version, and grep. >=20 > Sounds like you're reinventing the wheel..portupgrade does all this > and more. >=20 > Kris Portmanager works great as well (in my experience anyways). It automatically rebuilds things as needed when new ports come along (including ports built with old dependencies). It even handled everything properly when a new version of perl came along. Its as simple as 'portmanager -u' in most cases. Eric