diff --git a/packages/gentoo/sys-fs/sanoid/Manifest b/packages/gentoo/sys-fs/sanoid/Manifest new file mode 100644 index 0000000..4c629f9 --- /dev/null +++ b/packages/gentoo/sys-fs/sanoid/Manifest @@ -0,0 +1,4 @@ +AUX sanoid.cron 45 BLAKE2B 3f6294bbbf485dc21a565cd2c8da05a42fb21cdaabdf872a21500f1a7338786c60d4a1fd188bbf81ce85f06a376db16998740996f47c049707a5109bdf02c052 SHA512 7676b32f21e517e8c84a097c7934b54097cf2122852098ea756093ece242125da3f6ca756a6fbb82fc348f84b94bfd61639e86e0bfa4bbe7abf94a8a4c551419 +DIST sanoid-2.0.1.tar.gz 106981 BLAKE2B 824b7271266ac9f9bf1fef5374a442215c20a4f139081f77d5d8db2ec7db9b8b349d9d0394c76f9d421a957853af64ff069097243f69e7e4b83a804f5ba992a6 SHA512 9d999b0f071bc3c3ca956df11e1501fd72a842f7d3315ede3ab3b5e0a36351100b6edbab8448bba65a2e187e4e8f77ff24671ed33b28f2fca9bb6ad0801aba9d +EBUILD sanoid-2.0.1.ebuild 772 BLAKE2B befbc479b5c79faa88ae21649ed31d1af70dbecb60416e8c879fffd9a3cdf9f3f508e12d8edc9f4e0afbf0e6ab0491a36fdae2af995a1984072dc5bffd63fe1d SHA512 d90a8b8ae40634e2f2e1fa11ba787cfcb461b75fa65b19c0d9a34eb458f07f510bbb1992f4a0e7a0e4aa5f55a5acdc064779c9a4f993b30eb5cbf39037f97858 +EBUILD sanoid-9999.ebuild 752 BLAKE2B 073533436c6f5c47b9e8410c898bf86b605d61c9b16a08b57253f5a87ad583e00d935ae9ea90f98b42c20dc1fbda0b9f1a8a7bf5be1cf3daf20afc640f1428ca SHA512 40ad34230fdb538bbdcda2d8149f37eac2a0e2accce5f79f7ba77d8e62e3fd78e997d8143baa0e050f548f90ce1cb6827e50b536b5e3acc444c6032f170251be diff --git a/packages/gentoo/sys-fs/sanoid/files/sanoid.cron b/packages/gentoo/sys-fs/sanoid/files/sanoid.cron new file mode 100644 index 0000000..09169ad --- /dev/null +++ b/packages/gentoo/sys-fs/sanoid/files/sanoid.cron @@ -0,0 +1 @@ +* * * * * root TZ=UTC /usr/bin/sanoid --cron diff --git a/packages/gentoo/sys-fs/sanoid/sanoid-2.0.1.ebuild b/packages/gentoo/sys-fs/sanoid/sanoid-2.0.1.ebuild new file mode 100644 index 0000000..5a8d67e --- /dev/null +++ b/packages/gentoo/sys-fs/sanoid/sanoid-2.0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Policy-driven snapshot management and replication tools for ZFS" +HOMEPAGE="https://github.com/jimsalterjrs/sanoid" +SRC_URI="https://github.com/jimsalterjrs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3.0" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="app-arch/lzop + dev-perl/Config-IniFiles + sys-apps/pv + sys-block/mbuffer + virtual/perl-Data-Dumper" +RDEPEND="${DEPEND}" +BDEPEND="" + +DOCS=( README.md ) + +src_install() { + dobin findoid + dobin sanoid + dobin sleepymutex + dobin syncoid + keepdir /etc/${PN} + insinto /etc/${PN} + doins sanoid.conf + doins sanoid.defaults.conf + insinto /etc/cron.d + newins "${FILESDIR}/${PN}.cron" ${PN} +} diff --git a/packages/gentoo/sys-fs/sanoid/sanoid-9999.ebuild b/packages/gentoo/sys-fs/sanoid/sanoid-9999.ebuild new file mode 100644 index 0000000..7eaf509 --- /dev/null +++ b/packages/gentoo/sys-fs/sanoid/sanoid-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_REPO_URI="https://github.com/jimsalterjrs/${PN}.git" +inherit git-r3 + +DESCRIPTION="Policy-driven snapshot management and replication tools for ZFS" +HOMEPAGE="https://github.com/jimsalterjrs/sanoid" + +LICENSE="GPL-3.0" +SLOT="0" +KEYWORDS="**" +IUSE="" + +DEPEND="app-arch/lzop + dev-perl/Config-IniFiles + sys-apps/pv + sys-block/mbuffer + virtual/perl-Data-Dumper" +RDEPEND="${DEPEND}" +BDEPEND="" + +DOCS=( README.md ) + +src_install() { + dobin findoid + dobin sanoid + dobin sleepymutex + dobin syncoid + keepdir /etc/${PN} + insinto /etc/${PN} + doins sanoid.conf + doins sanoid.defaults.conf + insinto /etc/cron.d + newins "${FILESDIR}/${PN}.cron" ${PN} +}