summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2022-06-23 22:50:38 +0200
committerPiotr Karbowski <slashbeast@gentoo.org>2022-06-23 22:50:38 +0200
commitd26cfa60a7e1ac552013d890db9d2799339501f0 (patch)
treede67d2090f9b366be9e21b8395227ad7f0610eb3 /sys-fs/mergerfs
parentdev-libs/qqwing: revbump for EAPI 8 (diff)
downloadgentoo-d26cfa60a7e1ac552013d890db9d2799339501f0.tar.gz
gentoo-d26cfa60a7e1ac552013d890db9d2799339501f0.tar.bz2
gentoo-d26cfa60a7e1ac552013d890db9d2799339501f0.zip
sys-fs/mergerfs: 2.33.5 version bump
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'sys-fs/mergerfs')
-rw-r--r--sys-fs/mergerfs/Manifest1
-rw-r--r--sys-fs/mergerfs/mergerfs-2.33.5.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-fs/mergerfs/Manifest b/sys-fs/mergerfs/Manifest
index cdff0268f586..77cab80d7477 100644
--- a/sys-fs/mergerfs/Manifest
+++ b/sys-fs/mergerfs/Manifest
@@ -2,3 +2,4 @@ DIST mergerfs-2.32.3.tar.gz 314280 BLAKE2B f7c5ab92f1241627bd91255b35bdd81782f15
DIST mergerfs-2.33.1.tar.gz 382421 BLAKE2B 0985a0ad53a12fe5283fd0e953cd74a835efd3e83f65ba4e96bc42814ce151d03f95c032eeebcc9821c7c15ae59d14b9e40055438b4482a337c5b7bc9503d27e SHA512 1178fbd4ad99c6c693e2c21551c7522107701b0d5c608a7c18be29825cf97f2a2b2d6a50094e800a74dddd9a3902c374f8b57e84a76c0640aa8e387aa095d300
DIST mergerfs-2.33.3.tar.gz 382386 BLAKE2B 49a2b75a2a39fbec178460f94696a918a0f872a7c904355c84180f8be07d9abdf68e342e7acca5093a621b85110d0a0fdb5650de68e04aa176250199eaa5bdb7 SHA512 aca5884a9d5dc03d7095e73461dee843d69463db72dfc033f76611d5417dab63ff29eb2b473f39f0390299c3aa882e6197a7038e82b58ab85799d39cc44b84d0
DIST mergerfs-2.33.4.tar.gz 382872 BLAKE2B fe369f377f731a6323566cf4d5076e9ba7dca302aae1125635433ab93927d3aad5ca57a95e0791742cdf80c7fa69cacdd16a6519593bad9e933e529974bd5d2a SHA512 e8bd0a502c045d6f93d34bce833108deaf1071a3e5c56eb61a59416067230d6e8f19f9b0f8c8aa9fe84060a886afae7509231c97fc6d9537d3ad3390ce342239
+DIST mergerfs-2.33.5.tar.gz 382895 BLAKE2B e45d6d5890046cce495f788924323052effe63ea570061ed1d031595f166c0e680fdbbcf01dd992263550d6c33a04d91a6fabd5c9f97381c5c3e6858c3e1c122 SHA512 9032142285d85e22d2a880a42ae379209d44d12d71adec6388afd43a9fb77675149ec8558bdb1f01de1b511b3d0bf910dd2ccb6f47c918df377d4d5e41368408
diff --git a/sys-fs/mergerfs/mergerfs-2.33.5.ebuild b/sys-fs/mergerfs/mergerfs-2.33.5.ebuild
new file mode 100644
index 000000000000..fb2d3b62a41b
--- /dev/null
+++ b/sys-fs/mergerfs/mergerfs-2.33.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 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 ~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
+}