From owner-freebsd-questions@FreeBSD.ORG Thu Mar 31 13:59:16 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 A685D16A4CE for ; Thu, 31 Mar 2005 13:59:16 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE14F43D46 for ; Thu, 31 Mar 2005 13:59:14 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [IPv6???1] (localhost.daemonsecurity.com [127.0.0.1]) by top.daemonsecurity.com (Postfix) with ESMTP id 33386FD068; Thu, 31 Mar 2005 15:58:52 +0200 (CEST) Message-ID: <424C0211.4080703@locolomo.org> Date: Thu, 31 Mar 2005 15:58:41 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050314 X-Accept-Language: en, en-us, en-gb, da, fr, de, it, es MIME-Version: 1.0 To: Per Berger References: <20050331125702.GA95112@kalle.stortsett.local> In-Reply-To: <20050331125702.GA95112@kalle.stortsett.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: How do I know what a meta port installs? 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: Thu, 31 Mar 2005 13:59:16 -0000 Per Berger wrote: > I have installed a couple of "meta" ports, for example gnome2. How can I > see exactly which ports the meta port installs? I have tried to figure > it out but failed... > > I am right now installing "gnome2-power-tools" and can see that it > installs apache (!) which causes some concern regarding configuration > and security. So; what else did it install? How do I find out? A meta port installs a number of packages by depending on them. For example in the ports/x11/gnome2/Makefile you will find a variable "RUN_DEPENDS=" and then a long list of things. All these dependencies are installed when you "make install" but since it is a run-time dependency, nothing happens if you just type "make". What you won't see, is that each of these packages most likely depends on other packages etc. that are also installed. Tracing this till the end is hard. What may give you some idea is to install the portupgrade tools and run portupgrade -rRn gnome2 This will not install anything (-n) but recurse up and down in the dependencies to tell you what would be done. This may not show you all dependencies as portupgrade should only want to upgrade what is _not_ up to date. Regarding gnome2-power-tools: First, it may install apache as a (sub-) dependency, but apache won't start unless you start it, as such it does not introduce new network accessible services. Second: Do you actually need all that? The easiest way to keep a system clean and updated is to stay at minimal needs, install as needed. You will learn that first time you try to upgrade a major package ... Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2