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@ion.ac.cn>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Zelin2001 2025-01-27 16:39:51 +08:00 committed by Sam James
parent 919b29f9d8
commit 9bd04b7acf
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 31 additions and 0 deletions

View File

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

View File

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