commit: b3af4e297fe0bfed12b4ee1123d9211d22b37473 Author: Michal Privoznik <michal.privoznik <AT> gmail <DOT> com> AuthorDate: Thu Jun 26 08:51:43 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jun 26 15:25:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3af4e29
app-emulation/virtiofsd: Add 1.13.2 Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42759 Signed-off-by: Sam James <sam <AT> gentoo.org> app-emulation/virtiofsd/Manifest | 1 + app-emulation/virtiofsd/virtiofsd-1.13.2.ebuild | 181 ++++++++++++++++++++++++ 2 files changed, 182 insertions(+) diff --git a/app-emulation/virtiofsd/Manifest b/app-emulation/virtiofsd/Manifest index d22e4ac51ac4..429adcfd06b1 100644 --- a/app-emulation/virtiofsd/Manifest +++ b/app-emulation/virtiofsd/Manifest @@ -110,6 +110,7 @@ DIST virtiofsd-v1.10.0.tar.bz2 94982 BLAKE2B 32ce893cc44b99abedd136173b380141fb8 DIST virtiofsd-v1.10.1.tar.bz2 95103 BLAKE2B daf29f27d52100c09e06f557bcbcfcba3011762accd037e70680441496fca90256f90f77800732f8052d6e0dffeb47f34a92b96e84d217a373e18fe512ac4f11 SHA512 928922c45893e6a395c8c5fa87521cc87393e6b214fd7e668a00bcf2f86c68387b7323a562266680f60aff33a5c5915a5bd7f13a662465d41eb7ee36f9fd8d18 DIST virtiofsd-v1.11.1.tar.bz2 113565 BLAKE2B 988c8830301ddc0840f54f39c947bc5733dcc747edba4cd42e92949198597e2054612b6399bf3469bf50e9d9c6d7a75d5ebbf2c8c79ada7ea37f887994a21556 SHA512 d6abaa2e53cfff53ff8b934259a36b05d2f55d6df3d87e9865578db6d0c81ee68ec57d79a29163555abd90f6a4a5e288598ef0a457ce28167c623ac13015e2dd DIST virtiofsd-v1.13.1.tar.bz2 137055 BLAKE2B 8d8e6214bfbaa204175d80f1cc920ffc81c98ab17b16d716389867ec656923e0f4c41eb07250e08fea9b717033ec5d339ac1176f10bac59377bd2e00ec858e99 SHA512 2e9a7b5200fbbdeb50a2defce6983aabbc7bac71711a4b6a00071aa7dc91f5cdc4ebe37aacabf54bf49d9afc659f34df2944907e2cc6b2d0995f8c2a4a7693e1 +DIST virtiofsd-v1.13.2.tar.bz2 138588 BLAKE2B ba450eaf004abef86d83d4833b3ec4e8f23e36b08938a4c8d391a13718fd05660d9361e493c6cf63b1d785929f5475dd675187c79ac0004480cab8a1263e4a06 SHA512 0b790b71251adce7f1db2774d09d761d2c0ef94acae5475ed887268fdf7a9927f1c9cc0f30ae2d54597302a9265cc3f2e8cf88042fd6372b0d2aa360fed07db7 DIST vm-memory-0.14.0.crate 85354 BLAKE2B f2716e17e4272e0baacc38e9783d6abf337a80a18a63119bb1b644ab2c65a7064c4fa2c229309e5d06ebbfadd25bd566e2c96bbc7d281bbe5b29b163718378f2 SHA512 fa7341be2393a42af6ea6c803c1f9657a5e152abd79af83b41918abb01f2f3a6e33431e39e40297164dfca2f7ef14dfc20d80c0278f27bc7abd4d7a4a7ef7710 DIST vm-memory-0.14.1.crate 85426 BLAKE2B 456c5e18cff7ae2256cb6ea8e325906f8b171f611751f51ea32a59cdc87d9c8575874577ce7e9c8ac76e45834d74d5be5ccfd3ea773216668465da97c6c6bc34 SHA512 da4437a01c9d78f80d28b20c8f5f8fc482cb4e13fcca2c34ddffa8f487931367b6b6ad322420accc19272ffaf50405797dd5c3ef689adea9f85677a3af5dc1f3 DIST vm-memory-0.16.0.crate 85749 BLAKE2B f58d4cf43956e7be95794c20bfa8c5090be17d8b2e4bdde9cb7036424bd6c68417014f29b2de138f9da039ca2df1aee4ce8d297fecffb916bc68e3db1e87e85d SHA512 324584de07d3e02dd218ac432fa35b11114cc1213e483506e4f8a7fb2bd664c806b7ab8bfb17d95602aac8c5fabedd25e98dacac5e7a8bad39e11030de061ca0 diff --git a/app-emulation/virtiofsd/virtiofsd-1.13.2.ebuild b/app-emulation/virtiofsd/virtiofsd-1.13.2.ebuild new file mode 100644 index 000000000000..d0db200fdff1 --- /dev/null +++ b/app-emulation/virtiofsd/virtiofsd-1.13.2.ebuild @@ -0,0 +1,181 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected]+wasi-snapshot-preview1 + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] +" + +inherit cargo + +DESCRIPTION="Shared file system for virtual machines" +HOMEPAGE="https://virtio-fs.gitlab.io/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/virtio-fs/virtiofsd.git" + EGIT_BRANCH="main" +else + SRC_URI="https://gitlab.com/virtio-fs/virtiofsd/-/archive/v${PV}/virtiofsd-v${PV}.tar.bz2" + SRC_URI+=" ${CARGO_CRATE_URIS}" + KEYWORDS="~amd64 ~ppc64" + S="${WORKDIR}/${PN}-v${PV}" +fi + +LICENSE="Apache-2.0 BSD" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 Unlicense" +SLOT="0" + +DEPEND=" + sys-libs/libcap-ng + sys-libs/libseccomp +" +RDEPEND=" + sys-apps/shadow + ${DEPEND} +" + +# rust does not use *FLAGS from make.conf, silence portage warning +# update with proper path to binaries this crate installs, omit leading / +QA_FLAGS_IGNORED="usr/libexec/${PN}" + +src_unpack() { + if [[ "${PV}" == *9999* ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_install() { + cargo_src_install + + mkdir "${ED}/usr/libexec" || die + mv "${ED}/usr/"{bin,libexec}/${PN} || die + + # Install 50-virtiofsd.json but to avoid conflicts with + # <app-emulation/qemu-8.0.0 install it under different name. In this case, + # smaller number means higher priority, but that's probably what users want + # anyway if they install this package on top of app-emulation/qemu. + # TODO: remove once old QEMUs are removed from the portage. + insinto "/usr/share/qemu/vhost-user" + newins "50-virtiofsd.json" "40-virtiofsd.json" +}
