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]

Attachment: licensecheck-cddl.patch
Description: Binary data

Reply via email to