[PATCH 0/4] licensecheck: eliminate false positives, and improve BSD-3 detection

Philip Hands phil at hands.com
Mon Jan 14 11:49:12 UTC 2013


These patches are inspired by my attempt to give freeswitch a worthwhile
debian/copyright file.

freeswitch bundles a lot of libraries in its source, and some of them are
a bit of a mess, so if some of this patch makes you suspicious, it may
be that I'm trying to fix things here that should be fixed in the source
for freeswitch.  Please just ask about anything you're doubtful about and
I'll point you at the reason I added it -- I was initially trying to do
that in the separate patches, but the last one is all lumped together,
so not as informative as it might have been.

I was using this (lightly patched) version of license-reconcile:

   https://github.com/phil-hands/license-reconcile

to do the checking of the copyright file, and the source that was being
checked is here:

  http://git.hands.com/?p=freeswitch.git;a=shortlog;h=refs/heads/copyright2

in which you'll find the config file for license-reconcile:

  http://git.hands.com/?p=freeswitch.git;a=blob;f=debian/license-reconcile.yml;h=0e40cba01eeb67f82d18ca8f11210271848d0549;hb=e213de09fa108bcbe8de5c4343817cbecbd985d6

some of which (IIRC) is working around licensecheck's failure to notice
some licenses.  I'll have another push at tidying up the license-reconcile
config after I've eliminated some of the non-free code that's hanging
around in freeswitch, at which point I may have some more changes to
make the copyright scanner a bit more clever than it is at present.

Cheers, Phil.

Philip Hands (4):
  stop copyright text being picked up as a name
  stop #define foo(c) ... matching  (c)
  spot  another BSD-3-clause wording
  a bunch more license false positives

 debian/changelog        |    6 ++++++
 scripts/licensecheck.pl |   22 ++++++++++++++++++----
 2 files changed, 24 insertions(+), 4 deletions(-)

-- 
1.7.10.4




More information about the devscripts-devel mailing list