[poky] [PATCH 0/1] Poky License Reporting

Beth Flanagan elizabeth.flanagan at intel.com
Mon Jan 10 11:09:31 PST 2011


Initial commit of license reporting:

This is an intial commit for the license reporting system. A few notes:
The LICENSE fields needs to be standardized throughout poky.

I've seen a few places where Apache-v2.0 is written differently and
I'm sure this will bug things out. This does not put the license data
on the rootfs. I'm still working on that capability. Also, I provide both
the actual license text and a link to the best guess of the
generic_license. That guessing is not very robust and I'm loath to get
into a bunch of pattern matching rather than standardize LICENSE.

This adds one new param to poky.conf and one new to license.bbclass:

LICENSE_DIR: the base directory we copy all the license results to (set
in license.bbclass)
COMMON_LICENSE_DIR: this is the directory that holds all the common
generic license files. currently meta/files/common-licenses (set in
poky.conf)

TODO:
- We should verify the common-licenses. I stripped these from my Ubuntu
  10.10 system.
- Enable ENABLE_ROOTFS_LICENSES. This is commented out in poky.conf. The
  code isn't written for it, but we should allow that capability, although
  the resulting image created would be a lot larger.
- More common-licenses. I don't include bzip, zlib, ICS.... I should,
  but that means tracking down a lot of licenses.
- General cleanup of licensing and standardization of names. We should
  standardize on a naming convention. What's in licenses.conf should
  match up with what is in the recipes which should match with what is
  in common-licenses. Outside the scope of this though. See:
  http://bugzilla.pokylinux.org/show_bug.cgi?id=650

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: eflanagan/license
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/license

Thanks,
    Beth Flanagan <elizabeth.flanagan at intel.com>
---


Beth Flanagan (1):
  Initial commit of license reporting:

 meta/classes/license.bbclass          |   92 +++++
 meta/conf/distro/poky.conf            |    4 +-
 meta/files/common-licenses/Apache-2.0 |  202 ++++++++++
 meta/files/common-licenses/Artistic   |  131 +++++++
 meta/files/common-licenses/BSD        |   26 ++
 meta/files/common-licenses/GFDL       |  451 ++++++++++++++++++++++
 meta/files/common-licenses/GFDL-1.2   |  397 +++++++++++++++++++
 meta/files/common-licenses/GFDL-1.3   |  451 ++++++++++++++++++++++
 meta/files/common-licenses/GPL        |  676 +++++++++++++++++++++++++++++++++
 meta/files/common-licenses/GPLv2      |  339 +++++++++++++++++
 meta/files/common-licenses/GPLv3      |  676 +++++++++++++++++++++++++++++++++
 meta/files/common-licenses/LGPL       |  165 ++++++++
 meta/files/common-licenses/LGPLv2     |  481 +++++++++++++++++++++++
 meta/files/common-licenses/LGPLv2.1   |  510 +++++++++++++++++++++++++
 meta/files/common-licenses/LGPLv3     |  165 ++++++++
 15 files changed, 4765 insertions(+), 1 deletions(-)
 create mode 100644 meta/classes/license.bbclass
 create mode 100644 meta/files/common-licenses/Apache-2.0
 create mode 100644 meta/files/common-licenses/Artistic
 create mode 100644 meta/files/common-licenses/BSD
 create mode 100644 meta/files/common-licenses/GFDL
 create mode 100644 meta/files/common-licenses/GFDL-1.2
 create mode 100644 meta/files/common-licenses/GFDL-1.3
 create mode 100644 meta/files/common-licenses/GPL
 create mode 100644 meta/files/common-licenses/GPLv2
 create mode 100644 meta/files/common-licenses/GPLv3
 create mode 100644 meta/files/common-licenses/LGPL
 create mode 100644 meta/files/common-licenses/LGPLv2
 create mode 100644 meta/files/common-licenses/LGPLv2.1
 create mode 100644 meta/files/common-licenses/LGPLv3




More information about the poky mailing list