From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 19:09:36 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D59C16A403 for ; Mon, 11 Sep 2006 19:09:36 +0000 (UTC) (envelope-from alexjeffburke@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9894343D46 for ; Mon, 11 Sep 2006 19:09:35 +0000 (GMT) (envelope-from alexjeffburke@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2126396pye for ; Mon, 11 Sep 2006 12:09:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=D7V/PUiLFGM3swlhWd5v5bMdWKfcU2lB8nhOmBfEHIKFXWoq/uTHalcPjk71+eoME5vGNXl2FZVYNFBZOl3krjzeIO+n/u73oCJE8zBDJlr9WaxQpg9YaRrdqlM5GZPfQsWw/4fzElf1uh4PrixMblheYFt4L3bjzGKvXukaXZg= Received: by 10.35.54.1 with SMTP id g1mr9436699pyk; Mon, 11 Sep 2006 12:09:34 -0700 (PDT) Received: by 10.35.49.18 with HTTP; Mon, 11 Sep 2006 12:09:34 -0700 (PDT) Message-ID: Date: Mon, 11 Sep 2006 20:09:34 +0100 From: "Alex Burke" To: "FreeBSD CURRENT" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Removing ports based on library dependency X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 19:09:36 -0000 Hi, Apologies if this would seem to be the wrong list for this post. I want to upgrade one of my FreeBSD boxes running 6.0 to CURRENT. I know that this involves rebuilding ports so they link against libc.so.7 and all associated libraries. I guess the small problem is that I really only want to upgrade certain ports, since the machine has a ton of stuff I really would like to get rid of. I can set those individual port upgrades off myself with portmaster. However, I would then want to delete all the ports that I didn't upgrade...and presumably that would mean checking what was still compiled against libc.so.6 The problem is, I have NO idea what the incantation would be to get a list of each installed port's dependencies...but once i have that, I can probably do a pkg_delete on it...and with CURRENT I could probably clean up with delete-old-libs target? I would greatly appreciate if somebody could advise me how to go about this....and although I know it would probably be more efficient to reinstall the machine from scratch, I'm trying to avoid the data shifting and inability to use the system that alternative causes. One extra little point, is symbol versioning reobust enough to be enabled for the entire system? Are there any bebefits/drawbacks to that approach? Thanks in advance, Alex J Burke.