All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] util-linux: bump to version 2.31.1
@ 2017-12-31 11:51 Carlos Santos
  2017-12-31 16:22 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos Santos @ 2017-12-31 11:51 UTC (permalink / raw)
  To: buildroot

Changes in this version:

- Small improvement and bug fixes.
- Install rfkill at /usr/sbin (thus overriding the one eventually
  installed by BusyBox).

Drop the md5 patch, already applyed upstream.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
---
 .../0001-md5-declare-byteReverse-as-static.patch   | 44 ----------------------
 package/util-linux/util-linux.hash                 |  2 +-
 package/util-linux/util-linux.mk                   |  3 +-
 3 files changed, 3 insertions(+), 46 deletions(-)
 delete mode 100644 package/util-linux/0001-md5-declare-byteReverse-as-static.patch

diff --git a/package/util-linux/0001-md5-declare-byteReverse-as-static.patch b/package/util-linux/0001-md5-declare-byteReverse-as-static.patch
deleted file mode 100644
index a5b290c4db..0000000000
--- a/package/util-linux/0001-md5-declare-byteReverse-as-static.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 424cee0f06ece9473786c189ab4741e1dea7061d Mon Sep 17 00:00:00 2001
-From: Luca Ceresoli <luca@lucaceresoli.net>
-Date: Tue, 7 Nov 2017 14:39:09 +0100
-Subject: [PATCH] md5: declare byteReverse as static
-
-byteReverse() is an internal function in md5.c, and is not exposed via
-any header file, but it is not declared as static. This is a problem
-with the md5.c file since it is copied more or less verbatim in other
-programs (fontconfig and pjsip among others), causing a link error
-when linking two of them together.
-
-Fixes link failures such as:
-  http://autobuild.buildroot.net/results/419ab2c0e034cc68991281c51caa8271b0fadbab/build-end.log
-
-[Upstream patch: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=424cee0f06ece9473786c189ab4741e1dea7061d]
-
-Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
----
- lib/md5.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/lib/md5.c b/lib/md5.c
-index 488d16ef69b4..282e2d22af25 100644
---- a/lib/md5.c
-+++ b/lib/md5.c
-@@ -21,13 +21,13 @@
- #if !defined(WORDS_BIGENDIAN)
- #define byteReverse(buf, len)	/* Nothing */
- #else
--void byteReverse(unsigned char *buf, unsigned longs);
-+static void byteReverse(unsigned char *buf, unsigned longs);
- 
- #ifndef ASM_MD5
- /*
-  * Note: this code is harmless on little-endian machines.
-  */
--void byteReverse(unsigned char *buf, unsigned longs)
-+static void byteReverse(unsigned char *buf, unsigned longs)
- {
-     uint32_t t;
-     do {
--- 
-2.7.4
-
diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash
index 8142505f8d..838d2dcb53 100644
--- a/package/util-linux/util-linux.hash
+++ b/package/util-linux/util-linux.hash
@@ -1,5 +1,5 @@
 # From https://www.kernel.org/pub/linux/utils/util-linux/v2.31/sha256sums.asc
-sha256 f9be7cdcf4fc5c5064a226599acdda6bdf3d86c640152ba01ea642d91108dc8a  util-linux-2.31.tar.xz
+sha256 1a51b16fa9cd51d26ef9ab52d2f1de12403b810fc8252bf7d478df91b3cddf11  util-linux-2.31.1.tar.xz
 # License files, locally calculated
 sha256 1e4b65802b0df8115395c697029d03339f983d451a473a08643309c684410d9a  README.licensing
 sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  Documentation/licenses/COPYING.GPLv2
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 31a3fe47ab..5858887b04 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -5,7 +5,8 @@
 ################################################################################
 
 UTIL_LINUX_VERSION_MAJOR = 2.31
-UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR)
+UTIL_LINUX_VERSION_MINOR = 1
+UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).$(UTIL_LINUX_VERSION_MINOR)
 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)
 
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] util-linux: bump to version 2.31.1
  2017-12-31 11:51 [Buildroot] [PATCH] util-linux: bump to version 2.31.1 Carlos Santos
@ 2017-12-31 16:22 ` Thomas Petazzoni
  2018-01-01 12:14   ` Carlos Santos
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-12-31 16:22 UTC (permalink / raw)
  To: buildroot

Hello,

On Sun, 31 Dec 2017 09:51:45 -0200, Carlos Santos wrote:
> Changes in this version:
> 
> - Small improvement and bug fixes.
> - Install rfkill at /usr/sbin (thus overriding the one eventually
>   installed by BusyBox).
> 
> Drop the md5 patch, already applyed upstream.
> 
> Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
> ---
>  .../0001-md5-declare-byteReverse-as-static.patch   | 44 ----------------------
>  package/util-linux/util-linux.hash                 |  2 +-
>  package/util-linux/util-linux.mk                   |  3 +-
>  3 files changed, 3 insertions(+), 46 deletions(-)
>  delete mode 100644 package/util-linux/0001-md5-declare-byteReverse-as-static.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] util-linux: bump to version 2.31.1
  2017-12-31 16:22 ` Thomas Petazzoni
@ 2018-01-01 12:14   ` Carlos Santos
  0 siblings, 0 replies; 3+ messages in thread
From: Carlos Santos @ 2018-01-01 12:14 UTC (permalink / raw)
  To: buildroot

> From: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>
> To: "Carlos Santos" <casantos@datacom.ind.br>
> Cc: buildroot at buildroot.org
> Sent: Sunday, December 31, 2017 2:22:30 PM
> Subject: Re: [Buildroot] [PATCH] util-linux: bump to version 2.31.1

> Hello,
> 
> On Sun, 31 Dec 2017 09:51:45 -0200, Carlos Santos wrote:
>> Changes in this version:
>> 
>> - Small improvement and bug fixes.
>> - Install rfkill at /usr/sbin (thus overriding the one eventually
>>   installed by BusyBox).
>> 
>> Drop the md5 patch, already applyed upstream.

Gosh, "applyed"!

-- 
Carlos Santos (Casantos) - DATACOM, P&D
?The greatest triumph that modern PR can offer is the transcendent 
success of having your words and actions judged by your reputation, 
rather than the other way about.? ? Christopher Hitchens

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-01 12:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-31 11:51 [Buildroot] [PATCH] util-linux: bump to version 2.31.1 Carlos Santos
2017-12-31 16:22 ` Thomas Petazzoni
2018-01-01 12:14   ` Carlos Santos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.