Re: [WikiReader] License review

2009-11-01 Thread Doug Jones
(Eeeek!  Just posted the following message under the wrong subject line. 
  Sorry.  Here it is again.)



(Part 1 was in the previous message, this is part 2)










__
The files listed above are not included in the analysis below.

Many of the files remaining are not source code and presumably don't
require software licenses.

Most of the files remaining do not contain license text and do not
appear in directories that contain license text.  However I have not
read all of the files yet.
__


Graphics and texts and others...



 graphics files:

.png:

host-tools/splashimages/dead_battery.png
host-tools/splashimages/i_love_samo.png
host-tools/splashimages/openmoko_zh.png
host-tools/splashimages/samo_cat.png
host-tools/splashimages/samo_cool.png
host-tools/splashimages/samo_in_heart.png
samo-lib/flash/fail.png
samo-lib/flash/ok.png
samo-lib/flash/program.png
samo-lib/mbr/empty.png
samo-lib/mbr/splash.png

.pbm:

wiki-app/clear_history.pbm
wiki-app/keyboard_abc_mono2.pbm
wiki-app/keyboard_numb_mono2.pbm


 text files:

(no extension):

.git/FETCH_HEAD
.git/HEAD
.git/config
.git/description
.git/index
.git/info/exclude
.git/logs/HEAD
.git/logs/refs/heads/2
.git/logs/refs/heads/master
.git/logs/refs/remotes/origin/gh-pages
.git/logs/refs/remotes/origin/master
.git/packed-refs
.git/refs/heads/2
.git/refs/heads/master
.git/refs/remotes/origin/gh-pages
.git/refs/remotes/origin/master
.gitignore
Makefile
TODO
doc/QuickStart
host-tools/.gitignore
host-tools/console-simulator/.gitignore
host-tools/flash07/.gitignore
host-tools/hash-gen/.gitignore
host-tools/jackknife/.gitignore
host-tools/offline-renderer/.gitignore
host-tools/pcf2bmf/.gitignore
host-tools/splashimages/README
host-tools/wiki-xml/.gitignore
samo-lib/.gitignore
samo-lib/drivers/.gitignore
samo-lib/flash/.gitignore
samo-lib/include/.gitignore
samo-lib/mbr/.gitignore
samo-lib/mini-libc/.gitignore
samo-lib/mini-libc/README
samo-lib/mini-libc/src/bsd/.gitignore
samo-lib/mini-libc/src/stdlib/.gitignore
samo-lib/mini-libc/src/string/.gitignore
samo-lib/scripts/CopyToSD
samo-lib/scripts/MakeSD
samo-lib/scripts/MakeTestFile
samo-lib/scripts/SendCountedFile
samo-lib/scripts/p33
testudo/init-scripts/gpib
testudo/linux-gpib-svn/.gitignore
testudo/linux-gpib-svn/AUTHORS
testudo/linux-gpib-svn/COPYING
testudo/linux-gpib-svn/ChangeLog
testudo/linux-gpib-svn/INSTALL
testudo/linux-gpib-svn/NEWS
testudo/linux-gpib-svn/README
testudo/linux-gpib-svn/TODO
testudo/linux-gpib-svn/applications/Makefile
testudo/linux-gpib-svn/bootstrap
testudo/linux-gpib-svn/contrib/Makefile
testudo/linux-gpib-svn/drivers/gpib/Makefile
testudo/linux-gpib-svn/drivers/gpib/agilent_82350b/Makefile
testudo/linux-gpib-svn/drivers/gpib/agilent_82357a/Makefile
testudo/linux-gpib-svn/drivers/gpib/cb7210/Makefile
testudo/linux-gpib-svn/drivers/gpib/cec/Makefile
testudo/linux-gpib-svn/drivers/gpib/eastwood/Makefile
testudo/linux-gpib-svn/drivers/gpib/hp_82335/Makefile
testudo/linux-gpib-svn/drivers/gpib/hp_82341/Makefile
testudo/linux-gpib-svn/drivers/gpib/ines/Makefile
testudo/linux-gpib-svn/drivers/gpib/nec7210/Makefile
testudo/linux-gpib-svn/drivers/gpib/ni_usb/Makefile
testudo/linux-gpib-svn/drivers/gpib/pc2/Makefile
testudo/linux-gpib-svn/drivers/gpib/sys/Makefile
testudo/linux-gpib-svn/drivers/gpib/tms9914/Makefile
testudo/linux-gpib-svn/drivers/gpib/tnt4882-tms/Makefile
testudo/linux-gpib-svn/drivers/gpib/tnt4882/Makefile
testudo/linux-gpib-svn/etc/pcmcia/linux-gpib-pcmcia
testudo/linux-gpib-svn/language/guile/README
testudo/linux-gpib-svn/language/perl/Changes
testudo/linux-gpib-svn/language/perl/MANIFEST
testudo/linux-gpib-svn/language/perl/README
testudo/linux-gpib-svn/language/perl/typemap
testudo/linux-gpib-svn/language/php/run
testudo/linux-gpib-svn/language/python/README
testudo/linux-gpib-svn/language/tcl/.xsetup
testudo/linux-gpib-svn/language/tcl/README
testudo/linux-gpib-svn/language/tcl/examples/.xsetup
testudo/linux-gpib-svn/language/tcl/examples/tclib/tclIndex
testudo/linux-gpib-svn/lib/gpib_version_script
testudo/linux-gpib-svn/test/README
testudo/linux-gpib-svn/test/runtest
testudo/linux-gpib-svn/usb/agilent_82357a/agilent_82357a
testudo/linux-gpib-svn/usb/ni_usb_gpib/ni_usb_gpib
testudo/linux-gpib-svn/util/linux_flags/Makefile
testudo/linux-gpib-svn/util/subdirs
wiki-app/.gitignore

.txt:

Licenses/BSD.TXT
Licenses/BSD2CL.TXT
Licenses/GPLV2.TXT
samo-lib/misc-files/README.TXT
testudo/linux-gpib-svn/doc/obsolete-linux-gpib.txt
testudo/linux-gpib-svn/drivers/gpib/cb7210/cb_cis_dump.txt
testudo/linux-gpib-svn/drivers/gpib/cb7210/cbi4882.txt
testudo/linux-gpib-svn/drivers/gpib/ines/ines_cis_dump.txt
testudo/linux-gpib-svn/drivers/gpib/tnt4882/ni-usb-b.txt
testudo/linux-gpib-svn/drivers/gpib/tnt4882/ni_cis_dump.txt

.text:

00ReadMe.text
doc/Compiling-on-AMD64.text
doc/Using-schroot.text
host-tools/00ReadMe.text
sam

[WikiReader] License review (was: Re: [Wikireader] Any news on Wikireader ?)

2009-11-01 Thread Doug Jones
Wolfgang Spraul wrote:

[snip]

 > Can you spend a bit of time to check the licenses? Chris Hall reviewed it
 > so I'm sure it's all good, but since it is all statically linked together
 > and GPL-licensed it means like you said every last bit of software needs
 > to be at least GPL compatible. An independent review on this would be 
great.

[snip]


As you requested, I have begun a software review.  This is a progress 
report.

I downloaded the complete source tree from github on 10/22/09.  I ran 
make and make install with no errors.

The source tree does appear to contain some code under licenses that are 
not GPL compatible.  However, so far I have not determined with any 
certainty if any of that code is compiled into executables that go onto 
the device.  A lot of code goes into the tools instead.

I don't have a lot of experience with make.  If anybody knows a simple 
way of automatically generating lists of the files that get compiled 
into each target, that would be a big help.


*



2464 files found



Directory: host-tools/offline-renderer/mediawiki-offline contains a file 
indicating its contents are under license: GPL2+
Directory: host-tools/offline-renderer/pylzma-0.3.0 contains a file 
indicating its contents are under license: LGPL2.1
Directory: host-tools/fonts contains a file indicating its contents are 
under license: GPL3+
Directory: host-tools/qt4-simulator contains a file indicating its 
contents are under license: GPL2
Directory: samo-lib/fatfs contains a file indicating its contents are 
under license: "free software"
Directory: samo-lib/forth contains a file indicating its contents are 
under license: BSD 2-clause
Directory: samo-lib/mahatma contains a file indicating its contents are 
under license: GPL3+



I assume that no differently-licensed files have been moved into the 
parts of the directory tree listed above.



__

The following analysis ignores the above directories.


__

_

[BSD-2clause-stdlib.h]

The following text:


See stdlib.h for licence.


...appears in the following files:

samo-lib/mini-libc/src/stdlib/itoa.c
samo-lib/mini-libc/src/stdlib/ltoa.c
samo-lib/mini-libc/src/stdlib/ultoa.c
samo-lib/mini-libc/src/stdlib/utoa.c


(stdlib.h has a 2-clause BSD license.)

_

[BSD-2clause]

The following text:


  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  * 1. Redistributions of source code must retain the above copyright
  *notice, this list of conditions and the following disclaimer.
  * 2. Redistributions in binary form must reproduce the above copyright
  *notice, this list of conditions and the following disclaimer in the
  *documentation and/or other materials provided with the distribution.
  *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS `AS IS'' AND
  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
PURPOSE
  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL
  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
STRICT
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.


...appears in the following files:

samo-lib/mini-libc/include/ctype.h
samo-lib/mini-libc/include/errno.h
samo-lib/mini-libc/include/inttypes.h
samo-lib/mini-libc/include/stdio.h
samo-lib/mini-libc/include/stdlib.h
samo-lib/mini-libc/include/string.h



_

[BSD-3clause]

The following text:


  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  * 1. Redistributions of source code must retain the above copyright
  *notice, this list of conditions and the following disclaimer.
  * 2. Redistributions in binary form must reproduce the above copyright
  *notice, this list of conditions and the following disclaimer in the
  *documentation and/or other materials provided with the distribution.
  * 3. The name of the author may not be used to endorse or promote products
  *derived from this software without specific prior written permission.
  *
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED 
WARRANTIES,
  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  * AND FITNESS FOR