package/multipath-tools: fix license
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 10 Jan 2021 08:59:51 +0000 (09:59 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 10 Jan 2021 10:53:46 +0000 (11:53 +0100)
As stated in README.md, multipath-tools is covered by several licenses
and LGPL-2.0 is "just" the default license:
 - GPL-2.0+ (e.g. libmultipath/alias.c)
 - GPL-3.0+ (e.g. libdmmp/libdmmp.c)
 - LGPL-2.1+ (e.g. libmpathcmd/mpath_cmd.c)

So replace COPYING (which is a symlink to LICENSES/LGPL-2.0) by the
approriate license files in LICENSES directory

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: further split long lines]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/multipath-tools/multipath-tools.hash
package/multipath-tools/multipath-tools.mk

index b6ce6164b6a1ccb33f3f4c89d4d6e7708d408984..fc94b3f724b4ab1c96adb8c0e1b55877e99ba3b8 100644 (file)
@@ -1,3 +1,7 @@
 # Locally computed:
 sha256  0549ebe39fd3950ec49c16304da408c2bfe1b18d386d8e6647b5bcb60363c8aa  multipath-tools-0.8.5.tar.gz
-sha256  b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c  COPYING
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSES/GPL-2.0
+sha256  3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986  LICENSES/GPL-3.0
+sha256  b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c  LICENSES/LGPL-2.0
+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSES/LGPL-2.1
+sha256  afa9db94ff46f8d011251273f547ba958da6a0150a2b797b10fa8c8cfa74bbda  README.md
index 7fe9033a15c65ce594a12b7ff302c17dc81748e9..877ed672c5e7f258c6297939ccd5d3371ae1f159 100644 (file)
@@ -6,8 +6,19 @@
 
 MULTIPATH_TOOLS_VERSION = 0.8.5
 MULTIPATH_TOOLS_SITE = $(call github,opensvc,multipath-tools,$(MULTIPATH_TOOLS_VERSION))
-MULTIPATH_TOOLS_LICENSE = LGPL-2.0
-MULTIPATH_TOOLS_LICENSE_FILES = COPYING
+
+MULTIPATH_TOOLS_LICENSE = \
+       LGPL-2.0 (default), \
+       LGPL-2.1+ (libmpathcmd), \
+       GPL-2.0+ (libmultipath), \
+       GPL-3.0+ (libdmmp)
+MULTIPATH_TOOLS_LICENSE_FILES = \
+       LICENSES/GPL-2.0 \
+       LICENSES/GPL-3.0 \
+       LICENSES/LGPL-2.0 \
+       LICENSES/LGPL-2.1 \
+       README.md
+
 MULTIPATH_TOOLS_DEPENDENCIES = lvm2 json-c readline udev liburcu libaio host-pkgconf
 MULTIPATH_TOOLS_MAKE_OPTS = \
        LIB="lib" \