mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/lvm2: bump to version 2.03.27
For release notes since 2.03.23, see: https://gitlab.com/lvmteam/lvm2/-/blob/v2_03_27/WHATS_NEW This commit also rebased the package patches on this new version. Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
bf938d93c9
commit
8e419a1472
@@ -1,4 +1,4 @@
|
|||||||
From 7c74ad9c349e381decc84c218112ea8e7bcc0b9c Mon Sep 17 00:00:00 2001
|
From 1c35333cd7836c3cc9b39cf6c5599d2221268e94 Mon Sep 17 00:00:00 2001
|
||||||
From: Simon Rowe <simon.rowe@nutanix.com>
|
From: Simon Rowe <simon.rowe@nutanix.com>
|
||||||
Date: Thu, 23 Mar 2023 09:57:59 +0000
|
Date: Thu, 23 Mar 2023 09:57:59 +0000
|
||||||
Subject: [PATCH] cmdline: use freopen() to reopen standard streams
|
Subject: [PATCH] cmdline: use freopen() to reopen standard streams
|
||||||
@@ -19,15 +19,17 @@ with
|
|||||||
|
|
||||||
Taken from: https://github.com/gentoo/gentoo/blob/master/sys-fs/lvm2/files/lvm2-2.03.14-r1-fopen-to-freopen.patch
|
Taken from: https://github.com/gentoo/gentoo/blob/master/sys-fs/lvm2/files/lvm2-2.03.14-r1-fopen-to-freopen.patch
|
||||||
Signed-off-by: Simon Rowe <simon.rowe@nutanix.com>
|
Signed-off-by: Simon Rowe <simon.rowe@nutanix.com>
|
||||||
|
[Julien: rebased patch on v2.03.27]
|
||||||
|
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
||||||
---
|
---
|
||||||
tools/lvmcmdline.c | 12 ++++++++++++
|
tools/lvmcmdline.c | 12 ++++++++++++
|
||||||
1 file changed, 12 insertions(+)
|
1 file changed, 12 insertions(+)
|
||||||
|
|
||||||
diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
|
diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
|
||||||
index 1e12bedca..534368575 100644
|
index 7209ebd9b..3c0c957b1 100644
|
||||||
--- a/tools/lvmcmdline.c
|
--- a/tools/lvmcmdline.c
|
||||||
+++ b/tools/lvmcmdline.c
|
+++ b/tools/lvmcmdline.c
|
||||||
@@ -3384,7 +3384,11 @@ static int _check_standard_fds(void)
|
@@ -3378,7 +3378,11 @@ static int _check_standard_fds(void)
|
||||||
int err = is_valid_fd(STDERR_FILENO);
|
int err = is_valid_fd(STDERR_FILENO);
|
||||||
|
|
||||||
if (!is_valid_fd(STDIN_FILENO) &&
|
if (!is_valid_fd(STDIN_FILENO) &&
|
||||||
@@ -39,7 +41,7 @@ index 1e12bedca..534368575 100644
|
|||||||
if (err)
|
if (err)
|
||||||
perror("stdin stream open");
|
perror("stdin stream open");
|
||||||
else
|
else
|
||||||
@@ -3394,7 +3398,11 @@ static int _check_standard_fds(void)
|
@@ -3388,7 +3392,11 @@ static int _check_standard_fds(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_valid_fd(STDOUT_FILENO) &&
|
if (!is_valid_fd(STDOUT_FILENO) &&
|
||||||
@@ -51,7 +53,7 @@ index 1e12bedca..534368575 100644
|
|||||||
if (err)
|
if (err)
|
||||||
perror("stdout stream open");
|
perror("stdout stream open");
|
||||||
/* else no stdout */
|
/* else no stdout */
|
||||||
@@ -3402,7 +3410,11 @@ static int _check_standard_fds(void)
|
@@ -3396,7 +3404,11 @@ static int _check_standard_fds(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_valid_fd(STDERR_FILENO) &&
|
if (!is_valid_fd(STDERR_FILENO) &&
|
||||||
@@ -64,5 +66,5 @@ index 1e12bedca..534368575 100644
|
|||||||
strerror(errno));
|
strerror(errno));
|
||||||
return 0;
|
return 0;
|
||||||
--
|
--
|
||||||
2.22.3
|
2.46.2
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
From 6d6b953cf7d2b8d06e7b0363b1b06cb2e902aa0f Mon Sep 17 00:00:00 2001
|
From 760ac03a8d8870ad47776075c1e59b6395d308bf Mon Sep 17 00:00:00 2001
|
||||||
From: Simon Rowe <simon.rowe@nutanix.com>
|
From: Simon Rowe <simon.rowe@nutanix.com>
|
||||||
Date: Thu, 23 Mar 2023 10:07:02 +0000
|
Date: Thu, 23 Mar 2023 10:07:02 +0000
|
||||||
Subject: [PATCH] log: use freopen() to reopen standard streams
|
Subject: [PATCH] log: use freopen() to reopen standard streams
|
||||||
@@ -19,17 +19,19 @@ with
|
|||||||
|
|
||||||
Taken from: https://github.com/gentoo/gentoo/blob/master/sys-fs/lvm2/files/lvm2-2.03.14-freopen_n2.patch
|
Taken from: https://github.com/gentoo/gentoo/blob/master/sys-fs/lvm2/files/lvm2-2.03.14-freopen_n2.patch
|
||||||
Signed-off-by: Simon Rowe <simon.rowe@nutanix.com>
|
Signed-off-by: Simon Rowe <simon.rowe@nutanix.com>
|
||||||
|
[Julien: rebased patch on v2.03.27]
|
||||||
|
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
||||||
---
|
---
|
||||||
lib/log/log.c | 4 ++++
|
lib/log/log.c | 4 ++++
|
||||||
1 file changed, 4 insertions(+)
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
diff --git a/lib/log/log.c b/lib/log/log.c
|
diff --git a/lib/log/log.c b/lib/log/log.c
|
||||||
index 7b4d537b3..5f62c048c 100644
|
index 3eda7d343..0bcd9552d 100644
|
||||||
--- a/lib/log/log.c
|
--- a/lib/log/log.c
|
||||||
+++ b/lib/log/log.c
|
+++ b/lib/log/log.c
|
||||||
@@ -208,7 +208,11 @@ int reopen_standard_stream(FILE **stream, const char *mode)
|
@@ -208,7 +208,11 @@ int reopen_standard_stream(FILE **stream, const char *mode)
|
||||||
|
|
||||||
_check_and_replace_standard_log_streams(old_stream, new_stream);
|
_check_and_replace_standard_log_streams(*stream, new_stream);
|
||||||
|
|
||||||
+#ifdef __GLIBC__
|
+#ifdef __GLIBC__
|
||||||
*stream = new_stream;
|
*stream = new_stream;
|
||||||
@@ -40,5 +42,5 @@ index 7b4d537b3..5f62c048c 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
--
|
--
|
||||||
2.22.3
|
2.46.2
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# From https://sourceware.org/ftp/lvm2/sha512.sum
|
# From https://sourceware.org/ftp/lvm2/sha512.sum
|
||||||
sha512 293430a80c7f599d14e77610456d0f44cac8164e6159cd0e2e287462278a89787e289fdb4d481eb8fd6b5eea07a6535c41cb7fdc3deee83df7fea9bf77dcbdaa LVM2.2.03.23.tgz
|
sha512 02607797f067b2b26d615b9a182ad70017e61d436e3866acf820a04154e503fb59114e9a4540a273d9f570d0337332ca995fb3be83c11eadaca53c1b826eb810 LVM2.2.03.27.tgz
|
||||||
# Locally computed sha256 checksums
|
# Locally computed sha256 checksums
|
||||||
sha256 e76fbcd2fb97cf202da330301327754d2db5c58b5b4bebd3a8a749393e7603d1 COPYING
|
sha256 e76fbcd2fb97cf202da330301327754d2db5c58b5b4bebd3a8a749393e7603d1 COPYING
|
||||||
sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING.LIB
|
sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING.LIB
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
LVM2_VERSION = 2.03.23
|
LVM2_VERSION = 2.03.27
|
||||||
LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz
|
LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz
|
||||||
LVM2_SITE = https://sourceware.org/ftp/lvm2
|
LVM2_SITE = https://sourceware.org/ftp/lvm2
|
||||||
LVM2_INSTALL_STAGING = YES
|
LVM2_INSTALL_STAGING = YES
|
||||||
|
|||||||
Reference in New Issue
Block a user