Bug 901758 - non-free code for json decoder
Summary: non-free code for json decoder
Alias: None
Product: Fedora
Classification: Fedora
Component: mono
Version: 18
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Xavier Lamien
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: FE-Legal 901759
TreeView+ depends on / blocked
Reported: 2013-01-19 01:40 UTC by Michael S.
Modified: 2013-01-19 19:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-01-19 19:37:53 UTC
Type: Bug

Attachments (Terms of Use)

Description Michael S. 2013-01-19 01:40:48 UTC
According to http://lintian.debian.org/tags/license-problem-json-evil.html and to a quick check by myself, mono has a file under a problematic license, stating :
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

The Software shall be used for Good, not Evil.
According to http://wiki.debian.org/qa.debian.org/jsonevil , this make the license non-free, and so the code should be cleaned.

Comment 1 Christian Krause 2013-01-19 15:33:14 UTC
Upstream changed the the License of that file (mcs/class/System.Web.Extensions/System.Web.Script.Serialization/JsonDeserializer.cs) 2 months ago with the following comment:

"Removed original license since no substantial portions of the original software are used in our implementation":


Besides the license change, the only difference between git HEAD of that file and the one included in mono 2.10.8 (which is the latest version in Fedora) is:

 using System;
 using System.Collections;
@@ -302,7 +276,6 @@
 		JsonType jsonType;
 		bool escaped;
-		bool negated;
 		int state;
 		Stack <string> currentKey;
 		StringBuilder buffer;

I would assume, that upstream's statement, that "no substantial portion of the original software are used", also holds for the current version of that file in mono 2.10.8. If strictly necessary, it would be possible rebuild mono for all Fedora releases and use the git HEAD version of that file. I'm not sure whether that is necessary.

The final decision should be done by Fedora-Legal.

Comment 2 Tom "spot" Callaway 2013-01-19 19:37:53 UTC
I agree. It is safe to assume that the broken JSON license is not in play on the current mono file in Fedora. Closing as NOTABUG.

Note You need to log in before you can comment on or make changes to this bug.