android thread library ported to uclibc

matthieu castet castet.matthieu at free.fr
Thu Nov 20 21:16:54 UTC 2008


Hi Jeremy,

Jeremy Bowen wrote:
> On Thursday 20 November 2008 10:09:26 pm castet.matthieu at free.fr wrote:
>>> As far as I can tell, the Android source code is licensed under the
>>> "Apache Software License version 2.0"
>> Did look at the link I give you in the previous mail ?
> 
> Yes but I couldn't find a license document. In the absence of such a document 
> and as the "bionic" code is a sub-directory of the Android code, I find it 
> hard to believe it is licensed any differently to the parent.
What's 
http://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=libc/NOTICE;h=e8076b5cc1697d180e0e1efe787fe3b88a93e06a;hb=HEAD 
and 
http://android.git.kernel.org/?p=platform/bionic.git;a=blob;f=libc/MODULE_LICENSE_BSD;h=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=HEAD 
?
What are the copyright and license headers on source file ?

For me all mention 3-clause bsd license clearly.


If you want an APL2 package example let's look to the dalvik vm 
(http://android.git.kernel.org/?p=platform/dalvik.git;a=summary). You 
got MODULE_LICENSE_APACHE2 file with the license file 
(http://android.git.kernel.org/?p=platform/dalvik.git;a=blob;f=NOTICE;h=c5b1efa7aac764ae6d8da63476a2d5cec02a6a5d;hb=HEAD).
The copyright and license headers on source file mention the license 
APL2 (for example 
http://android.git.kernel.org/?p=platform/dalvik.git;a=blob;f=dalvikvm/Main.c;h=70cc61f02504ab992c1ff36fc5f86aa0af9876f0;hb=HEAD)

> 
>> Not all android source code is under "Apache Software License version 2.0".
>> Their libc doesn't seem to be on this license.
> 
> "doesn't seem to be"!!?? Either it is or it isn't. We need to know for sure.
> 
> Without any evidence to the contrary, we must assume that *all* the Android 
> source code is ASL licensed. (The copyright notice on the code you point to 
> is not the license. Copyright != License)
But each file I imported from bionic got a Copyright _and_ a license notice.
The Copyright are "Copyright (C) 2008 The Android Open Source Project 
All rights reserved."
The license is 2 or 3 clause bsd license [0].

There is also a NOTICE file with the 3 clause bsd license at the root of 
the bionic libc and libthread_db.

Does I miss something ?

I don't really understand what do you want. For me everything is there.
BTW you are you ? Are you a uClibc developer ?
> 
> If you can point to a definitive document that explicitly states that some 
> particular piece of Android code is NOT covered by the ASL then this may be 
> sufficient. Until then, it would be impossible to incorporate any such code 
> into uClibc.
- Linux kernel [1] is part of Android code  and is NOT covered by the 
ASL  : it is GPL V2
- yaffs [2] is part of Android code  and is NOT covered by the ASL : it 
is GPL (notice the MODULE_LICENSE_GPL file)
- webkit [3] is part of Android code  and is NOT covered by the ASL to 
my knowledge
- it is the same for qemu, pppd, iptable, bluez, dropbear [4] (and note 
the MODULE_LICENSE_XXX indicating the license of the package) .

> 
> It's up to you to supply hard evidence that the code you submitted *IS* 
> licensed with a GPL v2 compatible license, not for me or anyone else to prove 
> that it isn't. 
> 
I assumed the Copyright _and_ a license notice on each file were enough. 
That's always I proceeded in other projects. I don't understand what you 
want more.


Matthieu

[1] http://android.git.kernel.org/?p=kernel/common.git;a=summary
[2] http://android.git.kernel.org/?p=platform/external/yaffs2.git;a=tree
[3] http://android.git.kernel.org/?p=platform/external/webkit.git;a=tree
[4] http://android.git.kernel.org/
[0]
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  * are met:
  *  * Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  *  * 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 COPYRIGHT HOLDERS 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
  * COPYRIGHT OWNER 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.



More information about the uClibc mailing list