Skip to content

Commit

Permalink
Improve detection of psycopg2 licenses#2186 #2187 #2188
Browse files Browse the repository at this point in the history
Reported-by: Armijn Hemel @armijnhemel
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Sep 3, 2020
1 parent f25cb68 commit fc1c3e2
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
psycopg2 and the LGPL

psycopg2 is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

psycopg2 is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.

In addition, as a special exception, the copyright holders give
permission to link this program with the OpenSSL library (or with
modified versions of OpenSSL that use the same license as OpenSSL),
and distribute linked combinations including the two.

You must obey the GNU Lesser General Public License in all respects for
all of the code used other than OpenSSL. If you modify file(s) with this
exception, you may extend this exception to your version of the file(s),
but you are not obligated to do so. If you do not wish to do so, delete
this exception statement from your version. If you delete this exception
statement from all source files in the program, then also delete it here.

You should have received a copy of the GNU Lesser General Public License
along with psycopg2 (see the doc/ directory.)
If not, see <https://www.gnu.org/licenses/>.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
license_expression: lgpl-3.0-plus WITH openssl-exception-lgpl-3.0-plus
is_license_notice: yes
relevance: 100
ignorable_urls:
- https://www.gnu.org/licenses/
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
license="LGPL with exceptions"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
license_expression: lgpl-3.0-plus WITH openssl-exception-lgpl-3.0-plus
is_license_tag: yes
relevance: 95
notes: only ever seen in pysycopg2 setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
In addition, as a special exception, the copyright holders give
permission to link this program with the OpenSSL library (or with
modified versions of OpenSSL that use the same license as OpenSSL),
and distribute linked combinations including the two.

You must obey the GNU Lesser General Public License in all respects for
all of the code used other than OpenSSL.

psycopg2 is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
license_expression: lgpl-3.0-plus WITH openssl-exception-lgpl-3.0-plus
is_license_notice: yes
relevance: 100
notes: psycopg2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
license="LGPL with exceptions or ZPL"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
license_expression: lgpl-3.0-plus WITH openssl-exception-lgpl-3.0-plus AND zpl-2.0 AND zlib
is_license_tag: yes
relevance: 95
notes: only ever seen in pysycopg2 setup.py

0 comments on commit fc1c3e2

Please sign in to comment.