public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/sanoid/
@ 2024-08-05  5:20 Viorel Munteanu
  0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2024-08-05  5:20 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:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
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] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/sanoid/
@ 2024-08-05  5:20 Viorel Munteanu
  0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2024-08-05  5:20 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:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
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] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/sanoid/
  2024-08-05 10:56 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
@ 2024-08-06  3:19 ` Lucio Sauer
  0 siblings, 0 replies; 4+ messages in thread
From: Lucio Sauer @ 2024-08-06  3:19 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] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-fs/sanoid/
  2024-08-05 10:56 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
@ 2024-08-06  3:19 ` Lucio Sauer
  0 siblings, 0 replies; 4+ messages in thread
From: Lucio Sauer @ 2024-08-06  3:19 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] 4+ messages in thread

end of thread, other threads:[~2024-08-06  3:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05  5:20 [gentoo-commits] repo/proj/guru:master commit in: sys-fs/sanoid/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2024-08-05  5:20 Viorel Munteanu
2024-08-05 10:56 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-06  3:19 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-08-05 10:56 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-06  3:19 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox