commit: 9bd04b7acff774863bc8267e9b5472a12eaef2b3 Author: Zelin2001 <lizl2023 <AT> ion <DOT> ac <DOT> cn> AuthorDate: Mon Jan 27 08:39:51 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Feb 16 16:30:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd04b7a
sys-fs/snapraid: add 12.4 * The updtream change avoids a warning about function pointer conversion. Closes: https://bugs.gentoo.org/944170 Signed-off-by: Zelin2001 <lizl2023 <AT> ion.ac.cn> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-fs/snapraid/Manifest | 1 + sys-fs/snapraid/snapraid-12.4.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/sys-fs/snapraid/Manifest b/sys-fs/snapraid/Manifest index 4ffe77463cb3..244a029e85f7 100644 --- a/sys-fs/snapraid/Manifest +++ b/sys-fs/snapraid/Manifest @@ -1 +1,2 @@ DIST snapraid-12.3.tar.gz 746308 BLAKE2B b654861bd9d0b632af3c942e8b4403240c6e229df69bfe330add2f1250999d8f0ec3bae29a96d98b53f77f680108d4cff703131bd6e751d9ce24b9dfd52e9b99 SHA512 c1e364326354940abdb27c7d7528f8d2d324bfc926d134be5a7046b1e3ada7703c7c9e3bec3ba4120dcd717e6cb325f2cce4d9387576add4781f6122537a7f1b +DIST snapraid-12.4.tar.gz 746522 BLAKE2B 415816cbaefd2bcb225d994627f999d59aba158822fea24beac70d08afa505ef01440ef4f2af5b26747fd1873e77fe1f00506da965da7f11bd517b10e4079421 SHA512 98841d236769302ed3f7ed3271b9b757d806f70b50c108cc48771cf3753b713b82803402db17ebc45d2b669cb19e3675bbb2bd02d87f8c1fe941d83f87662a09 diff --git a/sys-fs/snapraid/snapraid-12.4.ebuild b/sys-fs/snapraid/snapraid-12.4.ebuild new file mode 100644 index 000000000000..a5b446008b0d --- /dev/null +++ b/sys-fs/snapraid/snapraid-12.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 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" +}
