summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-09 11:04:28 +0100
committerSam James <sam@gentoo.org>2023-06-09 12:01:31 +0100
commitcf3ad4dfebfe750d298679ee59e7c5e52184a124 (patch)
tree653d06e720fc5eda01c44e08a3e65b1240658561 /sys-fs/fuse
parentdev-libs/icu: drop 73.1, 73.1-r1 (diff)
downloadgentoo-cf3ad4dfebfe750d298679ee59e7c5e52184a124.tar.gz
gentoo-cf3ad4dfebfe750d298679ee59e7c5e52184a124.tar.bz2
gentoo-cf3ad4dfebfe750d298679ee59e7c5e52184a124.zip
sys-fs/fuse: add 3.15.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/fuse')
-rw-r--r--sys-fs/fuse/Manifest1
-rw-r--r--sys-fs/fuse/fuse-3.15.0.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest
index c6d81cc331ae..87e684f9ba2b 100644
--- a/sys-fs/fuse/Manifest
+++ b/sys-fs/fuse/Manifest
@@ -3,4 +3,5 @@ DIST fuse-3.12.0.tar.xz 3206368 BLAKE2B 9f7df324f5c28480e48264c53c23fd2afc372592
DIST fuse-3.13.1.tar.xz 4011224 BLAKE2B b8e6cb54bc88e2133a90e9a1dce549f81ce1503906424dd36825cfdfc2b7340217b84176c9e9c707403ea4fe0e0a10a723613bb475c95fb59ff0cb35e7180c60 SHA512 7630e17a68d81e1ac66c9e8937bc9e1a99d8887d48639cbd5a96d04c7f687729dbab71a875d90bb77bdf361a154f195223f34c3438ab149630286bf87238c679
DIST fuse-3.14.0.tar.xz 4351852 BLAKE2B c8765b72c95b6983b9c561baf4b4d6f9eb63441348f04e1992463241df0a8ed426f4336dd2e9ee7fc4b1f550ce30d3c3c08b80a4a476754667c698bcc5dcdb0b SHA512 4589df0ed975d6cc75a0a8ec032e934ad65c77f99194da6aba968cb6d5ee73f13c7eee1a78800965c4a9355b8d7d04c861aa881d502fc147a1e7c6677418ce1c
DIST fuse-3.14.1.tar.xz 4404984 BLAKE2B 36e982066c10aea1cff269bac635fca0776d0a7844c35ff21db568b22e5dc0ffb8877be50e42646ba120ba29367b6de282a62960f6b28c4c2b462c49e335f6bc SHA512 ef5a67c857ab4cb4d2d3dcb252fa98acb102c3c2db226f812a899f2a137026b7037f757d76d196a63fff0e11683b7e13b8c13c67aaa1fec8c223b26a621c806d
+DIST fuse-3.15.0.tar.xz 4589124 BLAKE2B 4777a956f8429aee2e5da43b9606ac6acc66744943739051f2be87a646b93c2aaa8f0b7f0c188f6d1724c1ab3fdf706d35c981066b0ba8c4dd647c0eb1f3c821 SHA512 5046b827c2cdccd03031761aeb995caf159f075a16cdda7248fcdd81177500f337368208948e0ff0e4bee32d06dd3d2d966828d3b5e82a79339f28a01727b1ae
DIST iconv.m4.bz2 3057 BLAKE2B 9d8f7637d87bfcea1b60f3ea11e162aecf391b3f4579a3b85afb01735f56bfbae363a7e781279f3b2bed0d1dd3336f7d0678d3b1d59004824d7d0ca848dceb6e SHA512 9899368b8acc06e216a7a548b83a894f780e152a02612cd52af02b5c3f2ff38e2c36e77bda300587f81c3d74c90addec8066885216fa0e74f3f3280a383d2b55
diff --git a/sys-fs/fuse/fuse-3.15.0.ebuild b/sys-fs/fuse/fuse-3.15.0.ebuild
new file mode 100644
index 000000000000..fd924c4ded41
--- /dev/null
+++ b/sys-fs/fuse/fuse-3.15.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+inherit flag-o-matic 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() {
+ # bug #853058
+ filter-lto
+
+ local emesonargs=(
+ $(meson_use test examples)
+ $(meson_use test tests)
+ -Duseroot=false
+ -Dinitscriptdir=
+ -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
+
+ # 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}
+}