Skip to contentSkip to conversation

findutils: Upgrade to 4.7.0

PATCH New [email protected] 1 participant 1 message Jan 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 findutils: Upgrade to 4.7.0

From: Mingli Yu <[email protected]>

* Upgrade to 4.7.0 since there are so many
fixes in the new release such as below commit which used to fix Yocto Bug 13311
5699fb7 xargs: use GNU_FINDUTILS_FD_LEAK_CHECK as for find

* Drop all patches as it is backported or
useless in new release

* Licence-Update:
- the link in the COPYING has been updated from
http to https

---
 meta/recipes-extended/findutils/findutils.inc |   2 +-
 ...charset_alias-when-building-for-musl.patch |  31 ----
 ...-honour-the-ignore_readdir_race-opti.patch | 144 ------------------
 .../findutils-4.6.0-gnulib-fflush.patch       | 140 -----------------
 .../findutils-4.6.0-gnulib-makedev.patch      |  78 ----------
 .../findutils/findutils_4.6.0.bb              |  21 ---
 .../findutils/findutils_4.7.0.bb              |  15 ++
 7 files changed, 16 insertions(+), 415 deletions(-)
 delete mode 100644 meta/recipes-extended/findutils/findutils/0001-Unset-need_charset_alias-when-building-for-musl.patch
 delete mode 100644 meta/recipes-extended/findutils/findutils/0001-find-make-delete-honour-the-ignore_readdir_race-opti.patch
 delete mode 100644 meta/recipes-extended/findutils/findutils/findutils-4.6.0-gnulib-fflush.patch
 delete mode 100644 meta/recipes-extended/findutils/findutils/findutils-4.6.0-gnulib-makedev.patch
 delete mode 100644 meta/recipes-extended/findutils/findutils_4.6.0.bb
 create mode 100644 meta/recipes-extended/findutils/findutils_4.7.0.bb
meta/recipes-extended/findutils/findutils.inc +1 -1
index ad3642923c..a0e1f8962c 100644
@@ -6,7 +6,7 @@ HOMEPAGE = "http://www.gnu.org/software/findutils/"
 BUGTRACKER = "http://savannah.gnu.org/bugs/?group=findutils"
 SECTION = "console/utils"
 
-SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz"
+SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.xz"
 
 inherit autotools gettext texinfo update-alternatives upstream-version-is-even
 
meta/recipes-extended/findutils/findutils/0001-Unset-need_charset_alias-when-building-for-musl.patch deleted +0 -31
deleted file mode 100644
index 6064d18854..0000000000
@@ -1,31 +0,0 @@
-From 86db2a5f3b7ef8113e5384b4e02d2b299c87a047 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Mon, 13 Apr 2015 17:02:13 -0700
-Subject: [PATCH] Unset need_charset_alias when building for musl
-
-localcharset uses ac_cv_gnu_library_2_1 from glibc21.m4
-which actually shoudl be fixed in gnulib and then all downstream
-projects will get it eventually. For now we apply the fix to
-coreutils
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <[email protected]>
-
----
- gl/lib/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gl/lib/Makefile.am b/gl/lib/Makefile.am
-index a9e2fe4..1c6ea9c 100644
---- a/gl/lib/Makefile.am
-+++ b/gl/lib/Makefile.am
-@@ -1234,7 +1234,7 @@ install-exec-localcharset: all-local
- 	  case '$(host_os)' in \
- 	    darwin[56]*) \
- 	      need_charset_alias=true ;; \
--	    darwin* | cygwin* | mingw* | pw32* | cegcc*) \
-+	    darwin* | cygwin* | mingw* | pw32* | cegcc* | linux-musl*) \
- 	      need_charset_alias=false ;; \
- 	    *) \
- 	      need_charset_alias=true ;; \
meta/recipes-extended/findutils/findutils/0001-find-make-delete-honour-the-ignore_readdir_race-opti.patch deleted +0 -144

144 lines not on this page · raw message

meta/recipes-extended/findutils/findutils/findutils-4.6.0-gnulib-fflush.patch deleted +0 -140

140 lines not on this page · raw message

meta/recipes-extended/findutils/findutils/findutils-4.6.0-gnulib-makedev.patch deleted +0 -78

78 lines not on this page · raw message

meta/recipes-extended/findutils/findutils_4.6.0.bb deleted +0 -21
deleted file mode 100644
index 3b62ed9962..0000000000
@@ -1,21 +0,0 @@
-require findutils.inc
-
-# GPLv2+ (<< 4.2.32), GPLv3+ (>= 4.2.32)
-LICENSE = "GPLv3+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
-
-DEPENDS = "bison-native"
-
-SRC_URI += "file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
-            file://0001-find-make-delete-honour-the-ignore_readdir_race-opti.patch \
-            file://findutils-4.6.0-gnulib-fflush.patch \
-            file://findutils-4.6.0-gnulib-makedev.patch \
-"
-
-SRC_URI[md5sum] = "9936aa8009438ce185bea2694a997fc1"
-SRC_URI[sha256sum] = "ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d"
-
-# http://savannah.gnu.org/bugs/?27299
-CACHED_CONFIGUREVARS += "gl_cv_func_wcwidth_works=yes"
-
-EXTRA_OECONF += "ac_cv_path_SORT=${bindir}/sort"
meta/recipes-extended/findutils/findutils_4.7.0.bb new file +15 -0
new file mode 100644
index 0000000000..59688e528a
@@ -0,0 +1,15 @@
+require findutils.inc
+
+# GPLv2+ (<< 4.2.32), GPLv3+ (>= 4.2.32)
+LICENSE = "GPLv3+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
+
+DEPENDS = "bison-native"
+
+SRC_URI[md5sum] = "731356dec4b1109b812fecfddfead6b2"
+SRC_URI[sha256sum] = "c5fefbdf9858f7e4feb86f036e1247a54c79fc2d8e4b7064d5aaa1f47dfa789a"
+
+# http://savannah.gnu.org/bugs/?27299
+CACHED_CONFIGUREVARS += "gl_cv_func_wcwidth_works=yes"
+
+EXTRA_OECONF += "ac_cv_path_SORT=${bindir}/sort"
Signature · 1 line
2.23.0