commit: a1d6bbf78a3ef4d2c88a5bc16fac16e81b222e30 Author: Zelin2001 <lizl2023 <AT> ion <DOT> ac <DOT> cn> AuthorDate: Tue Dec 24 11:01:19 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 29 12:31:23 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d6bbf7
sys-fs/snapraid: add 12.3-r1 * Add post-install hints * Change DESCRIPTION * Add missing test dependency Closes: https://bugs.gentoo.org/726024 Signed-off-by: Zelin2001 <lizl2023 <AT> ion.ac.cn> Closes: https://github.com/gentoo/gentoo/pull/39836 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-fs/snapraid/snapraid-12.3-r1.ebuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/sys-fs/snapraid/snapraid-12.3-r1.ebuild b/sys-fs/snapraid/snapraid-12.3-r1.ebuild new file mode 100644 index 000000000000..c42c6162f8ea --- /dev/null +++ b/sys-fs/snapraid/snapraid-12.3-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Backup program with disk array for cold data on existing filesystems" +HOMEPAGE="https://www.snapraid.it/" +SRC_URI="https://github.com/amadvance/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +BDEPEND="test? ( sys-apps/smartmontools )" + +DOCS=( "AUTHORS" "HISTORY" "README" "TODO" "snapraid.conf.example" ) + +src_prepare() { + default + eautoreconf +} + +pkg_postinst() { + elog "To start using SnapRAID, change the example configuration" + elog "${EPREFIX}/usr/share/doc/${PF}/snapraid.conf.example.bz2" + elog "to fit your needs and copy it to ${EPREFIX}/etc/snapraid.conf" +}
