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