Red Hat Bugzilla – Bug 629214
license violation - phpMyAdmin (GPLv2) bundles OLE (PHP)
Last modified: 2011-10-03 14:04:26 EDT
phpMyAdmin bundles a copy of PHPExcel library, which in turn bundles a copy of OLE (already packaged as php-pear-OLE).
phpMyAdmin is GPLv2+; PHPExcel is LGPLv2+; but OLE is PHP license. Most of the OLE files have headers stating "version 2.02 of the PHP license".
In OLE's upstream, however, ChainedBlockStream.php is clearly licensed under "version 3.0 of the PHP license", whereas in phpMyAdmin's bundled copy, the header has been replaced with one claiming LGPLv2+. There are no other substantial changes to the file (the only change being to explicitly declare member functions and variables as public).
I would contend that the bundled ChainedBlockStream.php is clearly derived from OLE's upstream version and as a result, PHPv3's condition 4 would prohibit both PHPExcel and phpMyAdmin from using "PHP" in their names.
PHPExcel's upstream are aware of the issue, but I see no sign of any resolution.
Of course, the proper solution from our side would be to unbundle PHPExcel from phpMyAdmin and patch PHPExcel to use the system php-pear-OLE library.
I agree here. The clearest solution would be to unbundle PHPExcel from phpMyAdmin and patch it to use php-pear-OLE.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Hey new owner, please try to address this issue. I would normally just dive in and do it, but my PHP skills are weak at best.
Sorry, PHPExcel is still not packaged for Fedora. And the OLE that is used by
PHPExcel seems to be a slightly forked copy.
Do you plan on working on this, or should we just retire phpMyAdmin? :)
Can we retire phpMyAdmin at upstream, please? Even if retiring phpMyAdmin at
downstream would be also cool, this issue needs to be solved, I think...
Tom, do you want to help? I would need a package review for bug #725914, which
is required to get PHPExcel as "php-pear-PHPExcel" done.
Tom, I'm not sure if PHPExcel can be packaged as it is - even when we patch it
to use the system php-pear-OLE. The upstream PHPExcel package bundles some more
foreign libraries, I think. May you do a legal check?
Well, it has TCPDF (LGPLv3+) bundled inside of it, and I think I've already made my concerns about it clear (re: bundling of fonts in odd ways), but from a strict licensing perspective, here's what I found:
* TCPDF (overall LGPLv3+, but bundles the following fonts):
- Al-Mohanad (unknown license)
- dejavu-*-fonts (Bitstream Vera and Public Domain, in Fedora)
- gnu-free-fonts (GPLv2+ with font exception, in Fedora)
- Zar Bold (GPLv2+)
It also has:
* JAMA (mix of Public Domain and PHP), closest thing to an upstream I could find was here: http://php.livejournal.com/270125.html
* OLE/PPS (PHP) derived from,OLE::Storage_Lite
* PclZip (GPL+ or LGPLv2+)
The rest is LGPLv2+.
Excluding the fonts, there are no licensing compatibility concerns, and I'm not going to give myself a headache and consider the license compatibility issues with embedded fonts in the php code to the rest of the php code. The notable exception is Al-Mohanad, which either needs to have its license identified or simply removed.
So, in conclusion: Bundling galore, including particularly nasty TCPDF, but licensing is okay at: "LGPLv2+ and LGPLv3+ and PHP", assuming that the fonts are unbundled (if even possible, it may not be) and Al-Mohanad is removed.
There's a lot of assumptions in there. TCPDF is going to be a holy terror to package properly.
phpMyAdmin-3.4.5-1.fc16 has been submitted as an update for Fedora 16.
phpMyAdmin-3.4.5-1.fc15 has been submitted as an update for Fedora 15.
phpMyAdmin-3.4.5-1.fc14 has been submitted as an update for Fedora 14.
phpMyAdmin-3.4.5-1.el6 has been submitted as an update for Fedora EPEL 6.
phpMyAdmin3-3.4.5-1.el5 has been submitted as an update for Fedora EPEL 5.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing phpMyAdmin-3.4.5-1.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
phpMyAdmin-3.4.5-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
phpMyAdmin-3.4.5-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
phpMyAdmin-3.4.5-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
phpMyAdmin-3.4.5-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
phpMyAdmin3-3.4.5-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.