Skip to content

Commit

Permalink
Add new license detection rule
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne committed Sep 13, 2024
1 parent 839ef7f commit 4311275
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/licensedcode/data/rules/gpl-2.0_or_bsd-new_31.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
license_expression: gpl-2.0 OR bsd-new
is_license_notice: yes
notes: Seen in Linux
---

This code is released under both the GPL version 2 and BSD licenses.
Either license may be used. The respective licenses are found at
the end of this file.

This code was developed by
including portions of which come from the
Developer's Reference Manual and used with permission.
Permission to use
code in the Developer's manual was granted for this driver
15 changes: 15 additions & 0 deletions tests/licensedcode/data/datadriven/lic4/airo.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
This code is released under both the GPL version 2 and BSD licenses.
Either license may be used. The respective licenses are found at
the end of this file.

This code was developed by Benjamin Reed <breed@users.sourceforge.net>
including portions of which come from the Aironet PC4500
Developer's Reference Manual and used with permission. Copyright
(C) 1999 Benjamin Reed. All Rights Reserved. Permission to use
code in the Developer's manual was granted for this driver by
Aironet. Major code contributions were received from Javier Achirica
<achirica@users.sourceforge.net> and Jean Tourrilhes <jt@hpl.hp.com>.
Code was also integrated from the Cisco Aironet driver for Linux.
Support for MPI350 cards was added by Fabrice Bellet
<fabrice@bellet.info>.

2 changes: 2 additions & 0 deletions tests/licensedcode/data/datadriven/lic4/airo.c.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
license_expressions:
- gpl-2.0 OR bsd-new

0 comments on commit 4311275

Please sign in to comment.