License finder?

Ben Scott dragonhawk at gmail.com
Fri Nov 17 16:32:51 EST 2006


On 11/17/06, Bill Ricker <bill.n1vux at gmail.com> wrote:
> Every package contains a copy of the license or a link into
> /usr/share/common­licenses/*  in directory debian/copyright  if I read
> the docs right ("Debian Packaging School")., but I don't quite see
> where that goes.

	/usr/share/doc/$PKGNAME/copyright

  But that gives you use full license file; Paul's looking for a summary.

  Paul might want to check the "vrms" package -- "Virtual Richard
Stallman".  It's supposed to identify all non-free software on the
system.  I've never been inclined to try it myself, so I don't know
the details.

  I know how to do this with RPM:

	rpm --query --all --queryformat '%{name}:\t%{copyright}\n'

  R'ing TFM, it appears

	dpkg-query --show --showformat='${magic}\n'

does something similar.  However, it also appears that dpkg does not
maintain a "copyright" or "license" field in the (installed) package
information.  But I could be wrong there; my understanding of dpkg is
minimal.

-- Ben



More information about the gnhlug-discuss mailing list