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
                   2010-01-03 09:33:15
                
              The list itself is the simple part indeed, the license is more tricky
                  Ze'ev
                   2010-01-03 09:52:05
                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
                   2010-01-03 10:13:06
                
                +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
                   2010-01-03 10:32:30