From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 00:03: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 D735D1065670 for ; Wed, 16 Apr 2008 00:03:00 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id BE2258FC16 for ; Wed, 16 Apr 2008 00:03:00 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id 387692851CC8; Tue, 15 Apr 2008 17:02:55 -0700 (PDT) Received: from relay13.apple.com (unknown [127.0.0.1]) by relay13.apple.com (Symantec Mail Security) with ESMTP id 2052D28050; Tue, 15 Apr 2008 17:02:55 -0700 (PDT) X-AuditID: 1180711d-abb97bb000000ed7-67-4805422e1643 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) by relay13.apple.com (Apple SCV relay) with ESMTP id 000FA2804F; Tue, 15 Apr 2008 17:02:54 -0700 (PDT) Message-Id: From: Chuck Swiger To: Chad Perrin In-Reply-To: <20080415231450.GF78906@demeter.hydra> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 15 Apr 2008 17:02:54 -0700 References: <20080415231450.GF78906@demeter.hydra> X-Mailer: Apple Mail (2.919.2) X-Brightmail-Tracker: AAAAAA== 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 00:03:00 -0000 On Apr 15, 2008, at 4:14 PM, 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)? Run "pkg_which" on the name of the file, and it will tell you which port that file comes from. Otherwise, the file is part of the base system, or created by a user. > 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. There are dozens of variants of the BSD License, and the closely related Zlib/PNG license; there are also MIT, GPL, LGPL, a bit of Sun's SISSL or CDDL, and probably other licenses present. A decent starting point is: % locate LICENSE [ ... ] /usr/src/contrib/bzip2/LICENSE /usr/src/contrib/groff/LICENSE /usr/src/contrib/ipfilter/perl/LICENSE /usr/src/contrib/less/LICENSE /usr/src/contrib/libpcap/LICENSE /usr/src/contrib/nvi/LICENSE /usr/src/contrib/openbsm/LICENSE /usr/src/contrib/openpam/LICENSE /usr/src/contrib/pam_modules/pam_passwdqc/LICENSE /usr/src/contrib/sendmail/LICENSE /usr/src/contrib/tcpdump/LICENSE /usr/src/crypto/openssl/LICENSE /usr/src/lib/libc/rpc/LICENSE /usr/src/sys/contrib/dev/npe/LICENSE /usr/src/sys/dev/em/LICENSE /usr/src/sys/dev/ixgb/LICENSE /usr/src/sys/dev/rr232x/LICENSE /usr/src/usr.sbin/mrouted/LICENSE -- -Chuck