cabextract: add utility to extract Microsft cabinet files
PATCH 1/1 cabextract: add utility to extract Microsft cabinet files
WoA firmware, fonts and some other useful files are being distributed as a Microsoft cabinet files. Add recipes for the cabextract utility, which is used to extract such files.
Cabextract can either use a bundled source tree for libmspack library or an externally provided library. Package the library separately in order to be able to share it with the meta-security layer.
--- .../cabextract/cabextract_1.11.bb | 18 ++++++++++++++++++ .../cabextract/libmspack_0.11alpha.bb | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta-oe/recipes-support/cabextract/cabextract_1.11.bb create mode 100644 meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb
meta-oe/recipes-support/cabextract/cabextract_1.11.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "Software for extracting Microsoft cabinet files" +DESCRIPTION = "tool for extracting Microsoft cabinet files" +HOMEPAGE = "http://www.cabextract.org.uk/" +SECTION = "console/utils" + +LICENSE = "GPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://src/cabextract.c;beginline=4;endline=11;md5=b0a10c6d3843f262114e7ecf91fc7e78" + +SRC_URI = "https://www.cabextract.org.uk/cabextract-${PV}.tar.gz" +SRC_URI[sha256sum] = "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6" + +DEPENDS = "libmspack" + +EXTRA_OECONF = "--with-external-libmspack" + +inherit autotools pkgconfig + +BBCLASSEXTEND += "native nativesdk"
meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb new file +16 -0
@@ -0,0 +1,16 @@ +SUMMARY = "A library for Microsoft compression formats" +DESCRIPTION = "The library provides compressors and decompressors,\ +archivers and dearchivers for Microsoft compression formats: CAB, CHM, WIM,\ +LIT, HLP, KWAJ and SZDD." +HOMEPAGE = "http://www.cabextract.org.uk/libmspack/" +SECTION = "lib" +LICENSE = "LGPL-2.1-only" + +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" + +SRC_URI = "https://www.cabextract.org.uk/libmspack/libmspack-${PV}.tar.gz" +SRC_URI[sha256sum] = "70dd1fb2f0aecc36791b71a1e1840e62173079eadaa081192d1c323a0eeea21b" + +inherit autotools + +BBCLASSEXTEND += "native nativesdk"
Signature · 1 line
2.39.2
fails to build.
https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3893/steps/14/logs/stdio
Quoted 76 lines · Dmitry Baryshkov via lists.openembedded.org
WoA firmware, fonts and some other useful files are being distributed as a Microsoft cabinet files. Add recipes for the cabextract utility, which is used to extract such files.
Cabextract can either use a bundled source tree for libmspack library or an externally provided library. Package the library separately in order to be able to share it with the meta-security layer.
Cc Armin Kuster <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>--- .../cabextract/cabextract_1.11.bb | 18 ++++++++++++++++++ .../cabextract/libmspack_0.11alpha.bb | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta-oe/recipes-support/cabextract/cabextract_1.11.bb create mode 100644 meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bbmeta-oe/recipes-support/cabextract/cabextract_1.11.bb new file +18
-0@@ -0,0 +1,18 @@ +SUMMARY = "Software for extracting Microsoft cabinet files" +DESCRIPTION = "tool for extracting Microsoft cabinet files" +HOMEPAGE = "http://www.cabextract.org.uk/" +SECTION = "console/utils" + +LICENSE = "GPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://src/cabextract.c;beginline=4;endline=11;md5=b0a10c6d3843f262114e7ecf91fc7e78" + +SRC_URI = "https://www.cabextract.org.uk/cabextract-${PV}.tar.gz" +SRC_URI[sha256sum] = "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6" + +DEPENDS = "libmspack" + +EXTRA_OECONF = "--with-external-libmspack" + +inherit autotools pkgconfig + +BBCLASSEXTEND += "native nativesdk"meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb new file +16
-1@@ -0,0 +1,16 @@ +SUMMARY = "A library for Microsoft compression formats" +DESCRIPTION = "The library provides compressors and decompressors,\ +archivers and dearchivers for Microsoft compression formats: CAB, CHM, WIM,\ +LIT, HLP, KWAJ and SZDD." +HOMEPAGE = "http://www.cabextract.org.uk/libmspack/" +SECTION = "lib" +LICENSE = "LGPL-2.1-only" + +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" + +SRC_URI = "https://www.cabextract.org.uk/libmspack/libmspack-${PV}.tar.gz" +SRC_URI[sha256sum] = "70dd1fb2f0aecc36791b71a1e1840e62173079eadaa081192d1c323a0eeea21b" + +inherit autotools + +BBCLASSEXTEND += "native nativesdk" --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110609): https://lists.openembedded.org/g/openembedded-devel/message/110609
Mute This Topic: https://lists.openembedded.org/mt/106365503/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines · Khem Raj
fails to build.
https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3893/steps/14/logs/stdio
So, compiling to the host architecture works (bitbake cabextract-native works), but cross-compiling to the host architecture doesn't seem to work;
| /usr/src/debug/cabextract/1.11/src/cabextract.c:499:(.text.startup+0x103d):
undefined reference to `rpl_fnmatch'
This should be fixed by
https://lore.kernel.org/openembedded-core/[email protected]/
Quoted 72 lines
Quoted 68 lines · Dmitry Baryshkov via lists.openembedded.org
WoA firmware, fonts and some other useful files are being distributed as a Microsoft cabinet files. Add recipes for the cabextract utility, which is used to extract such files.
Cabextract can either use a bundled source tree for libmspack library or an externally provided library. Package the library separately in order to be able to share it with the meta-security layer.
Cc Armin Kuster <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>--- .../cabextract/cabextract_1.11.bb | 18 ++++++++++++++++++ .../cabextract/libmspack_0.11alpha.bb | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta-oe/recipes-support/cabextract/cabextract_1.11.bb create mode 100644 meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bbmeta-oe/recipes-support/cabextract/cabextract_1.11.bb new file +18
-0@@ -0,0 +1,18 @@ +SUMMARY = "Software for extracting Microsoft cabinet files" +DESCRIPTION = "tool for extracting Microsoft cabinet files" +HOMEPAGE = "http://www.cabextract.org.uk/" +SECTION = "console/utils" + +LICENSE = "GPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://src/cabextract.c;beginline=4;endline=11;md5=b0a10c6d3843f262114e7ecf91fc7e78" + +SRC_URI = "https://www.cabextract.org.uk/cabextract-${PV}.tar.gz" +SRC_URI[sha256sum] = "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6" + +DEPENDS = "libmspack" + +EXTRA_OECONF = "--with-external-libmspack" + +inherit autotools pkgconfig + +BBCLASSEXTEND += "native nativesdk"meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb new file +16
-1@@ -0,0 +1,16 @@ +SUMMARY = "A library for Microsoft compression formats" +DESCRIPTION = "The library provides compressors and decompressors,\ +archivers and dearchivers for Microsoft compression formats: CAB, CHM, WIM,\ +LIT, HLP, KWAJ and SZDD." +HOMEPAGE = "http://www.cabextract.org.uk/libmspack/" +SECTION = "lib" +LICENSE = "LGPL-2.1-only" + +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" + +SRC_URI = "https://www.cabextract.org.uk/libmspack/libmspack-${PV}.tar.gz" +SRC_URI[sha256sum] = "70dd1fb2f0aecc36791b71a1e1840e62173079eadaa081192d1c323a0eeea21b" + +inherit autotools + +BBCLASSEXTEND += "native nativesdk" --2.39.2
Quoted 8 lines
Quoted 8 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110609): https://lists.openembedded.org/g/openembedded-devel/message/110609
Mute This Topic: https://lists.openembedded.org/mt/106365503/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
--
With best wishes
Dmitry
fails on riscv as well see
https://errors.yoctoproject.org/Errors/Details/785949/
Quoted 104 lines · Dmitry Baryshkov
Quoted 3 lines · Khem Raj
fails to build.
https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3893/steps/14/logs/stdioSo, compiling to the host architecture works (bitbake cabextract-native works), but cross-compiling to the host architecture doesn't seem to work;
| /usr/src/debug/cabextract/1.11/src/cabextract.c:499:(.text.startup+0x103d):
undefined reference to `rpl_fnmatch'This should be fixed by
https://lore.kernel.org/openembedded-core/[email protected]/Quoted 72 lines
Quoted 68 lines · Dmitry Baryshkov via lists.openembedded.org
WoA firmware, fonts and some other useful files are being distributed as a Microsoft cabinet files. Add recipes for the cabextract utility, which is used to extract such files.
Cabextract can either use a bundled source tree for libmspack library or an externally provided library. Package the library separately in order to be able to share it with the meta-security layer.
Cc Armin Kuster <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>--- .../cabextract/cabextract_1.11.bb | 18 ++++++++++++++++++ .../cabextract/libmspack_0.11alpha.bb | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta-oe/recipes-support/cabextract/cabextract_1.11.bb create mode 100644 meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bbmeta-oe/recipes-support/cabextract/cabextract_1.11.bb new file +18
-0@@ -0,0 +1,18 @@ +SUMMARY = "Software for extracting Microsoft cabinet files" +DESCRIPTION = "tool for extracting Microsoft cabinet files" +HOMEPAGE = "http://www.cabextract.org.uk/" +SECTION = "console/utils" + +LICENSE = "GPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://src/cabextract.c;beginline=4;endline=11;md5=b0a10c6d3843f262114e7ecf91fc7e78" + +SRC_URI = "https://www.cabextract.org.uk/cabextract-${PV}.tar.gz" +SRC_URI[sha256sum] = "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6" + +DEPENDS = "libmspack" + +EXTRA_OECONF = "--with-external-libmspack" + +inherit autotools pkgconfig + +BBCLASSEXTEND += "native nativesdk"meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb new file +16
-1@@ -0,0 +1,16 @@ +SUMMARY = "A library for Microsoft compression formats" +DESCRIPTION = "The library provides compressors and decompressors,\ +archivers and dearchivers for Microsoft compression formats: CAB, CHM, WIM,\ +LIT, HLP, KWAJ and SZDD." +HOMEPAGE = "http://www.cabextract.org.uk/libmspack/" +SECTION = "lib" +LICENSE = "LGPL-2.1-only" + +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" + +SRC_URI = "https://www.cabextract.org.uk/libmspack/libmspack-${PV}.tar.gz" +SRC_URI[sha256sum] = "70dd1fb2f0aecc36791b71a1e1840e62173079eadaa081192d1c323a0eeea21b" + +inherit autotools + +BBCLASSEXTEND += "native nativesdk" --2.39.2
Quoted 8 lines
Quoted 8 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110609): https://lists.openembedded.org/g/openembedded-devel/message/110609
Mute This Topic: https://lists.openembedded.org/mt/106365503/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=---
With best wishes
Dmitry
Quoted 4 lines · Khem Raj
fails on riscv as well see
https://lore.kernel.org/openembedded-core/[email protected]
Quoted 106 lines · Dmitry Baryshkov
Quoted 104 lines · Khem Raj
Quoted 3 lines
fails to build.
https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3893/steps/14/logs/stdioSo, compiling to the host architecture works (bitbake cabextract-native works), but cross-compiling to the host architecture doesn't seem to work;
| /usr/src/debug/cabextract/1.11/src/cabextract.c:499:(.text.startup+0x103d):
undefined reference to `rpl_fnmatch'This should be fixed by
https://lore.kernel.org/openembedded-core/[email protected]/Quoted 72 lines
Quoted 68 lines · Dmitry Baryshkov via lists.openembedded.org
WoA firmware, fonts and some other useful files are being distributed as a Microsoft cabinet files. Add recipes for the cabextract utility, which is used to extract such files.
Cabextract can either use a bundled source tree for libmspack library or an externally provided library. Package the library separately in order to be able to share it with the meta-security layer.
Cc Armin Kuster <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>--- .../cabextract/cabextract_1.11.bb | 18 ++++++++++++++++++ .../cabextract/libmspack_0.11alpha.bb | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta-oe/recipes-support/cabextract/cabextract_1.11.bb create mode 100644 meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bbmeta-oe/recipes-support/cabextract/cabextract_1.11.bb new file +18
-0@@ -0,0 +1,18 @@ +SUMMARY = "Software for extracting Microsoft cabinet files" +DESCRIPTION = "tool for extracting Microsoft cabinet files" +HOMEPAGE = "http://www.cabextract.org.uk/" +SECTION = "console/utils" + +LICENSE = "GPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://src/cabextract.c;beginline=4;endline=11;md5=b0a10c6d3843f262114e7ecf91fc7e78" + +SRC_URI = "https://www.cabextract.org.uk/cabextract-${PV}.tar.gz" +SRC_URI[sha256sum] = "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6" + +DEPENDS = "libmspack" + +EXTRA_OECONF = "--with-external-libmspack" + +inherit autotools pkgconfig + +BBCLASSEXTEND += "native nativesdk"meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb new file +16
-1@@ -0,0 +1,16 @@ +SUMMARY = "A library for Microsoft compression formats" +DESCRIPTION = "The library provides compressors and decompressors,\ +archivers and dearchivers for Microsoft compression formats: CAB, CHM, WIM,\ +LIT, HLP, KWAJ and SZDD." +HOMEPAGE = "http://www.cabextract.org.uk/libmspack/" +SECTION = "lib" +LICENSE = "LGPL-2.1-only" + +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" + +SRC_URI = "https://www.cabextract.org.uk/libmspack/libmspack-${PV}.tar.gz" +SRC_URI[sha256sum] = "70dd1fb2f0aecc36791b71a1e1840e62173079eadaa081192d1c323a0eeea21b" + +inherit autotools + +BBCLASSEXTEND += "native nativesdk" --2.39.2
Quoted 8 lines
Quoted 8 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110609): https://lists.openembedded.org/g/openembedded-devel/message/110609
Mute This Topic: https://lists.openembedded.org/mt/106365503/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=---
With best wishes
Dmitry
Signature · 2 lines
With best wishes Dmitry