Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E266DB2B for ; Wed, 27 Sep 2017 21:20:29 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 2192A46B for ; Wed, 27 Sep 2017 21:20:27 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id n82so13710673oib.8 for ; Wed, 27 Sep 2017 14:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coryfields-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5wMAkKgJBBdmusX2r5iaqSzsTs4LTWBhhZZspXkJs9s=; b=BaDIcUmHA1RGOfWBhZLOdkmjejBd18aWUzMt4GKhqiEkYVSlfcw14ik7eEFCRZMH+O kZm+W0cUn3k49jYKjEhyN/SOXoaYhu1UxiD1x4cnUP/7w7k7juvJg/daW/UnF2lL4MgH S/VUR9SpFa15o5fLa4CDWxYxWMwz9+N4zF91qYnb7qWByXu2G8XJQCp/j5IrACya6ep5 3pAB0VuoFRLQUGMV7kno3NmurOPGrwvtLK0a66riBuRQpvbtnIjgFvpRBNDGwyflVZBC QFockwlwOkshW/FbYMkKE/AwJzRqh9n5morXxrXIgd1j+BPHNSaBFq7Irj+o+ymAjvTi fEAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5wMAkKgJBBdmusX2r5iaqSzsTs4LTWBhhZZspXkJs9s=; b=OvS9CN5VRKsZ26857nW6x+IINrG8j0dnBI+KHY3K2Ik2Du7jWZw9T66chNwnelzW07 EJ3BVPuefvN7Ch+mPrbdUPhvSHYH+cRuEjLfmWNPfi+qRbL+TZpw16uMgHnClalRPqY7 hyyo1m+Fb0pFdvyao5Mrrlc05Dmsy1UQEt66T+lx2fx74ktQDO8l7DH4+D482EDfbrk3 ZNbNurnWA6uUpQteTdImHofQ5l5tFz8kuJQaD/OqYhrf+/ZjOw1RFmJJiIseg/u+9FSR D2bZmptHOAV/V0qzHgm78U2YFItryRljIhBAOHjE9xXVbgB1ugiEznKAtEkx3PASiJIg hspA== X-Gm-Message-State: AMCzsaVHCDi8otxcRM5AEkJ/2VVZPgylehc0zI2JAJjMqw9FT6pxXPga 7F5ZPoVZNqXYIksxjoVgszMi1k5Pj0wWzuR7y7Mmxg== X-Google-Smtp-Source: AOwi7QB2to9Z+6SmLv3jr7wK2IvyySEchyCg8h1thTDNcaRLd4RjlCSVx797iaWMGNTfZN8zeZp6s4cYlaNXupPuZr4= X-Received: by 10.157.11.199 with SMTP id 65mr280248oth.19.1506547227187; Wed, 27 Sep 2017 14:20:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.162.38 with HTTP; Wed, 27 Sep 2017 14:20:26 -0700 (PDT) In-Reply-To: References: From: Cory Fields Date: Wed, 27 Sep 2017 17:20:26 -0400 Message-ID: To: Omar Shibli , Bitcoin Protocol Discussion Content-Type: multipart/alternative; boundary="001a113543165074fb055a325c36" X-Spam-Status: No, score=0.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: "Radcliffe, Mark" , "Roay, Leslie" Subject: Re: [bitcoin-dev] Bitcoin Assistance X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 21:20:30 -0000 --001a113543165074fb055a325c36 Content-Type: text/plain; charset="UTF-8" Hi Mark Thank you very much for posting the findings. I took a look through our repository and I think I can provide a bit of context. I'll go through each one, annotating what I've found. > Apache License 2.0 This is used by a few java files in the libsecp256k1 project. That library (which lives here: https://github.com/bitcoin-core/secp256k1) is a sub-module created and maintained by Bitcoin Core developers. The files in question are bindings that allow other applications to use libsecp256k1 from Java. Bitcoin Core makes no use of them. > Boost Software License 1.0 This comes from tinyformat.h. Bitcoin Core indeed uses it. > BSD 2-clause "Simplified" License I'm unable to find any 2-clause BSD licensed files. > BSD 3-clause "New" or "Revised" License This comes from leveldb, which is database software used by Bitcoin Core. Because database software version inconsistencies can cause accidental forks (this actually happened in 2013), we include these files in our repository and use them rather than linking to arbitrary versions at runtime. There are a few non-upstream files we use in our leveldb tree to provide windows support. Quoting from src/leveldb/util/env_win.cc: This file contains source that originates from: http://code.google.com/p/leveldbwin/source/browse/trunk/win32_impl_src/env_win32.h http://code.google.com/p/leveldbwin/source/browse/trunk/win32_impl_src/port_win32.cc Those files don't have any explicit license headers but the project (http://code.google.com/p/leveldbwin/) lists the 'New BSD License' > Creative Commons Attribution Share Alike 3.0 I didn't manage to find any CC-licensed files. The match probably comes from our gui svg icons, which contain an xml tag with a link to creativecommons.org. This seems to be the default behavior of inkscape, which was used to create those icons. Any icons that we have not created ourselves are listed in contrib/debian/copyright (they're all expat/public domain). > Expat License See MIT. > GNU General Public License v2.0 or later The debian folder, which holds the files used to create debian/ubuntu packages is licensed gplv2+. These are packaging resources only, unnecessary for use of the code. Additionally, some gplv2 m4 macros are used to bootstrap the code that is used to build the Bitcoin code. These contain the additional exception: As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure scripts that are the output of Autoconf when processing the Macro. You need not follow the terms of the GNU General Public License when using or distributing such scripts, even though portions of the text of the Macro appear in them. The GNU General Public License (GPL) does govern all other use of the material that constitutes the Autoconf Macro. > GNU General Public License v3.0 or later The macdeploy script, useful for creating DMG files for macOS is gplv3. It is not necessary for any other platform, and is only used during the build process. Additionally, it is not the only way to create DMG files (apple's native tools can be used as well). Additionally, config.guess and config.sub are gplv3 scripts used to build our buildsystem. > GNU Lesser General Public License v2.1 or later authproxy.py, A python script used in our test suite is licensed lgpl v2.1+. It is only necessary for running optional tests during development. > License for A fast alternative to the modulo reduction This references a comment cuckoocache.h. No code from the site is used. The link to the site was added after the code, as the site provides a helpful explanation for the technique used. > License for atomic by Timm Kosse Another m4 file. As explained with the others above, this is a macro which builds code which builds code. It is used in the build process only. > MIT License The primary and default license for all contributions. > Public Domain > University of Illinois/NCSA Open Source License clang-format-diff.py, a python script optionally used by developers to clean up code changes. tl;dr: Best I can tell, all source files that comprise Bitcoin Core binaries are licensed (excluding the public domain ones) as MIT, BSD, or Boost. It's also worth repeating Omar's point that many of the files in the Bitcoin Core repository are used for optional programs/libraries. None of the artwork, for example, is needed for the primary bitcoin daemon. Hope that helps! Regards, Cory --001a113543165074fb055a325c36 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Mark

Thank you very much for post= ing the findings. I took a look through our repository and I think I can pr= ovide a bit of context.

I'll go through each one, annotating wha= t I've found.

> Apache License 2.0

This is used by a f= ew java files in the libsecp256k1 project. That library (which lives here: = https://github.com/bi= tcoin-core/secp256k1) is a sub-module created and maintained by Bitcoin= Core developers. The files in question are bindings that allow other appli= cations to use libsecp256k1 from Java. Bitcoin Core makes no use of them.
> Boost Software License 1.0

This comes from tinyformat.h. = Bitcoin Core indeed uses it.

> BSD 2-clause "Simplified"= ; License

I'm unable to find any 2-clause BSD licensed files.
> BSD 3-clause "New" or "Revised" License
This comes from leveldb, which is database software used by Bitcoin Core.= Because database software version inconsistencies can cause accidental for= ks (this actually happened in 2013), we include these files in our reposito= ry and use them rather than linking to arbitrary versions at runtime.
There are a few non-upstream files we use in our leveldb tree to provide = windows support. Quoting from src/leveldb/util/env_win.cc:
=C2=A0 This f= ile contains source that originates from:
=C2=A0 htt= p://code.google.com/p/leveldbwin/source/browse/trunk/win32_impl_src/env_win= 32.h
=C2=A0 http://code.google.com/p/leveldbwi= n/source/browse/trunk/win32_impl_src/port_win32.cc
=C2=A0 Those file= s don't have any explicit license headers but the
=C2=A0 project (<= a href=3D"http://code.google.com/p/leveldbwin/">http://code.google.com/p/le= veldbwin/) lists the 'New BSD License'

> Creative Com= mons Attribution Share Alike 3.0

I didn't manage to find any CC-= licensed files. The match probably comes from our gui svg icons, which cont= ain an xml tag with a link to creati= vecommons.org. This seems to be the default behavior of inkscape, which= was used to create those icons. Any icons that we have not created ourselv= es are listed in contrib/debian/copyright (they're all expat/public dom= ain).

> Expat License

See MIT.

> GNU General Pub= lic License v2.0 or later

The debian folder, which holds the files u= sed to create debian/ubuntu packages is licensed gplv2+. These are packagin= g resources only, unnecessary for use of the code.

Additionally, som= e gplv2 m4 macros are used to bootstrap the code that is used to build the = Bitcoin code. These contain the additional exception:

=C2=A0=C2=A0 A= s a special exception, the respective Autoconf Macro's copyright owner<= br>=C2=A0=C2=A0 gives unlimited permission to copy, distribute and modify t= he configure
=C2=A0=C2=A0 scripts that are the output of Autoconf when p= rocessing the Macro. You
=C2=A0=C2=A0 need not follow the terms of the G= NU General Public License when using
=C2=A0=C2=A0 or distributing such s= cripts, even though portions of the text of the
=C2=A0=C2=A0 Macro appea= r in them. The GNU General Public License (GPL) does govern
=C2=A0=C2=A0= all other use of the material that constitutes the Autoconf Macro.

= > GNU General Public License v3.0 or later

The macdeploy script, = useful for creating DMG files for macOS is gplv3. It is not necessary for a= ny other platform, and is only used during the build process. Additionally,= it is not the only way to create DMG files (apple's native tools can b= e used as well).

Additionally, config.guess and config.sub are gplv3= scripts used to build our buildsystem.

> GNU Lesser General Publ= ic License v2.1 or later

authproxy.py, A python script used in our t= est suite is licensed lgpl v2.1+. It is only necessary for running optional= tests during development.

> License for A fast alternative to th= e modulo reduction

This references a comment cuckoocache.h. No code = from the site is used. The link to the site was added after the code, as th= e site provides a helpful explanation for the technique used.

> L= icense for atomic by Timm Kosse

Another m4 file. As explained with t= he others above, this is a macro which builds code which builds code. It is= used in the build process only.

> MIT License

The primary= and default license for all contributions.

> Public Domain
> University of Illinois/NCSA Open Source License

clang-format-= diff.py, a python script optionally used by developers to clean up code cha= nges.

tl;dr: Best I can tell, all source files that comprise Bitcoin= Core binaries are licensed (excluding the public domain ones) as MIT, BSD,= or Boost.

It's also worth repeating Omar's point that many = of the files in the Bitcoin Core repository are used for optional programs/= libraries. None of the artwork, for example, is needed for the primary bitc= oin daemon.

Hope that helps!

Regards,
Co= ry
--001a113543165074fb055a325c36--