Skip to contentSkip to conversation

Fix license segment md5sum boundary

PATCH New Marko Lindqvist 2 participants 12 messages Nov 30, 2012 – Dec 3, 2012

lore
Share & tools
lore
#0 lore raw

Fix most cases where "startline" is used instead of correct "beginline" to tell where license segment begins in file.
Two cases are not handle here, to avoid conflict with other patches in progress:
- coreutils-8.14 is fixed in update to -> 8.20 patch
- libpng

#1 lore raw

PATCH 1/10 net-tools: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment.

---
 meta/recipes-extended/net-tools/net-tools_1.60-23.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/net-tools/net-tools_1.60-23.bb +1 -1
index 309363b..7760877 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://net-tools.berlios.de/"
 BUGTRACKER = "http://bugs.debian.org/net-tools"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
-                    file://ifconfig.c;startline=11;endline=15;md5=da4c7bb79a5d0798faa99ef869721f4a"
+                    file://ifconfig.c;beginline=11;endline=15;md5=d1ca372080ad5401e23ca0afc35cf9ba"
 PR = "r2"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/n/net-tools/net-tools_1.60.orig.tar.gz;name=tarball \
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/10 glib-2.0: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment.

---
 meta/recipes-core/glib-2.0/glib.inc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/glib-2.0/glib.inc +3 -3
index ed9bed9..bc831e6 100644
@@ -4,11 +4,11 @@ DESCRIPTION = "GLib is a general-purpose utility library, which provides many us
 # docs/reference/COPYING is with a 'public domai'-like license!
 LICENSE = "LGPLv2+ & BSD & PD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
-                    file://glib/glib.h;startline=4;endline=17;md5=a4332fe58b076f29d07c9c066d2967b6 \
+                    file://glib/glib.h;beginline=4;endline=17;md5=62b7bd0d17b98573dfb87495ac1c5b4c \
                     file://gmodule/COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
-                    file://gmodule/gmodule.h;startline=4;endline=17;md5=76ab161b37202cd004073c42fac276ed \
+                    file://gmodule/gmodule.h;beginline=4;endline=17;md5=62b7bd0d17b98573dfb87495ac1c5b4c \
                     file://glib/pcre/COPYING;md5=266ebc3ff74ee9ce6fad65577667c0f4 \
-                    file://glib/pcre/pcre.h;startline=11;endline=35;md5=2ffb79f0a0933f282f4f36cda635683d \
+                    file://glib/pcre/pcre.h;beginline=11;endline=35;md5=de27f2bf633d20a2b7af0b1983423283 \
                     file://docs/reference/COPYING;md5=f51a5100c17af6bae00735cd791e1fcc"
 BUGTRACKER = "http://bugzilla.gnome.org"
 SECTION = "libs"
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 3/10 ltp: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment.

---
 meta/recipes-extended/ltp/ltp_20120903.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/ltp/ltp_20120903.bb +1 -1
index 1bc1d60..87c45b0 100644
@@ -6,7 +6,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2 & GPLv2+ & LGPLv2+ & LGPLv2.1+ & BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 		    file://testcases/kernel/controllers/freezer/COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
-		    file://testcases/kernel/controllers/freezer/run_freezer.sh;startline=5;endline=17;md5=aeac3f7691caa2e76fd5a732fbd6510d \
+		    file://testcases/kernel/controllers/freezer/run_freezer.sh;beginline=5;endline=17;md5=86a61d2c042d59836ffb353a21456498 \
 		    file://testcases/kernel/fs/ext4-new-features/ffsb-6.0-rc2/COPYING;md5=c46082167a314d785d012a244748d803 \
 		    file://testcases/kernel/hotplug/memory_hotplug/COPYING;md5=e04a2e542b2b8629bf9cd2ba29b0fe41 \
 		    file://testcases/kernel/hotplug/cpu_hotplug/COPYING;md5=e04a2e542b2b8629bf9cd2ba29b0fe41 \
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 4/10 xcb: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment.

---
 meta/recipes-graphics/xcb/xcb-util-image_0.3.9.bb |    2 +-
 meta/recipes-graphics/xcb/xcb-util-wm_0.3.9.bb    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-graphics/xcb/xcb-util-image_0.3.9.bb +1 -1
index 43ef5a7..89d79ab 100644
@@ -4,7 +4,7 @@ DEPENDS += "xcb-util"
 
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://image/xcb_image.c;endline=24;md5=eafdf965cfb89955fdedf75054223fb4 \
-                    file://image/xcb_image.h;startline=4;endline=27;md5=4e4f1b0fae5694beed407dea01f38212"
+                    file://image/xcb_image.h;beginline=4;endline=27;md5=48cd25ae55e7de525fe1e1a3a7672e1c"
 PR = "r0"
 
 SRC_URI[md5sum] = "fabb80b36490b00fc91289e2c7f66770"
meta/recipes-graphics/xcb/xcb-util-wm_0.3.9.bb +2 -2
index 4d57ec2..465ccd4 100644
@@ -2,9 +2,9 @@ require xcb-util.inc
 
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://ewmh/ewmh.c;endline=27;md5=63fd80552d7dc886f4eb267610d5bb9d \
-					file://ewmh/xcb_ewmh.h;startline=4;endline=30;md5=7bcd2d64f5615707f95ea8826a93561f \
+					file://ewmh/xcb_ewmh.h;beginline=4;endline=30;md5=73b589f90ef90b4a43998955daad5cd8 \
 					file://icccm/icccm.c;endline=28;md5=e2b3240a0c197e8977adde2a5cf18d50 \
-					file://icccm/xcb_icccm.h;startline=4;endline=31;md5=0af3f37474085b0517dbbae4cb4ce13c \
+					file://icccm/xcb_icccm.h;beginline=4;endline=31;md5=393772b7b07b9868d479d538238c1d8a \
 					"
 PR = "r0"
 
Signature · 1 line
1.7.10.4
#5 lore raw

PATCH 5/10 libdaemon: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment.

---
 meta/recipes-support/libdaemon/libdaemon_0.14.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libdaemon/libdaemon_0.14.bb +1 -1
index 2aafad5..e93a357 100644
@@ -4,7 +4,7 @@ AUTHOR = "Lennart Poettering <[email protected]>"
 HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/"
 LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
-                    file://libdaemon/daemon.h;startline=9;endline=21;md5=94c709a83d8251377c322322176d4ffe"
+                    file://libdaemon/daemon.h;beginline=9;endline=21;md5=bd9fbe57cd96d1a5848a8ba12d9a6bf4"
 PR = "r0"
 
 SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz"
Signature · 1 line
1.7.10.4
#6 lore raw

PATCH 6/10 gmp: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment.

---
 meta/recipes-support/gmp/gmp_4.2.1.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/gmp/gmp_4.2.1.bb +1 -1
index 49ee59b..4da8381 100644
@@ -5,7 +5,7 @@ BUGTRACKER = "http://gmplib.org/mailman/listinfo/gmp-bugs"
 LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \
                     file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \
-                    file://gmp-h.in;startline=6;endline=21;md5=5e25ffd16996faba8c1cd27b04b16099"
+                    file://gmp-h.in;beginline=6;endline=21;md5=e056f74a12c3277d730dbcfb85d2ca34"
 PR = "r2"
 
 SRC_URI = "${GNU_MIRROR}/gmp/${BP}.tar.bz2 \
Signature · 1 line
1.7.10.4
#7 lore raw

PATCH 7/10 coreutils: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. Old md5sum was calculated from the beginning of the file, not from beginning of the license segment.

---
 meta/recipes-core/coreutils/coreutils_6.9.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/coreutils/coreutils_6.9.bb +1 -1
index ffdd2af..1b25320 100644
@@ -7,7 +7,7 @@ HOMEPAGE = "http://www.gnu.org/software/coreutils/"
 BUGTRACKER = "http://debbugs.gnu.org/coreutils"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
-                    file://src/ls.c;startline=4;endline=16;md5=482a96d4f25010a4e13f8743e0c3685e"
+                    file://src/ls.c;beginline=4;endline=16;md5=15ed60f67b1db5fedd5dbc37cf8a9543"
 PR = "r3"
 DEPENDS = "coreutils-native-${PV}"
 DEPENDS_class-native = "gettext-native"
Signature · 1 line
1.7.10.4
#8 lore raw

PATCH 8/10 uclibc: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. This change has no effect on md5sum as license segments from the beginning of the file.

---
 meta/recipes-core/uclibc/uclibc.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/uclibc/uclibc.inc +1 -1
index 707b14e..c25c4d1 100644
@@ -12,7 +12,7 @@ LICENSE = "LGPLv2.1+"
 SECTION = "libs"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 		    file://COPYING.LIB.boilerplate;md5=aaddeadcddeb918297e0e4afc52ce46f \
-file://${S}/test/regex/testregex.c;startline=1;endline=31;md5=234efb227d0a40677f895e4a1e26e960"
+file://${S}/test/regex/testregex.c;beginline=1;endline=31;md5=234efb227d0a40677f895e4a1e26e960"
 INC_PR = "r8"
 
 require uclibc-config.inc
Signature · 1 line
1.7.10.4
#9 lore raw

PATCH 9/10 pong-clock: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. This change has no effect on md5sum as license segments from the beginning of the file.

---
 meta/recipes-graphics/pong-clock/pong-clock_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/pong-clock/pong-clock_1.0.bb +1 -1
index d352d87..360f312 100644
@@ -4,7 +4,7 @@ DEPENDS = "virtual/libx11 xdmcp xau"
 
 SRC_URI = "file://pong-clock-no-flicker.c"
 
-LIC_FILES_CHKSUM = "file://pong-clock-no-flicker.c;startline=0;endline=23;md5=dd248d50f73f746d1ee78586b0b2ebd3"
+LIC_FILES_CHKSUM = "file://pong-clock-no-flicker.c;beginline=1;endline=23;md5=dd248d50f73f746d1ee78586b0b2ebd3"
 
 S = "${WORKDIR}"
 
Signature · 1 line
1.7.10.4
#10 lore raw

PATCH 10/10 xorg-app: fix license segment md5sum boundary

Replaced incorrect "startline" with correct "beginline" for telling where license segment in file begins. This change has no effect on md5sum as license segments from the beginning of the file.

---
 meta/recipes-graphics/xorg-app/xev_1.2.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/xorg-app/xev_1.2.0.bb +1 -1
index 8d45e2e..5248ea1 100644
@@ -1,5 +1,5 @@
 require xorg-app-common.inc
-LIC_FILES_CHKSUM = "file://xev.c;startline=0;endline=35;md5=2f39a0038b59269c1e62efae64cfd056"
+LIC_FILES_CHKSUM = "file://xev.c;beginline=1;endline=35;md5=2f39a0038b59269c1e62efae64cfd056"
 DESCRIPTION = "X Event Viewer"
 LICENSE = "MIT"
 PE = "1"
Signature · 1 line
1.7.10.4
#11 lore raw
In reply to Marko Lindqvist
Quoted 6 lines · Marko Lindqvist

Fix most cases where "startline" is used instead of correct "beginline" to tell where license segment begins in file.
Two cases are not handle here, to avoid conflict with other patches in progress:
- coreutils-8.14 is fixed in update to -> 8.20 patch
- libpng

Thanks for these fixes, they've merged to master.

Cheers,

Richard