import fuse-overlayfs-1.3.0-2.module+el8.3.1+9857+68fb1526

This commit is contained in:
CentOS Sources 2021-02-16 02:40:54 -05:00 committed by Andrew Lukoshko
parent c8e94e6cd9
commit 91ca747721
4 changed files with 36 additions and 22 deletions

View File

@ -1 +1 @@
19d8cbb0252ccc8490ffc44df0d9b2593809189a SOURCES/v1.1.2.tar.gz
079bcd26d90e20f33c974e29b727ff399d7a078f SOURCES/v1.3.0.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/v1.1.2.tar.gz
SOURCES/v1.3.0.tar.gz

View File

@ -1,14 +0,0 @@
diff --git a/utils.c b/utils.c
index 749cfb0..bc0edb6 100644
--- a/utils.c
+++ b/utils.c
@@ -81,7 +81,7 @@ syscall_openat2 (int dirfd, const char *path, uint64_t flags, uint64_t mode, uin
int
safe_openat (int dirfd, const char *pathname, int flags, mode_t mode)
{
- static bool openat2_supported = true;
+ static bool openat2_supported = false;
if (openat2_supported)
{

View File

@ -1,16 +1,15 @@
%global git0 https://github.com/containers/%{name}
%{!?_modulesloaddir:%global _modulesloaddir %{_usr}/lib/modules-load.d}
Name: fuse-overlayfs
Version: 1.1.2
Release: 3%{?dist}
Version: 1.3.0
Release: 2%{?dist}
Summary: FUSE overlay+shiftfs implementation for rootless containers
License: GPLv3+
URL: %{git0}
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64
Source0: %{git0}/archive/v%{version}.tar.gz
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1867447
# patch: https://bugzilla.redhat.com/show_bug.cgi?id=1867447#c6
Patch0: fuse-overlayfs-1867447.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fuse3-devel
@ -18,6 +17,8 @@ BuildRequires: gcc
BuildRequires: git
BuildRequires: go-md2man
BuildRequires: make
Requires: kmod
Requires: fuse3
%description
%{summary}.
@ -38,12 +39,18 @@ building other packages which use import path with
%build
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
./autogen.sh
./configure --prefix=%{_usr} --libdir=%{_libdir}
%{__make} generate-man
%install
make DESTDIR=%{buildroot} install install-man
install -d %{buildroot}%{_modulesloaddir}
echo fuse > %{buildroot}%{_modulesloaddir}/fuse-overlayfs.conf
%post
modprobe fuse > /dev/null 2>&1 || :
%check
@ -54,9 +61,30 @@ make DESTDIR=%{buildroot} install install-man
%license COPYING
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/*
%{_modulesloaddir}/fuse-overlayfs.conf
%changelog
* Mon Feb 01 2021 Jindrich Novy <jnovy@redhat.com> - 1.3.0-2
- disable openat2 syscall again - still unsupported in current RHEL8 kernel
- Resolves: #1921863
* Thu Nov 26 2020 Jindrich Novy <jnovy@redhat.com> - 1.3.0-1
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.3.0
- Related: #1888571
* Mon Nov 09 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-3
- be sure to harden the linked binary
- Related: #1888571
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-2
- ensure fuse module is loaded
- Related: #1888571
* Thu Oct 22 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-1
- synchronize with stream-container-tools-rhel8-rhel-8.4.0
- Related: #1888571
* Fri Sep 18 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-3
- fix "error bind mounting /dev from host into mount namespace"
(the openat2 syscall is not yet supported by the RHEL8 kernel)