From 06d58d8930cf3e4a25fbdf87bdc4c4a74613dfd8 Mon Sep 17 00:00:00 2001 From: Zelin2001 Date: Thu, 2 Apr 2026 17:06:27 +0800 Subject: [PATCH] sys-fs/snapraid: drop 12.4-r1 Signed-off-by: Li Ze-Lin Part-of: https://codeberg.org/gentoo/gentoo/pulls/487 Signed-off-by: Sam James --- sys-fs/snapraid/Manifest | 1 - .../snapraid-12.4-dash-compatibility.patch | 23 ------------- sys-fs/snapraid/snapraid-12.4-r1.ebuild | 34 ------------------- 3 files changed, 58 deletions(-) delete mode 100644 sys-fs/snapraid/files/snapraid-12.4-dash-compatibility.patch delete mode 100644 sys-fs/snapraid/snapraid-12.4-r1.ebuild diff --git a/sys-fs/snapraid/Manifest b/sys-fs/snapraid/Manifest index c8a1735739596..b22d8ebfc2e5c 100644 --- a/sys-fs/snapraid/Manifest +++ b/sys-fs/snapraid/Manifest @@ -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 diff --git a/sys-fs/snapraid/files/snapraid-12.4-dash-compatibility.patch b/sys-fs/snapraid/files/snapraid-12.4-dash-compatibility.patch deleted file mode 100644 index f65bba012158d..0000000000000 --- a/sys-fs/snapraid/files/snapraid-12.4-dash-compatibility.patch +++ /dev/null @@ -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 diff --git a/sys-fs/snapraid/snapraid-12.4-r1.ebuild b/sys-fs/snapraid/snapraid-12.4-r1.ebuild deleted file mode 100644 index 67c858b068c4e..0000000000000 --- a/sys-fs/snapraid/snapraid-12.4-r1.ebuild +++ /dev/null @@ -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" -}