From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] zfs: update to 2.3.0.
Date: Sun, 26 Jan 2025 23:42:13 +0100 [thread overview]
Message-ID: <20250126224213.81BB0201BA@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53964@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1234 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages zfs-2.3.0
https://github.com/void-linux/void-packages/pull/53964
zfs: update to 2.3.0.
@vaelatern @zdykstra
**repo for testing https://devspace.voidlinux.org/abby/zfs-2.3.0**
#### Testing the changes
- I tested the changes in this PR: **NO**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/53964.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zfs-2.3.0-53964.patch --]
[-- Type: text/x-diff, Size: 10986 bytes --]
From 6dbcd65696dbaf90725b94da2f335e46d91548e9 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 13 Jan 2025 21:56:40 -0500
Subject: [PATCH 1/3] pam_zfscrypt: remove package
archived for 3 years, popcorn reports no installs
---
.../patches/zfs-encrypt-enum.patch | 23 ---------------
srcpkgs/pam_zfscrypt/template | 29 -------------------
srcpkgs/removed-packages/template | 19 ++++++------
3 files changed, 10 insertions(+), 61 deletions(-)
delete mode 100644 srcpkgs/pam_zfscrypt/patches/zfs-encrypt-enum.patch
delete mode 100644 srcpkgs/pam_zfscrypt/template
diff --git a/srcpkgs/pam_zfscrypt/patches/zfs-encrypt-enum.patch b/srcpkgs/pam_zfscrypt/patches/zfs-encrypt-enum.patch
deleted file mode 100644
index 01bd2cfac1eb6a..00000000000000
--- a/srcpkgs/pam_zfscrypt/patches/zfs-encrypt-enum.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Index: pam_zfscrypt-0.2.0/include/zfscrypt_dataset.h
-===================================================================
---- pam_zfscrypt-0.2.0.orig/include/zfscrypt_dataset.h
-+++ pam_zfscrypt-0.2.0/include/zfscrypt_dataset.h
-@@ -71,18 +71,3 @@ zfscrypt_err_t zfscrypt_dataset_iter(zfs
- // private constants
-
- extern const char ZFSCRYPT_USER_PROPERTY[];
--
--// FIXME Copied from /usr/include/libzfs/sys/zio.h because including <sys/zio.h> results in
--// compiler error about unknown type rlim64_t.
--enum zio_encrypt {
-- ZIO_CRYPT_INHERIT = 0,
-- ZIO_CRYPT_ON,
-- ZIO_CRYPT_OFF,
-- ZIO_CRYPT_AES_128_CCM,
-- ZIO_CRYPT_AES_192_CCM,
-- ZIO_CRYPT_AES_256_CCM,
-- ZIO_CRYPT_AES_128_GCM,
-- ZIO_CRYPT_AES_192_GCM,
-- ZIO_CRYPT_AES_256_GCM,
-- ZIO_CRYPT_FUNCTIONS
--};
diff --git a/srcpkgs/pam_zfscrypt/template b/srcpkgs/pam_zfscrypt/template
deleted file mode 100644
index 6e2a524a7f48f9..00000000000000
--- a/srcpkgs/pam_zfscrypt/template
+++ /dev/null
@@ -1,29 +0,0 @@
-# Template file for 'pam_zfscrypt'
-pkgname=pam_zfscrypt
-version=0.2.0
-revision=3
-build_style=gnu-makefile
-makedepends="pam-devel zfs-devel"
-depends="pam"
-short_desc="Automatically decrypt and mount encrypted ZFS home directories"
-maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
-license="MIT"
-homepage="https://github.com/project-trident/zfscrypt"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=73244e7e97ab5a47a9ea4a24ac490f07bfe7c1eb0c920e03df202494ea61b650
-# Makefile is racy, build sequentially
-disable_parallel_build=yes
-
-CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -Iinclude"
-
-post_patch() {
- if [ "${CROSS_BUILD}" ]; then
- vsed -i Makefile \
- -e "/ZFSINC :=/s,-isystem/usr/,-I${XBPS_CROSS_BASE}/usr/,g"
- fi
-}
-
-do_install() {
- vinstall build/pam_zfscrypt.so 0755 usr/lib/security
- vlicense LICENSE
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index a5ca51952f9741..616ea6db5309f9 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,6 +1,6 @@
# Template file for 'removed-packages'
pkgname=removed-packages
-version=0.1.20250110
+version=0.1.20250113
revision=1
build_style=meta
short_desc="Uninstalls packages removed from repository"
@@ -23,6 +23,7 @@ replaces="
PolyMC<=7.2_1
PrusaSlicer<=2.5.2_5
Pyrex<=0.9.9_5
+ Rocket.Chat-Desktop<=3.8.7_3
SMC<=1.9_9
Slic3rPE<=2.5.2_5
Twisted<=17.9.0_2
@@ -335,11 +336,9 @@ replaces="
kmediaplayer<=5.115.0_1
kmime<=23.08.5_1
kpty<=5.115.0_1
- ksanecore<=24.08.3_1
- ksanecore-devel<=24.08.3_1
- libksane<=24.08.3_1
- libksane-devel<=24.08.3_1
kquickcharts<=5.115.0_1
+ ksanecore-devel<=24.08.3_1
+ ksanecore<=24.08.3_1
kxmlrpcclient<5.115.0_1
ladish-devel<=1_11
ladish<=1_11
@@ -405,6 +404,8 @@ replaces="
libgnome-keyring<=3.12.0_5
libgroff<=1.22.4_3
libgtkhtml<=4.10.0_1
+ libksane-devel<=24.08.3_1
+ libksane<=24.08.3_1
libkscreen<=5.27.11_3
libllvm10<=10.0.0_8
libllvm11<=11.0.0_2
@@ -547,6 +548,7 @@ replaces="
openlierox<=0.58.rc5_2
opentmpfiles<=0.3.1_1
orage<=4.12.1_7
+ pam_zfscrypt<=0.2.0_3
parallel-rust<=0.11.3_2
paraview<=5.8.1_3
pcb<=4.3.0_1
@@ -736,8 +738,8 @@ replaces="
python3-jsonrpc-server<=0.4.0_2
python3-keepalive<=0.5_6
python3-lockfile<=0.12.2_7
- python3-nose<=1.3.7_10
python3-nose-random<=1.0.0_6
+ python3-nose<=1.3.7_10
python3-pgpdump<=1.5_10
python3-pyPEG2<=2.15.2_7
python3-pyenet<=5.15.0_2
@@ -783,9 +785,9 @@ replaces="
qucs<=0.0.19_2
qupzilla1<=1.8.9_16
qupzilla<=3.0.1_1
- rand48_r<=0.2_1
- rand48_r-devel<=0.2_1
r2-bindings<=1.0.1_2
+ rand48_r-devel<=0.2_1
+ rand48_r<=0.2_1
raul-devel<=0.8.0_6
raul<=0.8.0_6
redkite<=1.3.1_1
@@ -798,7 +800,6 @@ replaces="
rkt-stage1-fly<=1.30.0_3
rkt<=1.30.0_3
rmapi<=0.0.25_4
- Rocket.Chat-Desktop<=3.8.7_3
rpi-userland-devel<=20230920_1
rundird<=0.2.0_1
scantailor<=0.9.12.1_2
From 2e29bcc517662d4c4a0ebce06c239d28620b6c2f Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 13 Jan 2025 21:57:56 -0500
Subject: [PATCH 2/3] zfs: update to 2.3.0.
---
common/shlibs | 6 ++++--
srcpkgs/zfs/template | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index 2ea72f71529761..60d4e44c2eb5e9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3969,9 +3969,11 @@ libtss2-rc.so.0 tpm2-tss-2.3.1_1
libtss2-tcti-mssim.so.0 tpm2-tss-2.3.1_1
libtss2-tctildr.so.0 tpm2-tss-2.3.1_1
libzfsbootenv.so.1 libzfs-2.1.7_1
-libzfs.so.4 libzfs-2.1.7_1
+libzfs.so.6 libzfs-2.3.0_1
+libzpool.so.6 libzfs-2.3.0_1
+libzfs.so.4 libzfs-lts-2.1.7_1
libuutil.so.3 libzfs-2.1.7_1
-libzpool.so.5 libzfs-2.1.7_1
+libzpool.so.5 libzfs-lts-2.1.7_1
libzfs_core.so.3 libzfs-2.1.7_1
libnvpair.so.3 libzfs-2.1.7_1
libgmio.so gmio-0.4.1_1
diff --git a/srcpkgs/zfs/template b/srcpkgs/zfs/template
index 3485a15afb49a9..f4e702face6e4a 100644
--- a/srcpkgs/zfs/template
+++ b/srcpkgs/zfs/template
@@ -1,6 +1,6 @@
# Template file for 'zfs'
pkgname=zfs
-version=2.2.7
+version=2.3.0
revision=1
build_style=gnu-configure
configure_args="--with-config=user --with-mounthelperdir=/usr/bin
@@ -16,7 +16,7 @@ maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="CDDL-1.0"
homepage="https://openzfs.github.io/openzfs-docs/"
distfiles="https://github.com/openzfs/zfs/releases/download/zfs-${version}/zfs-${version}.tar.gz"
-checksum=b2b8e3bfabf2a6407a0132243726cb6762547a5bd095b1b1f37eaf2a9d8f7672
+checksum=6e8787eab55f24c6b9c317f3fe9b0da9a665eb34c31df88ff368d9a92e9356a6
# dkms must be before initramfs-regenerate to build modules before images
triggers="dkms initramfs-regenerate"
dkms_modules="zfs ${version}"
From f6f61d0cbedaa08d0c685edf26fe5529cf5ce4aa Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 26 Jan 2025 17:41:32 -0500
Subject: [PATCH 3/3] zfs-lts: update to 2.2.7.
2.2 is now LTS: https://github.com/openzfs/zfs/pull/16948
---
.../patches/0002-fix-dracut-root.patch | 56 -------------------
srcpkgs/zfs-lts/template | 11 +++-
2 files changed, 8 insertions(+), 59 deletions(-)
delete mode 100644 srcpkgs/zfs-lts/patches/0002-fix-dracut-root.patch
diff --git a/srcpkgs/zfs-lts/patches/0002-fix-dracut-root.patch b/srcpkgs/zfs-lts/patches/0002-fix-dracut-root.patch
deleted file mode 100644
index 384f08355f73f0..00000000000000
--- a/srcpkgs/zfs-lts/patches/0002-fix-dracut-root.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From eefe83eaa68f7cb4a49c580dd940d3688e42c849 Mon Sep 17 00:00:00 2001
-From: Toyam Cox <aviator45003@gmail.com>
-Date: Thu, 30 Jun 2022 13:47:58 -0400
-Subject: [PATCH] dracut: fix boot on non-zfs-root systems
-
-Simply prevent overwriting root until it needs to be overwritten.
-
-Dracut could change this value before this module is called, but won't
-change the kernel command line.
-
-Reviewed-by: Andrew J. Hesford <ajh@sideband.org>
-Signed-off-by: Toyam Cox <vaelatern@voidlinux.org>
-Closes #13592
----
- contrib/dracut/90zfs/zfs-lib.sh.in | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/contrib/dracut/90zfs/zfs-lib.sh.in b/contrib/dracut/90zfs/zfs-lib.sh.in
-index e44673c2d75..3a43e514d6f 100755
---- a/contrib/dracut/90zfs/zfs-lib.sh.in
-+++ b/contrib/dracut/90zfs/zfs-lib.sh.in
-@@ -88,11 +88,11 @@ decode_root_args() {
- return
- fi
-
-- root=$(getarg root=)
-+ xroot=$(getarg root=)
- rootfstype=$(getarg rootfstype=)
-
- # shellcheck disable=SC2249
-- case "$root" in
-+ case "$xroot" in
- ""|zfs|zfs:|zfs:AUTO)
- root=zfs:AUTO
- rootfstype=zfs
-@@ -100,7 +100,7 @@ decode_root_args() {
- ;;
-
- ZFS=*|zfs:*)
-- root="${root#zfs:}"
-+ root="${xroot#zfs:}"
- root="${root#ZFS=}"
- root=$(echo "$root" | tr '+' ' ')
- rootfstype=zfs
-@@ -109,9 +109,9 @@ decode_root_args() {
- esac
-
- if [ "$rootfstype" = "zfs" ]; then
-- case "$root" in
-+ case "$xroot" in
- "") root=zfs:AUTO ;;
-- *) root=$(echo "$root" | tr '+' ' ') ;;
-+ *) root=$(echo "$xroot" | tr '+' ' ') ;;
- esac
- return 0
- fi
diff --git a/srcpkgs/zfs-lts/template b/srcpkgs/zfs-lts/template
index 5b8f9d630ed16c..a7b1c9ab69d927 100644
--- a/srcpkgs/zfs-lts/template
+++ b/srcpkgs/zfs-lts/template
@@ -1,6 +1,6 @@
# Template file for 'zfs-lts'
pkgname=zfs-lts
-version=2.1.16
+version=2.2.7
revision=1
build_style=gnu-configure
configure_args="--with-config=user --with-mounthelperdir=/usr/bin
@@ -10,13 +10,13 @@ hostmakedepends="dracut libtool pkg-config python3 automake tar"
makedepends="pam-devel zlib-devel libuuid-devel libblkid-devel libtirpc-devel attr-devel"
depends="dkms>=2.2.0.3_9 perl python3 xbps-triggers>=0.121_1
libzfs-lts>=${version}_${revision}"
-conf_files="/etc/zfs/zed.d/zed.rc"
+conf_files="/etc/zfs/zed.d/zed.rc /usr/src/zfs-${version}/META"
short_desc="Z File System -- userland, pyzfs, and kernel modules (using DKMS)"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="CDDL-1.0"
homepage="https://openzfs.github.io/openzfs-docs/"
distfiles="https://github.com/openzfs/zfs/releases/download/zfs-${version}/zfs-${version}.tar.gz"
-checksum=07908553eaf54fbd2c9c64f05fa07007de51a7c990e96b1820cd345c8797ae41
+checksum=b2b8e3bfabf2a6407a0132243726cb6762547a5bd095b1b1f37eaf2a9d8f7672
# dkms must be before initramfs-regenerate to build modules before images
triggers="dkms initramfs-regenerate"
dkms_modules="zfs ${version}"
@@ -56,6 +56,11 @@ post_install() {
# Contains ELF binaries. Remove it until upstream has a way to move this
# into /usr/libexec or similiar.
rm -rf ${DESTDIR}/usr/share/zfs/zfs-tests
+
+ # move bash completions to a policy compliant directory
+ vmkdir usr/share/bash-completion/completions
+ mv ${DESTDIR}/etc/bash_completion.d/* \
+ ${DESTDIR}/usr/share/bash-completion/completions
}
libzfs-lts_package() {
next prev parent reply other threads:[~2025-01-26 22:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 3:19 [PR PATCH] " classabbyamp
2025-01-14 3:30 ` [PR PATCH] [Updated] " classabbyamp
2025-01-25 21:29 ` classabbyamp
2025-01-26 21:57 ` ahesford
2025-01-26 22:42 ` classabbyamp [this message]
2025-02-04 19:40 ` zdykstra
2025-02-12 17:36 ` classabbyamp
2025-02-17 21:42 ` [PR PATCH] [Updated] " classabbyamp
2025-02-17 21:46 ` classabbyamp
2025-02-17 22:08 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250126224213.81BB0201BA@inbox.vuxu.org \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).