From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4F254159C9B for ; Sun, 4 Aug 2024 03:27:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68E0CE2B39; Sun, 4 Aug 2024 03:27:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16C93E2B37 for ; Sun, 4 Aug 2024 03:27:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9B07341E1C for ; Sun, 4 Aug 2024 03:27:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A7EF1E80 for ; Sun, 4 Aug 2024 03:27:09 +0000 (UTC) From: "John M. Harris, Jr." To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "John M. Harris, Jr." Message-ID: <1722742005.fb9e7ef63e934433e410a0497798d3b95a14b9b0.johnmh@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/sanoid/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-fs/sanoid/Manifest sys-fs/sanoid/sanoid-2.2.0.ebuild X-VCS-Directories: sys-fs/sanoid/ X-VCS-Committer: johnmh X-VCS-Committer-Name: John M. Harris, Jr. X-VCS-Revision: fb9e7ef63e934433e410a0497798d3b95a14b9b0 X-VCS-Branch: dev Date: Sun, 4 Aug 2024 03:27:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0af4ce29-c466-4925-bcbf-e51de04a2c43 X-Archives-Hash: 23c0864300aa882a81ff1224da5d6621 commit: fb9e7ef63e934433e410a0497798d3b95a14b9b0 Author: John M. Harris Jr. johnmh me> AuthorDate: Sun Aug 4 03:26:29 2024 +0000 Commit: John M. Harris, Jr. johnmh me> CommitDate: Sun Aug 4 03:26:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb9e7ef6 sys-fs/sanoid: add 2.2.0 Signed-off-by: John M. Harris Jr. johnmh.me> sys-fs/sanoid/Manifest | 1 + sys-fs/sanoid/sanoid-2.2.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/sys-fs/sanoid/Manifest b/sys-fs/sanoid/Manifest new file mode 100644 index 000000000..45b38e66b --- /dev/null +++ b/sys-fs/sanoid/Manifest @@ -0,0 +1 @@ +DIST sanoid-2.2.0.gh.tar.gz 77865 BLAKE2B 3183ed82b392730db403dea87c72aaa9303f35227739eda5d401bd6ebe7c149977e4edca0dfd10f34c2b02932b9a5145f880425462d1e9df9d45cebf13d962bd SHA512 293c31f2da80d698987c7f06314bf6e62a54011e4028b2aa8e70d482e7757bf8ae89efe7413b8f88072bac064710ca0756650e5b6f9827a5ff50a97fd72e86ad diff --git a/sys-fs/sanoid/sanoid-2.2.0.ebuild b/sys-fs/sanoid/sanoid-2.2.0.ebuild new file mode 100644 index 000000000..3a8a47483 --- /dev/null +++ b/sys-fs/sanoid/sanoid-2.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Policy-driven snapshot management and replication tools for OpenZFS." +HOMEPAGE="https://github.com/jimsalterjrs/sanoid" + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jimsalterjrs/${PN^}.git" +else + SRC_URI="https://github.com/jimsalterjrs/${PN^}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +IUSE="gzip lzop pigz zstd" +BDEPEND=" + dev-lang/perl + sys-apps/groff +" +RDEPEND=" + dev-lang/perl + dev-perl/Capture-Tiny + dev-perl/Config-IniFiles + sys-apps/pv + sys-block/mbuffer + sys-fs/zfs + virtual/perl-Data-Dumper + virtual/perl-Getopt-Long + virtual/ssh + gzip? ( app-arch/gzip ) + lzop? ( app-arch/lzop ) + pigz? ( app-arch/pigz ) + zstd? ( app-arch/zstd ) +" + +src_compile() { + perldoc -onroff -dsanoid.1 sanoid || die "Failed to compile sanoid.1" + perldoc -onroff -dsyncoid.1 syncoid || die "Failed to compile syncoid.1" +} + +src_install() { + dobin sanoid + dobin syncoid + + doman sanoid.1 syncoid.1 + + insinto /etc/sanoid + doins "sanoid.defaults.conf" + + elog "You will need to set up your /etc/sanoid/sanoid.conf file before" + elog "running sanoid for the first time. For details, please consult the" + elog "documentation on https://github.com/jimsalterjrs/sanoid." +}