Skip to contentSkip to conversation

alsa-lib: Trim the text part used for the license file checksum

PATCH New Peter Kjellerstedt 1 participant 4 messages Nov 25, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 alsa-lib: Trim the text part used for the license file checksum

This avoids including irrelevant information when calculating the license checksum.

License-Update: Trim the text part used for the license file checksum

---
 meta/recipes-multimedia/alsa/alsa-lib_1.1.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/alsa/alsa-lib_1.1.9.bb +1 -1
index 2c63ee7522..ba7e978dbe 100644
@@ -4,7 +4,7 @@ BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
 SECTION = "libs/multimedia"
 LICENSE = "LGPLv2.1 & GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
-                    file://src/socket.c;md5=dd1bc7f44872690224d89c1a9806e495;beginline=1;endline=26 \
+                    file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \
                     "
 
 SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/4 alsa-utils: Trim the text part used for the license file checksum

This avoids including irrelevant information when calculating the license checksum.

License-Update: Trim the text part used for the license file checksum

---
 meta/recipes-multimedia/alsa/alsa-utils_1.1.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/alsa/alsa-utils_1.1.9.bb +1 -1
index 03b5c8de30..c443d3594d 100644
@@ -4,7 +4,7 @@ BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking"
 SECTION = "console/utils"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
-                    file://alsactl/utils.c;beginline=1;endline=20;md5=2ce7f7b6739487fb72c689d46521f958"
+                    file://alsactl/utils.c;beginline=3;endline=18;md5=96cc06a4cebe5eb7975688ffb0e65642"
 DEPENDS = "alsa-lib ncurses libsamplerate0"
 
 PACKAGECONFIG ??= "udev"
Signature · 1 line
2.21.0
#2 lore raw

PATCH 3/4 opkg: Trim the text part used for the license file checksum

In reply to Peter Kjellerstedt

This avoids including irrelevant information when calculating the license checksum.

License-Update: Trim the text part used for the license file checksum

---
 meta/recipes-devtools/opkg/opkg_0.4.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/opkg/opkg_0.4.1.bb +1 -1
index f0ae8b36bd..00ae9c74c2 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "http://code.google.com/p/opkg/"
 BUGTRACKER = "http://code.google.com/p/opkg/issues/list"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
-                    file://src/opkg.c;beginline=2;endline=21;md5=90435a519c6ea69ef22e4a88bcc52fa0"
+                    file://src/opkg.c;beginline=4;endline=18;md5=9f5a1ad5395378a807d6d591e2f92d25"
 
 DEPENDS = "libarchive"
 
Signature · 1 line
2.21.0
#3 lore raw

PATCH 4/4 libpng: Remove duplicate license information

In reply to Peter Kjellerstedt

The LICENSE file contains all the license information so there is no need to also include it from the png.h file (and additionally some lines were left out from the latter).

License-Update: Remove duplicate license information

---
 meta/recipes-multimedia/libpng/libpng_1.6.37.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-multimedia/libpng/libpng_1.6.37.bb +1 -3
index 2ed87a8437..78f3248d73 100644
@@ -2,9 +2,7 @@ SUMMARY = "PNG image format decoding library"
 HOMEPAGE = "http://www.libpng.org/"
 SECTION = "libs"
 LICENSE = "Libpng"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b0085051bf265bac2bfc38bc89f50000\
-                    file://png.h;endline=144;md5=8acd23d544623816b097e07be0139509\
-                    "
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b0085051bf265bac2bfc38bc89f50000"
 DEPENDS = "zlib"
 
 LIBV = "16"
Signature · 1 line
2.21.0