diff options
author | zhengruoqin <zhengrq.fnst@fujitsu.com> | 2021-12-07 08:05:41 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-08 20:22:11 +0000 |
commit | ddc5baf4d97570ec80054e7770ec71c2c05cfdc1 (patch) | |
tree | 0512f407044607a58d75c1bc68e4fcfd046d97cb | |
parent | 02f7376bb9c86262e8363262385cd506cb5ced33 (diff) | |
download | poky-ddc5baf4d97570ec80054e7770ec71c2c05cfdc1.tar.gz |
opkg: upgrade 0.4.5 -> 0.5.0
Remove unsupported openssl and option --disable-pathfinder
[RP: Drop openssl QA related warning]
(From OE-Core rev: 9e2a5d6557ca7d2c3aea39cfe18003e35310db34)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/opkg/opkg_0.5.0.bb (renamed from meta/recipes-devtools/opkg/opkg_0.4.5.bb) | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/meta/recipes-devtools/opkg/opkg_0.4.5.bb b/meta/recipes-devtools/opkg/opkg_0.5.0.bb index 1fe6ed5ecb..f7d8abb806 100644 --- a/meta/recipes-devtools/opkg/opkg_0.4.5.bb +++ b/meta/recipes-devtools/opkg/opkg_0.5.0.bb | |||
@@ -18,8 +18,7 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz | |||
18 | file://run-ptest \ | 18 | file://run-ptest \ |
19 | " | 19 | " |
20 | 20 | ||
21 | SRC_URI[md5sum] = "5dc41ad37d88803b5e0f456a9c5a0811" | 21 | SRC_URI[sha256sum] = "559c3e1b893abaa1dd473ce3a9a5f7dd3f60ceb6cd14caaef76ddf0f7721ad1c" |
22 | SRC_URI[sha256sum] = "a1214a75fa34fb9228db8da47308e0e711b1c93fd8938cf164c10fd28eb50f1e" | ||
23 | 22 | ||
24 | # This needs to be before ptest inherit, otherwise all ptest files end packaged | 23 | # This needs to be before ptest inherit, otherwise all ptest files end packaged |
25 | # in libopkg package if OPKGLIBDIR == libdir, because default | 24 | # in libopkg package if OPKGLIBDIR == libdir, because default |
@@ -39,11 +38,9 @@ PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\ | |||
39 | " | 38 | " |
40 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" | 39 | PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" |
41 | PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl" | 40 | PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl" |
42 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | ||
43 | PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" | 41 | PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256" |
44 | PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" | 42 | PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv" |
45 | 43 | ||
46 | EXTRA_OECONF += " --disable-pathfinder" | ||
47 | EXTRA_OECONF:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}" | 44 | EXTRA_OECONF:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}" |
48 | 45 | ||
49 | do_install:append () { | 46 | do_install:append () { |
@@ -60,19 +57,6 @@ do_install_ptest () { | |||
60 | sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile | 57 | sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile |
61 | } | 58 | } |
62 | 59 | ||
63 | WARN_QA:append = " openssl-deprecation" | ||
64 | QAPKGTEST[openssl-deprecation] = "package_qa_check_openssl_deprecation" | ||
65 | def package_qa_check_openssl_deprecation (package, d, messages): | ||
66 | sane = True | ||
67 | |||
68 | pkgconfig = (d.getVar("PACKAGECONFIG") or "").split() | ||
69 | if pkgconfig and 'openssl' in pkgconfig: | ||
70 | oe.qa.add_message(messages, 'openssl-deprecation', '"openssl" in opkg.bb PACKAGECONFIG. Feed signature checking with OpenSSL will be deprecated in the next opkg release. Consider using GPG checking instead.') | ||
71 | sane = False | ||
72 | |||
73 | return sane | ||
74 | |||
75 | |||
76 | RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" | 60 | RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" |
77 | RDEPENDS:${PN}:class-native = "" | 61 | RDEPENDS:${PN}:class-native = "" |
78 | RDEPENDS:${PN}:class-nativesdk = "" | 62 | RDEPENDS:${PN}:class-nativesdk = "" |