[oe-commits] [openembedded-core] 39/39: gzip: upgrade to 1.8

git at git.openembedded.org git at git.openembedded.org
Tue Jun 14 12:05:03 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit c57ab66984bff1ea5596ffe592a0ca1e9ba82ab0
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Jun 12 10:21:02 2016 +0800

    gzip: upgrade to 1.8
    
    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 at linuxfoundation.org>
---
 meta/conf/distro/include/tcmode-default.inc                    |  2 +-
 .../gzip/{gzip-1.6 => gzip-1.8}/wrong-path-fix.patch           | 10 ++++------
 meta/recipes-extended/gzip/gzip.inc                            |  5 -----
 meta/recipes-extended/gzip/{gzip_1.6.bb => gzip_1.8.bb}        |  5 +++--
 4 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index d3a4351..3085ec0 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -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
diff --git a/meta/recipes-extended/gzip/gzip-1.6/wrong-path-fix.patch b/meta/recipes-extended/gzip/gzip-1.8/wrong-path-fix.patch
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 92863d6..4dc1000 100644
--- a/meta/recipes-extended/gzip/gzip-1.6/wrong-path-fix.patch
+++ b/meta/recipes-extended/gzip/gzip-1.8/wrong-path-fix.patch
@@ -13,17 +13,15 @@ Signed-off-by: Ming Liu <ming.liu at 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' \
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index 6e81883..04f8f95 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -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"
diff --git a/meta/recipes-extended/gzip/gzip_1.6.bb b/meta/recipes-extended/gzip/gzip_1.8.bb
similarity index 75%
rename from meta/recipes-extended/gzip/gzip_1.6.bb
rename to meta/recipes-extended/gzip/gzip_1.8.bb
index b347f0b..a19b965 100644
--- a/meta/recipes-extended/gzip/gzip_1.6.bb
+++ b/meta/recipes-extended/gzip/gzip_1.8.bb
@@ -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"
+

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list