Received: from mail.stusta.mhn.de (mail.stusta.mhn.de [141.84.69.5]) by mx.groups.io with SMTP id smtpd.web10.1387.1589926734923087994 for ; Tue, 19 May 2020 15:18:55 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@stusta.de header.s=default header.b=O/o5Y8rK; spf=pass (domain: stusta.mhn.de, ip: 141.84.69.5, mailfrom: srs0=ypzx=7b=stusta.de=bunk@stusta.mhn.de) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.stusta.mhn.de (Postfix) with ESMTPSA id 49RVf51b2Rz3r for ; Wed, 20 May 2020 00:18:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stusta.de; s=default; t=1589926733; bh=Jimgi02aMDX4bRZUNN8pQ7epkT1p0kSQj8CesdUbk3U=; h=From:To:Subject:Date:From; b=O/o5Y8rKRDldVdY1PGM9v2oX0xQUUkngWsXEMBEZl9ztXcev+o7y6uuYm3jR8cmR3 sT/rdDj+i/XkeNaRRvJ7055sZxYbO+7cmO5KW45P6mIlTZtdO+iD4gvf/nWnDerVJW S7LmIX9P0V5Kjo1tV+5Df+6Xl187KqH2DWrAN+NuqTYz60ebiFexsIPQj+Ul6t5/2V hUa8CGdLfJibLvyZAoSGjp9aIP0cDOber50w82KjLeMDKh+yrV6X781m/JMDtEhU0l Ew5AsRKWU/ET83I4GGwLGIsWidEvAbxZBe/vNdzpIyo0l1T+XGZIxgkKIjAZPGzJ/p IAtjT7+s6idFNya+a0vA2V6FUItGyJ8TdsSaRt6Jkt65A1fQebODnod3b0uLAT1Lei wwWiAHC0MpVQu/2GjdZI7nup+GSN8sMOtfx5SEsWbkGguijZVHIYbzMG4M+CU0jLBn nkILvURmTFMVJOyEWrGxFu21oLSxyFZpGvOqOFAfMVNmR+32QpK+xqZtpm6BiSieEV nYapHvNrteEFp3XpAbu+zZexb9GDJocW4OGqwJcdlf8OSZUJbC9NhpgaraSHOClgUa J6RuZYrgK/g5YNwVhqvD70dJBUjczNIkm1u85iCzQWVpsJ+c9R+oD/u5FwyIWSCJJt c24RgaxBas5+rkjFqgGN7OjI= From: "Adrian Bunk" To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][PATCH v2] unicode-ucd: Stop broken license downloading Date: Wed, 20 May 2020 01:18:52 +0300 Message-Id: <20200519221852.30350-1-bunk@stusta.de> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable WARNING: unicode-ucd-12.1.0-r0 do_fetch: Checksum mismatch for local file= /home/bunk/yoctomaster/yocto-tmp/downloads/unicode.org.license.html Cleaning and trying again. WARNING: unicode-ucd-12.1.0-r0 do_fetch: Renaming /home/bunk/yoctomaster/= yocto-tmp/downloads/unicode.org.license.html to /home/bunk/yoctomaster/yo= cto-tmp/downloads/unicode.org.license.html_bad-checksum_e9dd7d435db23241b= e3be21b5fca729b5cf883c8c039a70ea093031420d06abb WARNING: unicode-ucd-12.1.0-r0 do_fetch: Checksum failure encountered wit= h download of https://www.unicode.org/license.html;name=3Dlicense;subdir=3D= unicode-ucd-12.1.0;downloadfilename=3Dunicode.org.license.html - will att= empt other sources if available This downloaded a license file from upstream. The upstream file did not match (copyright year changed). A stale copy was downloaded from a mirror instead and checked. The stale file with known contents never changes. Replace with a dummy check on a local copy of the license file. License checksum changed due to dos2unix conversion. Signed-off-by: Adrian Bunk --- .../unicode-ucd/files/license.html | 98 +++++++++++++++++++ .../unicode-ucd/unicode-ucd_12.1.0.bb | 7 +- 2 files changed, 100 insertions(+), 5 deletions(-) create mode 100644 meta-oe/recipes-support/unicode-ucd/files/license.htm= l diff --git a/meta-oe/recipes-support/unicode-ucd/files/license.html b/met= a-oe/recipes-support/unicode-ucd/files/license.html new file mode 100644 index 000000000..a02442ad9 --- /dev/null +++ b/meta-oe/recipes-support/unicode-ucd/files/license.html @@ -0,0 +1,98 @@ + + + + + + + + + + + + +Unicode License Agreement + + + + + + + + + + + + + + + + + + + +
+ + +
+

UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND= SOFTWARE

+ +
+See Terms of Use =
for definitions of Unicode Inc.'s
+Data Files and Software.
+
+NOTICE TO USER: Carefully read the following legal agreement.
+BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
+DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
+YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
+TERMS AND CONDITIONS OF THIS AGREEMENT.
+IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
+THE DATA FILES OR SOFTWARE.
+
+COPYRIGHT AND PERMISSION NOTICE
+
+Copyright =C2=A9 1991-2019 Unicode, Inc. All rights reserved.
+Distributed under the Terms of Use in https://www.unicode.org/copyright.=
html.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Unicode data files and any associated documentation
+(the "Data Files") or Unicode software and any associated documentation
+(the "Software") to deal in the Data Files or Software
+without restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, and/or sell copies of
+the Data Files or Software, and to permit persons to whom the Data Files
+or Software are furnished to do so, provided that either
+(a) this copyright and permission notice appear with all copies
+of the Data Files or Software, or
+(b) this copyright and permission notice appear in associated
+Documentation.
+
+THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT OF THIRD PARTY RIGHTS.
+IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
+NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
+DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THE DATA FILES OR SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale,
+use or other dealings in these Data Files or Software without prior
+written authorization of the copyright holder.
+
+ +
+ + + +
+ + diff --git a/meta-oe/recipes-support/unicode-ucd/unicode-ucd_12.1.0.bb b/= meta-oe/recipes-support/unicode-ucd/unicode-ucd_12.1.0.bb index 89ab565ce..b29bb784e 100644 --- a/meta-oe/recipes-support/unicode-ucd/unicode-ucd_12.1.0.bb +++ b/meta-oe/recipes-support/unicode-ucd/unicode-ucd_12.1.0.bb @@ -1,18 +1,15 @@ SUMMARY =3D "Unicode Character Database" HOMEPAGE =3D "https://unicode.org/ucd/" LICENSE =3D "MIT" -LIC_FILES_CHKSUM =3D "file://unicode.org.license.html;beginline=3D42;end= line=3D85;md5=3D67619d0c52706853c0256514e7fd04cd" +LIC_FILES_CHKSUM =3D "file://../license.html;beginline=3D42;endline=3D85= ;md5=3Dddcaebcc17ab633995f12c383599f377" =20 SRC_URI =3D " \ https://www.unicode.org/Public/zipped/${PV}/UCD.zip;name=3Ducd;subdi= r=3Ducd \ - https://www.unicode.org/license.html;name=3Dlicense;subdir=3D${BP};d= ownloadfilename=3Dunicode.org.license.html \ + file://license.html \ " SRC_URI[ucd.md5sum] =3D "430cbdac2615451571dd69a976dd08f6" SRC_URI[ucd.sha256sum] =3D "25ba51a0d4c6fa41047b7a5e5733068d4a734588f055= f61e85f450097834a0a6" =20 -SRC_URI[license.md5sum] =3D "f03bafb623258f85ff2032c1ce567b7c" -SRC_URI[license.sha256sum] =3D "983225207de8a707d0903a8d70fb7a4b28c5e0f6= 4f2366e84a6192a2d618fed4" - inherit allarch =20 do_configure[noexec] =3D "1" --=20 2.17.1