* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/sanoid/
@ 2024-08-04 3:27 John M. Harris, Jr.
0 siblings, 0 replies; 6+ messages in thread
From: John M. Harris, Jr. @ 2024-08-04 3:27 UTC (permalink / raw
To: gentoo-commits
commit: 23132c7ca6011c6487864a5a372545b98ab44745
Author: John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Sun Aug 4 03:26:09 2024 +0000
Commit: John M. Harris, Jr. <johnmh <AT> johnmh <DOT> me>
CommitDate: Sun Aug 4 03:26:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23132c7c
sys-fs/sanoid: add 9999
Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>
sys-fs/sanoid/metadata.xml | 13 +++++++++
sys-fs/sanoid/sanoid-9999.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)
diff --git a/sys-fs/sanoid/metadata.xml b/sys-fs/sanoid/metadata.xml
new file mode 100644
index 000000000..a99815b2a
--- /dev/null
+++ b/sys-fs/sanoid/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>johnmh@johnmh.me</email>
+ <name>John M. Harris, Jr.</name>
+ </maintainer>
+ <upstream>
+ <changelog>https://github.com/jimsalterjrs/sanoid/releases</changelog>
+ <bugs-to>https://github.com/jimsalterjrs/sanoid/issues</bugs-to>
+ <remote-id type="github">jimsalterjrs/sanoid</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-fs/sanoid/sanoid-9999.ebuild b/sys-fs/sanoid/sanoid-9999.ebuild
new file mode 100644
index 000000000..3a8a47483
--- /dev/null
+++ b/sys-fs/sanoid/sanoid-9999.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."
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/sanoid/
@ 2024-08-04 3:27 John M. Harris, Jr.
0 siblings, 0 replies; 6+ messages in thread
From: John M. Harris, Jr. @ 2024-08-04 3:27 UTC (permalink / raw
To: gentoo-commits
commit: fb9e7ef63e934433e410a0497798d3b95a14b9b0
Author: John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Sun Aug 4 03:26:29 2024 +0000
Commit: John M. Harris, Jr. <johnmh <AT> johnmh <DOT> 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 <AT> 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."
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/sanoid/
@ 2024-08-04 21:23 John M. Harris, Jr.
0 siblings, 0 replies; 6+ messages in thread
From: John M. Harris, Jr. @ 2024-08-04 21:23 UTC (permalink / raw
To: gentoo-commits
commit: 4d3ce715be23a33ae9b3c52e349fc325f4a43a6b
Author: John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Sun Aug 4 21:23:19 2024 +0000
Commit: John M. Harris, Jr. <johnmh <AT> johnmh <DOT> me>
CommitDate: Sun Aug 4 21:23:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d3ce715
sys-fs/sanoid: add local USE flags
Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>
sys-fs/sanoid/metadata.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sys-fs/sanoid/metadata.xml b/sys-fs/sanoid/metadata.xml
index a99815b2a..f71833579 100644
--- a/sys-fs/sanoid/metadata.xml
+++ b/sys-fs/sanoid/metadata.xml
@@ -10,4 +10,12 @@
<bugs-to>https://github.com/jimsalterjrs/sanoid/issues</bugs-to>
<remote-id type="github">jimsalterjrs/sanoid</remote-id>
</upstream>
+ <use>
+ <flag name="lzop">
+ Enable compression with app-arch/lzop
+ </flag>
+ <flag name="pigz">
+ Enable compression with app-arch/pigz
+ </flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/sanoid/
@ 2024-08-05 4:52 John M. Harris, Jr.
0 siblings, 0 replies; 6+ messages in thread
From: John M. Harris, Jr. @ 2024-08-05 4:52 UTC (permalink / raw
To: gentoo-commits
commit: 057adb2d99c8910e6d562086d0456e608aa840e8
Author: John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Mon Aug 5 03:53:48 2024 +0000
Commit: John M. Harris, Jr. <johnmh <AT> johnmh <DOT> me>
CommitDate: Mon Aug 5 04:51:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=057adb2d
sys-fs/sanoid: remove local USE flags
Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>
sys-fs/sanoid/sanoid-2.2.0.ebuild | 21 +++++++++++++--------
sys-fs/sanoid/sanoid-9999.ebuild | 21 +++++++++++++--------
2 files changed, 26 insertions(+), 16 deletions(-)
diff --git a/sys-fs/sanoid/sanoid-2.2.0.ebuild b/sys-fs/sanoid/sanoid-2.2.0.ebuild
index 3a8a47483..1e676fb4e 100644
--- a/sys-fs/sanoid/sanoid-2.2.0.ebuild
+++ b/sys-fs/sanoid/sanoid-2.2.0.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit optfeature
+
DESCRIPTION="Policy-driven snapshot management and replication tools for OpenZFS."
HOMEPAGE="https://github.com/jimsalterjrs/sanoid"
@@ -17,7 +19,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="gzip lzop pigz zstd"
BDEPEND="
dev-lang/perl
sys-apps/groff
@@ -32,10 +33,6 @@ RDEPEND="
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() {
@@ -52,7 +49,15 @@ src_install() {
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."
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ 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."
+ fi
+}
+
+pkg_postinst() {
+ optfeature "lzop compression support" app-arch/lzop
+ optfeature "pigz compression support" app-arch/pigz
+ optfeature "zstd compression support" app-arch/zstd
}
diff --git a/sys-fs/sanoid/sanoid-9999.ebuild b/sys-fs/sanoid/sanoid-9999.ebuild
index 3a8a47483..1e676fb4e 100644
--- a/sys-fs/sanoid/sanoid-9999.ebuild
+++ b/sys-fs/sanoid/sanoid-9999.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit optfeature
+
DESCRIPTION="Policy-driven snapshot management and replication tools for OpenZFS."
HOMEPAGE="https://github.com/jimsalterjrs/sanoid"
@@ -17,7 +19,6 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="gzip lzop pigz zstd"
BDEPEND="
dev-lang/perl
sys-apps/groff
@@ -32,10 +33,6 @@ RDEPEND="
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() {
@@ -52,7 +49,15 @@ src_install() {
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."
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ 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."
+ fi
+}
+
+pkg_postinst() {
+ optfeature "lzop compression support" app-arch/lzop
+ optfeature "pigz compression support" app-arch/pigz
+ optfeature "zstd compression support" app-arch/zstd
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/sanoid/
@ 2024-08-05 10:56 Lucio Sauer
0 siblings, 0 replies; 6+ messages in thread
From: Lucio Sauer @ 2024-08-05 10:56 UTC (permalink / raw
To: gentoo-commits
commit: 42382d7930fae7b6d310d24b2065e33800edba7f
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Aug 5 09:59:39 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Aug 5 10:40:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42382d79
sys-fs/sanoid: remove local USE flag description
Fixes: 057adb2d99c8910e6d562086d0456e608aa840e8
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
sys-fs/sanoid/metadata.xml | 8 --------
1 file changed, 8 deletions(-)
diff --git a/sys-fs/sanoid/metadata.xml b/sys-fs/sanoid/metadata.xml
index f71833579..a99815b2a 100644
--- a/sys-fs/sanoid/metadata.xml
+++ b/sys-fs/sanoid/metadata.xml
@@ -10,12 +10,4 @@
<bugs-to>https://github.com/jimsalterjrs/sanoid/issues</bugs-to>
<remote-id type="github">jimsalterjrs/sanoid</remote-id>
</upstream>
- <use>
- <flag name="lzop">
- Enable compression with app-arch/lzop
- </flag>
- <flag name="pigz">
- Enable compression with app-arch/pigz
- </flag>
- </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/sanoid/
@ 2024-08-05 10:56 Lucio Sauer
0 siblings, 0 replies; 6+ messages in thread
From: Lucio Sauer @ 2024-08-05 10:56 UTC (permalink / raw
To: gentoo-commits
commit: 480d181c6b72854f04bd83db94e73029044b3771
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Aug 5 10:41:30 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Aug 5 10:55:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=480d181c
sys-fs/sanoid: move configuration tooltip to pkg_postinst
fixes VariableScopeCheck for REPLACING_VERSIONS
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
sys-fs/sanoid/sanoid-2.2.0.ebuild | 12 ++++++------
sys-fs/sanoid/sanoid-9999.ebuild | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/sys-fs/sanoid/sanoid-2.2.0.ebuild b/sys-fs/sanoid/sanoid-2.2.0.ebuild
index 1e676fb4e..515b82ac7 100644
--- a/sys-fs/sanoid/sanoid-2.2.0.ebuild
+++ b/sys-fs/sanoid/sanoid-2.2.0.ebuild
@@ -48,16 +48,16 @@ src_install() {
insinto /etc/sanoid
doins "sanoid.defaults.conf"
-
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- 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."
- fi
}
pkg_postinst() {
optfeature "lzop compression support" app-arch/lzop
optfeature "pigz compression support" app-arch/pigz
optfeature "zstd compression support" app-arch/zstd
+
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "You will need to set up your ${EROOT}/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."
+ fi
}
diff --git a/sys-fs/sanoid/sanoid-9999.ebuild b/sys-fs/sanoid/sanoid-9999.ebuild
index 1e676fb4e..515b82ac7 100644
--- a/sys-fs/sanoid/sanoid-9999.ebuild
+++ b/sys-fs/sanoid/sanoid-9999.ebuild
@@ -48,16 +48,16 @@ src_install() {
insinto /etc/sanoid
doins "sanoid.defaults.conf"
-
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- 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."
- fi
}
pkg_postinst() {
optfeature "lzop compression support" app-arch/lzop
optfeature "pigz compression support" app-arch/pigz
optfeature "zstd compression support" app-arch/zstd
+
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "You will need to set up your ${EROOT}/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."
+ fi
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-08-05 10:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 4:52 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/sanoid/ John M. Harris, Jr.
-- strict thread matches above, loose matches on Subject: below --
2024-08-05 10:56 Lucio Sauer
2024-08-05 10:56 Lucio Sauer
2024-08-04 21:23 John M. Harris, Jr.
2024-08-04 3:27 John M. Harris, Jr.
2024-08-04 3:27 John M. Harris, Jr.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox