sys-fs/zfs-auto-utils - 1.0.0 (vowstar)

Search

Install

Install this version:

emerge -a =sys-fs/zfs-auto-utils-1.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-fs/zfs-auto-utils-1.0.0

Or alternatively:

emerge --autounmask-write -a =sys-fs/zfs-auto-utils-1.0.0

Package Information

Description:
ZFS Automatic Scrub/Trim for Linux
Homepage:
https://github.com/zfsonlinux
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.0.0 8 ~amd64 ~arm64 ~ppc64 ~riscv 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/vowstar/${PN}.git"
else
	SRC_URI="https://github.com/vowstar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
fi

DESCRIPTION="ZFS Automatic Scrub/Trim for Linux"
HOMEPAGE="https://github.com/zfsonlinux"

LICENSE="GPL-2+"
SLOT="0"

RDEPEND="
	sys-fs/zfs
	virtual/cron
"

DOCS=( README )

src_install() {
	emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
	einstalldocs
}

pkg_postinst() {
	ewarn "jobs are enabled by default for ALL zfs pools"
	ewarn "enable default-exclude flag, or"
	ewarn "set com.sun:auto-scrub=false to disable auto scrub"
	ewarn "set com.sun:auto-trim=false to disable auto trim"
}

Inherited Eclasses

Dependencies

RDEPEND

	sys-fs/zfs
	virtual/cron

Manifest for 1.0.0

Type File Size Source URLs
DIST zfs-auto-utils-1.0.0.tar.gz 9522 bytes https://github.com/vowstar/zfs-auto-utils/archive/1.0.0.tar.gz