sys-fs/mergerfs: add 2.41.1

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-12-20 16:56:22 +02:00
parent c5d575e39e
commit 9e8d44b823
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 52 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST mergerfs-2.40.2.tar.gz 743230 BLAKE2B c248397288465a0acb735040777504a9deca51c5d6b92753bc7ca1dc078bbba69867b93f94c049d5ae1aa75b77410bc228d270267e3550cb3b67226395337dc9 SHA512 b491007ef14ebd9c9193e730cccd7a178fb7d96426066d5a61cc654eae0b81824a3bf25258b1fafd248f4454ebe55787653f3d906cdc2e89a5cd0884db534876 DIST mergerfs-2.40.2.tar.gz 743230 BLAKE2B c248397288465a0acb735040777504a9deca51c5d6b92753bc7ca1dc078bbba69867b93f94c049d5ae1aa75b77410bc228d270267e3550cb3b67226395337dc9 SHA512 b491007ef14ebd9c9193e730cccd7a178fb7d96426066d5a61cc654eae0b81824a3bf25258b1fafd248f4454ebe55787653f3d906cdc2e89a5cd0884db534876
DIST mergerfs-2.41.1.tar.gz 1220643 BLAKE2B a7179142f66bce7347cb60614901f2c3829f9abca17352f0aa0d1e1fa7caae706d89e9689903491166e487649fbcba4f619ae1e6c17594e1a246fe28f5cea9bd SHA512 eedac6c1237a148c883220d339069dd3bf410d8329fc5b6218d80b212ebf8dfb6d5f8e127d6e1c7ea5cd445fc9bdbb5aed2bfc752923afff69f561b02168e627

View File

@ -0,0 +1,51 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="A featureful union filesystem"
HOMEPAGE="https://github.com/trapexit/mergerfs"
SRC_URI="https://github.com/trapexit/mergerfs/archive/${PV}.tar.gz -> ${P}.tar.gz"
# Vendorized libfuse that's bundled is under LGPL-2.1.
LICENSE="ISC LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
IUSE="+xattr"
DEPEND="
xattr? ( sys-apps/attr )
"
RDEPEND="${DEPEND}"
BDEPEND="sys-devel/gettext"
src_prepare() {
default
# Hand made build system at its finest.
echo -e "#!/bin/sh\ntrue" > buildtools/update-version || die
cat <<-EOF > src/version.hpp || die
#pragma once
static const char MERGERFS_VERSION[] = "${PV}";
EOF
if ! use xattr; then
sed -i -e 's%USE_XATTR = 1%USE_XATTR = 0%g' Makefile || die
fi
}
src_compile() {
# https://bugs.gentoo.org/725978
tc-export AR CC CXX
default
}
src_install() {
dobin build/mergerfs
dosym mergerfs /usr/bin/mount.mergerfs
dodoc README.md
doman man/mergerfs.1
}