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