| 1 |
|
# Copyright 1999-2025 Gentoo Authors
|
|
1 |
# Copyright 1999-2026 Gentoo Authors
|
| 2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
|
|
6 |
# Maintainers should consider lurking in the ZFS IRC channels (there's several)
|
|
7 |
# and regularly checking ZFS GitHub issues and PRs. Look out for the 'zfs-*'
|
|
8 |
# stable backport PRs when they're opened and subscribe to them for any important
|
|
9 |
# cherry-picks that may be needed in advance.
|
|
10 |
|
| 6 |
11 |
DISTUTILS_OPTIONAL=1
|
| 7 |
12 |
DISTUTILS_USE_PEP517=setuptools
|
| 8 |
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
13 |
PYTHON_COMPAT=( python3_{10..13} )
|
| 9 |
14 |
|
| 10 |
|
inherit autotools bash-completion-r1 dist-kernel-utils distutils-r1 flag-o-matic linux-info
|
| 11 |
|
inherit pam systemd udev usr-ldscript
|
|
15 |
inherit autotools bash-completion-r1 dist-kernel-utils distutils-r1 flag-o-matic linux-info pam systemd udev usr-ldscript
|
| 12 |
16 |
|
| 13 |
17 |
DESCRIPTION="Userland utilities for ZFS Linux kernel module"
|
| 14 |
18 |
HOMEPAGE="https://github.com/openzfs/zfs"
|
| ... | ... | |
| 26 |
30 |
S="${WORKDIR}/${MY_P}"
|
| 27 |
31 |
|
| 28 |
32 |
if [[ ${PV} != *_rc* ]]; then
|
| 29 |
|
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc"
|
|
33 |
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~sparc"
|
| 30 |
34 |
fi
|
| 31 |
35 |
fi
|
| 32 |
36 |
|
| ... | ... | |
| 34 |
38 |
# just libzfs soname major for now.
|
| 35 |
39 |
# possible candidates: libuutil, libzpool, libnvpair. Those do not provide stable abi, but are considered.
|
| 36 |
40 |
# see libsoversion_check() below as well
|
| 37 |
|
SLOT="0/5"
|
|
41 |
SLOT="0/6"
|
| 38 |
42 |
IUSE="custom-cflags debug dist-kernel kernel-builtin minimal nls pam python +rootfs selinux test-suite unwind"
|
| 39 |
43 |
|
| 40 |
44 |
DEPEND="
|
| ... | ... | |
| 108 |
112 |
PATCHES=(
|
| 109 |
113 |
"${FILESDIR}"/2.1.5-dracut-zfs-missing.patch
|
| 110 |
114 |
"${FILESDIR}"/2.3.4-musl.patch
|
| 111 |
|
"${FILESDIR}"/2.2.9-nfs-truncate-shares.patch
|
| 112 |
115 |
)
|
| 113 |
116 |
|
| 114 |
117 |
pkg_pretend() {
|