* [Buildroot] [PATCH 1/1] package/zfs: bump version to 2.1.4
@ 2022-04-16 16:48 José Luis Salvador Rufo
2022-04-21 21:09 ` Arnout Vandecappelle
0 siblings, 1 reply; 5+ messages in thread
From: José Luis Salvador Rufo @ 2022-04-16 16:48 UTC (permalink / raw)
To: buildroot, Romain Naour, Philippe Serbruyns
Cc: José Luis Salvador Rufo, Yann E . MORIN, Thomas Petazzoni
Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
because is already merged.
Added libcurl as required dependency, because zfs keylocation now
requires https support.
In order to support uClibc, we have added the patch
bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream.
As this version brings support for kernel up to 5.17, we update the
test cases to use the 5.17 kernel.
Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
---
...law-in-the-Python-3-version-checking.patch | 106 ------------------
package/zfs/Config.in | 6 +
package/zfs/zfs.hash | 5 +-
package/zfs/zfs.mk | 6 +-
support/testing/tests/package/test_zfs.py | 6 +-
5 files changed, 16 insertions(+), 113 deletions(-)
delete mode 100644 package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
deleted file mode 100644
index 70978f9f4d..0000000000
--- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001
-From: Rich Ercolani <214141+rincebrain@users.noreply.github.com>
-Date: Tue, 8 Jun 2021 20:20:16 -0400
-Subject: [PATCH] Correct a flaw in the Python 3 version checking
-
-It turns out the ax_python_devel.m4 version check assumes that
-("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1
-is 10 or above and X is not. (Also presumably X+1=100 and ...)
-
-So let's remake the check to behave consistently, using the
-"packaging" or (if absent) the "distlib" modules.
-
-(Also, update the Github workflows to use the new packages.)
-
-Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
-Reviewed-by: John Kennedy <john.kennedy@delphix.com>
-Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
-Closes: #12073
-(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48)
-[Romain: drop rpm spec and github workflows changes]
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
----
- config/always-pyzfs.m4 | 15 +++++++++++++++
- config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------
- 2 files changed, 42 insertions(+), 6 deletions(-)
-
-diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4
-index 76e07b593..fa39fd885 100644
---- a/config/always-pyzfs.m4
-+++ b/config/always-pyzfs.m4
-@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [
- ])
- AC_SUBST(DEFINE_PYZFS)
-
-+ dnl #
-+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs
-+ dnl #
-+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [
-+ ZFS_AC_PYTHON_MODULE([packaging], [], [
-+ ZFS_AC_PYTHON_MODULE([distlib], [], [
-+ AS_IF([test "x$enable_pyzfs" = xyes], [
-+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed")
-+ ], [test "x$enable_pyzfs" != xno], [
-+ enable_pyzfs=no
-+ ])
-+ ])
-+ ])
-+ ])
-+
- dnl #
- dnl # Require python-devel libraries
- dnl #
-diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4
-index c51b45b7d..cdfbbf81f 100644
---- a/config/ax_python_devel.m4
-+++ b/config/ax_python_devel.m4
-@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[
- # Check for a version of Python >= 2.1.0
- #
- AC_MSG_CHECKING([for a version of Python >= '2.1.0'])
-- ac_supports_python_ver=`$PYTHON -c "import sys; \
-- ver = sys.version.split ()[[0]]; \
-- print (ver >= '2.1.0')"`
-+ ac_supports_python_ver=`cat<<EOD | $PYTHON -
-+from __future__ import print_function;
-+import sys;
-+try:
-+ from packaging import version;
-+except ImportError:
-+ from distlib import version;
-+ver = sys.version.split ()[[0]];
-+(tst_cmp, tst_ver) = ">= '2.1.0'".split ();
-+tst_ver = tst_ver.strip ("'");
-+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))")
-+EOD`
- if test "$ac_supports_python_ver" != "True"; then
- if test -z "$PYTHON_NOVERSIONCHECK"; then
- AC_MSG_RESULT([no])
-@@ -126,9 +135,21 @@ to something else than an empty string.
- #
- if test -n "$1"; then
- AC_MSG_CHECKING([for a version of Python $1])
-- ac_supports_python_ver=`$PYTHON -c "import sys; \
-- ver = sys.version.split ()[[0]]; \
-- print (ver $1)"`
-+ # Why the strip ()? Because if we don't, version.parse
-+ # will, for example, report 3.10.0 >= '3.11.0'
-+ ac_supports_python_ver=`cat<<EOD | $PYTHON -
-+
-+from __future__ import print_function;
-+import sys;
-+try:
-+ from packaging import version;
-+except ImportError:
-+ from distlib import version;
-+ver = sys.version.split ()[[0]];
-+(tst_cmp, tst_ver) = "$1".split ();
-+tst_ver = tst_ver.strip ("'");
-+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))")
-+EOD`
- if test "$ac_supports_python_ver" = "True"; then
- AC_MSG_RESULT([yes])
- else
---
-2.31.1
-
diff --git a/package/zfs/Config.in b/package/zfs/Config.in
index c766c370e4..c450a8b515 100644
--- a/package/zfs/Config.in
+++ b/package/zfs/Config.in
@@ -5,10 +5,16 @@ comment "zfs needs udev /dev management"
depends on BR2_LINUX_KERNEL
depends on !BR2_PACKAGE_HAS_UDEV
+comment "zfs needs libcurl"
+ depends on BR2_LINUX_KERNEL
+ depends on BR2_PACKAGE_HAS_UDEV
+ depends on !BR2_PACKAGE_LIBCURL
+
config BR2_PACKAGE_ZFS
bool "zfs"
depends on BR2_LINUX_KERNEL
depends on BR2_PACKAGE_HAS_UDEV
+ depends on BR2_PACKAGE_LIBCURL
depends on BR2_USE_MMU # util-linux (libblkid)
depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc
select BR2_PACKAGE_UTIL_LINUX
diff --git a/package/zfs/zfs.hash b/package/zfs/zfs.hash
index 7f4f5a59f8..411af974c6 100644
--- a/package/zfs/zfs.hash
+++ b/package/zfs/zfs.hash
@@ -1,5 +1,6 @@
-# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc
-sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz
+# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc
+sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz
+sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
# Hash for license files:
sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE
diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk
index dbda8aceb4..07ce3295ec 100644
--- a/package/zfs/zfs.mk
+++ b/package/zfs/zfs.mk
@@ -4,17 +4,17 @@
#
################################################################################
-ZFS_VERSION = 2.0.5
+ZFS_VERSION = 2.1.4
ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION)
+ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
ZFS_LICENSE = CDDL
ZFS_LICENSE_FILES = LICENSE COPYRIGHT
ZFS_CPE_ID_VENDOR = openzfs
ZFS_CPE_ID_PRODUCT = openzfs
-# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
ZFS_AUTORECONF = YES
-ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib
+ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl
# sysvinit installs only a commented-out modules-load.d/ config file
ZFS_CONF_OPTS = \
diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py
index 772a66c1e4..8c1000e1ca 100644
--- a/support/testing/tests/package/test_zfs.py
+++ b/support/testing/tests/package/test_zfs.py
@@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest):
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
- BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
+ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.3"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
BR2_PACKAGE_ZFS=y
@@ -22,6 +22,7 @@ class TestZfsGlibc(infra.basetest.BRTest):
BR2_PACKAGE_PYTHON_SETUPTOOLS=y
BR2_PACKAGE_ZLIB_NG=y
BR2_PACKAGE_LIBRESSL=y
+ BR2_PACKAGE_LIBCURL=y
BR2_TARGET_ROOTFS_CPIO=y
# BR2_TARGET_ROOTFS_TAR is not set
"""
@@ -70,7 +71,7 @@ class TestZfsUclibc(infra.basetest.BRTest):
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
- BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
+ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.3"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
BR2_PACKAGE_ZFS=y
@@ -79,6 +80,7 @@ class TestZfsUclibc(infra.basetest.BRTest):
BR2_PACKAGE_PYTHON_SETUPTOOLS=y
BR2_PACKAGE_ZLIB_NG=y
BR2_PACKAGE_LIBRESSL=y
+ BR2_PACKAGE_LIBCURL=y
BR2_TARGET_ROOTFS_CPIO=y
# BR2_TARGET_ROOTFS_TAR is not set
"""
--
2.35.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/zfs: bump version to 2.1.4
2022-04-16 16:48 [Buildroot] [PATCH 1/1] package/zfs: bump version to 2.1.4 José Luis Salvador Rufo
@ 2022-04-21 21:09 ` Arnout Vandecappelle
2022-04-23 16:48 ` [Buildroot] [PATCH v2] " José Luis Salvador Rufo
0 siblings, 1 reply; 5+ messages in thread
From: Arnout Vandecappelle @ 2022-04-21 21:09 UTC (permalink / raw)
To: José Luis Salvador Rufo, buildroot, Romain Naour,
Philippe Serbruyns
Cc: Yann E . MORIN, Thomas Petazzoni
Hi José,
Thank you for your patch. I have a few comment, could you fix and send an
updated patch?
I also added a few more people in Cc because there's an issue with kernel
dependency that comes up again.
On 16/04/2022 18:48, José Luis Salvador Rufo wrote:
> Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
> because is already merged.
>
> Added libcurl as required dependency, because zfs keylocation now
> requires https support.
https also requires openssl. But that's already selected by zfs, so OK.
>
> In order to support uClibc, we have added the patch
> bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream.
>
> As this version brings support for kernel up to 5.17, we update the
> test cases to use the 5.17 kernel.
Is 5.17 really the minimum required kernel version? That's just a couple of
weeks old... Our default kernel version is still 5.15, and it's going to stay
like that for a bit since 5.15 is an LTS...
>
> Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
> ---
[snip]
> diff --git a/package/zfs/Config.in b/package/zfs/Config.in
> index c766c370e4..c450a8b515 100644
> --- a/package/zfs/Config.in
> +++ b/package/zfs/Config.in
> @@ -5,10 +5,16 @@ comment "zfs needs udev /dev management"
> depends on BR2_LINUX_KERNEL
> depends on !BR2_PACKAGE_HAS_UDEV
>
> +comment "zfs needs libcurl"
> + depends on BR2_LINUX_KERNEL
> + depends on BR2_PACKAGE_HAS_UDEV
> + depends on !BR2_PACKAGE_LIBCURL
> +
> config BR2_PACKAGE_ZFS
> bool "zfs"
> depends on BR2_LINUX_KERNEL
> depends on BR2_PACKAGE_HAS_UDEV
> + depends on BR2_PACKAGE_LIBCURL
For such dependencies, we prefer to select it rather than depends on. depends
on is only for architecture and toolchain dependencies, and in cases that select
doesn't work for some other reason (usually circular dependencies). You need to
propagate its dependencies then, but libcurl doesn't have any.
> depends on BR2_USE_MMU # util-linux (libblkid)
> depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc
> select BR2_PACKAGE_UTIL_LINUX
> diff --git a/package/zfs/zfs.hash b/package/zfs/zfs.hash
> index 7f4f5a59f8..411af974c6 100644
> --- a/package/zfs/zfs.hash
> +++ b/package/zfs/zfs.hash
> @@ -1,5 +1,6 @@
> -# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc
> -sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz
> +# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc
> +sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz
> +sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
>
> # Hash for license files:
> sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE
> diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk
> index dbda8aceb4..07ce3295ec 100644
> --- a/package/zfs/zfs.mk
> +++ b/package/zfs/zfs.mk
> @@ -4,17 +4,17 @@
> #
> ################################################################################
>
> -ZFS_VERSION = 2.0.5
> +ZFS_VERSION = 2.1.4
> ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION)
> +ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
> ZFS_LICENSE = CDDL
> ZFS_LICENSE_FILES = LICENSE COPYRIGHT
> ZFS_CPE_ID_VENDOR = openzfs
> ZFS_CPE_ID_PRODUCT = openzfs
>
> -# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
> ZFS_AUTORECONF = YES
>
> -ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib
> +ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl
>
> # sysvinit installs only a commented-out modules-load.d/ config file
> ZFS_CONF_OPTS = \
> diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py
> index 772a66c1e4..8c1000e1ca 100644
> --- a/support/testing/tests/package/test_zfs.py
> +++ b/support/testing/tests/package/test_zfs.py
> @@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest):
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.3"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
> BR2_PACKAGE_ZFS=y
> @@ -22,6 +22,7 @@ class TestZfsGlibc(infra.basetest.BRTest):
> BR2_PACKAGE_PYTHON_SETUPTOOLS=y
> BR2_PACKAGE_ZLIB_NG=y
> BR2_PACKAGE_LIBRESSL=y
> + BR2_PACKAGE_LIBCURL=y
This won't be needed if you use select in Config.in.
Regards,
Arnout
> BR2_TARGET_ROOTFS_CPIO=y
> # BR2_TARGET_ROOTFS_TAR is not set
> """
> @@ -70,7 +71,7 @@ class TestZfsUclibc(infra.basetest.BRTest):
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.17.3"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
> BR2_PACKAGE_ZFS=y
> @@ -79,6 +80,7 @@ class TestZfsUclibc(infra.basetest.BRTest):
> BR2_PACKAGE_PYTHON_SETUPTOOLS=y
> BR2_PACKAGE_ZLIB_NG=y
> BR2_PACKAGE_LIBRESSL=y
> + BR2_PACKAGE_LIBCURL=y
> BR2_TARGET_ROOTFS_CPIO=y
> # BR2_TARGET_ROOTFS_TAR is not set
> """
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v2] package/zfs: bump version to 2.1.4
2022-04-21 21:09 ` Arnout Vandecappelle
@ 2022-04-23 16:48 ` José Luis Salvador Rufo
2022-04-25 20:21 ` Arnout Vandecappelle
2023-11-26 16:10 ` Yann E. MORIN
0 siblings, 2 replies; 5+ messages in thread
From: José Luis Salvador Rufo @ 2022-04-23 16:48 UTC (permalink / raw)
To: buildroot, Romain Naour, Philippe Serbruyns, Arnout Vandecappelle
Cc: José Luis Salvador Rufo, Yann E . MORIN, Thomas Petazzoni
package/zfs: bump version to 2.1.4
Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
because is already merged.
Select libcurl as required dependency, because keylocation now
supports https.
In order to support uClibc, we have added the patch
bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream.
We update the test cases to use the latest LTS kernel, 5.15.x.
Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
---
Changes v1 -> v2:
- Replace libcurl "depends on" by "select"
- Set the tests to the latest kernel LTS, 5.15.x. 5.17 is the
maximum supported kernel, 3.10 is the minimum.
...law-in-the-Python-3-version-checking.patch | 106 ------------------
package/zfs/Config.in | 1 +
package/zfs/zfs.hash | 5 +-
package/zfs/zfs.mk | 6 +-
support/testing/tests/package/test_zfs.py | 4 +-
5 files changed, 9 insertions(+), 113 deletions(-)
delete mode 100644 package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
deleted file mode 100644
index 70978f9f4d..0000000000
--- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001
-From: Rich Ercolani <214141+rincebrain@users.noreply.github.com>
-Date: Tue, 8 Jun 2021 20:20:16 -0400
-Subject: [PATCH] Correct a flaw in the Python 3 version checking
-
-It turns out the ax_python_devel.m4 version check assumes that
-("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1
-is 10 or above and X is not. (Also presumably X+1=100 and ...)
-
-So let's remake the check to behave consistently, using the
-"packaging" or (if absent) the "distlib" modules.
-
-(Also, update the Github workflows to use the new packages.)
-
-Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
-Reviewed-by: John Kennedy <john.kennedy@delphix.com>
-Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
-Closes: #12073
-(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48)
-[Romain: drop rpm spec and github workflows changes]
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
----
- config/always-pyzfs.m4 | 15 +++++++++++++++
- config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------
- 2 files changed, 42 insertions(+), 6 deletions(-)
-
-diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4
-index 76e07b593..fa39fd885 100644
---- a/config/always-pyzfs.m4
-+++ b/config/always-pyzfs.m4
-@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [
- ])
- AC_SUBST(DEFINE_PYZFS)
-
-+ dnl #
-+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs
-+ dnl #
-+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [
-+ ZFS_AC_PYTHON_MODULE([packaging], [], [
-+ ZFS_AC_PYTHON_MODULE([distlib], [], [
-+ AS_IF([test "x$enable_pyzfs" = xyes], [
-+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed")
-+ ], [test "x$enable_pyzfs" != xno], [
-+ enable_pyzfs=no
-+ ])
-+ ])
-+ ])
-+ ])
-+
- dnl #
- dnl # Require python-devel libraries
- dnl #
-diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4
-index c51b45b7d..cdfbbf81f 100644
---- a/config/ax_python_devel.m4
-+++ b/config/ax_python_devel.m4
-@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[
- # Check for a version of Python >= 2.1.0
- #
- AC_MSG_CHECKING([for a version of Python >= '2.1.0'])
-- ac_supports_python_ver=`$PYTHON -c "import sys; \
-- ver = sys.version.split ()[[0]]; \
-- print (ver >= '2.1.0')"`
-+ ac_supports_python_ver=`cat<<EOD | $PYTHON -
-+from __future__ import print_function;
-+import sys;
-+try:
-+ from packaging import version;
-+except ImportError:
-+ from distlib import version;
-+ver = sys.version.split ()[[0]];
-+(tst_cmp, tst_ver) = ">= '2.1.0'".split ();
-+tst_ver = tst_ver.strip ("'");
-+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))")
-+EOD`
- if test "$ac_supports_python_ver" != "True"; then
- if test -z "$PYTHON_NOVERSIONCHECK"; then
- AC_MSG_RESULT([no])
-@@ -126,9 +135,21 @@ to something else than an empty string.
- #
- if test -n "$1"; then
- AC_MSG_CHECKING([for a version of Python $1])
-- ac_supports_python_ver=`$PYTHON -c "import sys; \
-- ver = sys.version.split ()[[0]]; \
-- print (ver $1)"`
-+ # Why the strip ()? Because if we don't, version.parse
-+ # will, for example, report 3.10.0 >= '3.11.0'
-+ ac_supports_python_ver=`cat<<EOD | $PYTHON -
-+
-+from __future__ import print_function;
-+import sys;
-+try:
-+ from packaging import version;
-+except ImportError:
-+ from distlib import version;
-+ver = sys.version.split ()[[0]];
-+(tst_cmp, tst_ver) = "$1".split ();
-+tst_ver = tst_ver.strip ("'");
-+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))")
-+EOD`
- if test "$ac_supports_python_ver" = "True"; then
- AC_MSG_RESULT([yes])
- else
---
-2.31.1
-
diff --git a/package/zfs/Config.in b/package/zfs/Config.in
index c766c370e4..6209c5865b 100644
--- a/package/zfs/Config.in
+++ b/package/zfs/Config.in
@@ -18,6 +18,7 @@ config BR2_PACKAGE_ZFS
select BR2_PACKAGE_LIBAIO
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_ZLIB
+ select BR2_PACKAGE_LIBCURL
help
OpenZFS on Linux and FreeBSD
diff --git a/package/zfs/zfs.hash b/package/zfs/zfs.hash
index 7f4f5a59f8..411af974c6 100644
--- a/package/zfs/zfs.hash
+++ b/package/zfs/zfs.hash
@@ -1,5 +1,6 @@
-# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc
-sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz
+# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc
+sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz
+sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
# Hash for license files:
sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE
diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk
index dbda8aceb4..07ce3295ec 100644
--- a/package/zfs/zfs.mk
+++ b/package/zfs/zfs.mk
@@ -4,17 +4,17 @@
#
################################################################################
-ZFS_VERSION = 2.0.5
+ZFS_VERSION = 2.1.4
ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION)
+ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
ZFS_LICENSE = CDDL
ZFS_LICENSE_FILES = LICENSE COPYRIGHT
ZFS_CPE_ID_VENDOR = openzfs
ZFS_CPE_ID_PRODUCT = openzfs
-# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
ZFS_AUTORECONF = YES
-ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib
+ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl
# sysvinit installs only a commented-out modules-load.d/ config file
ZFS_CONF_OPTS = \
diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py
index 772a66c1e4..706934ca65 100644
--- a/support/testing/tests/package/test_zfs.py
+++ b/support/testing/tests/package/test_zfs.py
@@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest):
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
- BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
+ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
BR2_PACKAGE_ZFS=y
@@ -70,7 +70,7 @@ class TestZfsUclibc(infra.basetest.BRTest):
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
- BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
+ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
BR2_PACKAGE_ZFS=y
--
2.36.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v2] package/zfs: bump version to 2.1.4
2022-04-23 16:48 ` [Buildroot] [PATCH v2] " José Luis Salvador Rufo
@ 2022-04-25 20:21 ` Arnout Vandecappelle
2023-11-26 16:10 ` Yann E. MORIN
1 sibling, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2022-04-25 20:21 UTC (permalink / raw)
To: José Luis Salvador Rufo, buildroot, Romain Naour,
Philippe Serbruyns
Cc: Yann E . MORIN, Thomas Petazzoni
On 23/04/2022 18:48, José Luis Salvador Rufo wrote:
> package/zfs: bump version to 2.1.4
>
> Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
> because is already merged.
>
> Select libcurl as required dependency, because keylocation now
> supports https.
>
> In order to support uClibc, we have added the patch
> bc3f12bfac152a0c28951cec92340ba14f9ccee9 from upstream.
>
> We update the test cases to use the latest LTS kernel, 5.15.x.
>
> Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> Changes v1 -> v2:
> - Replace libcurl "depends on" by "select"
> - Set the tests to the latest kernel LTS, 5.15.x. 5.17 is the
> maximum supported kernel, 3.10 is the minimum.
>
> ...law-in-the-Python-3-version-checking.patch | 106 ------------------
> package/zfs/Config.in | 1 +
> package/zfs/zfs.hash | 5 +-
> package/zfs/zfs.mk | 6 +-
> support/testing/tests/package/test_zfs.py | 4 +-
> 5 files changed, 9 insertions(+), 113 deletions(-)
> delete mode 100644 package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
>
> diff --git a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
> deleted file mode 100644
> index 70978f9f4d..0000000000
> --- a/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
> +++ /dev/null
> @@ -1,106 +0,0 @@
> -From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001
> -From: Rich Ercolani <214141+rincebrain@users.noreply.github.com>
> -Date: Tue, 8 Jun 2021 20:20:16 -0400
> -Subject: [PATCH] Correct a flaw in the Python 3 version checking
> -
> -It turns out the ax_python_devel.m4 version check assumes that
> -("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1
> -is 10 or above and X is not. (Also presumably X+1=100 and ...)
> -
> -So let's remake the check to behave consistently, using the
> -"packaging" or (if absent) the "distlib" modules.
> -
> -(Also, update the Github workflows to use the new packages.)
> -
> -Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
> -Reviewed-by: John Kennedy <john.kennedy@delphix.com>
> -Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
> -Closes: #12073
> -(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48)
> -[Romain: drop rpm spec and github workflows changes]
> -Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ----
> - config/always-pyzfs.m4 | 15 +++++++++++++++
> - config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------
> - 2 files changed, 42 insertions(+), 6 deletions(-)
> -
> -diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4
> -index 76e07b593..fa39fd885 100644
> ---- a/config/always-pyzfs.m4
> -+++ b/config/always-pyzfs.m4
> -@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [
> - ])
> - AC_SUBST(DEFINE_PYZFS)
> -
> -+ dnl #
> -+ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs
> -+ dnl #
> -+ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [
> -+ ZFS_AC_PYTHON_MODULE([packaging], [], [
> -+ ZFS_AC_PYTHON_MODULE([distlib], [], [
> -+ AS_IF([test "x$enable_pyzfs" = xyes], [
> -+ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed")
> -+ ], [test "x$enable_pyzfs" != xno], [
> -+ enable_pyzfs=no
> -+ ])
> -+ ])
> -+ ])
> -+ ])
> -+
> - dnl #
> - dnl # Require python-devel libraries
> - dnl #
> -diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4
> -index c51b45b7d..cdfbbf81f 100644
> ---- a/config/ax_python_devel.m4
> -+++ b/config/ax_python_devel.m4
> -@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[
> - # Check for a version of Python >= 2.1.0
> - #
> - AC_MSG_CHECKING([for a version of Python >= '2.1.0'])
> -- ac_supports_python_ver=`$PYTHON -c "import sys; \
> -- ver = sys.version.split ()[[0]]; \
> -- print (ver >= '2.1.0')"`
> -+ ac_supports_python_ver=`cat<<EOD | $PYTHON -
> -+from __future__ import print_function;
> -+import sys;
> -+try:
> -+ from packaging import version;
> -+except ImportError:
> -+ from distlib import version;
> -+ver = sys.version.split ()[[0]];
> -+(tst_cmp, tst_ver) = ">= '2.1.0'".split ();
> -+tst_ver = tst_ver.strip ("'");
> -+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))")
> -+EOD`
> - if test "$ac_supports_python_ver" != "True"; then
> - if test -z "$PYTHON_NOVERSIONCHECK"; then
> - AC_MSG_RESULT([no])
> -@@ -126,9 +135,21 @@ to something else than an empty string.
> - #
> - if test -n "$1"; then
> - AC_MSG_CHECKING([for a version of Python $1])
> -- ac_supports_python_ver=`$PYTHON -c "import sys; \
> -- ver = sys.version.split ()[[0]]; \
> -- print (ver $1)"`
> -+ # Why the strip ()? Because if we don't, version.parse
> -+ # will, for example, report 3.10.0 >= '3.11.0'
> -+ ac_supports_python_ver=`cat<<EOD | $PYTHON -
> -+
> -+from __future__ import print_function;
> -+import sys;
> -+try:
> -+ from packaging import version;
> -+except ImportError:
> -+ from distlib import version;
> -+ver = sys.version.split ()[[0]];
> -+(tst_cmp, tst_ver) = "$1".split ();
> -+tst_ver = tst_ver.strip ("'");
> -+eval ("print (version.LegacyVersion (ver)"+ tst_cmp +"version.LegacyVersion (tst_ver))")
> -+EOD`
> - if test "$ac_supports_python_ver" = "True"; then
> - AC_MSG_RESULT([yes])
> - else
> ---
> -2.31.1
> -
> diff --git a/package/zfs/Config.in b/package/zfs/Config.in
> index c766c370e4..6209c5865b 100644
> --- a/package/zfs/Config.in
> +++ b/package/zfs/Config.in
> @@ -18,6 +18,7 @@ config BR2_PACKAGE_ZFS
> select BR2_PACKAGE_LIBAIO
> select BR2_PACKAGE_OPENSSL
> select BR2_PACKAGE_ZLIB
> + select BR2_PACKAGE_LIBCURL
> help
> OpenZFS on Linux and FreeBSD
>
> diff --git a/package/zfs/zfs.hash b/package/zfs/zfs.hash
> index 7f4f5a59f8..411af974c6 100644
> --- a/package/zfs/zfs.hash
> +++ b/package/zfs/zfs.hash
> @@ -1,5 +1,6 @@
> -# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc
> -sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz
> +# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc
> +sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz
> +sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
>
> # Hash for license files:
> sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE
> diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk
> index dbda8aceb4..07ce3295ec 100644
> --- a/package/zfs/zfs.mk
> +++ b/package/zfs/zfs.mk
> @@ -4,17 +4,17 @@
> #
> ################################################################################
>
> -ZFS_VERSION = 2.0.5
> +ZFS_VERSION = 2.1.4
> ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION)
> +ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
> ZFS_LICENSE = CDDL
> ZFS_LICENSE_FILES = LICENSE COPYRIGHT
> ZFS_CPE_ID_VENDOR = openzfs
> ZFS_CPE_ID_PRODUCT = openzfs
>
> -# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
> ZFS_AUTORECONF = YES
>
> -ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib
> +ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl
>
> # sysvinit installs only a commented-out modules-load.d/ config file
> ZFS_CONF_OPTS = \
> diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py
> index 772a66c1e4..706934ca65 100644
> --- a/support/testing/tests/package/test_zfs.py
> +++ b/support/testing/tests/package/test_zfs.py
> @@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest):
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
> BR2_PACKAGE_ZFS=y
> @@ -70,7 +70,7 @@ class TestZfsUclibc(infra.basetest.BRTest):
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
> BR2_PACKAGE_ZFS=y
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v2] package/zfs: bump version to 2.1.4
2022-04-23 16:48 ` [Buildroot] [PATCH v2] " José Luis Salvador Rufo
2022-04-25 20:21 ` Arnout Vandecappelle
@ 2023-11-26 16:10 ` Yann E. MORIN
1 sibling, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2023-11-26 16:10 UTC (permalink / raw)
To: José Luis Salvador Rufo
Cc: Romain Naour, Philippe Serbruyns, Thomas Petazzoni, buildroot
José, All,
Sorry to resurrect this old change, but see below...
On 2022-04-23 18:48 +0200, José Luis Salvador Rufo spake thusly:
> package/zfs: bump version to 2.1.4
[--SNIP--]
> diff --git a/package/zfs/zfs.mk b/package/zfs/zfs.mk
> index dbda8aceb4..07ce3295ec 100644
> --- a/package/zfs/zfs.mk
> +++ b/package/zfs/zfs.mk
> @@ -4,17 +4,17 @@
> #
> ################################################################################
>
> -ZFS_VERSION = 2.0.5
> +ZFS_VERSION = 2.1.4
> ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION)
> +ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
Using a patch autogenerated from a forge like github, is not
reproducible:
wget --passive-ftp -nd -t 3 -O '/home/ymorin/dev/buildroot/O/master/build/.bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch.uoFq9e/output' 'https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch'
--2023-11-26 16:53:25--
https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2976 (2.9K) [text/plain]
Saving to: ‘/home/ymorin/dev/buildroot/O/master/build/.bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch.uoFq9e/output’
/home/ymorin/dev/buildroot/O/ 100%[================================================>] 2.91K --.-KB/s in 0s
2023-11-26 16:53:25 (15.0 MB/s) - ‘/home/ymorin/dev/buildroot/O/master/build/.bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch.uoFq9e/output’ saved [2976/2976]
ERROR: while checking hashes from package/zfs//zfs.hash
ERROR: bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch has wrong sha256 hash:
ERROR: expected: 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a
ERROR: got : 246c80f66abca5a7e0c41cc7c56eec0b4cb7f16b142262480401142bbc2f999f
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
The reason is that git-generated patches embed shot-hashes, and the
length of those short hashes may change over time for various reasons,
mostly one of:
- the repo has more commits, and thus the short hashes need to be
longer to avoid collisions;
- the heuristic to compute the length changes;
- the git configuration changes, see core.abbrev in git-config.
So, I'll push a quick fix to use a local patch.
Regards,
Yann E. MORIN.
> ZFS_LICENSE = CDDL
> ZFS_LICENSE_FILES = LICENSE COPYRIGHT
> ZFS_CPE_ID_VENDOR = openzfs
> ZFS_CPE_ID_PRODUCT = openzfs
>
> -# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
> ZFS_AUTORECONF = YES
>
> -ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib
> +ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl
>
> # sysvinit installs only a commented-out modules-load.d/ config file
> ZFS_CONF_OPTS = \
> diff --git a/support/testing/tests/package/test_zfs.py b/support/testing/tests/package/test_zfs.py
> index 772a66c1e4..706934ca65 100644
> --- a/support/testing/tests/package/test_zfs.py
> +++ b/support/testing/tests/package/test_zfs.py
> @@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest):
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
> BR2_PACKAGE_ZFS=y
> @@ -70,7 +70,7 @@ class TestZfsUclibc(infra.basetest.BRTest):
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
> + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
> BR2_PACKAGE_ZFS=y
> --
> 2.36.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-11-26 16:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-16 16:48 [Buildroot] [PATCH 1/1] package/zfs: bump version to 2.1.4 José Luis Salvador Rufo
2022-04-21 21:09 ` Arnout Vandecappelle
2022-04-23 16:48 ` [Buildroot] [PATCH v2] " José Luis Salvador Rufo
2022-04-25 20:21 ` Arnout Vandecappelle
2023-11-26 16:10 ` Yann E. MORIN
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.