summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/zfs-utils/Manifest2
-rw-r--r--sys-fs/zfs-utils/files/2.2.2-no-USER_NS.patch39
-rw-r--r--sys-fs/zfs-utils/zfs-utils-2.3.0.ebuild (renamed from sys-fs/zfs-utils/zfs-utils-2.2.7.ebuild)1
-rw-r--r--sys-fs/zfs/zfs-2.3.0.ebuild (renamed from sys-fs/zfs/zfs-2.2.7.ebuild)0
4 files changed, 1 insertions, 41 deletions
diff --git a/sys-fs/zfs-utils/Manifest b/sys-fs/zfs-utils/Manifest
index 31a404de..cb4f42d9 100644
--- a/sys-fs/zfs-utils/Manifest
+++ b/sys-fs/zfs-utils/Manifest
@@ -1 +1 @@
-DIST zfs-2.2.7.tar.gz 33852602 BLAKE2B 31a066d5d543e3328d1afd065a8da4f9b4c52433d585cdbb41936900fd1453431585c6bc4b6e6d9a497a03e79969bae883e17cf4677099686feb3e32577d2777 SHA512 6493faa8e31d9c042c4e8f748d32cb9243212fdf4e0341c19568b47bcf302e60beb89940b80374610b71e1dca1ca5813f3efaddbf1a2453ceabb38381165b271
+DIST zfs-2.3.0.tar.gz 34029599 BLAKE2B b9fb7913f95dd0c8aec703961ecc0413aa51df889f15b1541ff8fcd7146ba485947fab83deb062bdffcdeab17a2465b7551c7eba3ec55c62c21aba58846c0da5 SHA512 f0bb1c6e28b325765be809dbc5d38ba294daa38b54eafd7d129cf6081fb209b200580437019faeed3614bbb0687d6583698a9282f3275905a1f5a8314a66cf0b
diff --git a/sys-fs/zfs-utils/files/2.2.2-no-USER_NS.patch b/sys-fs/zfs-utils/files/2.2.2-no-USER_NS.patch
deleted file mode 100644
index b132db9d..00000000
--- a/sys-fs/zfs-utils/files/2.2.2-no-USER_NS.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-https://github.com/openzfs/zfs/issues/15241
-https://github.com/openzfs/zfs/pull/15560
-
-From e0a7ec29d91b79adfd81073f229241351ed0ae21 Mon Sep 17 00:00:00 2001
-From: Ilkka Sovanto <github@ilkka.kapsi.fi>
-Date: Wed, 22 Nov 2023 20:24:47 +0200
-Subject: [PATCH] Fix zoneid when USER_NS is disabled
-
-getzoneid() should return GLOBAL_ZONEID instead of 0 when USER_NS is disabled.
-
-Signed-off-by: Ilkka Sovanto <github@ilkka.kapsi.fi>
---- a/lib/libspl/os/linux/zone.c
-+++ b/lib/libspl/os/linux/zone.c
-@@ -42,20 +42,20 @@ getzoneid(void)
- int c = snprintf(path, sizeof (path), "/proc/self/ns/user");
- /* This API doesn't have any error checking... */
- if (c < 0 || c >= sizeof (path))
-- return (0);
-+ return (GLOBAL_ZONEID);
-
- ssize_t r = readlink(path, buf, sizeof (buf) - 1);
- if (r < 0)
-- return (0);
-+ return (GLOBAL_ZONEID);
-
- cp = strchr(buf, '[');
- if (cp == NULL)
-- return (0);
-+ return (GLOBAL_ZONEID);
- cp++;
-
- unsigned long n = strtoul(cp, NULL, 10);
- if (n == ULONG_MAX && errno == ERANGE)
-- return (0);
-+ return (GLOBAL_ZONEID);
- zoneid_t z = (zoneid_t)n;
-
- return (z);
-
diff --git a/sys-fs/zfs-utils/zfs-utils-2.2.7.ebuild b/sys-fs/zfs-utils/zfs-utils-2.3.0.ebuild
index 2ef8e142..ab207679 100644
--- a/sys-fs/zfs-utils/zfs-utils-2.2.7.ebuild
+++ b/sys-fs/zfs-utils/zfs-utils-2.3.0.ebuild
@@ -53,7 +53,6 @@ RESTRICT="test"
PATCHES=(
"${FILESDIR}"/2.1.5-dracut-zfs-missing.patch
- "${FILESDIR}"/2.2.2-no-USER_NS.patch
)
src_prepare() {
diff --git a/sys-fs/zfs/zfs-2.2.7.ebuild b/sys-fs/zfs/zfs-2.3.0.ebuild
index bdcb914c..bdcb914c 100644
--- a/sys-fs/zfs/zfs-2.2.7.ebuild
+++ b/sys-fs/zfs/zfs-2.3.0.ebuild