开发者

List of licenses of Debian components [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for a list of all components in the Debian distribution (specifically Lenny) with indication of their respective l开发者_如何学JAVAicense (GPL, LGPL etc.), where might one find such a list?


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.

Edit: DEP5 is now formalized as http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ but it's still an optional format, and not every package uses it.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜