Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99692 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61560 invoked from network); 2 Jul 2017 16:51:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2017 16:51:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=scott@paragonie.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=scott@paragonie.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain paragonie.com designates 209.85.213.53 as permitted sender) X-PHP-List-Original-Sender: scott@paragonie.com X-Host-Fingerprint: 209.85.213.53 mail-vk0-f53.google.com Received: from [209.85.213.53] ([209.85.213.53:33073] helo=mail-vk0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 82/F4-60825-69429595 for ; Sun, 02 Jul 2017 12:51:35 -0400 Received: by mail-vk0-f53.google.com with SMTP id r126so86303045vkg.0 for ; Sun, 02 Jul 2017 09:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragonie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=cQi7oCW3ByYGbTp8cO8l6JBkNrL0qCcdLCDtG6ockNc=; b=HDDbh/w+e2mm3XJ18Oh2LCYoMMCa8MjWIWPnXn6nEulGbYFizBbb6gC2uFttZd714y 1lpJ/K8/m9eL6+aqjdwiRD7tpHaOarIQzeliwy9JFI1mCkVGFjWf47lAxUvctrapt9GO Ixv6L1koER18CMaeFmhQtN6gqTgNlfgbOpwLgWf009ssOuJM9287Dj6aHL+0MsVkaTnw PpP/L2iEiBOjYU9JjISsmAldyOn25QCSxVn1jPZE1Ebifj8+pNaSPPwvsbFlDZSOmX8o AGPLv/E3c+xZAmmwWnPbv81//smo5FNFyue+9lgB28eiUAespVaEt9e4jWvV1atFaXnT j7TQ== 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; bh=cQi7oCW3ByYGbTp8cO8l6JBkNrL0qCcdLCDtG6ockNc=; b=QrdH2cvjpYHwVFYIfPyjbGrzh7r1W0UOOCulkny63Vk0WiMhXFyN4eNqAg8VmKJJ6Y +LWtGXkzOb87xkrUMnoIKJyUdj+QO+n/InoM9dZUGTiEDGUo4G/YqJyCjADu6A2uqJFy 2sL5MqBF6ygtn19oO9znz6GWQWzOOtXAZPIxv1zpfeq4ZfVu2GUPaySIKPEn0E2XW8sX W14J3Z0dN23WBzHWrXTqKwOXcr8n91xlDwnyt0yOZhYgtLslEd1lT7FxJJWE83XuNszm i8HsSYlIi0OA76kUSCMW+XyUQX3pKgkPc0/n7C8/JKah+I4MjmgeKQYiNC5kH1tPxUJ5 pqdg== X-Gm-Message-State: AIVw1126iCvSqtkkDeTkInhQPGHwTnoy35qSe1cYMN6/S8/6ZiFOS0qz kany8mAsnX7cJlTvXRluwREPj+t0JswF3Uha4g== X-Received: by 10.31.8.8 with SMTP id 8mr5500185vki.141.1499014291290; Sun, 02 Jul 2017 09:51:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.8.7 with HTTP; Sun, 2 Jul 2017 09:51:30 -0700 (PDT) In-Reply-To: References: <2ad04b8f-76e5-4420-2776-5bda28f60285@fedoraproject.org> <1497530073.2627.10.camel@schlueters.de> Date: Sun, 2 Jul 2017 12:51:30 -0400 Message-ID: To: PHP Internals , jedisct1@pureftpd.org Content-Type: multipart/alternative; boundary="001a11454c645890ac055358761d" Subject: Re: [PHP-DEV] Extensions License From: scott@paragonie.com (Scott Arciszewski) --001a11454c645890ac055358761d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jun 19, 2017 at 10:03 PM, Christopher Jones < christopher.jones@oracle.com> wrote: > > > On 15/6/17 10:34 pm, Johannes Schl=C3=BCter 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=3Dhttps-3A__github. >>>> com_php_php-2Dsrc_pull_2560&d=3DDwIDaQ&c=3DRoP1YumCXCgaWHvlZYR8P >>>> QcxBKCX5YTpkKY057SbK10&r=3DlLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7 >>>> kvD-ZfyU&m=3DGT6MkgICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=3DVGZ >>>> gqeH18gkOkITtpv0ZRNfFvmlvCHdsjJ13Zu2yIv4&e=3D >>>> >>>> >>>> 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=3Dhttp-3A__php.net_ >> license_3-5F01.txt&d=3DDwIDaQ&c=3DRoP1YumCXCgaWHvlZYR8PQcxBKCX5Y >> TpkKY057SbK10&r=3DlLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU& >> m=3DGT6MkgICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=3D7x6vjEasY6oe >> 1GzH9OXDBE3pXyveWOz8ls3sXtwy1vw&e=3D >> [2] https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__php.net_ >> software.php&d=3DDwIDaQ&c=3DRoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY0 >> 57SbK10&r=3DlLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU&m=3DGT6M >> kgICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=3Dg1dWNiQpuE2RR-lswQ >> mJXYYD_zwkAzYd1bVVRLXOVBw&e=3D >> [3] https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__git.php. >> net_-3Fp-3Dphp-2Dsrc.git-3Ba-3Dblob-3Bf-3DLICENSE-3Bh-3D9964 >> e0737cc9be&d=3DDwIDaQ&c=3DRoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057 >> SbK10&r=3DlLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU&m=3DGT6Mkg >> ICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=3DZUqrUXKbNqC3ECQzQRCh >> 6wTF8HWoWt18RInPHAMHcQM&e=3D >> 0521b056be697a5fbeb14d01ef;hb=3Drefs/heads/master >> [4] https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__git.php. >> net_-3Fp-3Dphp-2Dsrc.git-3Ba-3Dblob-3Bf-3DZend_LICENSE-3Bh-3 >> D8acb9af4f&d=3DDwIDaQ&c=3DRoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057 >> SbK10&r=3DlLpUdeB4xTiOOWD6yGzxPFv2SHvPzg3yLT7kvD-ZfyU&m=3DGT6Mkg >> ICJHeF19FAbAaTtuH4St0KJibc9P1oLj7395Y&s=3D3J0pO0pb7tkfrqMlrZea >> J729znnn2I8lQqGW_lIt51I&e=3D >> 8a589076f305c31501565a2cfe0f6ff;hb=3Drefs/heads/master >> >> > -- > http://twitter.com/ghrd > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > =E2=80=8BHi all, Towards the end (currently, anyway) of the pull request discussion, a possible resolution emerges for ext/sodium: https://github.com/php/php-src/pull/2560#issuecomment-312452732 I've never dealt with licensing issues before, so I'm not sure what the process is myself. However, feel free to treat my contributions as CC0/WTFPL/Unlicense so that everyone can freely just relicense my contributions as whatever license without complication. You don't even need me to sign off on it. Just, have at it. Would it make sense to post an issue on the libsodium-php Github to ask the contributors if they consent to a relicense? Or should we track them down and email them individually? This is new territory for me, so I apologize if anything I said sounds stupid. Regards, Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises =E2=80=8B --001a11454c645890ac055358761d--