summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/unzip/unzip_6.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/unzip/unzip_6.0.bb')
-rw-r--r--meta/recipes-extended/unzip/unzip_6.0.bb15
1 files changed, 12 insertions, 3 deletions
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index c1ea0a9a2c..27076d5d9b 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -1,10 +1,10 @@
1SUMMARY = "Utilities for extracting and viewing files in .zip archives" 1SUMMARY = "Utilities for extracting and viewing files in .zip archives"
2HOMEPAGE = "http://www.info-zip.org" 2HOMEPAGE = "http://www.info-zip.org"
3DESCRIPTION = "Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc."
3SECTION = "console/utils" 4SECTION = "console/utils"
4LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29"
6PE = "1" 7PE = "1"
7PR = "r5"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz \ 9SRC_URI = "${SOURCEFORGE_MIRROR}/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz \
10 file://avoid-strip.patch \ 10 file://avoid-strip.patch \
@@ -25,12 +25,21 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/
25 file://CVE-2019-13232_p1.patch \ 25 file://CVE-2019-13232_p1.patch \
26 file://CVE-2019-13232_p2.patch \ 26 file://CVE-2019-13232_p2.patch \
27 file://CVE-2019-13232_p3.patch \ 27 file://CVE-2019-13232_p3.patch \
28 file://unzip_optimization.patch \
29 file://0001-configure-Pass-LDFLAGS-to-tests-doing-link-step.patch \
30 file://CVE-2021-4217.patch \
31 file://CVE-2022-0529.patch \
32 file://CVE-2022-0530.patch \
33 file://0001-configure-Add-correct-system-headers-and-prototypes-.patch \
34 file://0001-unix-configure-fix-detection-for-cross-compilation.patch \
28" 35"
29UPSTREAM_VERSION_UNKNOWN = "1" 36UPSTREAM_VERSION_UNKNOWN = "1"
30 37
31SRC_URI[md5sum] = "62b490407489521db863b523a7f86375" 38SRC_URI[md5sum] = "62b490407489521db863b523a7f86375"
32SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37" 39SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
33 40
41CVE_STATUS[CVE-2008-0888] = "fixed-version: Patch from https://bugzilla.redhat.com/attachment.cgi?id=293893&action=diff applied to 6.0 source"
42
34# exclude version 5.5.2 which triggers a false positive 43# exclude version 5.5.2 which triggers a false positive
35UPSTREAM_CHECK_REGEX = "unzip(?P<pver>(?!552).+)\.tgz" 44UPSTREAM_CHECK_REGEX = "unzip(?P<pver>(?!552).+)\.tgz"
36 45
@@ -44,7 +53,7 @@ EXTRA_OEMAKE = "-e MAKEFLAGS= STRIP=true LF2='' \
44 'CF_NOOPT=-I. -Ibzip2 -DUNIX ${CFLAGS}'" 53 'CF_NOOPT=-I. -Ibzip2 -DUNIX ${CFLAGS}'"
45 54
46export LD = "${CC}" 55export LD = "${CC}"
47LD_class-native = "${CC}" 56LD:class-native = "${CC}"
48 57
49do_compile() { 58do_compile() {
50 oe_runmake -f unix/Makefile generic 59 oe_runmake -f unix/Makefile generic
@@ -61,7 +70,7 @@ inherit update-alternatives
61 70
62ALTERNATIVE_PRIORITY = "100" 71ALTERNATIVE_PRIORITY = "100"
63 72
64ALTERNATIVE_${PN} = "unzip" 73ALTERNATIVE:${PN} = "unzip"
65ALTERNATIVE_LINK_NAME[unzip] = "${bindir}/unzip" 74ALTERNATIVE_LINK_NAME[unzip] = "${bindir}/unzip"
66 75
67BBCLASSEXTEND = "native nativesdk" 76BBCLASSEXTEND = "native nativesdk"