diff options
author | Sebastian Engel <sighunter@gmx.de> | 2024-06-01 22:39:06 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-02 01:19:46 +0100 |
commit | 9eacc8432a7f07c10d447b9a585cb70988ce110a (patch) | |
tree | 7e45f01b27098f43bb3de4b3c3acaef6e3c3f5f4 /sys-fs | |
parent | sys-fs/mergerfs-tools: add 0_p20230912 (diff) | |
download | gentoo-9eacc8432a7f07c10d447b9a585cb70988ce110a.tar.gz gentoo-9eacc8432a7f07c10d447b9a585cb70988ce110a.tar.bz2 gentoo-9eacc8432a7f07c10d447b9a585cb70988ce110a.zip |
sys-fs/mergerfs: add 2.40.2
* Corrected variable order
Bug: https://bugs.gentoo.org/919875
Closes: https://bugs.gentoo.org/917596
Signed-off-by: Sebastian Engel <sighunter@gmx.de>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/mergerfs/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/mergerfs/mergerfs-2.40.2.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-fs/mergerfs/Manifest b/sys-fs/mergerfs/Manifest index fd6aec328be2..85d47a464e7e 100644 --- a/sys-fs/mergerfs/Manifest +++ b/sys-fs/mergerfs/Manifest @@ -1,2 +1,3 @@ DIST mergerfs-2.35.1.tar.gz 669100 BLAKE2B 25b442f0451b525509bd908ac1cd2e70ab33db599aab58e2baeca47eeb3a0d0b93f7fddb880e8fdbf1b6928d40c650e0df23c116741cad279cdf169cea000768 SHA512 09de354ae7a7c69f6e873145a754c3ed8a840d59ccc455c8913f2562babbe8787c7eb929c0ea2571b5292928e3cee7b547b0a52cdd833b03e679e11191b4a5b5 DIST mergerfs-2.36.0.tar.gz 680473 BLAKE2B c0380834c7610724f058bd13b073622082ad8bdf4fe32815cf8a5450d1f962478a6ba3d0033d0ade446861786db6c8d3ae3dbacd6a61a526a79d849b6c7b40e7 SHA512 f20879aa5fb9ab56b1e7bba0e08aacda7e26af7e1fdcf3d57b77a2dce70fda8aa15c20e947dde6ffab3dfae8698005c9d8383c9ab2402cc4ce5de0810ce1298d +DIST mergerfs-2.40.2.tar.gz 743230 BLAKE2B c248397288465a0acb735040777504a9deca51c5d6b92753bc7ca1dc078bbba69867b93f94c049d5ae1aa75b77410bc228d270267e3550cb3b67226395337dc9 SHA512 b491007ef14ebd9c9193e730cccd7a178fb7d96426066d5a61cc654eae0b81824a3bf25258b1fafd248f4454ebe55787653f3d906cdc2e89a5cd0884db534876 diff --git a/sys-fs/mergerfs/mergerfs-2.40.2.ebuild b/sys-fs/mergerfs/mergerfs-2.40.2.ebuild new file mode 100644 index 000000000000..6946ee8428b0 --- /dev/null +++ b/sys-fs/mergerfs/mergerfs-2.40.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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 it's finest. + echo -e "#!/bin/sh\ntrue" >tools/update-version || die + echo "#pragma once" >src/version.hpp || die + echo "static const char MERGERFS_VERSION[] = \"${PV}\";" >>src/version.hpp || die + + if ! use xattr; then + sed 's%USE_XATTR = 1%USE_XATTR = 0%g' -i 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 +} |