cifsd-team / ksmbd

ksmbd kernel server(SMB/CIFS server)
151 stars 23 forks source link

Adding license files #552

Open ffontaine opened 2 years ago

ffontaine commented 2 years ago

It would be great to add license files to the git repository and the official tarball. From my understanding, ksmbd use files under GPL-2.0+ and LGPL-2.1+. Can you confirm that my assumption is correct and add the proper COPYING or LICENSE files (e.g. #144)?

namjaejeon commented 2 years ago

Yes, ksmbd is licensed under GPL-2.0+ and LGPL-2.1+. There are SPDX License tags in each .c/.h files. Isn't that enough?

ffontaine commented 2 years ago

Thanks for your answer. I would like to add ksmbd to buildroot. In buildroot, we declare the license of each package as well as its license files and their hash, for example, for ksmbd-tools:

KSMBD_TOOLS_LICENSE = GPL-2.0+
KSMBD_TOOLS_LICENSE_FILES = COPYING

sha256  576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de  COPYING

If there is no license files, we can use the source files but it is less convenient.