-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Sep 23, 2017 at 04:05:49PM +0800, Yanhao Mo wrote:
[...] > Nothing, I was just curious. :P Not a readymade solution, but perhaps a lead to follow: package copyright info is supposed to be in a file debian/copyright within the package source archive[1]. I don't know at the moment whether this info percolates to the package binary when building. Note that one specific difficulty is that a package may consist of several parts, all of them licensed differently. There'san effort underway to make this license info machine readable [2] Hope that helps to get you started Cheers [1] A debian source package is, basically, the original source hierarchy (aka "upstream") augmented by one subdirectory at top level, named "debian", containing debian specific patches, build recipes and all kind of debian specific metadata (dependency info, whatnot). This debian subdir is distributed as a separate .tar.gz cf. https://www.debian.org/doc/manuals/debian-handbook/sect.source-package-structure.en.html [2] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlnGGn0ACgkQBcgs9XrR2ka6bgCcCrKXjk2gy6thfCUJypOoLqnI tecAnRNEuvdgDJ8uni9BU8l/pB5p5hgJ =KIle -----END PGP SIGNATURE-----