sys-fs/sanoid - 2.2.0 (amano-kenji)

Search

Install

Install this version:

emerge -a =sys-fs/sanoid-2.2.0

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

autounmask =sys-fs/sanoid-2.2.0

Or alternatively:

emerge --autounmask-write -a =sys-fs/sanoid-2.2.0

Package Information

Description:
Policy-driven snapshot management and replication tools.
Homepage:
https://github.com/jimsalterjrs/sanoid
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2.2.0 8 ~amd64 0
View Raw Ebuild
EAPI=8

DESCRIPTION="Policy-driven snapshot management and replication tools."
HOMEPAGE="https://github.com/jimsalterjrs/sanoid"
SRC_URI="https://github.com/jimsalterjrs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"

LICENSE="GPL-3"
SLOT="0"
IUSE="+cronjob"
DOCS="CHANGELIST README.md sanoid.conf"

RDEPEND=">=dev-lang/perl-5.30
	dev-perl/Config-IniFiles
	dev-perl/Capture-Tiny
	sys-apps/pv
	virtual/ssh
	app-arch/lzop
	app-arch/zstd
	app-arch/gzip
	app-arch/lz4
	sys-block/mbuffer"

src_install() {
	einstalldocs
	dobin sanoid syncoid findoid sleepymutex
	insinto /etc/sanoid
	doins sanoid.defaults.conf
	if use cronjob; then
		insinto /etc/cron.d
		newins "${FILESDIR}/${PN}.cron" ${PN}
	fi
}

pkg_postinst() {
	elog "Create /etc/sanoid/sanoid.conf"
	elog "An example is provided in /usr/share/doc/${PF}"
	if use cronjob; then
		elog "/etc/cron.d/sanoid executes \`sanoid --cron\` every minute."
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-fs/sanoid | euse -E <flag> -p sys-fs/sanoid | euse -D <flag> -p sys-fs/sanoid

Global/Standard Flags

cronjob
Default: Enabled (+)

Dependencies

RDEPEND

>=dev-lang/perl-5.30
	dev-perl/Config-IniFiles
	dev-perl/Capture-Tiny
	sys-apps/pv
	virtual/ssh
	app-arch/lzop
	app-arch/zstd
	app-arch/gzip
	app-arch/lz4
	sys-block/mbuffer

Manifest for 2.2.0

Type File Size Source URLs
DIST sanoid-2.2.0.tar.gz 77865 bytes https://github.com/jimsalterjrs/sanoid/archive/v2.2.0.tar.gz