From 8d35656b4a4e3a2ad6f87abb36b9fc3987d95a53 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 26 Mar 2025 00:31:47 +0000 Subject: gentoo auto-resync : 26:03:2025 - 00:31:47 --- sys-fs/Manifest.gz | Bin 22226 -> 22242 bytes sys-fs/android-file-transfer-linux/Manifest | 4 +- .../android-file-transfer-linux-4.3-r1.ebuild | 74 ------- ...ndroid-file-transfer-linux-4.3_p20250109.ebuild | 2 +- sys-fs/bcachefs-tools/Manifest | 3 + sys-fs/bcachefs-tools/bcachefs-tools-1.25.0.ebuild | 231 +++++++++++++++++++++ sys-fs/fuse-overlayfs/Manifest | 6 +- sys-fs/fuse-overlayfs/fuse-overlayfs-1.12.ebuild | 23 -- sys-fs/fuse-overlayfs/fuse-overlayfs-1.13.ebuild | 27 --- .../fuse-overlayfs/fuse-overlayfs-1.14-r1.ebuild | 27 +++ sys-fs/fuse-overlayfs/fuse-overlayfs-1.14.ebuild | 27 --- sys-fs/fuse/Manifest | 2 + sys-fs/fuse/fuse-3.17.1-r1.ebuild | 79 +++++++ sys-fs/squashfuse/Manifest | 4 +- sys-fs/squashfuse/squashfuse-0.5.2-r1.ebuild | 58 ++++++ sys-fs/squashfuse/squashfuse-0.5.2.ebuild | 54 ----- sys-fs/squashfuse/squashfuse-0.6.0.ebuild | 63 ++++++ 17 files changed, 469 insertions(+), 215 deletions(-) delete mode 100644 sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.3-r1.ebuild create mode 100644 sys-fs/bcachefs-tools/bcachefs-tools-1.25.0.ebuild delete mode 100644 sys-fs/fuse-overlayfs/fuse-overlayfs-1.12.ebuild delete mode 100644 sys-fs/fuse-overlayfs/fuse-overlayfs-1.13.ebuild create mode 100644 sys-fs/fuse-overlayfs/fuse-overlayfs-1.14-r1.ebuild delete mode 100644 sys-fs/fuse-overlayfs/fuse-overlayfs-1.14.ebuild create mode 100644 sys-fs/fuse/fuse-3.17.1-r1.ebuild create mode 100644 sys-fs/squashfuse/squashfuse-0.5.2-r1.ebuild delete mode 100644 sys-fs/squashfuse/squashfuse-0.5.2.ebuild create mode 100644 sys-fs/squashfuse/squashfuse-0.6.0.ebuild (limited to 'sys-fs') diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz index e4cbf0dda477..175d344e4a94 100644 Binary files a/sys-fs/Manifest.gz and b/sys-fs/Manifest.gz differ diff --git a/sys-fs/android-file-transfer-linux/Manifest b/sys-fs/android-file-transfer-linux/Manifest index a595d6cac8c7..6798c641ce51 100644 --- a/sys-fs/android-file-transfer-linux/Manifest +++ b/sys-fs/android-file-transfer-linux/Manifest @@ -1,6 +1,4 @@ -DIST android-file-transfer-linux-4.3.tar.gz 827232 BLAKE2B 3737b804cc9c7a2883d7a9a1e4a65379d53f89104dc4f0d82959ed8eba35ffa1998677a4ef441f2c35389dec9e3b31822e8843994ad7d7669cc49e4593b41fe9 SHA512 f5e51ad1532be44916df51dda5f6f7423a5b0d8ebd733a0a3f0424f684b9f84fc5996fb5effd45009eb1c60d873f79e8ecc47a9dc09ff429b4a458807a79ca8c DIST android-file-transfer-linux-4.3_p20250109.tar.gz 1072274 BLAKE2B 83ec3fbaa71707db994026f3946feebb258be218773c8469fe2fea352b9aee2924b3799bb6fd4222c702e6891b275c7f48b5d52a2c835b4d2af7d7ce945966a0 SHA512 5b010de34ea5aa3452a8ae21bfcfcf2e4cf404342306365baa578d4e62f353661875c52e2ac9b740d5d2527ef537c26c6d7307175d0ba484c340ba1cc8c55995 -EBUILD android-file-transfer-linux-4.3-r1.ebuild 1530 BLAKE2B c9dfcf091c8cee97078beccb63bb1c9887ba0d62360d48af6602e84206a9de2e7b17eea27a7fc337b4b5d0564faedb419c8b64b9e64d42ad369894ff6a2fa7ab SHA512 acabcbf34b50b0bbc282ef521f57b44bd749ea160a10a74e2efe8ef6172ad08833edbbfe1376c7f34f89d9be711d9af5c6608bd4a8222fb57ae83e3f711f62a7 -EBUILD android-file-transfer-linux-4.3_p20250109.ebuild 1655 BLAKE2B 90c5ce6f167cfb763d80a70fbf75108b838790b58992f4961b881131d9d88525556b161c31d1e2d162b64c7106b5fce5179d6d3210c2d5911ee4b6e2d6c56d42 SHA512 bfccff93c3b587a8e7fef6a5008ac71cc6e510cc090903998c2db1d8c97616714f19ad3f9c5b0a8aad28c0b278bc50ddf5f03812862e4d01b08a529b155d76b4 +EBUILD android-file-transfer-linux-4.3_p20250109.ebuild 1654 BLAKE2B 3c8c6158b16838373947986d35b19dba1681754e2fb22bff01c4e75d55ac4fb5e70859644efe76a00a84c84f53a5f7a8b7ab7fd7feaf43770e36c2ba6a1c41c8 SHA512 33abb237bf55f56d43dfc7125cebe56b9f20bde1e1ccc18fb179d4791430329880f438857d143d8d07ac9976a5f49a62abf7525ef4b5eda68468bbadf4da36cf EBUILD android-file-transfer-linux-9999.ebuild 1569 BLAKE2B e25117a53a5aa1ca572163a59d5602df43a6af35af92b56d628e8f35cff03fd70b88adce009ace431bb7d92624c075fc328b34fb9127ff39d16a654707577345 SHA512 6be43e26f5588fa9681619d53f345fc164b2a65a7a142a94fffb2670e6a0e93cd0c89cebaa28180c52993e1cf804f24089bc545b63e4ea380530e704ab83cf5d MISC metadata.xml 646 BLAKE2B 83f126f158295a2d70be8d70dec4d5846e258a60660d8e3c76acb9f103d3c2fbdd149ab327135eeace0334812c311194faa611863aba431601a35a725dfdeeb0 SHA512 598733dd286ba4f69f329b8d35c78906bfb2817aa77ddbe12e22654973fdd1ff8f71533dd5daf777c32ced75963f3e0dd84881f4e4a69b6bc16f4e95ad767f3a diff --git a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.3-r1.ebuild b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.3-r1.ebuild deleted file mode 100644 index 1c3a164151be..000000000000 --- a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.3-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) - -inherit cmake python-single-r1 xdg - -DESCRIPTION="Android File Transfer for Linux" -HOMEPAGE="https://github.com/whoozle/android-file-transfer-linux" - -if [[ "${PV}" = *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/whoozle/android-file-transfer-linux.git" -else - SRC_URI="https://github.com/whoozle/android-file-transfer-linux/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0" - -IUSE="fuse python qt5 taglib zune" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - sys-apps/file - sys-libs/readline:0= - fuse? ( sys-fs/fuse:0 ) - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/pybind11[${PYTHON_USEDEP}] - ') - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - ) - taglib? ( media-libs/taglib:= ) - zune? ( - dev-libs/openssl:0= - ) -" - -DEPEND="${RDEPEND}" - -BDEPEND=" - virtual/pkgconfig - qt5? ( dev-qt/linguist-tools:5 ) -" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_FUSE="$(usex fuse)" - -DBUILD_MTPZ="$(usex zune)" - -DBUILD_PYTHON="$(usex python)" - -DBUILD_QT_UI="$(usex qt5)" - -DBUILD_SHARED_LIB="ON" - -DBUILD_TAGLIB="$(usex taglib)" - # Upstream recommends to keep this off as libusb is broken - -DUSB_BACKEND_LIBUSB="OFF" - $(usev qt5 '-DDESIRED_QT_VERSION=5') - ) - cmake_src_configure -} diff --git a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.3_p20250109.ebuild b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.3_p20250109.ebuild index 9184fd20ac81..3dcb6a50f2a1 100644 --- a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.3_p20250109.ebuild +++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.3_p20250109.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]] ; then else COMMIT="b8ab1eccebfb5805d4bfbf39f7c2ca231e7dcc70" SRC_URI="https://github.com/whoozle/android-file-transfer-linux/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" S="${WORKDIR}/${PN}-${COMMIT}" fi diff --git a/sys-fs/bcachefs-tools/Manifest b/sys-fs/bcachefs-tools/Manifest index 31c140482750..ec4374876b24 100644 --- a/sys-fs/bcachefs-tools/Manifest +++ b/sys-fs/bcachefs-tools/Manifest @@ -9,6 +9,8 @@ DIST anyhow-1.0.89.crate 47078 BLAKE2B fc824e72891bff0cc7aa3b538adfb9af7dc843ab6 DIST bcachefs-tools-1.20.0-fix-fuse-build.patch 1233 BLAKE2B 8700c561fa1e88f2868bdc3386aac120365af52b8a00f7369c94c5c5dc6bc50a9e92ff72f63c903223df7387c16b71b902b8ca15425800929aa72bec485a2ea3 SHA512 5378437d3acf8fdbdfb5a3adf508dd3755180c77e964ae22a104171105332cd560dae7bf4893008a5d1b3c65c4add36ca70a5850cc9c7b7af1c866f6de1b24b6 DIST bcachefs-tools-1.20.0.tar.sign 833 BLAKE2B 2f05ff0329bd7e1294f5612baada16153bc20777075970afe1d6fe4df6946043a65561a195db77caa831e53d8aac12f17ffb2f7cb385c1bf5111acc3c67e4a84 SHA512 ecd5ee8a502b7eeea755a9b3a7be2dec8e5941a2d9b5eb9efb4e9ab8933924f755662fdf045befd17f8b19d14d0404f64bb18999593c82f991b49d212ae6359b DIST bcachefs-tools-1.20.0.tar.zst 1171239 BLAKE2B d73fae9dc3b83d0ed5a9a723fba347a3628a7a0a4f7104c50aa93020f28a5eb9fd0b04c34b31a84d13405d7d1a681452deef87e4f04651b070b3e3cf459b615c SHA512 6df9966861bbbcbccc4473847eb38f4fcb2eea5d4c0b3ea745698819b5157d9ae6e0bf7203424d914a672a0554e6310bb3022c23f92c680681e62596ee752d23 +DIST bcachefs-tools-1.25.0.tar.sign 833 BLAKE2B 8a9f7a8c77de58a5907f5ea069fdfbe2a8e289311608683abcfe14f8708ce2a174ccd3e526f4ace059c8ae71e0d8a1e9dd5a3cd0e0d41ae85dc2360b6acf8b00 SHA512 4339e75f0b7a43bd938dad75f83ba834cf8ed86640478c91987360c7ec380197c9e6f612276b02053c38c698e539eea02ba399d43008c2949a28e3438e71d84e +DIST bcachefs-tools-1.25.0.tar.zst 1178797 BLAKE2B b2c6f2d26db07b88ab59f2801b1245bf51f20b82d562264a45f3628ca4913b843f420b9eb5accb0efb7dc13585c69beb5a04bcef263a708d95787d1bee5d5bbf SHA512 465fdcf4dd4477225df652076ae9649ae90c9417d65be4649706100ffb702b4251d5722cdd494f15082b66325a7ac690a2c987cef5b2a827e357bb94e474853b DIST bindgen-0.69.5.crate 221128 BLAKE2B b89edbf883e1bc11a074c2f37f84bb966749823a6408b9765d6a61ee1179451d67dadde41d27838e8ddc6172dee9c342429f42fbe6959ff9fd7dcbc73d7506ea SHA512 b232b906af7535f8b87198f0a4037a0f09af367e0c913575f3d16453a2c272e7d76033cb3fd12d4223ebda4a0f8130629e67c5883e026a2422db3e0659ed3c3f DIST bitfield-0.14.0.crate 16776 BLAKE2B abca546581d912133e7344f049d93b8d793de323eba7780fab162c53a244b845582ec2bd14b529b9491c363c2da6228b7de58407afc554cc718a9df8370f5535 SHA512 703d534f0684b19af68a18048ecff37367ccbe5a52a3e8d987f2420b980e4a20da9640019ca610b1a73841cbe45dbf4d6a1cfb10cf0e7d09f53199b1fcd141fe DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 @@ -84,5 +86,6 @@ DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cac DIST zeroize-1.8.1.crate 20029 BLAKE2B 092eba034cd35ec47290020e0c2b213177ff5dbe14ab9e7f0b4ef3cb1ecbc42fbec2b951414e26ab00bc65aaddc2c93eddd5a1963b27c6cd613ac71c65d5cc24 SHA512 dd40ebe98b98fd742608d4066b5ab66caba94b2e679428fcaff9fe547d8cd6ff2360dc85d671ee9183e32fb79cb554d00d6aef9eb8f3d8ad0ec92d0435aa4ebe DIST zeroize_derive-1.4.2.crate 11141 BLAKE2B a40add656369a3a40d5b5f3397a77a1e9f803d4b8ae5b7d51c9f2ebb332a289b3c1ea528655806a26998e081a1cc9f4b07828664542de8d8d2619faf079d25c5 SHA512 d6966b024ce5e265c93e7056659ccbb97bbf6baa30f759fd96dc4391a6487426637f61f0a2713b6160019d778cf7d8ff1f25bb33d6c4f4585b990baae418b226 EBUILD bcachefs-tools-1.20.0.ebuild 4965 BLAKE2B 239023f170bb0a3daad18514c9f6475a2d6c3fa6484acfe3dfeb63444bff56a9006b0bc65074208cfb05a1ded1f16312a0295733e08c3eb0442b2131cc1b9cec SHA512 25c1fcf74a4799e1493bd5a8f9d04b9f22bb066af07a9a543672cab554f8636f275873e286a22650175fb3cd286996e3faeece098633a5eead334931aab7a97d +EBUILD bcachefs-tools-1.25.0.ebuild 4746 BLAKE2B 96a69bb38e0fd3bbe317ab310276fc0019da40ad46a57bfe002ef2d4895ef363b090ffda78e22f5fb1853107652d5999fc14501b6b2881faa27408617ce04fe7 SHA512 4f9127bbcb3bb8710fe585a5cb11c8b8ee5e6cd2cac30037039467ea99224d2dd41729508566fc73bba4ddcb2b8fe878f6be5d35a1147699600892bee4b6954c EBUILD bcachefs-tools-9999.ebuild 4319 BLAKE2B 558cd5e4b40789bd921b9ed1b49be51f8c46767b9292fb8224e17fb775c23220de7a3e329d8b6bfd23fe552f954423bb10f9dbcb9bc15b6b93a96b98af12fcff SHA512 5a1602b22373f049ecb5e027c1731a5aa26b610fe85308cb85c927730f1bfe857de2104b71fc7496b76f488d84057044272b5c3c073129156f6cacd30520ec47 MISC metadata.xml 679 BLAKE2B 54420caf5bda8ff5df2fcb25891b6a1e97df49051dfd8eb93538a886bce92ab4ed874bb5e09d8975cbddc26f5bbba08e751e82249cfd8e324e7fe685d2991c26 SHA512 de1478152acc6a27ca83dcdd7a77fde5e3720a5d8da19b2df5156ed4dc62f832fb8c0f89faefce8aefd60148a499c08a454b5eec94ef1b19d9b3871c225315d9 diff --git a/sys-fs/bcachefs-tools/bcachefs-tools-1.25.0.ebuild b/sys-fs/bcachefs-tools/bcachefs-tools-1.25.0.ebuild new file mode 100644 index 000000000000..98a2f8b739dd --- /dev/null +++ b/sys-fs/bcachefs-tools/bcachefs-tools-1.25.0.ebuild @@ -0,0 +1,231 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick@1.1.3 + anstream@0.6.15 + anstyle-parse@0.2.5 + anstyle-query@1.1.1 + anstyle-wincon@3.0.4 + anstyle@1.0.8 + anyhow@1.0.89 + bindgen@0.69.5 + bitfield@0.14.0 + bitflags@1.3.2 + bitflags@2.6.0 + cc@1.1.28 + cexpr@0.6.0 + cfg-if@1.0.0 + clang-sys@1.8.1 + clap@4.5.20 + clap_builder@4.5.20 + clap_complete@4.5.33 + clap_derive@4.5.18 + clap_lex@0.7.2 + colorchoice@1.0.2 + either@1.13.0 + env_logger@0.10.2 + errno-dragonfly@0.1.2 + errno@0.2.8 + errno@0.3.9 + glob@0.3.1 + heck@0.5.0 + home@0.5.9 + is_terminal_polyfill@1.70.1 + itertools@0.12.1 + lazy_static@1.5.0 + lazycell@1.3.0 + libc@0.2.159 + libloading@0.8.5 + libudev-sys@0.1.4 + linux-raw-sys@0.4.14 + log@0.4.22 + memchr@2.7.4 + minimal-lexical@0.2.1 + nom@7.1.3 + once_cell@1.20.2 + owo-colors@4.1.0 + paste@1.0.15 + pkg-config@0.3.31 + prettyplease@0.2.22 + proc-macro2@1.0.87 + quote@1.0.37 + regex-automata@0.4.8 + regex-syntax@0.8.5 + regex@1.11.0 + rustc-hash@1.1.0 + rustix@0.38.37 + rustversion@1.0.17 + shlex@1.3.0 + strsim@0.11.1 + strum@0.26.3 + strum_macros@0.26.4 + syn@2.0.79 + terminal_size@0.4.0 + udev@0.7.0 + unicode-ident@1.0.13 + utf8parse@0.2.2 + uuid@1.10.0 + which@4.4.2 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 + zeroize@1.8.1 + zeroize_derive@1.4.2 +" + +LLVM_COMPAT=( {17..19} ) +PYTHON_COMPAT=( python3_{10..13} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kentoverstreet.asc + +inherit cargo flag-o-matic llvm-r1 python-any-r1 shell-completion toolchain-funcs unpacker verify-sig + +DESCRIPTION="Tools for bcachefs" +HOMEPAGE="https://bcachefs.org/" +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://evilpiepirate.org/git/bcachefs-tools.git" +else + SRC_URI="https://evilpiepirate.org/bcachefs-tools/bcachefs-tools-${PV}.tar.zst + ${CARGO_CRATE_URIS} + " + SRC_URI+=" verify-sig? ( https://evilpiepirate.org/bcachefs-tools/bcachefs-tools-${PV}.tar.sign )" + S="${WORKDIR}/${P}" + KEYWORDS="~amd64 ~arm64" +fi + +LICENSE="Apache-2.0 BSD GPL-2 MIT" +SLOT="0" +IUSE="fuse verify-sig" +RESTRICT="test" + +DEPEND=" + app-arch/lz4:= + app-arch/zstd:= + dev-libs/libaio + dev-libs/libsodium:= + dev-libs/userspace-rcu:= + sys-apps/keyutils:= + sys-apps/util-linux + sys-libs/zlib + virtual/udev + fuse? ( >=sys-fs/fuse-3.7.0 ) +" + +RDEPEND="${DEPEND}" + +# Clang is required for bindgen +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/docutils[${PYTHON_USEDEP}] + ') + $(unpacker_src_uri_depends) + $(llvm_gen_dep ' + llvm-core/clang:${LLVM_SLOT} + ') + elibc_musl? ( >=sys-libs/musl-1.2.5 ) + virtual/pkgconfig + verify-sig? ( >=sec-keys/openpgp-keys-kentoverstreet-20241012 ) +" + +QA_FLAGS_IGNORED="/sbin/bcachefs" + +python_check_deps() { + python_has_version "dev-python/docutils[${PYTHON_USEDEP}]" +} + +pkg_setup() { + llvm-r1_pkg_setup + python-any-r1_pkg_setup +} + +src_unpack() { + # Upstream signs the uncompressed tarball + if use verify-sig; then + einfo "Unpacking ${P}.tar.zst ..." + verify-sig_verify_detached - "${DISTDIR}"/${P}.tar.sign \ + < <(zstd -fdc "${DISTDIR}"/${P}.tar.zst | tee >(tar -xf -)) + assert "Unpack failed" + fi + + if [[ ${PV} == "9999" ]]; then + git-r3_src_unpack + S="${S}/rust-src" cargo_live_src_unpack + else + unpacker ${P}.tar.zst + cargo_src_unpack + fi + +} + +src_prepare() { + default + tc-export CC + + sed \ + -e '/^CFLAGS/s:-O2::' \ + -e '/^CFLAGS/s:-g::' \ + -i Makefile || die + append-lfs-flags +} + +src_compile() { + use fuse && export BCACHEFS_FUSE=1 + export BUILD_VERBOSE=1 + export VERSION=${PV} + + default + + # This version mangles the symbolic link, + # please check if this can be removed before bumping + rm "${S}"/bcachefs + ln -s "${S}"/target/release/bcachefs bcachefs + + local shell + for shell in bash fish zsh; do + ./bcachefs completions ${shell} > ${shell}.completion || die + done +} + +src_install() { + into / + dosbin bcachefs + + dosym bcachefs /sbin/fsck.bcachefs + dosym bcachefs /sbin/mkfs.bcachefs + dosym bcachefs /sbin/mount.bcachefs + + if use fuse; then + dosym bcachefs /sbin/fsck.fuse.bcachefs + dosym bcachefs /sbin/mkfs.fuse.bcachefs + dosym bcachefs /sbin/mount.fuse.bcachefs + fi + + newbashcomp bash.completion bcachefs + newfishcomp fish.completion bcachefs.fish + newzshcomp zsh.completion _bcachefs + + doman bcachefs.8 +} + +pkg_postinst() { + if use fuse; then + ewarn "FUSE support is experimental." + ewarn "Please only use it for development purposes at the risk of losing your data." + ewarn "You have been warned." + fi +} diff --git a/sys-fs/fuse-overlayfs/Manifest b/sys-fs/fuse-overlayfs/Manifest index 7fbeab2f4db4..d3978e328fcd 100644 --- a/sys-fs/fuse-overlayfs/Manifest +++ b/sys-fs/fuse-overlayfs/Manifest @@ -1,7 +1,3 @@ -DIST fuse-overlayfs-1.12.tar.gz 99684 BLAKE2B e7ef075c043738d506efcf973ecef7eb321e9f2b2812b318a4087d2a913f022240ed4b0d46e47463daff6976dd99fb587a5819a22c7e58dd52029930e92abffc SHA512 f113ac20b389d2f1c5e5ff160a60c308017e74c9c85d74a7200bab81a4cfa30335a64740c173f17c91ab4feddffb138ca4378e92894645a67eea5ac73d42890f -DIST fuse-overlayfs-1.13.tar.gz 99775 BLAKE2B 7a0643a5ef029db7f3d1009e9dd4e7a647bf936205723fc3656dfd6d14d622e98f9df15590783492f056ab3f151fd658b6fe65f7177f9499532d02411138ac7c SHA512 2f005b7eb4f0cc31dd75a6c453d81fbbf1c77cb6c1e8f991a53465c1e8c0109c999063a3b2088978abeea2272677985cd79ecbbbcd7aaaac0088dcdd34981f4b DIST fuse-overlayfs-1.14.tar.gz 102564 BLAKE2B 9c4960bb82be68d545989adffda3c95d06a809692827ad2cf6e0eaa646860bb49ba2e91af88f634740714acb75f2f154b3781cfdd154003d4976e8cc123ed797 SHA512 e0c50abffb7b71248ed4d7b8663f21bab4bf358682dece3a0c9f1480f142532471e139f041759dd8bd24807c7369537a5d86efc01617a17172463bd1c3870623 -EBUILD fuse-overlayfs-1.12.ebuild 504 BLAKE2B 584f9cdd21a7f956f6e34c2afc935feeae031dff27b816fef1c79bbd6a229bd22cfe72b305f564bfa79d2a182278140e3da6afd9ea45db38aeada2b065ab64ad SHA512 6e64dc415bfa62b85e763fbaf6c5d8eb216e9fefc167a687c34f9723540125b99a19d60c5c24250d0d99213c9fdf3abc341d457c58bccc8b738c8ac0926609b6 -EBUILD fuse-overlayfs-1.13.ebuild 615 BLAKE2B d85046330296a86c1c2a64f6e70e266dcb3a6e3ce366f6b6853b172db0f1b716071e7da70d4c68b8c1676833e138602576f6de58b4dc407479cd735dd3e51b11 SHA512 50ea9e80a2a9464cd9fc73fc1c8b0942b6ea8c9626aad6df3e2058a53e5413f1a43290e579e984aec6afcb90a2ba0b98e05e440c5a489a4cf5c27c30e2cfa795 -EBUILD fuse-overlayfs-1.14.ebuild 615 BLAKE2B 42bed985e6572f1c1a54106126d196f81b5a3bea909e052e97d015361d3834e0fbec7ecdc9dad58e9ade85cafa790bad2d8463cc22ac5caadaa7584c0e87d372 SHA512 4098a10299ba13196c0716ebd7e9dce473cdbfb00acb5f1548f5c5fff5ace505669f02a2c8ecf86e7e982c5263f230c4eccac37be37cc57e498875370d420c6d +EBUILD fuse-overlayfs-1.14-r1.ebuild 616 BLAKE2B 4b76a543ef8068691b331a32444735be66ffe75296fd540dbf819633d39cefa3e796860ebdb8d62774828ef8a289cac25ede963fad9d8266db9f7ed2af418cfc SHA512 cceb30626007b7db2b4c00c9d10669be97dbbd60df7a5d25033b53d524c51a3b2c2cdc45438353d7e03d42cdd91c7285e339abc8e14256223c801fcd62de22dd MISC metadata.xml 588 BLAKE2B 5871bf7c5b838fc87673fbe00610b2aee63be3140af6cc46050f98dc299e922096bdc9928d6700d9779f4ff3bb9212258e7a86d27d764a623b9b53047078b2dc SHA512 aea63b5ea32b83fb24ee7422bd5df24e4f1250f8a33b7281d381531df3d230d2a9c257c3a5d0e379a252c82a82f490b448f6bd2f416d766cd6e000e354408438 diff --git a/sys-fs/fuse-overlayfs/fuse-overlayfs-1.12.ebuild b/sys-fs/fuse-overlayfs/fuse-overlayfs-1.12.ebuild deleted file mode 100644 index 48a89849ffc5..000000000000 --- a/sys-fs/fuse-overlayfs/fuse-overlayfs-1.12.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="FUSE implementation for overlayfs" -HOMEPAGE="https://github.com/containers/fuse-overlayfs" -SRC_URI="https://github.com/containers/fuse-overlayfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv" - -DEPEND="sys-fs/fuse:3" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - eautoreconf -} diff --git a/sys-fs/fuse-overlayfs/fuse-overlayfs-1.13.ebuild b/sys-fs/fuse-overlayfs/fuse-overlayfs-1.13.ebuild deleted file mode 100644 index 3178b8e1c7a8..000000000000 --- a/sys-fs/fuse-overlayfs/fuse-overlayfs-1.13.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools linux-info - -DESCRIPTION="FUSE implementation for overlayfs" -HOMEPAGE="https://github.com/containers/fuse-overlayfs" -SRC_URI="https://github.com/containers/fuse-overlayfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv" - -DEPEND="sys-fs/fuse:3" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -pkg_pretend() { - kernel_is -lt 4 18 && eerror "Linux Kernel > v4.18.0 is required" && die -} - -src_prepare() { - default - eautoreconf -} diff --git a/sys-fs/fuse-overlayfs/fuse-overlayfs-1.14-r1.ebuild b/sys-fs/fuse-overlayfs/fuse-overlayfs-1.14-r1.ebuild new file mode 100644 index 000000000000..af7ef1cf0cfc --- /dev/null +++ b/sys-fs/fuse-overlayfs/fuse-overlayfs-1.14-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info + +DESCRIPTION="FUSE implementation for overlayfs" +HOMEPAGE="https://github.com/containers/fuse-overlayfs" +SRC_URI="https://github.com/containers/fuse-overlayfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv" + +DEPEND="sys-fs/fuse:3=" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +pkg_pretend() { + kernel_is -lt 4 18 && eerror "Linux Kernel > v4.18.0 is required" && die +} + +src_prepare() { + default + eautoreconf +} diff --git a/sys-fs/fuse-overlayfs/fuse-overlayfs-1.14.ebuild b/sys-fs/fuse-overlayfs/fuse-overlayfs-1.14.ebuild deleted file mode 100644 index db61aedd328d..000000000000 --- a/sys-fs/fuse-overlayfs/fuse-overlayfs-1.14.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2019-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools linux-info - -DESCRIPTION="FUSE implementation for overlayfs" -HOMEPAGE="https://github.com/containers/fuse-overlayfs" -SRC_URI="https://github.com/containers/fuse-overlayfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv" - -DEPEND="sys-fs/fuse:3" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -pkg_pretend() { - kernel_is -lt 4 18 && eerror "Linux Kernel > v4.18.0 is required" && die -} - -src_prepare() { - default - eautoreconf -} diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest index 79f4786fa1c9..5bd9cbe33205 100644 --- a/sys-fs/fuse/Manifest +++ b/sys-fs/fuse/Manifest @@ -3,7 +3,9 @@ AUX fuse-2.9.9-avoid-calling-umount.patch 1264 BLAKE2B f02bb80aab844f90638ed2918 AUX fuse-2.9.9-closefrom-glibc-2-34.patch 1649 BLAKE2B 6697ecfd16ca8a71ec10c0caadee97c84fe412056c04124cf501a30df1dd7cb5bbbfd8a761692f2396755dda156fd94b86278d78f1a2bd2d7a41b9fd87f20fee SHA512 77bca6a67c235d7d22b156a9c3a8b906de59029d28fa0c985cb15e30d306b0dd6b9437d75eabe307aca7e159ecd90e47bd8fb723a582e95d0c491a6cb308e8a5 DIST fuse-2.9.9.tar.gz 1813177 BLAKE2B 9e9141380bda46eb0bcce325c6fd293fe3844fe884a4952bb38d4b89dc48b728ffcc891038b3a7a861f05acfacce9dd7bb0e11d600609f3ad0ab278ccbe98847 SHA512 3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2 DIST fuse-3.16.2.tar.gz 14165836 BLAKE2B 04f0037f924ef7b7cc90cb4c26afd1e942da69efebd93f3114774f2101550729379a0256ba190d7c99249fbce4ead5902133c01b29d8d75f41777d148540f521 SHA512 3e8889863cd67dada67271f095f694dc9e5aaf2561fd1e2285aee95b5a54e692bb195ab8fce57fc2bdf08d0ea17b6d56ca4967b4e4371d639d6133907b2370d3 +DIST fuse-3.17.1.tar.gz 4793172 BLAKE2B f7aada0cd16454bd6fbd2af05647bb9b06c03f76cb4b04ea30fc3ff874e309eaa123e9785f7fb59b687d9b5cbe5953566b55892811b2d2566d0712367b6180e7 SHA512 ce2de14b074feae8257f82d738606a65a3330c109ed4c3c014df39fefe4eb3d32f7e2a388459c059b6a7f0653794312fb5842a273ce7bee6c1e01b1a5e7fd0bc DIST iconv.m4.bz2 3057 BLAKE2B 9d8f7637d87bfcea1b60f3ea11e162aecf391b3f4579a3b85afb01735f56bfbae363a7e781279f3b2bed0d1dd3336f7d0678d3b1d59004824d7d0ca848dceb6e SHA512 9899368b8acc06e216a7a548b83a894f780e152a02612cd52af02b5c3f2ff38e2c36e77bda300587f81c3d74c90addec8066885216fa0e74f3f3280a383d2b55 EBUILD fuse-2.9.9-r2.ebuild 2135 BLAKE2B c5eacd598362de6dec72d402bf3d7343ded2a617a2e8e87b8a140f80e2a7b04630a47144d58bee332fbe2e50078cff6bdd8b8c0292c22668495f5933b4a8914d SHA512 94918361132cca1a1def8a899533bb90c2d428f18b63b689ad7339104452990b13c7305441b23a3bc445955fcef0b341c0c97e266b1198fb27a2ca4210c99ee8 EBUILD fuse-3.16.2.ebuild 2011 BLAKE2B bd2fdeba3bfa9e6c0cceb903282c7e3673b878dd4d9a5ed938b8dd03ee0896342bcfc38435d92165719c7879d527dd26145513db1517beab04224a5033c123a1 SHA512 14bb8304da408c5b501ca657573a43b038a50d071f39678bd974c434944f7bb7d789bbb132f6d96c72df4eda99454ae1d52166368768013e36f140566b1e3a2c +EBUILD fuse-3.17.1-r1.ebuild 2021 BLAKE2B 718dea9a710e6d5ee7bf1944202dd8dd2770e30b47fb13c9f28bd84028a69c1617753219db1eec63f2319ae4abfea12bd5d535e831ff83d6e76b084a7c03926d SHA512 35f44fd67dc5ceb54ea5a055fa633bcb1b738090d2cee8624030e239a01ff4272766b7f41de52aa57c7411c8f8fe70c344bbd6bac3722ae4888442260caa2956 MISC metadata.xml 357 BLAKE2B 49ff08baa6cc3cb3d58f892f8d1db18f2d8fd184945c4fe7fc75f0db265bf9b6ee8861b421c8ab1070a51e2b03b94eb77133991d71208a51a30d1f286d3a9ea6 SHA512 1c5b658c85cb13904843e1b0746019cca9dba7ec0cc61d4ba0c13378b32b4d3eaf016fbc7805637113c5285909c22f16d8ad3cdc23fec69775b12057f4146a0e diff --git a/sys-fs/fuse/fuse-3.17.1-r1.ebuild b/sys-fs/fuse/fuse-3.17.1-r1.ebuild new file mode 100644 index 000000000000..af2f7406cbb0 --- /dev/null +++ b/sys-fs/fuse/fuse-3.17.1-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="3/4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+suid test" +RESTRICT="test" +PROPERTIES="test_privileged" + +BDEPEND=" + virtual/pkgconfig + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]') + $(python_gen_any_dep 'dev-python/looseversion[${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}]" && + python_has_version "dev-python/looseversion[${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() { + # For tests to pass: + # sandbox must be disabled. + # Write access to /dev/cuse* and /dev/fuse is required. + # root must be a member of the portage group; CAP_DAC_OVERRIDE is dropped. + # TMPDIR must be short for unix socket paths. + local -x TMPDIR=/tmp + multilib-minimal_src_test +} + +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} +} diff --git a/sys-fs/squashfuse/Manifest b/sys-fs/squashfuse/Manifest index 4fab1c820234..c3cb3b1a83db 100644 --- a/sys-fs/squashfuse/Manifest +++ b/sys-fs/squashfuse/Manifest @@ -1,3 +1,5 @@ DIST squashfuse-0.5.2.tar.gz 75404 BLAKE2B bb0005395ad993932d27eccbf0aa57d587af19054e16cb2cb4cce13f9d97be011b70c3cffa5b21c4fbef294686b64dfa45e941e8a0fa10a6bea1e9264abf6b8b SHA512 4380d73afa47105e2188a4eebc6b54c5961a2ba38e5986865b7fd762ed0aea7d24b0d9f5b674abd9c29f73a336bd69142db7869a548560723f60559859cdd7f3 -EBUILD squashfuse-0.5.2.ebuild 1266 BLAKE2B f66101c3204dec023d09090addb4666c0d6983e10c7eb7e9e531fa39d5a6f9df15223a8bbb4b33a85b0add8f9718812bfe6e121ee24568e5371cc44054846592 SHA512 9830043455c548cd52f25c53a91bd471b8222a1bd412c56fac86eba066bb275b6eb3e8198af1b27b40518cafdbc98c14cd26b6bbb172d37e8d7631f8318ee9a1 +DIST squashfuse-0.6.0.tar.gz 76068 BLAKE2B dea168bb7b282d18170657948daedaadeb0bd8a046f643b59d5ddf9d6c5e030f36307ed7386edb83a2feec6b827a97213081f147e4d817552c7e771a78dab144 SHA512 48475860d28f571f76890753828eeddf947516fa3dc9e863f799be059b01233d10cb0af44ae22e9c4f4112ddf2586add5c4b9fac9654481fce5e2ef55fadb8e6 +EBUILD squashfuse-0.5.2-r1.ebuild 1312 BLAKE2B 1cc9da9264d9b833d463312e2e45c2ee584d3cc3a93e635e44dd686edde91a9bb53e7edb28a4b1f816bfd7bad8d696d6100d5f942367e97072af300b96096c42 SHA512 4b84a3669e507cd4c1e2b924725e978d9a517fb1fe98519090a514f93736a93b6548016ed4d9a5d88e7a3bcd0a1b975009a1dcb425cd8a84b1d156935a558950 +EBUILD squashfuse-0.6.0.ebuild 1294 BLAKE2B 9b7306933736ae6f6018dba9235fd5c0e3995de719e4591d425adb17527ec827d02ad98e6fb94c6bb9797329e7595e8912b08b81afaa81e4a31cc6bbac36a7db SHA512 0eae3f75e18260955198af0e1d9cd2735a0243ccae0e2059a8142f2ba0118ea7432854d62b48fa9413127fa57b42cd796e4658691f8abb6333c48d1b15d01220 MISC metadata.xml 513 BLAKE2B 0347d4259cc2e4fb927e569ed6ab9c656ded56368b5fe9efba757aba8bedb8ca6da50a6486023c92aedf6de669d73e6be46e9d92a1723b484f815f908d5c2771 SHA512 2b897a8696706e91dc149011274f0b4512f2adc37bfa774ab5bae6991bf8a8a4055e8aa5f9d5291076ead46f607b03adeb724e0380ffe3d863d6943d60179763 diff --git a/sys-fs/squashfuse/squashfuse-0.5.2-r1.ebuild b/sys-fs/squashfuse/squashfuse-0.5.2-r1.ebuild new file mode 100644 index 000000000000..759e05b72ac3 --- /dev/null +++ b/sys-fs/squashfuse/squashfuse-0.5.2-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2016-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="FUSE filesystem to mount squashfs archives" +HOMEPAGE="https://github.com/vasi/squashfuse" +SRC_URI="https://github.com/vasi/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="lz4 lzma lzo static-libs +zlib zstd" +REQUIRED_USE="|| ( lz4 lzma lzo zlib zstd )" +RESTRICT="test" # Tests require access to /dev/fuse. + +DEPEND=" + sys-fs/fuse:= + || ( + >=sys-fs/fuse-3.2:3 + >=sys-fs/fuse-2.8.6:0 + ) + lzma? ( >=app-arch/xz-utils-5.0.4:= ) + zlib? ( >=sys-libs/zlib-1.2.5-r2:= ) + lzo? ( >=dev-libs/lzo-2.06:= ) + lz4? ( >=app-arch/lz4-0_p106:= ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + filter-lto + filter-flags -fwhole-program -fno-common + + local econfargs=( + $(use_enable static-libs static) + $(use lz4 || echo --without-lz4) + $(use lzma || echo --without-xz) + $(use lzo || echo --without-lzo) + $(use zlib || echo --without-zlib) + $(use zstd || echo --without-zstd) + ) + + econf "${econfargs[@]}" +} + +src_install() { + default + find "${ED}" -name "*.la" -type f -delete || die +} diff --git a/sys-fs/squashfuse/squashfuse-0.5.2.ebuild b/sys-fs/squashfuse/squashfuse-0.5.2.ebuild deleted file mode 100644 index ddfa5dec4784..000000000000 --- a/sys-fs/squashfuse/squashfuse-0.5.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2016-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="FUSE filesystem to mount squashfs archives" -HOMEPAGE="https://github.com/vasi/squashfuse" -SRC_URI="https://github.com/vasi/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" -IUSE="lz4 lzma lzo static-libs +zlib zstd" -REQUIRED_USE="|| ( lz4 lzma lzo zlib zstd )" -RESTRICT="test" # Tests require access to /dev/fuse. - -DEPEND=" - >=sys-fs/fuse-2.8.6:0= - lzma? ( >=app-arch/xz-utils-5.0.4:= ) - zlib? ( >=sys-libs/zlib-1.2.5-r2:= ) - lzo? ( >=dev-libs/lzo-2.06:= ) - lz4? ( >=app-arch/lz4-0_p106:= ) - zstd? ( app-arch/zstd:= ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - filter-lto - filter-flags -fwhole-program -fno-common - - local econfargs=( - $(use_enable static-libs static) - $(use lz4 || echo --without-lz4) - $(use lzma || echo --without-xz) - $(use lzo || echo --without-lzo) - $(use zlib || echo --without-zlib) - $(use zstd || echo --without-zstd) - ) - - econf "${econfargs[@]}" -} - -src_install() { - default - find "${ED}" -name "*.la" -type f -delete || die -} diff --git a/sys-fs/squashfuse/squashfuse-0.6.0.ebuild b/sys-fs/squashfuse/squashfuse-0.6.0.ebuild new file mode 100644 index 000000000000..10b2410ff0d0 --- /dev/null +++ b/sys-fs/squashfuse/squashfuse-0.6.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2016-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="FUSE filesystem to mount squashfs archives" +HOMEPAGE="https://github.com/vasi/squashfuse" +SRC_URI="https://github.com/vasi/squashfuse/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="lz4 lzma lzo static-libs +zlib zstd" +REQUIRED_USE="|| ( lz4 lzma lzo zlib zstd )" + +# Tests require access to /dev/fuse. +RESTRICT="test" +PROPERTIES="test_privileged" + +DEPEND=" + sys-fs/fuse:= + || ( + >=sys-fs/fuse-3.2:3 + >=sys-fs/fuse-2.8.6:0 + ) + lzma? ( >=app-arch/xz-utils-5.0.4:= ) + zlib? ( >=sys-libs/zlib-1.2.5-r2:= ) + lzo? ( >=dev-libs/lzo-2.06:= ) + lz4? ( >=app-arch/lz4-0_p106:= ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local econfargs=( + $(use_enable static-libs static) + $(usev !lz4 --without-lz4) + $(usev !lzma --without-xz) + $(usev !lzo --without-lzo) + $(usev !zlib --without-zlib) + $(usev !zstd --without-zstd) + ) + + econf "${econfargs[@]}" +} + +src_test() { + addwrite /dev/fuse + default +} + +src_install() { + default + find "${ED}" -name "*.la" -type f -delete || die +} -- cgit v1.2.3