summaryrefslogtreecommitdiff
path: root/sys-fs/zfs-utils/zfs-utils-2.1.13.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-23 22:28:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-23 22:28:06 +0000
commitb2b169e8122c32d86528792bba2adc0eb05ae689 (patch)
tree91765f3e7a139fbde81ce4be524dbc6e7b23a1b1 /sys-fs/zfs-utils/zfs-utils-2.1.13.ebuild
parent49f51e7b2a46d4f578fa3c7836ec50763bfac9ec (diff)
sys-fs/zfs : version bump
Diffstat (limited to 'sys-fs/zfs-utils/zfs-utils-2.1.13.ebuild')
-rw-r--r--sys-fs/zfs-utils/zfs-utils-2.1.13.ebuild100
1 files changed, 0 insertions, 100 deletions
diff --git a/sys-fs/zfs-utils/zfs-utils-2.1.13.ebuild b/sys-fs/zfs-utils/zfs-utils-2.1.13.ebuild
deleted file mode 100644
index 5919c1b7..00000000
--- a/sys-fs/zfs-utils/zfs-utils-2.1.13.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1 flag-o-matic pam toolchain-funcs udev
-
-MY_PN="zfs"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Userland utilities for ZFS Linux kernel module"
-HOMEPAGE="https://zfsonlinux.org/"
-
-SRC_URI="https://github.com/openzfs/${PN}/releases/download/${MY_P}/${MY_P}.tar.gz"
-KEYWORDS="~amd64"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="BSD-2 CDDL MIT"
-SLOT="0"
-IUSE="debug nls pam test-suite"
-
-DEPEND="
- net-libs/libtirpc:=
- sys-apps/util-linux
- sys-libs/zlib
- virtual/libudev:=
- dev-libs/openssl:0=
- pam? ( sys-libs/pam )
-"
-
-BDEPEND="app-alternatives/awk
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
-"
-
-RDEPEND="${DEPEND}
- virtual/udev
- sys-fs/udev-init-scripts
- test-suite? (
- sys-apps/kmod[tools]
- sys-apps/util-linux
- sys-devel/bc
- sys-block/parted
- sys-fs/lsscsi
- sys-fs/mdadm
- sys-process/procps
- )
-"
-
-RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}"/2.1.5-r2-dracut-non-root.patch
- "${FILESDIR}"/2.1.5-dracut-zfs-missing.patch
-)
-
-src_prepare() {
- default
-
- # prevent errors showing up on zfs-mount stop, #647688
- # openrc will unmount all filesystems anyway.
- sed -i "/^ZFS_UNMOUNT=/ s/yes/no/" "etc/default/zfs.in" || die
-}
-
-src_configure() {
- local myconf=(
- --bindir="${EPREFIX}/bin"
- --enable-shared
- --disable-systemd
- --enable-sysvinit
- --localstatedir="${EPREFIX}/var"
- --sbindir="${EPREFIX}/sbin"
- --with-config=user
- --with-dracutdir="${EPREFIX}/usr/lib/dracut"
- --with-udevdir="$(get_udevdir)"
- --with-pamconfigsdir="${EPREFIX}/unwanted_files"
- --with-pammoduledir="$(getpam_mod_dir)"
- --with-vendor=redcore
- $(use_enable debug)
- $(use_enable nls)
- $(use_enable pam)
- --disable-pyzfs
- --disable-static
- )
-
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- gen_usr_ldscript -a nvpair uutil zfsbootenv zfs zfs_core zpool
- dobashcomp contrib/bash_completion.d/zfs
- bashcomp_alias zfs zpool
- dodir etc/conf.d
- insinto etc/conf.d
- doins "${S}"/etc/default/zfs
- use pam && { rm -rv "${ED}/unwanted_files" || die ; }
- use test-suite || { rm -r "${ED}/usr/share/zfs" || die ; }
-}