We also need to sort out the mbstring license mess.  We cannot distribute
code that is under the LGPL and modified by us.  The relevant clauses from
the LGPL:

  2. You may modify your copy or copies of the Library or any portion of
     it, thus forming a work based on the Library, and copy and distribute such
     modifications or work under the terms of Section 1 above, provided
     that you also meet all of these conditions:

     a) The modified work must itself be a software library.
     b) You must cause the files modified to carry prominent notices
        stating that you changed the files and the date of any change.
     c) You must cause the whole of the work to be licensed at no charge
        to all third parties under the terms of this License.
     ...

We do not meet a) and c) here.  Specifically mbregex and mbfilter* have
this problem.  The code in them is under the LGPL and we have modified
these files.

Now, if we found a way around putting modifications directly into these
files and simply wrapped them transparently, then we are ok as per this
clause in the LGPL:

 1. You may copy and distribute verbatim copies of the Library's complete
    source code as you receive it, in any medium, provided that you
    conspicuously and appropriately publish on each copy an appropriate
    copyright notice and disclaimer of warranty; keep intact all the
    notices that refer to this License and to the absence of any warranty; and
    distribute a copy of this License along with the Library.

The other option if a transparent wrapper can't be done is to get the
permission of the authors to distribute these files under the PHP license.

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to