diff options
Diffstat (limited to 'sys-fs/mergerfs')
-rw-r--r-- | sys-fs/mergerfs/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/mergerfs/mergerfs-2.35.1.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-fs/mergerfs/Manifest b/sys-fs/mergerfs/Manifest index 71db7c1ff430..b0a2210dee85 100644 --- a/sys-fs/mergerfs/Manifest +++ b/sys-fs/mergerfs/Manifest @@ -1,5 +1,7 @@ DIST mergerfs-2.34.1.tar.gz 343252 BLAKE2B 07fd53707cca0dcd7859b811a836eeeaea2a008eec808807cd02051b566bb0633a670858eb6b1e55bf4c7cf656146dfc7949e7feb8832b8ba8d6997b85de39ac SHA512 a76433cfd2e654c71e9f6dcae88b6739f59d07024c2ab32573586401fb8508cae4774bd65046646bc19737f7b5d52d1a8c89f3f4b33e08360c80540b94980c93 DIST mergerfs-2.35.0.tar.gz 668826 BLAKE2B 21da9e90984082546886371877c31706c6a9f1297e55c5f5e35b7f7eb0e190a216c9cdc092917cc48530287268a11bf220d622d2e53bb89b04c044971f12c249 SHA512 c63ec871041a374350c62ba23016549984579b5dfef44a4415d78e6a2c6681d445bff26aad4b3b3bae7ef74ca9770743c90b0c61e979c993f5f65bae0c0c33c7 +DIST mergerfs-2.35.1.tar.gz 669100 BLAKE2B 25b442f0451b525509bd908ac1cd2e70ab33db599aab58e2baeca47eeb3a0d0b93f7fddb880e8fdbf1b6928d40c650e0df23c116741cad279cdf169cea000768 SHA512 09de354ae7a7c69f6e873145a754c3ed8a840d59ccc455c8913f2562babbe8787c7eb929c0ea2571b5292928e3cee7b547b0a52cdd833b03e679e11191b4a5b5 EBUILD mergerfs-2.34.1.ebuild 1077 BLAKE2B 5416ad8a60a26e808614064c4dfa45be6552e0dfeab16d4c0c203fe39196a5cdd3390f6f9ebd76838267d7a9beb75d51e429a0bd45841eb70f8ddd0cabc4bde1 SHA512 ed5f77c414351d64620b82a93ee4038204656e4afb2104f75f95a3847d99e406d419d841b87de3180219f03a66e43fb5f4fef568e927b4d1ffa2b0bec2399e3f EBUILD mergerfs-2.35.0.ebuild 1079 BLAKE2B 700cf7d0540bfd552c39bb94bddb0596c9b8165862016254d179f14449226c85ec0595b18779f95d3543997e10bd2250d8ed06c8b088c6772b5f84eeec22fbe3 SHA512 28804b4be1be7f314b6b05b47bd5367503493845e71fff27af89bc1231078705e30a0584bf88d3f7f9e019bc270d85a0f4425b389cabbc5eab0624d3deb51c45 +EBUILD mergerfs-2.35.1.ebuild 1079 BLAKE2B 700cf7d0540bfd552c39bb94bddb0596c9b8165862016254d179f14449226c85ec0595b18779f95d3543997e10bd2250d8ed06c8b088c6772b5f84eeec22fbe3 SHA512 28804b4be1be7f314b6b05b47bd5367503493845e71fff27af89bc1231078705e30a0584bf88d3f7f9e019bc270d85a0f4425b389cabbc5eab0624d3deb51c45 MISC metadata.xml 335 BLAKE2B 6650c40b968c0df32e03159d92248d1f54884556cc69175898b149bd2e1dcd7cca5e1d35a3d3478f73fec99ad8d8ea3f5e6873bba6577eb7b78ba1db40e5a295 SHA512 5503d278fe75d307768f01cab25f18452b04c80a954045d8ffc398ff29ff37135009b64401a24f4496da3a098a9e9d46dc430f756f2c020dbe0319fb7ce2b47e diff --git a/sys-fs/mergerfs/mergerfs-2.35.1.ebuild b/sys-fs/mergerfs/mergerfs-2.35.1.ebuild new file mode 100644 index 000000000000..ad9d06e1fdee --- /dev/null +++ b/sys-fs/mergerfs/mergerfs-2.35.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +KEYWORDS="~amd64 ~riscv ~x86" + +# Vendorized libfuse that's bundled is under LGPL-2.1. +LICENSE="ISC LGPL-2.1" +SLOT="0" +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 +} |