source: project/wiki/eggs licencing @ 9309

Last change on this file since 9309 was 9309, checked in by elf, 12 years ago

Changes applied for elf (66.92.69.84) through svnwiki:

formatting fixes.

File size: 4.2 KB
Line 
1[[toc:]]
2[[tags:tutorials eggs]]
3
4
5== Introduction
6
7All eggs and associated code MUST include some form of licence.  Below
8is a brief description of various licences and how to include them. 
9This list is not meant to be complete; it is merely a description of
10some of the common licences in use and their meanings.
11
12== Egg metafile tagging
13
14Licences consisting of initials should be entirely capitalised.
15
16Example: {{"BSD"}}
17
18If a licence has a version relevant to its application (eg GPL,
19LGPL, etc), the tag should contain the licence name, followed by a hyphen,
20followed by the version.
21
22Examples: {{"GPL-2"}}, {{"LGPL-2.1"}}, {{"Artistic-2"}}. 
23
24
25If a licence consists of multiple words, capitalise the first letter of
26each word.
27
28Example: {{"Public Domain"}}
29
30
31If multiple licences apply, separate them by forward slashes.
32
33Example: {{"Public Domain/Free Use"}}
34
35
36== Common Licences
37
38=== Public Domain
39
40Public domain licences disavow any form of copyright on the code.  There
41must be a notice of a form similar to the one below included in the relevant
42files and documentation.
43
44<nowiki>
45<pre>
46This code is written by YOUR-NAME and placed in the Public Domain.  All
47warranties are disclaimed.
48</pre>
49</nowiki>
50
51Note: If any form of copyright is retained to the code, it is NOT in the
52public domain.  See [[Free Use]], below.
53
54
55=== Free Use
56
57Free Use licences are permissive licences granting complete free usage of
58the code for any purpose.  They differ from [[Public Domain]] primarily
59by the retention of copyright by the owner(s).  An example of a Free Use
60licence would be the SLIB licence, contained below:
61
62<nowiki>
63<pre>
64Copyright (C) YEAR by YOUR-NAME
65
66Permission to copy this software, to modify it, to redistribute it, to
67distribute modified version, and to use it for any purpose is granted,
68subject to the following restrictions and understandings.
69
701. Any copy made of this software must include this copyright notice in
71   full.
72
732. I have made no warranty or representation that the operation of this
74   software will be error-free, and I am under no obligation to provide
75   any services, by way of maintenance, update, or otherwise.
76
773. In conjunction with products arising from the use of this material,
78   there shall be no use of my name in any advertising, promotional, or
79   sales literature without prior written consent in each case.
80</pre>
81</nowiki>
82
83=== GNU General Public Licence/Lesser GPL
84
85See [[http://www.gnu.org/licenses/gpl.html]] for details.  Note that these
86licences must include a version tag in the metafile.
87
88
89=== BSD
90
91This is a permissive licence, often referred to as the Modified BSD
92License.  The relevant files should include something similar to the
93following lines, or contain a reference to a file containing them:
94
95<nowiki>
96<pre>
97  Copyright (C) YEAR, YOUR NAME
98  All rights reserved.
99
100  Redistribution and use in source and binary forms, with or without
101  modification, are permitted provided that the following conditions are met:
102
103  Redistributions of source code must retain the above copyright notice, this
104  list of conditions and the following disclaimer.
105  Redistributions in binary form must reproduce the above copyright notice,
106  this list of conditions and the following disclaimer in the documentation
107  and/or other materials provided with the distribution.
108  Neither the name of the author nor the names of its contributors may be
109  used to endorse or promote products derived from this software without
110  specific prior written permission.
111
112  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
113  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
114  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
115  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
116  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
117  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
118  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
119  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
120  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
121  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
122  POSSIBILITY OF SUCH DAMAGE.
123</pre>
124</nowiki>
125
Note: See TracBrowser for help on using the repository browser.