mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
sys-fs/snapraid: drop 12.4-r1
Signed-off-by: Li Ze-Lin <lizl2023@ion.ac.cn> Part-of: https://codeberg.org/gentoo/gentoo/pulls/487 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST snapraid-12.4.tar.gz 746522 BLAKE2B 415816cbaefd2bcb225d994627f999d59aba158822fea24beac70d08afa505ef01440ef4f2af5b26747fd1873e77fe1f00506da965da7f11bd517b10e4079421 SHA512 98841d236769302ed3f7ed3271b9b757d806f70b50c108cc48771cf3753b713b82803402db17ebc45d2b669cb19e3675bbb2bd02d87f8c1fe941d83f87662a09
|
||||
DIST snapraid-13.0.tar.gz 839940 BLAKE2B 6341686b51c5d018a5e08ed3da90805177f9f4e729f34cd5d085fb9f11823962274a99c0b329f3fb77f85035435536e2fe7f1d7051d8668113f71707f9ba32c8 SHA512 cb407ec599e3e1c511662e2bd0f153d877512521a3b1f345ee41e2b6d0bbe4ccea148fe69a97f588d70ef4ff66a941e2ffee1937c9355c7e734e603f9456a808
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
Replace conditional expression with `test`
|
||||
to ensure compatibility with different shell environments.
|
||||
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -512,7 +512,7 @@
|
||||
echo RUN > bench/disk1/RUN-CHMOD
|
||||
if HAVE_POSIX
|
||||
# Doesn't run this test as root because the root user override permissions
|
||||
- if [[ $$EUID -ne 0 ]]; then \
|
||||
+ if test "$$EUID" -ne 0; then \
|
||||
$(FAILENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) --test-run "chmod a-r bench/disk1/RUN-CHMOD" --test-expect-failure sync; \
|
||||
fi
|
||||
endif
|
||||
@@ -532,7 +532,7 @@
|
||||
echo HASH > bench/disk1/HASH-CHMOD
|
||||
if HAVE_POSIX
|
||||
# Doesn't run this test as root because the root user override permissions
|
||||
- if [[ $$EUID -ne 0 ]]; then \
|
||||
+ if test "$$EUID" -ne 0; then \
|
||||
$(FAILENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) --test-run "chmod a-r bench/disk1/HASH-CHMOD" --test-expect-failure -h sync; \
|
||||
fi
|
||||
endif
|
||||
@@ -1,34 +0,0 @@
|
||||
# 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" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/snapraid-12.4-dash-compatibility.patch"
|
||||
)
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user