From ada1a900b022f0330a9812e4f4c0248961de1048 Mon Sep 17 00:00:00 2001 From: Ralph Siemsen Date: Fri, 8 Apr 2022 22:16:44 -0400 Subject: [PATCH] gzip: upgrade 1.11 -> 1.12 This includes a fix for CVE-2022-1271. The existing "wrong path" patch needed to be refreshed, because the context changed due to the following upstream change: https://git.savannah.gnu.org/cgit/gzip.git/commit/?id=31193bbd13cd2807d8ccaa2ba5b072303d5425e7 Signed-off-by: Ralph Siemsen Signed-off-by: Richard Purdie --- .../{gzip-1.11 => gzip-1.12}/wrong-path-fix.patch | 14 +++++++------- .../gzip/{gzip_1.11.bb => gzip_1.12.bb} | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) rename meta/recipes-extended/gzip/{gzip-1.11 => gzip-1.12}/wrong-path-fix.patch (79%) rename meta/recipes-extended/gzip/{gzip_1.11.bb => gzip_1.12.bb} (94%) diff --git a/meta/recipes-extended/gzip/gzip-1.11/wrong-path-fix.patch b/meta/recipes-extended/gzip/gzip-1.12/wrong-path-fix.patch similarity index 79% rename from meta/recipes-extended/gzip/gzip-1.11/wrong-path-fix.patch rename to meta/recipes-extended/gzip/gzip-1.12/wrong-path-fix.patch index 7c37bc8d2d9..7f9e249de8a 100644 --- a/meta/recipes-extended/gzip/gzip-1.11/wrong-path-fix.patch +++ b/meta/recipes-extended/gzip/gzip-1.12/wrong-path-fix.patch @@ -18,19 +18,19 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am -index d4ecc3f..e4657d2 100644 +index 4f51b61..80a5ddf 100644 --- a/Makefile.am +++ b/Makefile.am -@@ -82,8 +82,7 @@ SUFFIXES = .in +@@ -93,8 +93,7 @@ SUFFIXES = .in .in: $(AM_V_GEN)rm -f $@-t $@ \ - && sed \ + && sed \ - -e 's|/bin/sh|$(SHELL)|g' \ - -e 's|[@]GREP@|$(GREP)|g' \ + -e 's|[@]GREP@|$(base_bindir)/grep|g' \ - -e 's|[@]VERSION@|$(VERSION)|g' \ - $(srcdir)/$@.in >$@-t \ - && chmod a=rx $@-t \ --- + -e "s|'gzip'|$(GZIP_TRANSFORMED)|g" \ + -e "s|'zdiff'|$(ZDIFF_TRANSFORMED)|g" \ + -e "s|'zgrep'|$(ZGREP_TRANSFORMED)|g" \ +-- 2.7.4 diff --git a/meta/recipes-extended/gzip/gzip_1.11.bb b/meta/recipes-extended/gzip/gzip_1.12.bb similarity index 94% rename from meta/recipes-extended/gzip/gzip_1.11.bb rename to meta/recipes-extended/gzip/gzip_1.12.bb index 321c9c31a48..14de50b2305 100644 --- a/meta/recipes-extended/gzip/gzip_1.11.bb +++ b/meta/recipes-extended/gzip/gzip_1.12.bb @@ -38,4 +38,4 @@ do_install_ptest() { ${B}/tests/Makefile > ${D}${PTEST_PATH}/src/tests/Makefile } -SRC_URI[sha256sum] = "3e8a0e0c45bad3009341dce17d71536c4c655d9313039021ce7554a26cd50ed9" +SRC_URI[sha256sum] = "5b4fb14d38314e09f2fc8a1c510e7cd540a3ea0e3eb9b0420046b82c3bf41085" -- 2.47.2