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

Search

Install

Install this version:

emerge -a =sys-fs/sanoid-2.1.0

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

autounmask =sys-fs/sanoid-2.1.0

Or alternatively:

emerge --autounmask-write -a =sys-fs/sanoid-2.1.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.1.0 7 ~amd64 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

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=""
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
	sys-block/mbuffer
	app-arch/gzip"

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

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

Dependencies

RDEPEND

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

Manifest for 2.1.0

Type File Size Source URLs
DIST sanoid-2.1.0.tar.gz 72436 bytes https://github.com/jimsalterjrs/sanoid/archive/v2.1.0.tar.gz