Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99568 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38454 invoked from network); 20 Jun 2017 02:04:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2017 02:04:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 141.146.126.69 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 141.146.126.69 aserp1040.oracle.com Received: from [141.146.126.69] ([141.146.126.69:18930] helo=aserp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/9E-13828-3A288495 for ; Mon, 19 Jun 2017 22:04:20 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v5K243DW023207 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Jun 2017 02:04:03 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v5K243DK029506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Jun 2017 02:04:03 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v5K242Iv005840; Tue, 20 Jun 2017 02:04:03 GMT Received: from [10.191.135.217] (/10.191.135.217) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 19 Jun 2017 19:04:02 -0700 To: =?UTF-8?Q?Johannes_Schl=c3=bcter?= , Nikita Popov , Remi Collet Cc: PHP Internals References: <2ad04b8f-76e5-4420-2776-5bda28f60285@fedoraproject.org> <1497530073.2627.10.camel@schlueters.de> Message-ID: Date: Tue, 20 Jun 2017 12:03:58 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <1497530073.2627.10.camel@schlueters.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Source-IP: aserv0021.oracle.com [141.146.126.233] Subject: Re: [PHP-DEV] Extensions License From: christopher.jones@oracle.com (Christopher Jones) On 15/6/17 10:34 pm, Johannes Schlüter wrote: > On Do, 2017-06-15 at 11:06 +0200, Nikita Popov wrote: >> On Tue, Jun 13, 2017 at 8:23 AM, Remi Collet >> wrote: >> >>> Hi, >>> >>> All extensions in php-src are PHP 3.01 Licensed >>> (libs may, of course, have different license) >>> >>> Is there any strong rule about this ? >>> Or is it OK to have a BSD Licensed extension ? >>> >>> Context: see sodium PR >>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_php_php-2Dsrc_pull_2560&d=DwIDaQ&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=lLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU&m=GT6MkgICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=VGZgqeH18gkOkITtpv0ZRNfFvmlvCHdsjJ13Zu2yIv4&e= >>> >>> >>> IMHO, make sense to have only PHP Licensed ext. >>> >> I think we should allow BSD/MIT licenses, as they are compatible with >> and >> less restrictive than the PHP license. TBH, the PHP license seems >> somewhat >> dubious when applied to extensions, as most of the additional clauses >> are >> simply not applicable (extensions do not bundle the Zend Engine and >> extensions have no control over the PHP group or the PHP name). >> What about the Apache 2 license? I'd like to be able to include the ODPI-C library code [1] in PDO_OCI and/or OCI8. It is being used for Python cx_Oracle [2] and Node.js node-oracledb [3]. ODPI-C is under a dual license, one of which is Apache 2. > Mind: The PHP License[1] doesn't talk about the Zend engine, but "PHP > Software", "PHP Software" is, since PHP License 3.01 compared to PHP > License 3.0 defined as PEAR, PECL and PHP on [2] > > The "this software includes the ZendEngine" thing in the PHP > distribution's license file[3] is not part of the PHP License, but a > requirement for the PHP product, which includes the Zend Engine > product, which is licensed under the Zend Engine License[4]. > > According to the most legal interpretations I know (IANAL ... ask two > lawyers, get three answers ...) a BSD-licensed extension bundled in PHP > would be relicensed under PHP license "automatically" when being > distributed as part of the PHP product. IANAL-too, and haven't talked to one about this - but will one day. > I however think it makes sense to license all bundled extensions as PHP > license with copyright PHP Group as this simplifies moving code around > (i.e. if a BSD licensed extension contains some nice macro which might > be useful to put into main/ this is simpler from a stricter legal pov > if it's the same license) True. Chris [1] https://github.com/oracle/odpi [2] https://github.com/oracle/python-cx_Oracle [3] https://github.com/oracle/node-oracledb/tree/dev-2.0 > > johannes > > [1] https://urldefense.proofpoint.com/v2/url?u=http-3A__php.net_license_3-5F01.txt&d=DwIDaQ&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=lLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU&m=GT6MkgICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=7x6vjEasY6oe1GzH9OXDBE3pXyveWOz8ls3sXtwy1vw&e= > [2] https://urldefense.proofpoint.com/v2/url?u=http-3A__php.net_software.php&d=DwIDaQ&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=lLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU&m=GT6MkgICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=g1dWNiQpuE2RR-lswQmJXYYD_zwkAzYd1bVVRLXOVBw&e= > [3] https://urldefense.proofpoint.com/v2/url?u=http-3A__git.php.net_-3Fp-3Dphp-2Dsrc.git-3Ba-3Dblob-3Bf-3DLICENSE-3Bh-3D9964e0737cc9be&d=DwIDaQ&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=lLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU&m=GT6MkgICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=ZUqrUXKbNqC3ECQzQRCh6wTF8HWoWt18RInPHAMHcQM&e= > 0521b056be697a5fbeb14d01ef;hb=refs/heads/master > [4] https://urldefense.proofpoint.com/v2/url?u=http-3A__git.php.net_-3Fp-3Dphp-2Dsrc.git-3Ba-3Dblob-3Bf-3DZend_LICENSE-3Bh-3D8acb9af4f&d=DwIDaQ&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=lLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU&m=GT6MkgICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=3J0pO0pb7tkfrqMlrZeaJ729znnn2I8lQqGW_lIt51I&e= > 8a589076f305c31501565a2cfe0f6ff;hb=refs/heads/master > -- http://twitter.com/ghrd