From dm@home.dinoex.sub.de  Thu Jul 15 10:11:15 2004
Return-Path: <dm@home.dinoex.sub.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A9DAA16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jul 2004 10:11:15 +0000 (GMT)
Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [212.184.201.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8594F43D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jul 2004 10:11:14 +0000 (GMT)
	(envelope-from dm@home.dinoex.sub.de)
Received: from home.dinoex.sub.de (dm@home.dinoex.sub.de [217.6.200.196])
	by uucp.dinoex.sub.de (8.12.11/8.12.11) with ESMTP id i6FAAbr8009786
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jul 2004 12:10:44 +0200 (CEST)
	(envelope-from dm@home.dinoex.sub.de)
Received: (from dm@localhost)
	by home.dinoex.sub.de (8.12.11/8.12.11/Submit) id i6FAAfF7058292;
	Thu, 15 Jul 2004 12:10:41 +0200 (CEST)
	(envelope-from dm)
Message-Id: <200407151010.i6FAAfF7058292@home.dinoex.sub.de>
Date: Thu, 15 Jul 2004 12:10:41 +0200 (CEST)
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: package for php4 violates license
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         69090
>Category:       ports
>Synopsis:       package for php4 violates license
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 15 10:20:21 GMT 2004
>Closed-Date:    Mon Jul 19 10:02:19 GMT 2004
>Last-Modified:  Mon Jul 19 10:02:19 GMT 2004
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
privat
>Environment:
System: FreeBSD home.dinoex.sub.de 4.7-STABLE FreeBSD 4.7-STABLE #20: Tue Feb 18 18:11:20 CET 2003 root@net3.dinoex.de:/usr/obj/usr/src/sys/HOME2 i386

	ports/lang/php4
	ports/lang/php5

>Description:

	mysql-client-3.* is LGPL
	mysql-client-4.* is GPL only

Statement from Zak Greant:
from http://www.phparch.com/mysql/

php|a: Does it mean that PHP users will no longer be able to develop
       using MySQL as their DBMS of choice?

ZG: Users may still use PHP with MySQL under the terms of the GPL as
 long as they do not distribute copies of PHP that are linked with MySQL.

If someone *distributes* a copy of PHP that has MySQL linked into it,
 then they must purchase a license from MySQL AB.

Once the extended licensing is in place, users should be able to freely
 use MySQL with all (or most) true open source projects.

	teh default package from
	ports/lang/php4 is linked against mysql-client-4.*
	which violates the GPL license.

>How-To-Repeat:

	some links or goggle ....

	http://lwn.net/Articles/75287/
	http://www.php.net/license/
	http://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs
	http://www.phparch.com/mysql/
	http://www.internetnews.com/dev-news/article.php/3358061

>Fix:

	make MYSQL not default.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: vs 
Responsible-Changed-When: Thu Jul 15 14:08:02 GMT 2004 
Responsible-Changed-Why:  
Over to php4/5 maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69090 

From: Xin LI <delphij@frontfree.net>
To: dirk.meyer@dinoex.sub.org
Cc: FreeBSD-gnats-submit@FreeBSD.org, ale@FreeBSD.org
Subject: Re: ports/69090: package for php4 violates license
Date: Thu, 15 Jul 2004 22:33:40 +0800

 --vtzGhvizbBRQ85DL
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hi, Dirk
 
 I think there is an exception of this and hence this does not violate the l=
 icense:
 
 http://www.mysql.com/products/licensing/foss-exception.html
 
 =46rom MySQL AB's FAQ:
 
 http://www.mysql.com/products/licensing/faq.html
 
 What is the GPL License Exception for PHP?
 Because PHP and MySQL use different incompatible open source licenses, we h=
 ave created a special exception to encourage and promote the use of MySQL i=
 n the PHP community. MySQL AB gives permission to distribute derivative wor=
 ks that are formed with GPL-licensed MySQL software and with software licen=
 sed under version 3.0 of the PHP license. You must obey the GNU General Pub=
 lic License in all respects for all of the code used other than code licens=
 ed under version 3.0 of the PHP license.
 
 There is also a more general exception which enables developers releasing s=
 oftware under other Free and Open Source software ("FOSS") licenses to incl=
 ude the MySQL client libraries. This is known as the FOSS License Exception.
 
 
 > >Description:
 >=20
 > 	mysql-client-3.* is LGPL
 > 	mysql-client-4.* is GPL only
 >=20
 > Statement from Zak Greant:
 > from http://www.phparch.com/mysql/
 >=20
 > php|a: Does it mean that PHP users will no longer be able to develop
 >        using MySQL as their DBMS of choice?
 >=20
 > ZG: Users may still use PHP with MySQL under the terms of the GPL as
 >  long as they do not distribute copies of PHP that are linked with MySQL.
 >=20
 > If someone *distributes* a copy of PHP that has MySQL linked into it,
 >  then they must purchase a license from MySQL AB.
 >=20
 > Once the extended licensing is in place, users should be able to freely
 >  use MySQL with all (or most) true open source projects.
 >=20
 > 	teh default package from
 > 	ports/lang/php4 is linked against mysql-client-4.*
 > 	which violates the GPL license.
 
 --=20
 Xin LI <delphij frontfree net>	http://www.delphij.net/
 See complete headers for GPG key and other information.
 
 
 --vtzGhvizbBRQ85DL
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFA9pXEOfuToMruuMARApi6AJ4tuKJsT3EjO7Jj/NX0FjiseSsI7wCfQdFz
 oT0z85Gf+rcno0PIfYbODzA=
 =VLXC
 -----END PGP SIGNATURE-----
 
 --vtzGhvizbBRQ85DL--

From: Alex Dupre <ale@FreeBSD.org>
To: Xin LI <delphij@frontfree.net>
Cc: dirk.meyer@dinoex.sub.org, FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/69090: package for php4 violates license
Date: Thu, 15 Jul 2004 17:56:44 +0200

 Xin LI wrote:
 
 > I think there is an exception of this and hence this does not violate the license:
 
 The upcoming PHP mega-commit will remove all extensions from the PHP 
 package, so this discussion will become foo :-)
 
 -- 
 Alex Dupre

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/69090: package for php4 violates license
Date: Thu, 15 Jul 2004 21:21:40 +0200

 Alex Dupre schrieb:,
 
 > The upcoming PHP mega-commit will remove all extensions from the PHP 
 > package, so this discussion will become foo :-)
 
 Thanks but untill then you sould disable MYSQL in default package.
 (or force MYSQL3 bindings)
 
 The expations FOOS was read but both sides states that it is _not_
 sufficient yet to distribute PHP with MYSQL4 bindings.
 unless all other involed parts fall under the mentioned license.
 
 See the discussions on phph.net and else.
 The Links and Statements I posted, are ware of the exptions clause.
 
 Expat is under MIT License. which is covered ...
 
 http://dev.mysql.com/doc/mysql/en/MySQL_FOSS_License_Exception.html
 
 I qoute :
 
 > As used in this document, the term "include or aggregate" means to embed,
 > integrate, bundle, aggregate, link, distribute on the same media or in the same
 > packaging, provide with instructions to download or automate any of the
 > preceding processes.
 
 Please Read The MySQL FOSS Exception full,
 IMHO it don't cover a distribution via FreeBSD.
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Mon Jul 19 10:01:47 GMT 2004 
State-Changed-Why:  
MySQL is not build with PHP anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69090 
>Unformatted:
