From 0928f1d3c06c40431714c323fee76e6bc09b6564 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 27 Jul 2023 16:36:19 +0200 Subject: jquery: upgrade 3.6.3 -> 3.7.0 License-Update: needed lines shifted upwards (From OE-Core rev: 9cd564df491cadf79d2932c9d648dee2624d3110) Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/jquery/jquery_3.6.3.bb | 38 ---------------------------- meta/recipes-devtools/jquery/jquery_3.7.0.bb | 38 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta/recipes-devtools/jquery/jquery_3.6.3.bb create mode 100644 meta/recipes-devtools/jquery/jquery_3.7.0.bb diff --git a/meta/recipes-devtools/jquery/jquery_3.6.3.bb b/meta/recipes-devtools/jquery/jquery_3.6.3.bb deleted file mode 100644 index db4745ad7a..0000000000 --- a/meta/recipes-devtools/jquery/jquery_3.6.3.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "jQuery is a fast, small, and feature-rich JavaScript library" -HOMEPAGE = "https://jquery.com/" -DESCRIPTION = "${SUMMARY}" -LICENSE = "MIT" -SECTION = "devel" -LIC_FILES_CHKSUM = "file://${S}/${BP}.js;beginline=8;endline=10;md5=9c7c6e9ab275fc1e0d99cb7180ecd14c" - -# unpack items to ${S} so the archiver can see them -# -SRC_URI = "\ - https://code.jquery.com/${BP}.js;name=js;subdir=${BP} \ - https://code.jquery.com/${BP}.min.js;name=min;subdir=${BP} \ - https://code.jquery.com/${BP}.min.map;name=map;subdir=${BP} \ - " - -SRC_URI[js.sha256sum] = "9d02ee01919145c20b03ee9d3013af7118793dedf5d2c0696a773af90066c953" -SRC_URI[min.sha256sum] = "a6f3f0faea4b3d48e03176341bef0ed3151ffbf226d4c6635f1c6039c0500575" -SRC_URI[map.sha256sum] = "156b740931ade6c1a98d99713eeb186f93847ffc56057e973becab4d037ed53a" - -UPSTREAM_CHECK_REGEX = "jquery-(?P\d+(\.\d+)+)\.js" - -# https://github.com/jquery/jquery/issues/3927 -CVE_STATUS[CVE-2007-2379] = "upstream-wontfix: There are ways jquery can expose security issues but any issues \ -are in the apps exposing them and there is little we can directly do." - -inherit allarch - -do_install() { - install -d ${D}${datadir}/javascript/${BPN}/ - install -m 644 ${S}/${BP}.js ${D}${datadir}/javascript/${BPN}/${BPN}.js - install -m 644 ${S}/${BP}.min.js ${D}${datadir}/javascript/${BPN}/${BPN}.min.js - install -m 644 ${S}/${BP}.min.map ${D}${datadir}/javascript/${BPN}/${BPN}.min.map -} - -PACKAGES = "${PN}" -FILES:${PN} = "${datadir}" - -BBCLASSEXTEND += "native nativesdk" diff --git a/meta/recipes-devtools/jquery/jquery_3.7.0.bb b/meta/recipes-devtools/jquery/jquery_3.7.0.bb new file mode 100644 index 0000000000..eceed9c9dd --- /dev/null +++ b/meta/recipes-devtools/jquery/jquery_3.7.0.bb @@ -0,0 +1,38 @@ +SUMMARY = "jQuery is a fast, small, and feature-rich JavaScript library" +HOMEPAGE = "https://jquery.com/" +DESCRIPTION = "${SUMMARY}" +LICENSE = "MIT" +SECTION = "devel" +LIC_FILES_CHKSUM = "file://${S}/${BP}.js;beginline=5;endline=7;md5=9c7c6e9ab275fc1e0d99cb7180ecd14c" + +# unpack items to ${S} so the archiver can see them +# +SRC_URI = "\ + https://code.jquery.com/${BP}.js;name=js;subdir=${BP} \ + https://code.jquery.com/${BP}.min.js;name=min;subdir=${BP} \ + https://code.jquery.com/${BP}.min.map;name=map;subdir=${BP} \ + " + +SRC_URI[js.sha256sum] = "265a924c42de4784cba8fd0e1bd77133bc833ea5f5a31fc77e08922c18fcfa43" +SRC_URI[min.sha256sum] = "d8f9afbf492e4c139e9d2bcb9ba6ef7c14921eb509fb703bc7a3f911b774eff8" +SRC_URI[map.sha256sum] = "cae47e834ee977975a48c851b165cc52ea916cc968ba7d280b1293f573cd1a48" + +UPSTREAM_CHECK_REGEX = "jquery-(?P\d+(\.\d+)+)\.js" + +# https://github.com/jquery/jquery/issues/3927 +CVE_STATUS[CVE-2007-2379] = "upstream-wontfix: There are ways jquery can expose security issues but any issues \ +are in the apps exposing them and there is little we can directly do." + +inherit allarch + +do_install() { + install -d ${D}${datadir}/javascript/${BPN}/ + install -m 644 ${S}/${BP}.js ${D}${datadir}/javascript/${BPN}/${BPN}.js + install -m 644 ${S}/${BP}.min.js ${D}${datadir}/javascript/${BPN}/${BPN}.min.js + install -m 644 ${S}/${BP}.min.map ${D}${datadir}/javascript/${BPN}/${BPN}.min.map +} + +PACKAGES = "${PN}" +FILES:${PN} = "${datadir}" + +BBCLASSEXTEND += "native nativesdk" -- cgit v1.2.3-54-g00ecf