From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 23:36:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FEF11065674 for ; Tue, 15 Apr 2008 23:36:00 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from sasl.smtp.pobox.com (a-sasl-fastnet.sasl.smtp.pobox.com [207.106.133.19]) by mx1.freebsd.org (Postfix) with ESMTP id 320778FC1D for ; Tue, 15 Apr 2008 23:36:00 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id D0C7024B1; Tue, 15 Apr 2008 19:35:58 -0400 (EDT) Received: from lukas.is-a-geek.org (pool-71-113-78-181.sttlwa.dsl-w.verizon.net [71.113.78.181]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id F00D424B0; Tue, 15 Apr 2008 19:35:56 -0400 (EDT) Date: Tue, 15 Apr 2008 16:35:52 -0700 (PDT) From: Luke Dean X-X-Sender: lukas@border.lukas.is-a-geek.org To: Chad Perrin In-Reply-To: <20080415231450.GF78906@demeter.hydra> Message-ID: <20080415162955.Y25041@border.lukas.is-a-geek.org> References: <20080415231450.GF78906@demeter.hydra> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Subject: Re: determining what's in the base system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 23:36:00 -0000 On Tue, 15 Apr 2008, Chad Perrin wrote: > I have two questions. First: > > Assume you have a FreeBSD system installed that has been running for at > least a year, with a bunch of graphical desktop and productivity software > installed, and have both installed and uninstalled a lot of software over > that time. Now imagine that you want to know whether a given utility was > something that came with the base system or was installed by some port or > package later on. What's the easiest way to do that (preferably without > installing the FreeBSD base system on a computer and checking whether the > utility is present)? > > Second: > > Where can I get a list of all licenses on all software in the base > system? I know there's at least the BSD License, the GPL, and the LGPL, > but I'm a little hazy on what else is in there. I'm pretty sure there > isn't any proprietary closed source software in there, but I wouldn't bet > any substantial amount of money on it at this point, because I haven't > really checked into it. For the first question, I'd first look at where the utility is. Base system utilities won't be in /usr/local. Add-on packages and ports "should" be. The "pkg_info" utility and all of its switches and options could be useful too, if your ports database is correct. For the second question, I've always assumed that /COPYRIGHT applied to everything in the base system.