118 строки
3.5 KiB
Plaintext
118 строки
3.5 KiB
Plaintext
Summary: File System in Userspace (FUSE) utilities
|
|
Name: fuse
|
|
Version: 2.9.7
|
|
Release: 10%{?dist}
|
|
License: GPL+
|
|
Vendor: Microsoft Corporation
|
|
Distribution: Mariner
|
|
Group: System Environment/Base
|
|
URL: https://github.com/libfuse/libfuse
|
|
Source0: https://github.com/libfuse/libfuse/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
Patch0: fuse-types.patch
|
|
Patch1: fuse-prevent-silent-truncation.patch
|
|
Patch2: fuse-escaped-commas-CVE-2018-10906.patch
|
|
Patch3: fuse-bailout-transient-config-read-failure.patch
|
|
Patch4: fuse-refuse-unknown-options-CVE-2018-10906.patch
|
|
Patch5: fuse-whitelist-known-good-filesystems.patch
|
|
Patch6: fuse-gcc11.patch
|
|
Provides: %{name}-libs = %{version}-%{release}
|
|
|
|
%description
|
|
With FUSE it is possible to implement a fully functional filesystem in a
|
|
userspace program.
|
|
|
|
%package devel
|
|
Summary: Header and development files
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
It contains the libraries and header files to create fuse applications.
|
|
|
|
%prep
|
|
%setup -q
|
|
%ifarch aarch64
|
|
%patch0 -p1
|
|
%endif
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch3 -p1
|
|
%patch4 -p1
|
|
%patch5 -p1
|
|
%patch6 -p1
|
|
|
|
%build
|
|
# fuse-gcc11.patch modifies configure.ac, so regenerate it.
|
|
aclocal -I . && autoheader && autoconf && automake --add-missing -c
|
|
%configure --disable-static INIT_D_PATH=/tmp/init.d &&
|
|
%make_build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_libdir}/%{name}
|
|
%make_install
|
|
|
|
install -v -m755 -d %{_docdir}/%{name}-%{version} &&
|
|
install -v -m644 doc/{how-fuse-works,kernel.txt} \
|
|
%{_docdir}/%{name}-%{version}
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%license COPYING
|
|
/sbin/mount.fuse
|
|
%{_libdir}/libfuse.so.*
|
|
%{_libdir}/libulockmgr.so.*
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
%exclude %{_mandir}/man8/*
|
|
%exclude /tmp/init.d/fuse
|
|
%exclude %{_sysconfdir}/udev/rules.d/99-fuse.rules
|
|
|
|
%files devel
|
|
%doc ChangeLog
|
|
%{_libdir}/libfuse.so
|
|
%{_libdir}/libulockmgr.so
|
|
%{_includedir}/*
|
|
%{_libdir}/pkgconfig/fuse.pc
|
|
|
|
%changelog
|
|
* Fri Nov 12 2021 Nicolas Guibourge <nicolasg@microsoft.com> - 2.9.7-10
|
|
- Fix gcc 11 build issue
|
|
|
|
* Fri Jul 23 2021 Thomas Crain <thcrain@microsoft.com> - 2.9.7-8
|
|
- Add provides for libs subpackages from base package
|
|
- Minor linting (make macros, replace source URL)
|
|
- License verified
|
|
|
|
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 2.9.7-7
|
|
- Added %%license line automatically
|
|
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 2.9.7-6
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
|
|
|
* Fri Jan 18 2019 Ankit Jain <ankitja@vmware.com> - 2.9.7-5
|
|
- Added patches for CVE-2018-10906 and hardening changes
|
|
|
|
* Mon Oct 8 2018 Sriram Nambakam <snambakam@vmware.com> - 2.9.7-4
|
|
- Use %configure and set DESTDIR
|
|
|
|
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> - 2.9.7-3
|
|
- Aarch64 support
|
|
|
|
* Wed Jul 05 2017 Xiaolin Li <xiaolinl@vmware.com> - 2.9.7-2
|
|
- Move pkgconfig folder to devel package.
|
|
|
|
* Mon Apr 17 2017 Danut Moraru <dmoraru@vmware.com> - 2.9.7-1
|
|
- Update to 2.9.7
|
|
|
|
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 2.9.5-2
|
|
- GA - Bump release of all rpms
|
|
|
|
* Tue Jan 26 2016 Xiaolin Li <xiaolinl@vmware.com> - 2.9.5-1
|
|
- Updated to version 2.9.5
|
|
|
|
* Fri Aug 28 2015 Alexey Makhalov <amakhalov@vmware.com> - 2.9.4-2
|
|
- post/pre actions are removed.
|
|
|
|
* Tue Jun 16 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 2.9.4-1
|
|
- Initial version. |