airspy / airspyone_host

AirSpy's usemode driver and associated tools
http://airspy.com
245 stars 88 forks source link

License file #56

Closed nowls closed 4 years ago

nowls commented 6 years ago

Could you please add a LICENSE file in the repository root directory as you did with libairspyhf?

bvernoux commented 6 years ago

It is not as simple as there is multiple licenses depending on directories:

So we could probably add that in each directory to clarify the license for each part and maybe add this comment at end of https://github.com/airspy/airspyone_host/blob/master/README.md

Any proposal are welcome

nowls commented 6 years ago

I think the license-file-per-component model works well. The reason I'm requesting this feature is so I can point to a license file to build the libairspy component in OpenEmbedded. The build system tracks license files for you so embedded Linux developers can easily verify license compliance throughout the build.

bvernoux commented 6 years ago

I have added license for

But after check libairspy/src is even more complex as it have a mix of MIT License & BSD 3-Clause License

nowls commented 6 years ago

Hmm, yes that is more complex. What I'm looking for is a stable LICENSE or COPYING file whose contents won't change unless you decide to change the licensing under which your code is released. I believe this could be done like follows:

For file XXX:

<BSD 3-Clause license text>

For file YYY:

<MIT license text>

The Apache project does something like that: https://github.com/apache/httpd/blob/trunk/LICENSE

bvernoux commented 6 years ago

In clear:

nowls commented 6 years ago

Understood. For Lib/DLL source, I'm thinking of something along the lines of this file, which I believe accurately covers all the .c and .h files in libairspy/src:

https://gist.github.com/nowls/6988808d1ccdc3fdf81e715ddd6faba0

nowls commented 4 years ago

This was addressed satisfactorily.

bvernoux commented 4 years ago

Clarified in commit https://github.com/airspy/airspyone_host/commit/652fd7f1a8f85687641e0bd91f739694d7258ecc