views:

44

answers:

2

I'm looking for a list of all components in the Debian distribution (specifically Lenny) with indication of their respective license (GPL, LGPL etc.), where might one find such a list?

A: 

The Debian package list is available here. I think that parsing this list, and using a little xpath magic, you can find for each package its license.

Valentin Rocher
The list itself is the simple part indeed, the license is more tricky
Ze'ev
On many license files, there is the line "Public License can be found in". Even if it does not list all the specificities, it could help you.
Valentin Rocher
+3  A: 

Every Debian package contains the copyright and license information in the /usr/share/doc/$PACKAGENAME/copyright file. Unfortunately, there is no format specified for the file, so you'll need to do a lot of manual work, or a lot of guessing baśed on pattern matching, to figure out what the licenses are for a package.

There is work going on to specify a format for this. See DEP5.

Lars Wirzenius