DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{6,7} )
-inherit bash-completion-r1 flag-o-matic linux-info distutils-r1 systemd toolchain-funcs udev usr-ldscript
+inherit autotools bash-completion-r1 flag-o-matic linux-info distutils-r1 systemd toolchain-funcs udev usr-ldscript
DESCRIPTION="Userland utilities for ZFS Linux kernel module"
-HOMEPAGE="https://zfsonlinux.org/"
+HOMEPAGE="https://github.com/openzfs/zfs"
if [[ ${PV} == "9999" ]] ; then
- inherit autotools git-r3 linux-mod
- EGIT_REPO_URI="https://github.com/zfsonlinux/zfs.git"
+ inherit git-r3 linux-mod
+ EGIT_REPO_URI="https://github.com/openzfs/zfs.git"
else
- SRC_URI="https://github.com/zfsonlinux/${PN}/releases/download/${P}/${P}.tar.gz"
+ SRC_URI="https://github.com/openzfs/${PN}/releases/download/${P}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~ppc64"
fi
RESTRICT="test"
-PATCHES=(
- "${FILESDIR}/bash-completion-sudo.patch"
-)
+PATCHES=( "${FILESDIR}/bash-completion-sudo.patch" )
pkg_setup() {
if use kernel_linux && use test-suite; then
# enforce best available python implementation
python_fix_shebang "${ED}/bin"
-
}
pkg_postinst() {
elog " sys-kernel/dracut"
elog " sys-kernel/genkernel"
fi
-
- if has_version "<=sys-kernel/genkernel-3.5.3.3"; then
- einfo "genkernel version 3.5.3.3 and earlier does NOT support"
- einfo " unlocking pools with native zfs encryption enabled at boot"
- einfo " use dracut or >=genkernel-4 if you requre this functionality"
- fi
fi
if ! use kernel-builtin && [[ ${PV} = "9999" ]]; then