From owner-freebsd-questions@FreeBSD.ORG Mon Mar 28 13:50:27 2005 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 300D816A4CE for ; Mon, 28 Mar 2005 13:50:27 +0000 (GMT) Received: from smtpauth06.mail.atl.earthlink.net (smtpauth06.mail.atl.earthlink.net [209.86.89.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE9C243D1D for ; Mon, 28 Mar 2005 13:50:26 +0000 (GMT) (envelope-from rpratt1950@earthlink.net) Received: from [69.34.135.207] (helo=kt.weeble.com) by smtpauth06.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1DFudO-0008Be-3q; Mon, 28 Mar 2005 08:50:26 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=test1; d=earthlink.net; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=tvRlmC2GrrSC2XcjhSmyAP2winXQ85NmqMl5R2wcuWV6RVlOArwgktsGz1eD6hY+; Date: Mon, 28 Mar 2005 08:50:24 -0500 From: Randy Pratt To: Jay O'Brien Message-Id: <20050328085024.1bad28eb.rpratt1950@earthlink.net> In-Reply-To: <4247B6F7.8010508@att.net> References: <20050328044052.75667.qmail@web53909.mail.yahoo.com> <42479915.5040202@att.net> <200503272151.29109.ringworm01@gmail.com> <4247B6F7.8010508@att.net> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ELNK-Trace: 96132b9c1759af1df21c5f5255d6c174239a348a220c260910486bd5a57bfdb99b3903e769c5147d666fa475841a1c7a350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.34.135.207 cc: questions@freebsd.org Subject: Re: Portupgrade (vs. Portmanager) question 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: Mon, 28 Mar 2005 13:50:27 -0000 On Sun, 27 Mar 2005 23:49:11 -0800 Jay O'Brien wrote: > Michael C. Shultz wrote: > > > It would be nice if the ports make options were better documented, but > > you can read through /usr/ports/Mk/bsd.port.mk and find information > > on the various options. > > > > here is an example: > > > > # all-depends-list > > # - Show all directories which are dependencies > > # for this port. > > > > then > > > > cd /usr/ports/lang/ezm3/ > > make all-depends-list > > > > result: > > > > /usr/ports/converters/libiconv > > /usr/ports/devel/gettext > > /usr/ports/devel/gmake > > /usr/ports/devel/libtool15 > > > > -Mike > > > > Mike, > > That's great info, thank you. It really helps put this into perspective. > > I did portmanager -sl and it identifies 7 candidates for deletion. > It identifies cvsup-without-gui and also identifies ezm3 upon which > it depends. Am I missing something here or shouldn't ezm3 not been > identified as a "leaf port"? Good observation on your part and its a good question to ask. I'm not real familar with portmanager but it appears to identify the leaf ports in the same manner as sysutils/pkg_cutleaves and sysutils/pkg_rmleaves do. The utilities are only considering the run-dependencies as needed. Any port that is only required as a build-dependency is treated as a leaf port. They could be removed but it would have to be rebuilt if it were needed again. I usually keep these tools that are only needed for building since I run portupgrade nightly. Others that have limited hard disk space might elect to remove them and their associated source tarballs. Its left to the individual to decide whether or not to keep them. You're on the right track to understanding how the ports system works and using its tools. Just keep reading the man pages and observing how things function. Best regards, Randy --