Skip to contentSkip to conversation

util-linux: bump version to 2.29.1

PATCH New Vicente Olivert Riera 2 participants 2 messages Jan 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 util-linux: bump version to 2.29.1

0001-build-sys-prefer-pkg-config-for-ncurses.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=3f7429fd2d539c7f948f72bd829404b55ac19d9f
0002-build-sys-cleanup-UL_NCURSES_CHECK.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=862326451184bb0fe9c2b2b110fcfc986f9b1734
0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=9ea8ded37b648bbd538cbf9c4d144b8b1a93c1b5

---
Changes v1 -> v2:
- Removed autoreconf.
- Removed MKINSTALLDIRS workaround since it was there due to autoreconf.

---
 ...1-build-sys-prefer-pkg-config-for-ncurses.patch | 76 ------------------
 .../0002-build-sys-cleanup-UL_NCURSES_CHECK.patch  | 91 ---------------------
 ...ix-compilation-with-ncurses-and-uClibc-or.patch | 92 ----------------------
 package/util-linux/util-linux.hash                 |  2 +-
 package/util-linux/util-linux.mk                   | 12 +--
 5 files changed, 2 insertions(+), 271 deletions(-)
 delete mode 100644 package/util-linux/0001-build-sys-prefer-pkg-config-for-ncurses.patch
 delete mode 100644 package/util-linux/0002-build-sys-cleanup-UL_NCURSES_CHECK.patch
 delete mode 100644 package/util-linux/0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch
package/util-linux/0001-build-sys-prefer-pkg-config-for-ncurses.patch deleted +0 -76
deleted file mode 100644
index ca22ee2..0000000
@@ -1,76 +0,0 @@
-From 3f7429fd2d539c7f948f72bd829404b55ac19d9f Mon Sep 17 00:00:00 2001
-From: Karel Zak <[email protected]>
-Date: Mon, 12 Dec 2016 15:23:53 +0100
-Subject: [PATCH] build-sys: prefer pkg-config for ncurses
-
-and use ncurses{5,6}-config as fallback only.
-
-Signed-off-by: Karel Zak <[email protected]>
----
- m4/ul.m4 | 48 ++++++++++++++++++++++++++++--------------------
- 1 file changed, 28 insertions(+), 20 deletions(-)
-
-diff --git a/m4/ul.m4 b/m4/ul.m4
-index c569c36..44c721e 100644
---- a/m4/ul.m4
-+++ b/m4/ul.m4
-@@ -438,28 +438,36 @@ dnl The expected <name> is ncurses or ncursesw.
- dnl
- AC_DEFUN([UL_NCURSES_CHECK], [
-   m4_define([suffix], $1)
-+  m4_define([suffixup], m4_toupper($1))
-+
-+  # pkg-config
-+  PKG_CHECK_MODULES(suffixup, [$1], [
-+    have_[]suffix=yes
-+    NCURSES_LIBS=${suffixup[]_LIBS}
-+    NCURSES_CFLAGS=${suffixup[]_CFLAGS}
-+  ],[have_[]suffix=no])
- 
-   # ncurses-config should be everywhere, pkg-config is not supported by default
-   # by ncurses upstream
-   #
--  AC_MSG_CHECKING([$1])
--  if AC_RUN_LOG([suffix[]6-config --version >/dev/null]); then
--    have_[]suffix=yes
--    NCURSES_LIBS=`suffix[]6-config --libs`
--    NCURSES_CFLAGS=`suffix[]6-config --cflags`
--    AC_MSG_RESULT([(v6) yes])
--  elif AC_RUN_LOG([suffix[]5-config --version >/dev/null]); then
--    have_[]suffix=yes
--    NCURSES_LIBS=`suffix[]5-config --libs`
--    NCURSES_CFLAGS=`suffix[]5-config --cflags`
--    AC_MSG_RESULT([(v5) yes])
--  else
--    AC_MSG_RESULT([no])
--
--    # fallback
--    AC_CHECK_LIB([$1], [initscr], [have_[]suffix=yes], [have_[]suffix=no])
--    AS_IF([test "x$have_[]suffix" = xyes], [
--      NCURSES_LIBS="-l[]suffix"
--    ])
--  fi
-+  AS_IF([test "x$have_[]suffix" = xno], [
-+    AC_MSG_CHECKING([$1 config])
-+    if AC_RUN_LOG([suffix[]6-config --version >/dev/null]); then
-+      have_[]suffix=yes
-+      NCURSES_LIBS=`suffix[]6-config --libs`
-+      NCURSES_CFLAGS=`suffix[]6-config --cflags`
-+      AC_MSG_RESULT([(v6) yes])
-+    elif AC_RUN_LOG([suffix[]5-config --version >/dev/null]); then
-+      have_[]suffix=yes
-+      NCURSES_LIBS=`suffix[]5-config --libs`
-+      NCURSES_CFLAGS=`suffix[]5-config --cflags`
-+      AC_MSG_RESULT([(v5) yes])
-+    else
-+      AC_MSG_RESULT([no])
-+      AS_IF([test "x$have_[]suffix" = xno], [
-+        AC_CHECK_LIB([$1], [initscr], [have_[]suffix=yes], [have_[]suffix=no])
-+        AS_IF([test "x$have_[]suffix" = xyes], [NCURSES_LIBS="-l[]suffix"])
-+      ])
-+    fi
-+  ])
- ])
--- 
-2.6.2
-
package/util-linux/0002-build-sys-cleanup-UL_NCURSES_CHECK.patch deleted +0 -91

91 lines not on this page · raw message

package/util-linux/0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch deleted +0 -92

92 lines not on this page · raw message

package/util-linux/util-linux.hash +1 -1
index 4f19851..ec6cc8e 100644
@@ -1,2 +1,2 @@
 # From https://www.kernel.org/pub/linux/utils/util-linux/v2.29/sha256sums.asc
-sha256 2c59ea67cc7b564104f60532f6e0a95fe17a91acb870ba8fd7e986f273abf9e7  util-linux-2.29.tar.xz
+sha256 0ce40600b934ec2fecfa6bfc4efe6982d051ba96c2832b05201347aec582f54f  util-linux-2.29.1.tar.xz
package/util-linux/util-linux.mk +1 -11
index 51ece90..53a6d9b 100644
@@ -5,14 +5,10 @@
 ################################################################################
 
 UTIL_LINUX_VERSION_MAJOR = 2.29
-UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR)
+UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).1
 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)
 
-# For 0001-build-sys-prefer-pkg-config-for-ncurses.patch and
-# 0002-build-sys-cleanup-UL_NCURSES_CHECK.patch
-UTIL_LINUX_AUTORECONF = YES
-
 # README.licensing claims that some files are GPLv2-only, but this is not true.
 # Some files are GPLv3+ but only in tests.
 UTIL_LINUX_LICENSE = GPLv2+, BSD-4c, LGPLv2.1+ (libblkid, libfdisk, libmount), BSD-3c (libuuid)
@@ -222,9 +218,3 @@ endif
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
-
-# MKINSTALLDIRS comes from tweaked m4/nls.m4, but autoreconf uses staging
-# one, so it disappears
-UTIL_LINUX_INSTALL_STAGING_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
-UTIL_LINUX_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
-HOST_UTIL_LINUX_INSTALL_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
Signature · 1 line
2.10.2
#1 lore raw

PATCH v2 1/1 util-linux: bump version to 2.29.1

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

0001-build-sys-prefer-pkg-config-for-ncurses.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=3f7429fd2d539c7f948f72bd829404b55ac19d9f
0002-build-sys-cleanup-UL_NCURSES_CHECK.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=862326451184bb0fe9c2b2b110fcfc986f9b1734
0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=9ea8ded37b648bbd538cbf9c4d144b8b1a93c1b5

Quoted 6 lines

---
Changes v1 -> v2:
- Removed autoreconf.
- Removed MKINSTALLDIRS workaround since it was there due to autoreconf.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard