mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
sys-fs/sanoid: remove local USE flags
Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user