From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 01:00:32 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 0C42D106564A for ; Mon, 21 Apr 2008 01:00:32 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-10.bluehost.com (outbound-mail-10.bluehost.com [69.89.17.210]) by mx1.freebsd.org (Postfix) with SMTP id CBD008FC0C for ; Mon, 21 Apr 2008 01:00:31 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 3921 invoked by uid 0); 21 Apr 2008 01:00:29 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by outboundproxy1.bluehost.com with SMTP; 21 Apr 2008 01:00:29 -0000 Received: from c-67-165-217-249.hsd1.co.comcast.net ([67.165.217.249] helo=demeter.hydra) by box183.bluehost.com with esmtpa (Exim 4.68) (envelope-from ) id 1JnkOT-0006tl-Hx for freebsd-questions@freebsd.org; Sun, 20 Apr 2008 19:00:29 -0600 Received: by demeter.hydra (sSMTP sendmail emulation); Sun, 20 Apr 2008 19:00:30 -0600 Date: Sun, 20 Apr 2008 19:00:30 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20080421010030.GB99438@demeter.hydra> Mail-Followup-To: FreeBSD Questions References: <20080415231450.GF78906@demeter.hydra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 67.165.217.249 authed with perrin@apotheon.com} 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: Mon, 21 Apr 2008 01:00:32 -0000 --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 15, 2008 at 05:02:54PM -0700, Chuck Swiger wrote: > 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 =20 > >at > >least a year, with a bunch of graphical desktop and productivity =20 > >software > >installed, and have both installed and uninstalled a lot of software =20 > >over > >that time. Now imagine that you want to know whether a given =20 > >utility was > >something that came with the base system or was installed by some =20 > >port or > >package later on. What's the easiest way to do that (preferably =20 > >without > >installing the FreeBSD base system on a computer and checking =20 > >whether the > >utility is present)? >=20 > Run "pkg_which" on the name of the file, and it will tell you which =20 > port that file comes from. Otherwise, the file is part of the base =20 > system, or created by a user. Thanks. That's another good suggestion. >=20 > >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 =20 > >LGPL, > >but I'm a little hazy on what else is in there. >=20 > There are dozens of variants of the BSD License, and the closely =20 > related Zlib/PNG license; there are also MIT, GPL, LGPL, a bit of =20 > Sun's SISSL or CDDL, and probably other licenses present. A decent =20 > starting point is: >=20 > % 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 Duly noted. --=20 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Marvin Minsky: "It's just incredible that a trillion-synapse computer could actually spend Saturday afternoon watching a football game." --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgL5y4ACgkQ9mn/Pj01uKXW0QCg3e0DC4P7/J9EXlmnm3W/jEK0 9AYAoMvt4ms6nJIDgLXKGQNueimnApv+ =tk6H -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--