Skip to content

Commit

Permalink
README: explain the licensing of bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksa Sarai <[email protected]>
  • Loading branch information
cyphar committed Aug 3, 2024
1 parent 27a569a commit 4c051ee
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ err:
### License ###
![License: LGPL-3.0-or-later](https://img.shields.io/github/license/openSUSE/libpathrs.svg)
`libpathrs` is licensed under the GNU LGPLv3 (or any later version).
```
Expand All @@ -93,3 +91,33 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this program. If not, see <https://www.gnu.org/licenses/>.
```
<hr/>
The language-specific bindings (the code in `contrib/bindings/` and
`go-pathrs/`) are licensed under the Apache-2.0 license, to allow for wider
usage of `libpathrs` from languages where language libraries are not
dynamically linked.
**NOTE**: If you compile libpathrs.so into your binary statically, you still
need to abide by the LGPLv3 license. In practice this means at least providing
the object files necessary to allow someone to recompile your program using a
modified libpathrs. See the LGPLv3 license for more details.
```
libpathrs: safe path resolution on Linux
Copyright (C) 2019-2024 Aleksa Sarai <[email protected]>
Copyright (C) 2019-2024 SUSE LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

0 comments on commit 4c051ee

Please sign in to comment.