summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2020-10-04 19:25:07 +0200
committerPiotr Karbowski <slashbeast@gentoo.org>2020-10-04 19:28:43 +0200
commitbbae37d1deed6b7c13be08029c625feee980cdb6 (patch)
treee0e03c058d420c4300901e86d48a70e114b1ab4c /sys-fs
parentmedia-sound/darkice: removed obsolete 1.3 (diff)
downloadgentoo-bbae37d1deed6b7c13be08029c625feee980cdb6.tar.gz
gentoo-bbae37d1deed6b7c13be08029c625feee980cdb6.tar.bz2
gentoo-bbae37d1deed6b7c13be08029c625feee980cdb6.zip
sys-fs/mergerfs: 2.31.0 version bump
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mergerfs/Manifest1
-rw-r--r--sys-fs/mergerfs/mergerfs-2.31.0.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-fs/mergerfs/Manifest b/sys-fs/mergerfs/Manifest
index c11a9c9ff41d..3ea05b48e923 100644
--- a/sys-fs/mergerfs/Manifest
+++ b/sys-fs/mergerfs/Manifest
@@ -1,3 +1,4 @@
DIST mergerfs-2.28.3.tar.gz 294065 BLAKE2B 2e59e00726aec53438d5a5df143ca204069794d68c663a130139102a19e118a54fede1c8eca99199a3e634ffa92cb21c25c30718ea0842826de8a64e876b2819 SHA512 5469b3515464680aa72fc393c218fb038bed31194a933e6736eec478d87a110979323308b642d7f100a5c506534ca75badf4a87a050007cdc77cd2a641217929
DIST mergerfs-2.29.0.tar.gz 302391 BLAKE2B a7d051c63b12a95af2868d8b3be9b32aa1be3d9c4cc4e359914b07e18ed30dadece80861ad559d5cdd85b375f565b9e70dac9ad3e34b98c054dd54822897c1a6 SHA512 2c21dedffc2f261c6c8427af59cffcacacc9b67bce7bb9989bd5946aa645c68bac0f56250ec19710e586a00892f7198853390bea3ff5981035d5a492ae4569a2
DIST mergerfs-2.30.0.tar.gz 316560 BLAKE2B 7e6be39cfa5f085aabbc928e1da9c0bf1f6442be1de4ccef1868832c852d138901071129cf7feff19b13dd5939c5fff56520c5292473b92c71a85430818ab25c SHA512 6914c5efa783d66293ebcce0a6a493267eedfa45ac058cd24b2024aea15a866b997f4474363e4ababa4af59d302466c5f8c6b9f07ee42f7661b335d4701315b4
+DIST mergerfs-2.31.0.tar.gz 314286 BLAKE2B 595dd05e7bd4e6b2fbc2b1901a0d752710c6efea9957c400b394594e5586607a88899bf9966a9406ca0a57e0059af214ce30b06d87db5871aa42b5443a872cdb SHA512 c4504a8f585ffc7f58b11df441755db821611d9754a630ec211aaf611657df82c72120737ba2a2480e1ebebcb0af05adef2e4b8c463b97f4fd98ab5630890253
diff --git a/sys-fs/mergerfs/mergerfs-2.31.0.ebuild b/sys-fs/mergerfs/mergerfs-2.31.0.ebuild
new file mode 100644
index 000000000000..5d1e3ec0e4cf
--- /dev/null
+++ b/sys-fs/mergerfs/mergerfs-2.31.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 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
+
+ default
+}
+
+src_install() {
+ dobin build/mergerfs
+ dosym mergerfs /usr/bin/mount.mergerfs
+ dodoc README.md
+ doman man/mergerfs.1
+}