]> code.ossystems Code Review - openembedded-core.git/commitdiff
gzip: upgrade to 1.8
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jun 2016 02:21:02 +0000 (10:21 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Jun 2016 12:01:58 +0000 (13:01 +0100)
Drop the do_install musl append since the charset file is no longer installed.

Refresh the patch.

Also update the PREFERRED_VERSION.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/tcmode-default.inc
meta/recipes-extended/gzip/gzip-1.8/wrong-path-fix.patch [moved from meta/recipes-extended/gzip/gzip-1.6/wrong-path-fix.patch with 74% similarity]
meta/recipes-extended/gzip/gzip.inc
meta/recipes-extended/gzip/gzip_1.8.bb [moved from meta/recipes-extended/gzip/gzip_1.6.bb with 75% similarity]

index d3a43519d9c9a4b4995ef88d12be354fbdc3dedc..3085ec0d52bc3e014f3355ce5d1ce88e133faf16 100644 (file)
@@ -68,7 +68,7 @@ PREFERRED_VERSION_uclibc                   ?= "${UCLIBCVERSION}"
 PREFERRED_VERSION_uclibc-initial           ?= "${UCLIBCVERSION}"
 # don't use version earlier than 1.4 for gzip-native, as it's necessary for
 # some packages using an archive format incompatible with earlier gzip
-PREFERRED_VERSION_gzip-native ?= "1.6"
+PREFERRED_VERSION_gzip-native ?= "1.8"
 
 # Setup suitable toolchain flags
 require conf/distro/include/as-needed.inc
similarity index 74%
rename from meta/recipes-extended/gzip/gzip-1.6/wrong-path-fix.patch
rename to meta/recipes-extended/gzip/gzip-1.8/wrong-path-fix.patch
index 92863d6c4b12ce2f903e0f86256ca254038af83f..4dc10002ed6dc71d073b41ff735a245d3aeb2a8c 100644 (file)
@@ -13,17 +13,15 @@ Signed-off-by: Ming Liu <ming.liu@windriver.com>
 
 Upstream-Status: Pending
 
-Index: gzip-1.3.12/Makefile.am
+Index: gzip-1.8/Makefile.am
 ===================================================================
-diff -urpN a/Makefile.am b/Makefile.am
---- a/Makefile.am      2013-11-30 10:06:09.402234871 +0800
-+++ b/Makefile.am      2013-11-30 10:13:42.952236025 +0800
-@@ -81,9 +81,8 @@ gzip.doc.gz: gzip.doc $(bin_PROGRAMS)
+--- gzip-1.8.orig/Makefile.am
++++ gzip-1.8/Makefile.am
+@@ -81,8 +81,7 @@ gzip.doc.gz: gzip.doc $(bin_PROGRAMS)
  SUFFIXES = .in
  .in:
        $(AM_V_GEN)sed \
 -              -e 's|/bin/sh|$(SHELL)|g' \
-               -e 's|[@]bindir@|'\''$(bindir)'\''|g' \
 -              -e 's|[@]GREP@|$(GREP)|g' \
 +              -e 's|[@]GREP@|$(base_bindir)/grep|g' \
                -e 's|[@]VERSION@|$(VERSION)|g' \
index 6e81883472f5a16fefa422671e9616bca448ee1a..04f8f95dd5a6e63ac4f951cd5a07e4e32c38942a 100644 (file)
@@ -22,11 +22,6 @@ do_install_append () {
        fi
 }
 
-do_install_append_libc-musl () {
-       rm ${D}${libdir}/charset.alias
-       rmdir ${D}${libdir}
-}
-
 inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"
similarity index 75%
rename from meta/recipes-extended/gzip/gzip_1.6.bb
rename to meta/recipes-extended/gzip/gzip_1.8.bb
index b347f0bb8d4839f69a07dde679d32dc70a14afa5..a19b96539956edb1f6301a3c608722c381a0861d 100644 (file)
@@ -13,5 +13,6 @@ NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
 
 BBCLASSEXTEND = "native"
 
-SRC_URI[md5sum] = "38603cb2843bf5681ff41aab3bcd6a20"
-SRC_URI[sha256sum] = "97eb83b763d9e5ad35f351fe5517e6b71521d7aac7acf3e3cacdb6b1496d8f7e"
+SRC_URI[md5sum] = "732553152814b22dc35aa0267df5286c"
+SRC_URI[sha256sum] = "1ff7aedb3d66a0d73f442f6261e4b3860df6fd6c94025c2cb31a202c9c60fe0e"
+