|
|
1e7f939 |
# Based on initial .spec file from upstream, link here
|
|
|
1e7f939 |
# https://github.com/netblue30/firejail/blob/master/platform/rpm/firejail.spec
|
|
|
1e7f939 |
# Originally created by Firejail authors
|
|
|
1e7f939 |
|
|
|
1e7f939 |
Name: firejail
|
|
|
c558eff |
Version: 0.9.72
|
|
|
e36a009 |
Release: 5%{?dist}
|
|
|
1e7f939 |
Summary: Linux namespaces sandbox program
|
|
|
1e7f939 |
BuildRequires: gcc make python3-devel
|
|
|
fc8ddbe |
BuildRequires: libselinux-devel
|
|
|
fc8ddbe |
Requires: xdg-dbus-proxy
|
|
|
1e7f939 |
|
|
|
1e7f939 |
# spec released under GPLv2+, contacted upstream whether it can be
|
|
|
1e7f939 |
# released under MIT
|
|
|
c558eff |
License: GPL-2.0-or-later
|
|
|
1e7f939 |
URL: https://github.com/netblue30/firejail
|
|
|
1e7f939 |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
1e7f939 |
|
|
|
1e7f939 |
%description
|
|
|
1e7f939 |
Firejail is a SUID sandbox program that reduces the risk of security
|
|
|
1e7f939 |
breaches by restricting the running environment of untrusted applications
|
|
|
1e7f939 |
using Linux namespaces. It includes a sandbox profile for Mozilla Firefox.
|
|
|
1e7f939 |
|
|
|
1e7f939 |
%prep
|
|
|
b54ff3a |
%autosetup -p1
|
|
|
1e7f939 |
|
|
|
1e7f939 |
%build
|
|
|
fc8ddbe |
%configure --enable-selinux
|
|
|
1e7f939 |
%make_build
|
|
|
1e7f939 |
|
|
|
1e7f939 |
%install
|
|
|
1e7f939 |
%make_install
|
|
|
1e7f939 |
chmod 0755 %{buildroot}%{_libdir}/%{name}/lib*.so
|
|
|
1e7f939 |
for f in \
|
|
|
1e7f939 |
%{buildroot}%{_libdir}/%{name}/fj-mkdeb.py \
|
|
|
1e7f939 |
%{buildroot}%{_libdir}/%{name}/fjclip.py \
|
|
|
1e7f939 |
%{buildroot}%{_libdir}/%{name}/fjdisplay.py \
|
|
|
1e7f939 |
%{buildroot}%{_libdir}/%{name}/fjresize.py
|
|
|
1e7f939 |
do
|
|
|
1e7f939 |
sed -i "1 s/^.*$/\#\!\/usr\/bin\/python3/" "$f";
|
|
|
1e7f939 |
done
|
|
|
c558eff |
rm %{buildroot}%{_datadir}/gtksourceview-5/language-specs/firejail-profile.lang
|
|
|
1e7f939 |
|
|
|
1e7f939 |
%files
|
|
|
1e7f939 |
%doc README RELNOTES CONTRIBUTING.md
|
|
|
1e7f939 |
%license COPYING
|
|
|
1e7f939 |
|
|
|
1e7f939 |
%{_bindir}/firecfg
|
|
|
1e7f939 |
%{_bindir}/firemon
|
|
|
7a4a25e |
%{_bindir}/jailcheck
|
|
|
1e7f939 |
%{_bindir}/%{name}
|
|
|
1e7f939 |
%{_libdir}/%{name}
|
|
|
1e7f939 |
%{_datarootdir}/bash-completion/completions/
|
|
|
9d9c15a |
%{_datarootdir}/vim/vimfiles
|
|
|
7a4a25e |
%{_datarootdir}/zsh/site-functions/_%{name}
|
|
|
1e7f939 |
%{_docdir}/%{name}/COPYING
|
|
|
76cc5b2 |
%{_docdir}/%{name}/profile.template
|
|
|
76cc5b2 |
%{_docdir}/%{name}/redirect_alias-profile.template
|
|
|
76cc5b2 |
%{_docdir}/%{name}/syscalls.txt
|
|
|
1e7f939 |
%{_mandir}/man5/%{name}-login.5.*
|
|
|
1e7f939 |
%{_mandir}/man5/%{name}-profile.5.*
|
|
|
1e7f939 |
%{_mandir}/man5/%{name}-users.5.*
|
|
|
1e7f939 |
%{_mandir}/man1/*
|
|
|
1e7f939 |
%config(noreplace) %{_sysconfdir}/%{name}
|
|
|
1e7f939 |
|
|
|
1e7f939 |
%changelog
|
|
|
e36a009 |
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.72-5
|
|
|
e36a009 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
e36a009 |
|
|
|
2fc3ae1 |
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.72-4
|
|
|
2fc3ae1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
2fc3ae1 |
|
|
|
babb8ce |
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.72-3
|
|
|
babb8ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
babb8ce |
|
|
|
6cc9e03 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.72-2
|
|
|
6cc9e03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
6cc9e03 |
|
|
|
c558eff |
* Tue Jan 17 2023 Artur Frenszek-Iwicki <fedora@svgames.pl> - 0.9.72-1
|
|
|
c558eff |
- Update to v0.9.72
|
|
|
c558eff |
- Migrate License tag to SPDX
|
|
|
c558eff |
|
|
|
6819875 |
* Tue Sep 06 2022 Maxwell G <gotmax@e.email> - 0.9.70-1
|
|
|
6819875 |
- Update to 0.9.70 (rhbz#2042724).
|
|
|
6819875 |
- Mitigates CVE-2022-31214 (rhbz#2095070).
|
|
|
6819875 |
|
|
|
c49323b |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.66-4
|
|
|
c49323b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
c49323b |
|
|
|
646b055 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.66-3
|
|
|
646b055 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
646b055 |
|
|
|
e60dcae |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.66-2
|
|
|
e60dcae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
e60dcae |
|
|
|
7a4a25e |
* Thu Jul 01 2021 Ondrej Dubaj <odubaj@redhat.com> - 0.9.66-1
|
|
|
7a4a25e |
- Rebase to version 0.9.66
|
|
|
7a4a25e |
|
|
|
7bb121a |
* Mon Feb 08 2021 Ondrej Dubaj <odubaj@redhat.com> - 0.9.64.4-1
|
|
|
7bb121a |
- Rebase to version 0.9.64.4
|
|
|
7bb121a |
|
|
|
faae664 |
* Fri Jan 29 2021 Ondrej Dubaj <odubaj@redhat.com> - 0.9.64.2-1
|
|
|
faae664 |
- Rebase to version 0.9.64.2
|
|
|
faae664 |
|
|
|
1e192d0 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.64-3
|
|
|
1e192d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
1e192d0 |
|
|
|
fc8ddbe |
* Fri Oct 23 2020 Ondrej Dubaj <odubaj@redhat.com> - 0.9.64-2
|
|
|
fc8ddbe |
- Add selinux and xdg-dbus-proxy dependencies
|
|
|
fc8ddbe |
- Enable selinux
|
|
|
fc8ddbe |
|
|
|
9d9c15a |
* Fri Oct 23 2020 Ondrej Dubaj <odubaj@redhat.com> - 0.9.64-1
|
|
|
9d9c15a |
- Rebase to version 0.9.64
|
|
|
9d9c15a |
|
|
|
99fcd3d |
* Tue Aug 18 2020 Ondrej Dubaj <odubaj@redhat.com> - 0.9.62.4-1
|
|
|
99fcd3d |
- Rebase to version 0.9.62.4
|
|
|
99fcd3d |
|
|
|
8ca1afc |
* Wed Aug 12 2020 Ondrej Dubaj <odubaj@redhat.com> - 0.9.62.2-1
|
|
|
8ca1afc |
- Rebase to version 0.9.62.2
|
|
|
8ca1afc |
|
|
|
40f6c09 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.62-2
|
|
|
40f6c09 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
40f6c09 |
|
|
|
76cc5b2 |
* Mon Feb 17 2020 Ondrej Dubaj <odubaj@redhat.com> - 0.9.62-1
|
|
|
76cc5b2 |
- Rebase to version 0.9.62
|
|
|
76cc5b2 |
|
|
|
0ef68cd |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.56-10
|
|
|
0ef68cd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0ef68cd |
|
|
|
b54ff3a |
* Mon Jul 29 2019 Ondrej Dubaj <odubaj@redhat.com> 0.9.56-9
|
|
|
b54ff3a |
- Resolved f31 build errors
|
|
|
b54ff3a |
|
|
|
5a3443b |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.56-8
|
|
|
5a3443b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5a3443b |
|
|
|
05fbc4a |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.56-7
|
|
|
05fbc4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
05fbc4a |
|
|
|
1e7f939 |
* Thu Nov 22 2018 Ondrej Dubaj <odubaj@redhat.com> 0.9.56-6
|
|
|
1e7f939 |
- Added python3-devel to BuildRequires, modified python shebangs
|
|
|
1e7f939 |
|
|
|
1e7f939 |
* Wed Nov 21 2018 Ondrej Dubaj <odubaj@redhat.com> 0.9.56-5
|
|
|
1e7f939 |
- Modified path to bash completion scripts
|
|
|
1e7f939 |
|
|
|
1e7f939 |
* Mon Nov 19 2018 Ondrej Dubaj <odubaj@redhat.com> 0.9.56-4
|
|
|
1e7f939 |
- Fixed problem with bash completion scripts
|
|
|
1e7f939 |
|
|
|
1e7f939 |
* Thu Nov 15 2018 Ondrej Dubaj <odubaj@redhat.com> 0.9.56-3
|
|
|
1e7f939 |
- Fixed .spec file according to review request comments (#1645172)
|
|
|
1e7f939 |
|
|
|
1e7f939 |
* Thu Nov 8 2018 Ondrej Dubaj <odubaj@redhat.com> 0.9.56-2
|
|
|
1e7f939 |
- Fixed .spec file according to review request comments (#1645172)
|
|
|
1e7f939 |
|
|
|
1e7f939 |
* Mon Oct 22 2018 Ondrej Dubaj <odubaj@redhat.com> 0.9.56-1
|
|
|
6819875 |
- First firejail RPM package for Fedora
|