f860b3
%global git0 https://github.com/containers/%{name}
f860b3
f860b3
%{!?_modulesloaddir:%global _modulesloaddir %{_usr}/lib/modules-load.d}
f860b3
f860b3
Name: fuse-overlayfs
f860b3
Version: 1.4.0
f860b3
Release: 2%{?dist}
f860b3
Summary: FUSE overlay+shiftfs implementation for rootless containers
f860b3
License: GPLv3+
f860b3
URL: %{git0}
f860b3
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64
f860b3
Source0: %{git0}/archive/v%{version}.tar.gz
f860b3
Patch0: fuse-overlayfs-openat2-unsupported.patch
f860b3
BuildRequires: autoconf
f860b3
BuildRequires: automake
f860b3
BuildRequires: fuse3-devel
f860b3
BuildRequires: gcc
f860b3
BuildRequires: git
f860b3
BuildRequires: go-md2man
f860b3
BuildRequires: make
f860b3
Requires: kmod
f860b3
Requires: fuse3
f860b3
f860b3
%description
f860b3
%{summary}.
f860b3
f860b3
%package devel
f860b3
Summary: %{summary}
f860b3
BuildArch: noarch
f860b3
f860b3
%description devel
f860b3
%{summary}
f860b3
f860b3
This package contains library source intended for
f860b3
building other packages which use import path with
f860b3
%{import_path} prefix.
f860b3
f860b3
%prep
f860b3
%autosetup -Sgit
f860b3
f860b3
%build
f860b3
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
f860b3
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
f860b3
./autogen.sh
f860b3
./configure --prefix=%{_usr} --libdir=%{_libdir}
f860b3
%{__make} generate-man
f860b3
f860b3
%install
f860b3
make DESTDIR=%{buildroot} install install-man
f860b3
install -d %{buildroot}%{_modulesloaddir}
f860b3
echo fuse > %{buildroot}%{_modulesloaddir}/fuse-overlayfs.conf
f860b3
f860b3
%post
f860b3
modprobe fuse > /dev/null 2>&1 || :
f860b3
f860b3
%check
f860b3
f860b3
#define license tag if not already defined
f860b3
%{!?_licensedir:%global license %doc}
f860b3
f860b3
%files
f860b3
%license COPYING
f860b3
%doc README.md
f860b3
%{_bindir}/%{name}
f860b3
%{_mandir}/man1/*
f860b3
%{_modulesloaddir}/fuse-overlayfs.conf
f860b3
f860b3
%changelog
f860b3
* Fri Jan 29 2021 Jindrich Novy <jnovy@redhat.com> - 1.4.0-2
f860b3
- disable openat2 syscall again - still unsupported in current RHEL8 kernel
f860b3
- Related: #1883490
f860b3
f860b3
* Sat Jan 23 2021 Jindrich Novy <jnovy@redhat.com> - 1.4.0-1
f860b3
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.4.0
f860b3
- Related: #1883490
f860b3
f860b3
* Thu Nov 26 2020 Jindrich Novy <jnovy@redhat.com> - 1.3.0-1
f860b3
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.3.0
f860b3
- Related: #1883490
f860b3
f860b3
* Mon Nov 09 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-3
f860b3
- be sure to harden the linked binary
f860b3
- Related: #1883490
f860b3
f860b3
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-2
f860b3
- ensure fuse module is loaded
f860b3
- Related: #1883490
f860b3
f860b3
* Wed Oct 21 2020 Jindrich Novy <jnovy@redhat.com> - 1.2.0-1
f860b3
- synchronize with stream-container-tools-rhel8
f860b3
- Related: #1883490
f860b3
f860b3
* Fri Sep 18 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-3
f860b3
- fix "error bind mounting /dev from host into mount namespace"
f860b3
  (the openat2 syscall is not yet supported by the RHEL8 kernel)
f860b3
- Resolves: #1867447
f860b3
f860b3
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-2
f860b3
- use proper CFLAGS
f860b3
- Related: #1821193
f860b3
f860b3
* Mon Jun 29 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-1
f860b3
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.2
f860b3
- Related: #1821193
f860b3
f860b3
* Mon Jun 22 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.1-1
f860b3
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.1
f860b3
- Related: #1821193
f860b3
f860b3
* Thu Jun 18 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.0-1
f860b3
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.1.0
f860b3
- Related: #1821193
f860b3
f860b3
* Tue May 12 2020 Jindrich Novy <jnovy@redhat.com> - 1.0.0-1
f860b3
- synchronize containter-tools 8.3.0 with 8.2.1
f860b3
- Related: #1821193
f860b3
f860b3
* Tue Apr 07 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.8-1
f860b3
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v0.7.8
f860b3
- Related: #1821193
f860b3
f860b3
* Thu Mar 19 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-5
f860b3
- latest iteration of segfault fix patch, thanks to Giuseppe Scrivano
f860b3
- Resolves: #1805017
f860b3
f860b3
* Fri Mar 06 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-4
f860b3
- replace "fuse-overlayfs segfault" patch with improved one
f860b3
  due to application to a different context
f860b3
- Resolves: #1805017
f860b3
f860b3
* Thu Feb 20 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-3
f860b3
- fix "fuse-overlayfs segfault"
f860b3
- Resolves: #1805017
f860b3
f860b3
* Mon Feb 17 2020 Jindrich Novy <jnovy@redhat.com> - 0.7.2-2
f860b3
- fix "useradd and groupadd fail under rootless Buildah and podman"
f860b3
- Resolves: #1803496
f860b3
f860b3
* Fri Nov 29 2019 Jindrich Novy <jnovy@redhat.com> - 0.7.2-1
f860b3
- update to 0.7.2
f860b3
- Related: RHELPLAN-25139
f860b3
f860b3
* Fri Nov 29 2019 Jindrich Novy <jnovy@redhat.com> - 0.7.1-1
f860b3
- update to 0.7.1
f860b3
- Related: RHELPLAN-25139
f860b3
f860b3
* Mon Nov 18 2019 Jindrich Novy <jnovy@redhat.com> - 0.7-1
f860b3
- update to 0.7
f860b3
- apply patch to fix build on RHEL-8
f860b3
- Related: RHELPLAN-25139
f860b3
f860b3
* Sat Jun 15 2019 Lokesh Mandvekar <lsm5@redhat.com> - 0.4.1-1
f860b3
- Resolves: #1720654 - rebase to v0.4.1
f860b3
f860b3
* Wed Jan 16 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-2
f860b3
- rebase
f860b3
- Resolves:#1666510
f860b3
f860b3
* Wed Oct 17 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-7.dev.git50c7a50
f860b3
- Resolves: #1640232
f860b3
- built commit 50c7a50
f860b3
f860b3
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-6.dev.git1c72a1a
f860b3
- Resolves: #1614856 - add manpage
f860b3
- built commit 1c72a1a
f860b3
- add BR: go-md2man
f860b3
f860b3
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-5.dev.gitd40ac75
f860b3
- built commit d40ac75
f860b3
- remove fedora bz ids
f860b3
- Exclude ix86 and ppc64
f860b3
f860b3
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-4.dev.git79c70fd
f860b3
- Resolves: #1609598 - initial upload to Fedora
f860b3
- bundled gnulib
f860b3
f860b3
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-3.dev.git79c70fd
f860b3
- correct license field
f860b3
f860b3
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-2.dev.git79c70fd
f860b3
- fix license
f860b3
f860b3
* Sun Jul 29 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-1.dev.git13575b6
f860b3
- First package for Fedora