Please drop this patch. The newer patch from Hongxu Jia adds the same component under different recipe name and is more feature-rich.
Peter > -----Original Message----- > From: Nagy, Miroslav (FT D EU SK BFS1) <miroslav.n...@siemens.com> > Sent: Monday, December 16, 2024 12:44 > To: openembedded-devel@lists.openembedded.org > Cc: Nagy, Miroslav (FT D EU SK BFS1) <miroslav.n...@siemens.com>; Marko, > Peter (FT D EU SK BFS1) <peter.ma...@siemens.com> > Subject: [meta-oe][PATCH] 7-zip: add new recipe > > From: Miroslav Nagy <miroslav.n...@siemens.com> > > This recipe should eventually replace p7zip recipe. > p7zip is very old and not updated with unfixed security vulnerabilities. > Using real upstream package should solve this. > > Signed-off-by: Miroslav Nagy <miroslav.n...@siemens.com> > Reviewed-by: Peter Marko <peter.ma...@siemens.com> > --- > meta-oe/recipes-extended/7-zip/7-zip_24.09.bb | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 meta-oe/recipes-extended/7-zip/7-zip_24.09.bb > > diff --git a/meta-oe/recipes-extended/7-zip/7-zip_24.09.bb b/meta-oe/recipes- > extended/7-zip/7-zip_24.09.bb > new file mode 100644 > index 000000000..6e8d0ba77 > --- /dev/null > +++ b/meta-oe/recipes-extended/7-zip/7-zip_24.09.bb > @@ -0,0 +1,28 @@ > +SUMMARY = "7-Zip is a file archiver with a high compression ratio." > +HOMEPAGE = "https://www.7-zip.org" > +LICENSE = "LGPL-2.1-or-later & BSD-3-Clause & unRAR" > +LIC_FILES_CHKSUM = > "file://DOC/copying.txt;md5=b0d181292c99cf9bb2ae9166dd3a0239 \ > + > file://DOC/unRarLicense.txt;md5=9c87ddde469ef94aed153b0951d088de \ > + > file://DOC/License.txt;md5=8bfe22e0285a3043b61ea408d234c55d" > +CVE_PRODUCT = "7-zip 7zip" > + > +PV_WITHOUT_DOT = "${@d.getVar('PV').replace('.', '')}" > + > +SRC_URI = "https://www.7-zip.org/a/7z${PV_WITHOUT_DOT}- > src.tar.xz;subdir=${BP}" > +SRC_URI[sha256sum] = > "49c05169f49572c1128453579af1632a952409ced028259381dac30726b6133a" > + > +B = "${WORKDIR}/build" > + > +EXTRA_OEMAKE += 'LDFLAGS="${LDFLAGS}" LFLAGS_STRIP="" O="${B}"' > + > +do_compile() { > + cd ${S}/CPP/7zip/Bundles/Alone2 > + oe_runmake --file makefile.gcc > +} > + > +do_install() { > + install -d ${D}${bindir} > + install -m 0755 ${B}/7zz ${D}${bindir}/7zz > +} > + > +BBCLASSEXTEND = "native nativesdk" > -- > 2.39.5
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#114399): https://lists.openembedded.org/g/openembedded-devel/message/114399 Mute This Topic: https://lists.openembedded.org/mt/110142798/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-