On 03/09/2011 06:17 PM, Daniel P. Berrange wrote:
On Wed, Mar 09, 2011 at 06:05:22PM +0100, Michal Novotny wrote:
> Hi,
> I don't know who's the right person to ask so I'm posting this into
> the libvir-list. We're going to have the libvirt-php package in
> Fedora (but renamed to php-libvirt only) but I don't know about the
> licencing. The licence in the SPEC file (by Lyre) is set to "PHP"
> however the licence file describes the GPL licence.
>
> My question is whether somebody does know whether it's OK to write a
> PHP extension under GPL licence or whether we need the PHP licence
> for this.
The PHP license is *not* GPL compatible
https://secure.wikimedia.org/wikipedia/en/wiki/PHP_License
http://www.gnu.org/licenses/license-list.html#GPLIncompatibleLicenses
So, the libvirt-php module would have to be under either the PHP license,
or something less restrictive.
What about using the LGPLv2+ licence then? php-shout is using it
according to
http://pkgs.fedoraproject.org/gitweb/?p=php-shout.git;a=blob_plain;f=php-...
Thanks,
Michal
--
Michal Novotny<minovotn(a)redhat.com>, RHCE
Virtualization Team (xen userspace), Red Hat