Skip to contentSkip to conversation

util-linux: bump to version 2.25.2

PATCH New Gustavo Zacarias 2 participants 4 messages Oct 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 util-linux: bump to version 2.25.2

---
 package/util-linux/util-linux.hash | 2 +-
 package/util-linux/util-linux.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/util-linux/util-linux.hash +1 -1
index cfa1364..b5fc18e 100644
@@ -1,2 +1,2 @@
 # From https://www.kernel.org/pub/linux/utils/util-linux/v2.25/sha256sums.asc
-sha256	4701305ae22790c3a92ce48e50794fa05b7ee01f4227f419a171c100d08986e8	util-linux-2.25.1.tar.xz
+sha256	e0457f715b73f4a349e1acb08cb410bf0edc9a74a3f75c357070f31f70e33cd6	util-linux-2.25.2.tar.xz
package/util-linux/util-linux.mk +1 -1
index 1d52b50..6ecd16d 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).1
+UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).2
 UTIL_LINUX_VERSION_MAJOR = 2.25
 UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz
 UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR)
Signature · 1 line
2.0.4
#1 lore raw

PATCH 2/2 coreutils: bump to version 8.23

Add hash file. patches 01 & 02 are now upstream so remove them. Patch 01 isn't required any more (no posix_spawn usage). Patch 02 is upstream.
Patch 03 retooled for 8.23 and renamed to 01.

---
 ... => coreutils-01-fix-for-dummy-man-usage.patch} | 20 ++++------
 package/coreutils/coreutils-01-spawn-uclibc.patch  | 43 ----------------------
 .../coreutils/coreutils-02-fix-timer-time-m4.patch | 36 ------------------
 package/coreutils/coreutils.hash                   |  2 +
 package/coreutils/coreutils.mk                     |  4 +-
 5 files changed, 11 insertions(+), 94 deletions(-)
 rename package/coreutils/{coreutils-03-fix-for-dummy-man-usage.patch => coreutils-01-fix-for-dummy-man-usage.patch} (60%)
 delete mode 100644 package/coreutils/coreutils-01-spawn-uclibc.patch
 delete mode 100644 package/coreutils/coreutils-02-fix-timer-time-m4.patch
 create mode 100644 package/coreutils/coreutils.hash
package/coreutils/coreutils-01-fix-for-dummy-man-usage.patch renamed from package/coreutils/coreutils-03-fix-for-dummy-man-usage.patch +7 -13
similarity index 60%
rename from package/coreutils/coreutils-03-fix-for-dummy-man-usage.patch
rename to package/coreutils/coreutils-01-fix-for-dummy-man-usage.patch
index b7e8260..960501e 100644
@@ -8,24 +8,18 @@ would appear when compiling.
 "dummy-man: too many non-option arguments"
 
 Signed-off-by: Chen Qi <[email protected]>
----
- man/local.mk |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+[Gustavo: update for 8.23]
 
-diff --git a/man/local.mk b/man/local.mk
-index 7cef5e3..dc0865f 100644
---- a/man/local.mk
-+++ b/man/local.mk
-@@ -189,8 +189,8 @@ man/yes.1:       src/yes
+diff -Nura coreutils-8.23.orig/man/local.mk coreutils-8.23/man/local.mk
+--- coreutils-8.23.orig/man/local.mk	2014-10-24 16:52:29.720555852 -0300
++++ coreutils-8.23/man/local.mk	2014-10-24 16:52:59.381391498 -0300
+@@ -101,8 +101,8 @@
  	  && $(run_help2man)						\
  		     --source='$(PACKAGE_STRING)'			\
  		     --include=$(srcdir)/man/$$name.x			\
--		     --output=$$t/$$name.1 $$t/$$name			\
+-		     --output=$$t/$$name.1 $$t/$$argv			\
  		     --info-page='coreutils \(aq'$$name' invocation\(aq' \
-+		     --output=$$t/$$name.1 $$t/$$name			\
++		     --output=$$t/$$name.1 $$t/$$argv			\
  	  && sed \
  	       -e 's|$*\.td/||g' \
  	       -e '/For complete documentation/d' \
--- 
-1.7.9.5
-
package/coreutils/coreutils-01-spawn-uclibc.patch deleted +0 -43

43 lines not on this page · raw message

package/coreutils/coreutils-02-fix-timer-time-m4.patch deleted +0 -36
deleted file mode 100644
index 3b4d81b..0000000
@@ -1,36 +0,0 @@
-Fix thread detection with uClibc in timer_time.m4
-
-The timer_time.m4 gl_TIMER_TIME function determines which libraries
-need to be linked to get access to the timer function, generally -lrt
-for Linux systems. On platforms where threads are used, librt
-typically uses thread functions from libpthread.
-
-However, the test to determine whether the platform has thread or not
-is incorrect: it assumes that if the C library is uClibc, then threads
-are not available. This is actually not true: uClibc has configurable
-thread support, and when thread support is available, librt calls
-libpthread functions.
-
-This is important when static linking is used, because otherwise only
--lrt is used at link time, which fails because librt calls undefined
-thread functions. Both -lrt and -lpthread must be passed.
-
-This problem is fixed by making the uClibc thread detection a bit
-smarter, thanks to the usage of the __HAS_NO_THREADS__ macro defined
-in <bits/uClibc_config.h>, which itself is included by <features.h>.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
-
-Index: b/m4/timer_time.m4
-===================================================================
---- a/m4/timer_time.m4
-+++ b/m4/timer_time.m4
-@@ -28,7 +28,7 @@
- #include <features.h>
- #ifdef __GNU_LIBRARY__
-  #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || (__GLIBC__ > 2)) \
--     && !defined __UCLIBC__
-+     && !(__UCLIBC__ && __HAS_NO_THREADS__)
-   Thread emulation available
-  #endif
- #endif
package/coreutils/coreutils.hash new file +2 -0
new file mode 100644
index 0000000..760b146
@@ -0,0 +1,2 @@
+# Locally calculated after checking pgp signature
+sha256	ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d	coreutils-8.23.tar.xz
package/coreutils/coreutils.mk +2 -2
index b627021..54c7892 100644
@@ -4,13 +4,13 @@
 #
 ################################################################################
 
-COREUTILS_VERSION = 8.22
+COREUTILS_VERSION = 8.23
 COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils
 COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz
 COREUTILS_LICENSE = GPLv3+
 COREUTILS_LICENSE_FILES = COPYING
 
-# patching gnulib .m4 file
+# coreutils-01-fix-for-dummy-man-usage.patch triggers autoreconf on build
 COREUTILS_AUTORECONF = YES
 COREUTILS_GETTEXTIZE = YES
 
Signature · 1 line
2.0.4
#2 lore raw

PATCH 2/2 coreutils: bump to version 8.23

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Add hash file. patches 01 & 02 are now upstream so remove them. Patch 01 isn't required any more (no posix_spawn usage). Patch 02 is upstream.
Patch 03 retooled for 8.23 and renamed to 01.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard