Sync from SUSE:SLFO:Main virtiofsd revision 7975def47b14cfc69d9b551df1e7d56b
This commit is contained in:
commit
a2e826ba60
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
31
_service
Normal file
31
_service
Normal file
@ -0,0 +1,31 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="url">https://gitlab.com/virtio-fs/virtiofsd.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="filename">virtiofsd</param>
|
||||
<param name="revision">v1.10.1</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version" mode="disabled"/>
|
||||
|
||||
<service name="tar" mode="disabled"/>
|
||||
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
|
||||
<service name="cargo_audit" mode="disabled">
|
||||
<param name="srcdir">virtiofsd</param>
|
||||
</service>
|
||||
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srcdir">virtiofsd</param>
|
||||
<param name="compression">xz</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
</services>
|
5
cargo_config
Normal file
5
cargo_config
Normal file
@ -0,0 +1,5 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
BIN
vendor.tar.xz
(Stored with Git LFS)
Normal file
BIN
vendor.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
virtiofsd-1.10.1.tar.xz
(Stored with Git LFS)
Normal file
BIN
virtiofsd-1.10.1.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
43
virtiofsd.changes
Normal file
43
virtiofsd.changes
Normal file
@ -0,0 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 30 17:09:25 UTC 2024 - caleb.crane@suse.com
|
||||
|
||||
- Fix CVE-2023-50711: vmm-sys-util: out of bounds memory accesses (bsc#1218502, bsc#1218500)
|
||||
- Update to version 1.10.1:
|
||||
* Bump version to v1.10.1
|
||||
* Fix mandatory user namespaces
|
||||
* Don't drop supplemental groups in unprivileged user namespace
|
||||
* Bump version to v1.10.0
|
||||
* Update rust-vmm dependencies (bsc#1218500)
|
||||
* Bump version to v1.9.0
|
||||
- Spec: switch to using the upstream virtio-fs config file for qemu
|
||||
- Spec: switch back to greedy cargo updates of vendored dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 31 20:28:08 UTC 2023 - Caleb Crane <caleb.crane@suse.com>
|
||||
|
||||
- Update to upstream version v1.7.2 (jsc#4980)
|
||||
- Add supplementary group extension support
|
||||
- Prevent EPERM failures with O_NOATIME
|
||||
- Fix cache timeouts
|
||||
- seccomp: Allow SYS_sched_yield
|
||||
- Allow to provide the same argument multiple times
|
||||
- Add the -V/--version options
|
||||
- Upgrade vendored dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 2 15:40:06 UTC 2023 - Caleb Crane <caleb.crane@suse.com>
|
||||
|
||||
- Add qemu config file to ensure qemu is aware of the virtiofsd executable
|
||||
- https://www.reddit.com/r/suse/comments/13xmote/vm_with_virtiofs_does_not_start_unable_to_find_a/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 25 02:33:51 UTC 2023 - Caleb Crane <caleb.crane@suse.com>
|
||||
|
||||
- Remove exclusive arch, only disable for 32-bit archs (i586 and armv7l)
|
||||
- Add package conflict with the previous implementation of virtiofsd inside
|
||||
older versions of the qemu-tools package (qemu-tools < 8)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 23 13:30:11 UTC 2023 - Caleb Crane <caleb.crane@suse.com>
|
||||
|
||||
- Initial release of virtiofsd v1.6.1
|
61
virtiofsd.spec
Normal file
61
virtiofsd.spec
Normal file
@ -0,0 +1,61 @@
|
||||
#
|
||||
# spec file for package virtiofsd
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: virtiofsd
|
||||
Version: 1.10.1
|
||||
Release: 0
|
||||
Summary: vhost-user virtio-fs device backend written in Rust
|
||||
Group: Development/Libraries/Rust
|
||||
License: Apache-2.0
|
||||
URL: https://gitlab.com/virtio-fs/virtiofsd
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: cargo_config
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
Conflicts: qemu-tools < 8
|
||||
ExcludeArch: %ix86 %arm
|
||||
|
||||
%description
|
||||
vhost-user virtio-fs device backend written in Rust
|
||||
|
||||
%prep
|
||||
%autosetup -a1
|
||||
mkdir .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
|
||||
%build
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_libexecdir}
|
||||
install -D -p -m 0755 %{_builddir}/%{name}-%{version}/target/release/virtiofsd %{buildroot}%{_libexecdir}/virtiofsd
|
||||
install -D -p -m 0644 %{_builddir}/%{name}-%{version}/50-virtiofsd.json %{buildroot}%{_datadir}/qemu/vhost-user/50-virtiofsd.json
|
||||
|
||||
%check
|
||||
%{cargo_test}
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_libexecdir}/virtiofsd
|
||||
%dir %{_datadir}/qemu
|
||||
%dir %{_datadir}/qemu/vhost-user
|
||||
%{_datadir}/qemu/vhost-user/50-virtiofsd.json
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user