Skip to content

Commit 3714f93

Browse files
committed
Add new and improved license detection rules
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 1aacb99 commit 3714f93

File tree

126 files changed

+568
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+568
-7
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
libraries are under the Apache License 2.0
2+
(see @url{http://www.apache.org/licenses/LICENSE-2.0} for details)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
license_expression: apache-2.0
2+
is_license_notice: yes
3+
ignorable_urls:
4+
- http://www.apache.org/licenses/LICENSE-2.0
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
libraries are under the Apache License 2.0
2+
(see @url{http://www.apache.org/licenses/LICENSE-2.0} for details), which is
3+
incompatible to the LGPL version 2.1 and GPL version 2. You have to
4+
upgrade FFmpeg's license to LGPL version 3 (or if you have enabled
5+
GPL components, GPL version 3) by passing @code{--enable-version3} to configure in
6+
order to use it.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
license_expression: apache-2.0 AND (lgpl-3.0 OR gpl-3.0)
2+
is_license_notice: yes
3+
ignorable_urls:
4+
- http://www.apache.org/licenses/LICENSE-2.0
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Redistribution and use in source and binary forms, with or without
2+
modification, are permitted provided that the following conditions
3+
are met:
4+
1. Redistributions of source code must retain the above copyright
5+
notice, this list of conditions and the following disclaimer.
6+
2. Redistributions in binary form must reproduce the above copyright
7+
notice, this list of conditions and the following disclaimer in the
8+
documentation and/or other materials provided with the distribution.
9+
3. Neither the name of the MIPS Technologies, Inc., nor the names of its
10+
contributors may be used to endorse or promote products derived from
11+
this software without specific prior written permission.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE MIPS TECHNOLOGIES, INC. ``AS IS'' AND
14+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16+
ARE DISCLAIMED. IN NO EVENT SHALL THE MIPS TECHNOLOGIES, INC. BE LIABLE
17+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23+
SUCH DAMAGE.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
license_expression: bsd-new
2+
is_license_text: yes
3+
notes: Seen in ffmpeg
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
and on BSD-licensed SHA-2 code
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
license_expression: bsd-new
2+
is_license_notice: yes
3+
relevance: 100
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Redistribution and use in source and binary forms, with or without
2+
modification, are permitted provided that the following conditions
3+
are met:
4+
1. Redistributions of source code must retain the above copyright
5+
notice, this list of conditions and the following disclaimer.
6+
2. Redistributions in binary form must reproduce the above copyright
7+
notice, this list of conditions and the following disclaimer in the
8+
documentation and/or other materials provided with the distribution.
9+
10+
This library is distributed in the hope that i will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Library General Public License for more details.
14+
15+
You should have received a copy of the GNU Library General Public License
16+
along with this library; see the file COPYING.LIB. If not, write to
17+
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18+
Boston, MA 02110-1301, USA.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
license_expression: bsd-simplified AND lgpl-2.0-plus
2+
is_license_notice: yes
3+
relevance: 95
4+
referenced_filenames:
5+
- COPYING.LIB
6+
notes: seen in qtwebkit Qt_5.3.2/qtwebkit/Source/WebCore/platform/text/win/TextCodecWin.cpp
7+
and the text is weirdly damaged combo of bsd and lgpl

0 commit comments

Comments
 (0)