sys-fs/sanoid: remove local USE flags

Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
This commit is contained in:
John M. Harris Jr.
2024-08-04 20:53:48 -07:00
parent 7bb0850601
commit 057adb2d99
2 changed files with 26 additions and 16 deletions

View File

@@ -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
}

View File

@@ -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
}