views:

437

answers:

3

I often want to release small projects of mine for others to see/use/improve. I have used the GPL with a couple of my projects, but I would like to be more permissive than that--so I chose the MIT license.

My question is, how would I go about releasing software under the MIT license? What steps do I need to take? I've looked a bit on the web, but it's confusing. Thanks.

A: 

Most of the time you want to post a link to the License and simply say:

This content is released under the (Link Goes Here) MIT License.

You might want to add after that some specifics like Attribution Required. (I haven't really looked into the MIT License)

Chacha102
There's no non-commercial clauses in any free software license.
mattl
I was using a freaking example of a clause you might put in there somewhere.... I'll fix it then.
Chacha102
+2  A: 

There are a few options for you.

The simplest option is to simply include the following language (adding in this year and your name as the copyright holder and you're done. Many copyright owners find it useful to include this language in multiple places, including as part of the download process so that people accessing your code will have to "click to accept" to download and see your code.

Copyright (c)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

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

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The second option is to modify it slightly, as shown in the examples below:

Modified versions of the license

The license can be modified to suit particular needs. For example, the Free Software Foundation agreed in 1998 to use a modified MIT License for ncurses, which adds this clause:[4]

Except as contained in this notice, the name(s) of the above copyright holders shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization.

The XFree86 Project uses a modified MIT License for XFree86 version 4.4 onward. The license includes a clause that requires attribution in software documentation.[5] The Free Software Foundation contends that this addition is incompatible with the version 2 of the GPL, but compatible with version 3.[6]

The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by The XFree86 Project, Inc (http://www.xfree86.org/) and its contributors", in the same place and form as other third-party acknowledgments. Alternately, this acknowledgment may appear in the software itself, in the same form and location as other such third-party acknowledgments.

The source of information for the modified licenses is http://en.wikipedia.org/wiki/MIT_License

  • Justin
Justin
A: 

Before you release the software under the MIT license, you'll also want to be sure that you hold the copyright to the software, and/or any contributing code or dependencies for a derivative work are of a compatible license. (From your question, it sounds like you do, but others reading this thread may not.) If you worked alone, then you have the copyright. If you duplicated someone else's code, or created a derivative work, or someone else contributed to the source, then there's an open question.

atk