From: Neal Gompa (ニール・ゴンパ) Date: Tue, 8 Jan 2019 17:29:34 +0000 (-0500) Subject: Include third party licenses in dist tarballs X-Git-Tag: zfs-0.8.0-rc3~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53b5fcd36592140a6d2f10d1d4ffd8bb743a9379;p=zfs Include third party licenses in dist tarballs Since the merge of the Linux Solaris Porting Layer source tree into the ZFS codebase, ZFS is now a double-licensed codebase, with the former SPL codebase retaining its license (GPLv2+) within the ZFS source tree. However, the license files for SPL were not being included in the tarballs generated by autotools. This change corrects that. In addition, all the other third party licenses in the codebase are now properly declared to be included in the dist tarballs. Reviewed-by: Brian Behlendorf Signed-off-by: Neal Gompa Closes #8242 --- diff --git a/Makefile.am b/Makefile.am index 01ddc388c..43891af71 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,13 @@ EXTRA_DIST = autogen.sh copy-builtin EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am EXTRA_DIST += META AUTHORS COPYRIGHT LICENSE NEWS NOTICE README.md +# Include all the extra licensing information for modules +EXTRA_DIST += module/icp/algs/skein/THIRDPARTYLICENSE module/icp/algs/skein/THIRDPARTYLICENSE.descrip +EXTRA_DIST += module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman.descrip +EXTRA_DIST += module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl.descrip +EXTRA_DIST += module/spl/THIRDPARTYLICENSE.gplv2 module/spl/THIRDPARTYLICENSE.gplv2.descrip +EXTRA_DIST += module/zfs/THIRDPARTYLICENSE.cityhash module/zfs/THIRDPARTYLICENSE.cityhash.descrip + @CODE_COVERAGE_RULES@ .PHONY: gitrev diff --git a/lib/libzfs/Makefile.am b/lib/libzfs/Makefile.am index 34933e627..421970413 100644 --- a/lib/libzfs/Makefile.am +++ b/lib/libzfs/Makefile.am @@ -65,3 +65,6 @@ libzfs_la_LIBADD += -lm $(LIBSSL) libzfs_la_LDFLAGS = -version-info 2:0:0 EXTRA_DIST = $(libzfs_pc_DATA) $(USER_C) + +# Licensing data +EXTRA_DIST += THIRDPARTYLICENSE.openssl THIRDPARTYLICENSE.openssl.descrip