Bug#723723: Add support for CDDL in illumos source tree

Игорь Пашев pashev.igor at gmail.com
Thu Sep 19 07:41:11 UTC 2013


Package: devscripts
Version: 2.13.3

Test example: https://github.com/illumos/illumos-gate/tree/master/usr/src/lib/libpool

Currently licensecheck gives this:
$ licensecheck --copyright -r usr
usr/src/lib/libpool/common/pool_commit.c: CDDL
  [Copyright: 2006 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/dict.c: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/pool_value.c: CDDL (v1.0 only)
  [Copyright: [yyyy] [name of owner] / 2004 Sun Microsystems, Inc. All
rights reserved]

usr/src/lib/libpool/common/pool.c: CDDL
  [Copyright: [yyyy] [name of owner] / 2007 Sun Microsystems, Inc. All
rights reserved]

usr/src/lib/libpool/common/pool_kernel.c: CDDL
  [Copyright: 2009 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner] / 2012 Milan Jurik. All rights reserved]

usr/src/lib/libpool/common/pool_kernel_impl.h: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/pool_internal.c: CDDL
  [Copyright: 2006 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/pool.h: CDDL
  [Copyright: 2006 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/dict.h: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/pool_xml.c: CDDL
  [Copyright: 2009 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/pool_impl.h: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/pool_internal.h: CDDL
  [Copyright: 2006 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]

usr/src/lib/libpool/common/pool_xml_impl.h: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved / [yyyy]
[name of owner]]


With attached patch:
$ ./licensecheck --copyright -r usr
usr/src/lib/libpool/common/pool_commit.c: CDDL
  [Copyright: 2006 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/dict.c: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool_value.c: CDDL (v1.0 only)
  [Copyright: 2004 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool.c: CDDL
  [Copyright: 2007 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool_kernel.c: CDDL
  [Copyright: 2009 Sun Microsystems, Inc. All rights reserved / 2012
Milan Jurik. All rights reserved]

usr/src/lib/libpool/common/pool_kernel_impl.h: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool_internal.c: CDDL
  [Copyright: 2006 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool.h: CDDL
  [Copyright: 2006 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/dict.h: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool_xml.c: CDDL
  [Copyright: 2009 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool_impl.h: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool_internal.h: CDDL
  [Copyright: 2006 Sun Microsystems, Inc. All rights reserved]

usr/src/lib/libpool/common/pool_xml_impl.h: CDDL (v1.0 only)
  [Copyright: 2003 Sun Microsystems, Inc. All rights reserved]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: licensecheck-cddl.patch
Type: application/octet-stream
Size: 719 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20130919/34a411b4/attachment.obj>


More information about the devscripts-devel mailing list