Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99526 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32655 invoked from network); 15 Jun 2017 12:34:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2017 12:34:44 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 84.19.169.162 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 84.19.169.162 mail.experimentalworks.net Received: from [84.19.169.162] ([84.19.169.162:36012] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/50-30621-0EE72495 for ; Thu, 15 Jun 2017 08:34:42 -0400 Received: from kuechenschabe.fritz.box (ppp-46-244-180-137.dynamic.mnet-online.de [46.244.180.137]) by mail.experimentalworks.net (Postfix) with ESMTPSA id 3F1314AFD8; Thu, 15 Jun 2017 14:34:38 +0200 (CEST) Message-ID: <1497530073.2627.10.camel@schlueters.de> To: Nikita Popov , Remi Collet Cc: PHP Internals Date: Thu, 15 Jun 2017 14:34:33 +0200 In-Reply-To: References: <2ad04b8f-76e5-4420-2776-5bda28f60285@fedoraproject.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Extensions License From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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://github.com/php/php-src/pull/2560 > > > > > > 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). > 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. 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) johannes [1] http://php.net/license/3_01.txt [2] http://php.net/software.php [3] http://git.php.net/?p=php-src.git;a=blob;f=LICENSE;h=9964e0737cc9be 0521b056be697a5fbeb14d01ef;hb=refs/heads/master [4] http://git.php.net/?p=php-src.git;a=blob;f=Zend/LICENSE;h=8acb9af4f 8a589076f305c31501565a2cfe0f6ff;hb=refs/heads/master