Skip to content

Commit 8f186c5

Browse files
authored
Merge pull request #163 from spdx/fixlinesep
Fix line separator matching
2 parents 9dec80d + ad325dc commit 8f186c5

File tree

13 files changed

+1330
-8
lines changed

13 files changed

+1330
-8
lines changed

TestFiles/APL-1.0.template.txt

Lines changed: 343 additions & 0 deletions
Large diffs are not rendered by default.

TestFiles/APL-1.0.txt

Lines changed: 295 additions & 0 deletions
Large diffs are not rendered by default.

TestFiles/FTL.template.txt

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<<beginOptional>>The FreeType Project LICENSE
2+
3+
2006-Jan-27
4+
5+
<<endOptional>><<beginOptional>> Copyright 1996-2002, 2006 by David Turner, Robert Wilhelm, and Werner Lemberg
6+
7+
Introduction
8+
9+
The FreeType Project is distributed in several archive packages; some of them may contain, in addition to the FreeType font engine, various tools and contributions which rely on, or relate to, the FreeType Project.
10+
11+
This license applies to all files found in such packages, and which do not fall under their own explicit license. The license affects thus the FreeType font engine, the test programs, documentation and makefiles, at the very least.
12+
13+
This license was inspired by the BSD, Artistic, and IJG (Independent JPEG Group) licenses, which all encourage inclusion and use of free software in commercial and freeware products alike. As a consequence, its main points are that:
14+
15+
<<var;name="bullet";original="o";match=".{0,20}">> We don't promise that this software works. However, we will be interested in any kind of bug reports. (`as is' distribution)
16+
17+
<<var;name="bullet";original="o";match=".{0,20}">> You can use this software for whatever you want, in parts or full form, without having to pay us. (`royalty-free' usage)
18+
19+
<<var;name="bullet";original="o";match=".{0,20}">> You may not pretend that you wrote this software. If you use it, or only parts of it, in a program, you must acknowledge somewhere in your documentation that you have used the FreeType code. (`credits')
20+
21+
We specifically permit and encourage the inclusion of this software, with or without modifications, in commercial products. We disclaim all warranties covering The FreeType Project and assume no liability related to The FreeType Project.
22+
23+
Finally, many people asked us for a preferred form for a credit/disclaimer to use in compliance with this license. We thus encourage you to use the following text:
24+
25+
""" Portions of this software are copyright © <year> The FreeType Project (www.freetype.org). All rights reserved. """
26+
27+
Please replace <year> with the value from the FreeType version you actually use.
28+
29+
<<endOptional>>
30+
31+
Legal Terms
32+
33+
<<var;name="bullet";original="0.";match=".{0,20}">> Definitions
34+
35+
Throughout this license, the terms `package', `FreeType Project', and `FreeType archive' refer to the set of files originally distributed by the authors (David Turner, Robert Wilhelm, and Werner Lemberg) as the `FreeType Project', be they named as alpha, beta or final release.
36+
37+
`You' refers to the licensee, or person using the project, where `using' is a generic term including compiling the project's source code as well as linking it to form a `program' or `executable'. This program is referred to as `a program using the FreeType engine'.
38+
39+
This license applies to all files distributed in the original FreeType Project, including all source code, binaries and documentation, unless otherwise stated in the file in its original, unmodified form as distributed in the original archive. If you are unsure whether or not a particular file is covered by this license, you must contact us to verify this.
40+
41+
The FreeType Project is copyright (C) 1996-2000 by David Turner, Robert Wilhelm, and Werner Lemberg. All rights reserved except as specified below.
42+
43+
<<var;name="bullet";original="1.";match=".{0,20}">> No Warranty
44+
45+
THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO USE, OF THE FREETYPE PROJECT.
46+
47+
<<var;name="bullet";original="2.";match=".{0,20}">> Redistribution
48+
49+
This license grants a worldwide, royalty-free, perpetual and irrevocable right and license to use, execute, perform, compile, display, copy, create derivative works of, distribute and sublicense the FreeType Project (in both source and object code forms) and derivative works thereof for any purpose; and to authorize others to exercise some or all of the rights granted herein, subject to the following conditions:
50+
51+
<<var;name="bullet";original="o";match=".{0,20}">> Redistribution of source code must retain this license file (`FTL.TXT') unaltered; any additions, deletions or changes to the original files must be clearly indicated in accompanying documentation. The copyright notices of the unaltered, original files must be preserved in all copies of source files.
52+
53+
<<var;name="bullet";original="o";match=".{0,20}">> Redistribution in binary form must provide a disclaimer that states that the software is based in part of the work of the FreeType Team, in the distribution documentation. We also encourage you to put an URL to the FreeType web page in your documentation, though this isn't mandatory.
54+
55+
These conditions apply to any software derived from or based on the FreeType Project, not just the unmodified files. If you use our work, you must acknowledge us. However, no fee need be paid to us.
56+
57+
<<var;name="bullet";original="3.";match=".{0,20}">> Advertising
58+
59+
Neither the FreeType authors and contributors nor you shall use the name of the other for commercial, advertising, or promotional purposes without specific prior written permission.
60+
61+
We suggest, but do not require, that you use one or more of the following phrases to refer to this software in your documentation or advertising materials: `FreeType Project', `FreeType Engine', `FreeType library', or `FreeType Distribution'.
62+
63+
As you have not signed this license, you are not required to accept it. However, as the FreeType Project is copyrighted material, only this license, or another one contracted with the authors, grants you the right to use, distribute, and modify it. Therefore, by using, distributing, or modifying the FreeType Project, you indicate that you understand and accept all the terms of this license.
64+
65+
<<var;name="bullet";original="4.";match=".{0,20}">> Contacts
66+
67+
There are two mailing lists related to FreeType:
68+
69+
<<var;name="bullet";original="o";match=".{0,20}">> [email protected]
70+
71+
Discusses general use and applications of FreeType, as well as future and wanted additions to the library and distribution. If you are looking for support, start in this list if you haven't found anything to help you in the documentation.
72+
73+
<<var;name="bullet";original="o";match=".{0,20}">> [email protected]
74+
75+
Discusses bugs, as well as engine internals, design issues, specific licenses, porting, etc.
76+
77+
Our home page can be found at
78+
79+
http://www.freetype.org
80+
81+
<<beginOptional>>--- end of FTL.TXT ---
82+
83+
<<endOptional>>

TestFiles/FTL.txt

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
The FreeType Project LICENSE
2+
3+
2006-Jan-27
4+
5+
Copyright 1996-2002, 2006 by David Turner, Robert Wilhelm, and Werner Lemberg
6+
7+
Introduction
8+
9+
The FreeType Project is distributed in several archive packages; some of them may contain, in addition to the FreeType font engine, various tools and contributions which rely on, or relate to, the FreeType Project.
10+
11+
This license applies to all files found in such packages, and which do not fall under their own explicit license. The license affects thus the FreeType font engine, the test programs, documentation and makefiles, at the very least.
12+
13+
This license was inspired by the BSD, Artistic, and IJG (Independent JPEG Group) licenses, which all encourage inclusion and use of free software in commercial and freeware products alike. As a consequence, its main points are that:
14+
15+
o We don't promise that this software works. However, we will be interested in any kind of bug reports. (`as is' distribution)
16+
17+
o You can use this software for whatever you want, in parts or full form, without having to pay us. (`royalty-free' usage)
18+
19+
o You may not pretend that you wrote this software. If you use it, or only parts of it, in a program, you must acknowledge somewhere in your documentation that you have used the FreeType code. (`credits')
20+
21+
We specifically permit and encourage the inclusion of this software, with or without modifications, in commercial products. We disclaim all warranties covering The FreeType Project and assume no liability related to The FreeType Project.
22+
23+
Finally, many people asked us for a preferred form for a credit/disclaimer to use in compliance with this license. We thus encourage you to use the following text:
24+
25+
""" Portions of this software are copyright © <year> The FreeType Project (www.freetype.org). All rights reserved. """
26+
27+
Please replace <year> with the value from the FreeType version you actually use.
28+
29+
Legal Terms
30+
31+
0. Definitions
32+
33+
Throughout this license, the terms `package', `FreeType Project', and `FreeType archive' refer to the set of files originally distributed by the authors (David Turner, Robert Wilhelm, and Werner Lemberg) as the `FreeType Project', be they named as alpha, beta or final release.
34+
35+
`You' refers to the licensee, or person using the project, where `using' is a generic term including compiling the project's source code as well as linking it to form a `program' or `executable'. This program is referred to as `a program using the FreeType engine'.
36+
37+
This license applies to all files distributed in the original FreeType Project, including all source code, binaries and documentation, unless otherwise stated in the file in its original, unmodified form as distributed in the original archive. If you are unsure whether or not a particular file is covered by this license, you must contact us to verify this.
38+
39+
The FreeType Project is copyright (C) 1996-2000 by David Turner, Robert Wilhelm, and Werner Lemberg. All rights reserved except as specified below.
40+
41+
1. No Warranty
42+
43+
THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO USE, OF THE FREETYPE PROJECT.
44+
45+
2. Redistribution
46+
47+
This license grants a worldwide, royalty-free, perpetual and irrevocable right and license to use, execute, perform, compile, display, copy, create derivative works of, distribute and sublicense the FreeType Project (in both source and object code forms) and derivative works thereof for any purpose; and to authorize others to exercise some or all of the rights granted herein, subject to the following conditions:
48+
49+
o Redistribution of source code must retain this license file (`FTL.TXT') unaltered; any additions, deletions or changes to the original files must be clearly indicated in accompanying documentation. The copyright notices of the unaltered, original files must be preserved in all copies of source files.
50+
51+
o Redistribution in binary form must provide a disclaimer that states that the software is based in part of the work of the FreeType Team, in the distribution documentation. We also encourage you to put an URL to the FreeType web page in your documentation, though this isn't mandatory.
52+
53+
These conditions apply to any software derived from or based on the FreeType Project, not just the unmodified files. If you use our work, you must acknowledge us. However, no fee need be paid to us.
54+
55+
3. Advertising
56+
57+
Neither the FreeType authors and contributors nor you shall use the name of the other for commercial, advertising, or promotional purposes without specific prior written permission.
58+
59+
We suggest, but do not require, that you use one or more of the following phrases to refer to this software in your documentation or advertising materials: `FreeType Project', `FreeType Engine', `FreeType library', or `FreeType Distribution'.
60+
61+
As you have not signed this license, you are not required to accept it. However, as the FreeType Project is copyrighted material, only this license, or another one contracted with the authors, grants you the right to use, distribute, and modify it. Therefore, by using, distributing, or modifying the FreeType Project, you indicate that you understand and accept all the terms of this license.
62+
63+
4. Contacts
64+
65+
There are two mailing lists related to FreeType:
66+
67+
68+
69+
Discusses general use and applications of FreeType, as well as future and wanted additions to the library and distribution. If you are looking for support, start in this list if you haven't found anything to help you in the documentation.
70+
71+
72+
73+
Discusses bugs, as well as engine internals, design issues, specific licenses, porting, etc.
74+
75+
Our home page can be found at
76+
77+
http://www.freetype.org
78+
79+
--- end of FTL.TXT ---
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<<beginOptional>><<beginOptional>>#<<endOptional>> The Parity Public License 7.0.0
2+
3+
<<endOptional>>
4+
5+
Contributor: <<var;name="copyright";original="name";match=".+">>
6+
7+
Source Code: <<var;name="address";original="address";match=".+">>
8+
9+
<<beginOptional>>##<<endOptional>> Purpose
10+
11+
This license allows you to use and share this software for free, but you have to share software that builds on it alike.
12+
13+
<<beginOptional>>##<<endOptional>> Agreement
14+
15+
In order to receive this license, you have to agree to its rules. Those rules are both obligations under that agreement and conditions to your license. Don't do anything with this software that triggers a rule you can't or won't follow.
16+
17+
<<beginOptional>>##<<endOptional>> Notices
18+
19+
Make sure everyone who gets a copy of any part of this software from you, with or without changes, also gets the text of this license and the contributor and source code lines above.
20+
21+
<<beginOptional>>##<<endOptional>> Copyleft
22+
23+
<<var;name="contributeRef";original="[Contribute](#contribute)";match="\[Contribute\]\(\#contribute\)|Contribute">> software you develop, operate, or analyze with this software, including changes or additions to this software. When in doubt, <<var;name="contributeRef";original="[contribute](#contribute)";match="\[contribute\]\(#contribute\)|contribute">> .
24+
25+
<<beginOptional>>##<<endOptional>> Prototypes
26+
27+
You don't have to <<var;name="contributeRef";original="[contribute](#contribute)";match="\[contribute\]\(#contribute\)|contribute">> any change, addition, or other software that meets all these criteria:
28+
29+
<<var;name="bullet";original="1.";match=".{0,20}">> You don't use it for more than thirty days.
30+
31+
<<var;name="bullet";original="2.";match=".{0,20}">> You don't share it outside the team developing it, other than for non-production user testing.
32+
33+
<<var;name="bullet";original="3.";match=".{0,20}">> You don't develop, operate, or analyze other software with it for anyone outside the team developing it.
34+
35+
<<beginOptional>>##<<endOptional>> Reverse Engineering
36+
37+
You may use this software to operate and analyze software you can't <<var;name="contributeRef";original="[contribute](#contribute)";match="\[contribute\]\(#contribute\)|contribute">> in order to develop alternatives you can and do <<var;name="contributeRef";original="[contribute](#contribute)";match="\[contribute\]\(#contribute\)|contribute">> .
38+
39+
<<beginOptional>>##<<endOptional>> Contribute
40+
41+
To <<var;name="contributeRef";original="[contribute](#contribute)";match="\[contribute\]\(#contribute\)|contribute">> software:
42+
43+
<<var;name="bullet";original="1.";match=".{0,20}">> Publish all source code for the software in the preferred form for making changes through a freely accessible distribution system widely used for similar source code so the contributor and others can find and copy it.
44+
45+
<<var;name="bullet";original="2.";match=".{0,20}">> Make sure every part of the source code is available under this license or another license that allows everything this license does, such as <<var;name="licenseList";original="[the Blue Oak Model License 1.0.0](https://blueoakcouncil.org/license/1.0.0), [the Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html), [the MIT license](https://spdx.org/licenses/MIT.html), or [the two-clause BSD license](https://spdx.org/licenses/BSD-2-Clause.html).";match="\[the Blue Oak Model License 1\.0\.0\]\(https://blueoakcouncil\.org/license/1\.0\.0\), \[the Apache License 2\.0\]\(https://www\.apache\.org/licenses/LICENSE-2\.0\.html\), \[the MIT license\]\(https://spdx\.org/licenses/MIT\.html\), or \[the two-clause BSD license\]\(https://spdx\.org/licenses/BSD-2-Clause\.html\)\.|the Blue Oak Model License 1\.0\.0, the Apache License 2\.0, the MIT License, or the two-clause BSD License\.">>
46+
47+
<<var;name="bullet";original="3.";match=".{0,20}">> Take these steps within thirty days.
48+
49+
<<var;name="bullet";original="4.";match=".{0,20}">> Note that this license does <<var;name="emphasizedNot";original="_not_";match="_not_|not">> allow you to change the license terms for this software. You must follow <<var;name="noticesRef";original="[Notices](#notices)";match="\[Notices\]\(#notices\)|Notices">> .
50+
51+
<<beginOptional>>##<<endOptional>> Excuse
52+
53+
You're excused for unknowingly breaking <<var;name="copyleftRef";original="[Copyleft](#copyleft)";match="\[Copyleft\]\(#copyleft\)|Copyleft">> if you <<var;name="contributeRef";original="[contribute](#contribute)";match="\[contribute\]\(#contribute\)|contribute">> as required, or stop doing anything requiring this license, within thirty days of learning you broke the rule. You're excused for unknowingly breaking <<var;name="noticesRef";original="[Notices](#notices)";match="\[Notices\]\(#notices\)|Notices">> if you take all practical steps to comply within thirty days of learning you broke the rule.
54+
55+
<<beginOptional>>##<<endOptional>> Defense
56+
57+
Don't make any legal claim against anyone accusing this software, with or without changes, alone or with other technology, of infringing any patent.
58+
59+
<<beginOptional>>##<<endOptional>> Copyright
60+
61+
The contributor licenses you to do everything with this software that would otherwise infringe their copyright in it.
62+
63+
<<beginOptional>>##<<endOptional>> Patent
64+
65+
The contributor licenses you to do everything with this software that would otherwise infringe any patents they can license or become able to license.
66+
67+
<<beginOptional>>##<<endOptional>> Reliability
68+
69+
The contributor can't revoke this license.
70+
71+
<<beginOptional>>##<<endOptional>> No Liability
72+
73+
***As far as the law allows, this software comes as is, without any warranty or condition, and the contributor won't be liable to anyone for any damages related to this software or this license, under any kind of legal claim.***
74+

0 commit comments

Comments
 (0)