14

I'm confused as to what this license really means.

Say I have a large piece of software I plan on selling and keeping closed source. It makes use of several small resources that are under the MIT license.

Do I just have to copy paste each MIT license with their names in it into the source code? That seems pointless since it will remain closed source.

If the software is distributed by a service like Google Play which only takes a .apk file there's no way to distribute the license with the software, if that's what you're supposed to do.

So in this case would using those small resources licensed under MIT not be allowed? Or what?

Also, in the license text, what does "substantial portions of the Software" mean? Which software? The software that is licensed under MIT? Or any other new software using this MIT licensed software?

I'm quite confused as you can tell, so it would be nice if someone could clarify some of this for me.

EDIT: Additionally, how would someone be able to tell what parts of the code were licensed under MIT? If they are able to tell that somehow, how would they be able to tell which person made that specific portion?

14

There seems to be a misconception with how to comply with the MIT license. Here's the relevant sentence, and only condition in the license apart from the warranty disclaimer:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

You can include the license text in your source file. If you do, and if you distribute your software as source code only, as some OSS do, the license text is automatically visible and right there with the MIT-licensed code. But if you distribute binaries, the license text (typically) gets compiled away, therefore you are no longer fulfilling the single condition in the license. What you need to do is include the license with your binary distributions, maybe as a text file, or embedded in the program's about dialog. For most distribution channels, there's some way of including the source code license(s). For an Android example, look at Settings > About > Legal Information > Open source licenses and enjoy.

As for what "substantial portion of the software" means, it refers to the MIT-licensed code. See this question for what "substantial portion" means: How much is "substantial portion" in MIT licence?

Additionally, how would someone be able to tell what parts of the code were licensed under MIT? If they are able to tell that somehow, how would they be able to tell which person made that specific portion?

If you don't follow the MIT license, you are violating copyright. It's true that it's hard to prove copyright violation if you don't have access to source code, but a court can compel you to divulge your source code so that a judgement can be made. If you've genuinely and blatantly violated copyright, it will be very easy to prove.

2

Are you perfectly sure that you will never want to transfer this code to someone else? If you ever want to sell it, or license it, or have a change of heart and make it open source, you'll need to be able to document the provenance. If you throw out all the copyright and license information, you'll be up a creek. If you work for a company, the company should have a policy of this kind just in case the whole place gets sold.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.