Skip to content

Commit 28e1acb

Browse files
committed
Improve MPL tri-license detection
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 5635edf commit 28e1acb

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
license_expression: mpl-1.1 OR gpl-2.0-plus OR lgpl-2.1-plus
3+
is_license_notice: yes
4+
ignorable_copyrights:
5+
- Portions created by the Initial Developer are Copyright the Initial Developer
6+
ignorable_holders:
7+
- the Initial Developer
8+
ignorable_urls:
9+
- http://www.mozilla.org/MPL/
10+
---
11+
12+
// ***** BEGIN LICENSE BLOCK *****
13+
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
14+
//
15+
// The contents of this file are subject to the Mozilla Public License Version
16+
// 1.1 (the "License"); you may not use this file except in compliance with
17+
// the License. You may obtain a copy of the License at
18+
// http://www.mozilla.org/MPL/
19+
//
20+
// Software distributed under the License is distributed on an "AS IS" basis,
21+
// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
22+
// for the specific language governing rights and limitations under the
23+
// License.
24+
//
25+
// The Original Code is .
26+
//
27+
// The Initial Developer of the Original Code is
28+
// Portions created by the Initial Developer are Copyright
29+
// the Initial Developer. All Rights Reserved.
30+
//
31+
// Contributor(s):
32+
//
33+
// Alternatively, the contents of this file may be used under the terms of
34+
// either the GNU General Public License Version 2 or later (the "GPL"), or
35+
// the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
36+
// in which case the provisions of the GPL or the LGPL are applicable instead
37+
// of those above. If you wish to allow use of your version of this file only
38+
// under the terms of either the GPL or the LGPL, and not to allow others to
39+
// use your version of this file under the terms of the MPL, indicate your
40+
// decision by deleting the provisions above and replace them with the notice
41+
// and other provisions required by the GPL or the LGPL. If you do not delete
42+
// the provisions above, a recipient may use your version of this file under
43+
// the terms of any one of the MPL, the GPL or the LGPL.
44+
//
45+
// ***** END LICENSE BLOCK *****

0 commit comments

Comments
 (0)