summaryrefslogtreecommitdiff
path: root/sys-fs/fuse
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/fuse')
-rw-r--r--sys-fs/fuse/Manifest2
-rw-r--r--sys-fs/fuse/fuse-3.12.0.ebuild69
2 files changed, 71 insertions, 0 deletions
diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest
index 7012ce834eaa..30ef4be16bf9 100644
--- a/sys-fs/fuse/Manifest
+++ b/sys-fs/fuse/Manifest
@@ -4,9 +4,11 @@ AUX fuse-2.9.9-closefrom-glibc-2-34.patch 1649 BLAKE2B 6697ecfd16ca8a71ec10c0caa
DIST fuse-2.9.9.tar.gz 1813177 BLAKE2B 9e9141380bda46eb0bcce325c6fd293fe3844fe884a4952bb38d4b89dc48b728ffcc891038b3a7a861f05acfacce9dd7bb0e11d600609f3ad0ab278ccbe98847 SHA512 3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2
DIST fuse-3.10.5.tar.xz 2931828 BLAKE2B 72de5e5867dc0934912248e1e626e2753c0f654626ba9d397753a7fbbf21dde877e6c528a44950ae1c828583f36a49c39f44a587544e44f8e749bd4c604b33b4 SHA512 da17788acc3fabef3dc7b736b7319c1638d7de27e163699f7dbc0fe9159aeba35964af6afa77a7654f1f321e2fc03ee167909f21516cbb585ead33cad95620fe
DIST fuse-3.11.0.tar.xz 3515332 BLAKE2B 30d2dfee25a34b5f84f0a6b13523a6183fde7989b3ac908b68b8b9e4c327da51678453918c3009712ff1f3aaa79c4b0a29f22bcb712ee550563b23fd9ac64a09 SHA512 033324de7ea4c7e91fb21c453211c01e53771ec5805c2126e13ef2d4334119a51f5c783b6249e888e28888c753aa04b48ed33cefb6d486d8d526546565f6ae50
+DIST fuse-3.12.0.tar.xz 3206368 BLAKE2B 9f7df324f5c28480e48264c53c23fd2afc372592aab586bebdee38a809881603c93d05d0ca20c9007ba4b77efdf391705a93a0a6a12b218c9bd5541aa6a5275d SHA512 b66232785fbe83ec32a9779542d085dc2c19f1fe0655e5f1e22e1a7add69795df40eb58da256a963537e64a9bf798ed8dfbc678f977fdd22567c5befa5b6ca04
DIST iconv.m4.bz2 3057 BLAKE2B 9d8f7637d87bfcea1b60f3ea11e162aecf391b3f4579a3b85afb01735f56bfbae363a7e781279f3b2bed0d1dd3336f7d0678d3b1d59004824d7d0ca848dceb6e SHA512 9899368b8acc06e216a7a548b83a894f780e152a02612cd52af02b5c3f2ff38e2c36e77bda300587f81c3d74c90addec8066885216fa0e74f3f3280a383d2b55
EBUILD fuse-2.9.9-r1.ebuild 2038 BLAKE2B 7f3651e463178f8ae6767cd156d5182e916e8031f40f7c84d31076d8b508569b6dacc33da339493bc55399a6d53645c314e57632b67d32e620360d9f1f50b38b SHA512 00a9431575b9b5d802c05c96b30757f432ca68e9a7701071ff91805537d44d8e86e2709c9da96632f182cc59ad53637bdf873509a521200b897f32fb6e23cea2
EBUILD fuse-2.9.9-r2.ebuild 2122 BLAKE2B f77373c9fa57dd7e9aaa382165264f7d4e676a2fc7c59319ebc4c25e8c1f9b7d76676cfb5b1047c9781893fcc5ca66152366feb5e3dcc4977358b77c4fedf00d SHA512 194cad36dcc4522a3180e1a8745ade64e8b93e13551188db46f353186ef9af618a8c28713e8aaeb48431e187f3d269c44a5734d6a1ebf171d41c6cae9bdb8015
EBUILD fuse-3.10.5.ebuild 1810 BLAKE2B ca8d502a914aa0b85a2835a446af55615b630840c9b03dce94c556ad3db4551b14e27058d97f3189f9c7c045a6d0f1b4e4c863e53ea607778d395a634454b91b SHA512 531ee27a2cc22b3510e44f134df13a3f8818ff265610e4943754d0539494d05d211c88b16a4f84a336b68cb588764ca856dbffb5598f1e71381df45e8aca2d62
EBUILD fuse-3.11.0.ebuild 1817 BLAKE2B bc42b0bb79488b1106b9b8dc7382a40576f8e21941c45018807d504d1e0dd7fed2b32d36145d406de4b8e4060464f41adc7c8231c3689a7d49b9a76620e41980 SHA512 813c8414dedcdd36b9fa8b8f7c8991af7fbd50b5239ee6adc635e176c8bd67769b1bb0dab5ec2641c41b6a584abba36e0bb8f1432631658cd56d2d886a4a38db
+EBUILD fuse-3.12.0.ebuild 1688 BLAKE2B 8c986f9360cefde1dc644819b8b6a9092b5d901e1c59a2962a6de781fa092cf8b0c85631019c55efefc5fed6c06d1e5a537ac6193135ca6640754e46f0d5c4c1 SHA512 47cd40224c28d361f1df7b4cbad8a77dbc7c7a922a721004624de2b22196a012bc48ecb0da8e1325303e04590f1947355bf042bbe13b0d259330e8ea034a840f
MISC metadata.xml 357 BLAKE2B 49ff08baa6cc3cb3d58f892f8d1db18f2d8fd184945c4fe7fc75f0db265bf9b6ee8861b421c8ab1070a51e2b03b94eb77133991d71208a51a30d1f286d3a9ea6 SHA512 1c5b658c85cb13904843e1b0746019cca9dba7ec0cc61d4ba0c13378b32b4d3eaf016fbc7805637113c5285909c22f16d8ad3cdc23fec69775b12057f4146a0e
diff --git a/sys-fs/fuse/fuse-3.12.0.ebuild b/sys-fs/fuse/fuse-3.12.0.ebuild
new file mode 100644
index 000000000000..aad082f7b864
--- /dev/null
+++ b/sys-fs/fuse/fuse-3.12.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit meson-multilib udev python-any-r1
+
+DESCRIPTION="An interface for filesystems implemented in userspace"
+HOMEPAGE="https://github.com/libfuse/libfuse"
+SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="+suid test"
+RESTRICT="!test? ( test ) test? ( userpriv )"
+
+BDEPEND="virtual/pkgconfig
+ test? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
+ )"
+RDEPEND=">=sys-fs/fuse-common-3.3.0-r1"
+
+DOCS=( AUTHORS ChangeLog.rst README.md doc/README.NFS doc/kernel.txt )
+
+python_check_deps() {
+ python_has_version "dev-python/pytest[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ $(meson_use test examples)
+ $(meson_use test tests)
+ -Duseroot=false
+ -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d"
+ )
+ meson_src_configure
+}
+
+src_test() {
+ if has sandbox ${FEATURES}; then
+ ewarn "Sandbox enabled, skipping tests"
+ else
+ multilib-minimal_src_test
+ fi
+}
+
+multilib_src_test() {
+ epytest
+}
+
+multilib_src_install_all() {
+ # Installed via fuse-common
+ rm -r "${ED}"{/etc,$(get_udevdir)} || die
+ rm -rf "${ED}"/etc || die
+
+ # useroot=false prevents the build system from doing this.
+ use suid && fperms u+s /usr/bin/fusermount3
+
+ # manually install man pages to respect compression
+ rm -r "${ED}"/usr/share/man || die
+ doman doc/{fusermount3.1,mount.fuse3.8}
+}