|
|
d60810 |
%if 0%{?rhel} == 8
|
|
|
d60810 |
%define anaconda_core_version 33
|
|
|
d60810 |
%endif
|
|
|
d60810 |
%if 0%{?rhel} == 9
|
|
|
d60810 |
%define anaconda_core_version 34
|
|
|
d60810 |
%endif
|
|
|
d60810 |
%if 0%{?fedora}
|
|
|
d60810 |
%define anaconda_core_version %{fedora}
|
|
|
d60810 |
%endif
|
|
|
d60810 |
|
|
|
d60810 |
Name: oscap-anaconda-addon
|
|
|
d60810 |
Version: 2.0.0
|
|
|
a0903e |
Release: 12%{?dist}
|
|
|
d60810 |
Summary: Anaconda addon integrating OpenSCAP to the installation process
|
|
|
d60810 |
|
|
|
d60810 |
License: GPLv2+
|
|
|
d60810 |
URL: https://github.com/OpenSCAP/oscap-anaconda-addon
|
|
|
d60810 |
|
|
|
d60810 |
Source0: https://github.com/OpenSCAP/oscap-anaconda-addon/releases/download/r%{version}/%{name}-%{version}.tar.gz
|
|
|
d60810 |
# TODO: Remove when the fixed upstream release contains dbus service data
|
|
|
d60810 |
Source1: addon-dbus-data.zip
|
|
|
d60810 |
|
|
|
d60810 |
Patch1: lang.patch
|
|
|
d60810 |
Patch2: oscap-anaconda-addon-2.0.1-various_bugfixes-PR_166.patch
|
|
|
d60810 |
Patch3: oscap-anaconda-addon-2.0.1-fix_archive_handling-PR_170.patch
|
|
|
d60810 |
Patch4: oscap-anaconda-addon-2.0.1-fix_no_hardening-PR_176.patch
|
|
|
d60810 |
Patch5: oscap-anaconda-addon-2.0.1-fix_fingerprint-PR_177.patch
|
|
|
d60810 |
Patch6: oscap-anaconda-addon-2.0.1-rhel9_tailoring_fix-PR_180.patch
|
|
|
d60810 |
Patch7: oscap-anaconda-addon-1.2.2-dbus_show_integration-PR_182.patch
|
|
|
d60810 |
Patch8: oscap-anaconda-addon-2.1.0-unified_help-PR_192.patch
|
|
|
a0903e |
Patch9: oscap-anaconda-addon-2.0.1-absent_appstream-PR_185.patch
|
|
|
a0903e |
Patch10: oscap-anaconda-addon-2.0.1-fix_strings-PR_207.patch
|
|
|
d60810 |
|
|
|
d60810 |
BuildArch: noarch
|
|
|
d60810 |
BuildRequires: make
|
|
|
d60810 |
BuildRequires: gettext
|
|
|
d60810 |
BuildRequires: python3-devel
|
|
|
d60810 |
BuildRequires: python3-pycurl
|
|
|
d60810 |
BuildRequires: openscap openscap-utils openscap-python3
|
|
|
d60810 |
BuildRequires: anaconda-core >= %{anaconda_core_version}
|
|
|
d60810 |
Requires: anaconda-core >= %{anaconda_core_version}
|
|
|
d60810 |
Requires: python3-pycurl
|
|
|
d60810 |
Requires: python3-kickstart
|
|
|
d60810 |
Requires: openscap openscap-utils openscap-python3
|
|
|
d60810 |
Requires: scap-security-guide
|
|
|
d60810 |
|
|
|
d60810 |
%description
|
|
|
d60810 |
This is an addon that integrates OpenSCAP utilities with the Anaconda installer
|
|
|
d60810 |
and allows installation of systems following restrictions given by a SCAP
|
|
|
d60810 |
content.
|
|
|
d60810 |
|
|
|
d60810 |
%prep
|
|
|
d60810 |
%autosetup -p1
|
|
|
d60810 |
unzip %{_sourcedir}/addon-dbus-data.zip
|
|
|
d60810 |
|
|
|
d60810 |
%build
|
|
|
d60810 |
|
|
|
d60810 |
%check
|
|
|
d60810 |
|
|
|
d60810 |
%install
|
|
|
d60810 |
make install DESTDIR=%{buildroot}
|
|
|
d60810 |
%find_lang %{name}
|
|
|
d60810 |
|
|
|
d60810 |
%files -f %{name}.lang
|
|
|
d60810 |
%{_datadir}/anaconda/addons/org_fedora_oscap
|
|
|
d60810 |
%{_datadir}/anaconda/dbus/confs/org.fedoraproject.Anaconda.Addons.OSCAP.conf
|
|
|
d60810 |
%{_datadir}/anaconda/dbus/services/org.fedoraproject.Anaconda.Addons.OSCAP.service
|
|
|
d60810 |
|
|
|
d60810 |
%doc COPYING ChangeLog README.md
|
|
|
d60810 |
|
|
|
d60810 |
%changelog
|
|
|
a0903e |
* Fri Jun 10 2022 Matej Tyc <matyc@redhat.com> - 2.0.0-12
|
|
|
a0903e |
- Remove the firstboot remediation feature completely.
|
|
|
a0903e |
We can't have it, while maintaining the standard UX.
|
|
|
a0903e |
Resolves: rhbz#2065751
|
|
|
a0903e |
|
|
|
a0903e |
* Wed Jun 01 2022 Matej Tyc <matyc@redhat.com> - 2.0.0-11
|
|
|
a0903e |
- Remove the redundant dependency on oscap-utils
|
|
|
a0903e |
Resolves: rhbz#2086822
|
|
|
a0903e |
|
|
|
a0903e |
* Wed May 18 2022 Matej Tyc <matyc@redhat.com> - 2.0.0-10
|
|
|
a0903e |
- Fix strings, so they are translatable, and update translations
|
|
|
a0903e |
Resolves: rhbz#2081268
|
|
|
a0903e |
|
|
|
a0903e |
* Mon Mar 21 2022 Matej Tyc <matyc@redhat.com> - 2.0.0-9
|
|
|
a0903e |
- Introduce the firstboot remediation
|
|
|
a0903e |
Resolves: rhbz#1999587
|
|
|
a0903e |
- Add better error handling of installation using unsupported installation sources
|
|
|
a0903e |
Resolves: rhbz#2042334
|
|
|
a0903e |
|
|
|
d60810 |
* Mon Jan 24 2022 Matej Tyc <matyc@redhat.com> - 2.0.0-8
|
|
|
d60810 |
- Introduce unified help support
|
|
|
d60810 |
Resolves: rhbz#2043512
|
|
|
d60810 |
- Update translations
|
|
|
d60810 |
Resolves: rhbz#2017374
|
|
|
d60810 |
|
|
|
d60810 |
* Mon Dec 13 2021 Matej Tyc <matyc@redhat.com> - 2.0.0-7
|
|
|
d60810 |
- Don't show the OSCAP spoke if the OSCAP DBus module is disabled
|
|
|
d60810 |
Resolves: rhbz#2018954
|
|
|
d60810 |
|
|
|
d60810 |
* Thu Nov 25 2021 Matej Tyc <matyc@redhat.com> - 2.0.0-6
|
|
|
d60810 |
- Fix handling of tailoring in RHEL9
|
|
|
d60810 |
Resolves: rhbz#1996129
|
|
|
d60810 |
|
|
|
d60810 |
* Wed Nov 10 2021 Matej Tyc <matyc@redhat.com> - 2.0.0-5
|
|
|
d60810 |
- Fix handling of content archives
|
|
|
d60810 |
Resolves: rhbz#1996129
|
|
|
d60810 |
- Fix handling of content fingerprint
|
|
|
d60810 |
Resolves: rhbz#1993065
|
|
|
d60810 |
- Fix crash when a previously selected hardening has been cancelled
|
|
|
d60810 |
Resolves: rhbz#2014108
|
|
|
d60810 |
- Pull latest translations
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Aug 20 2021 Matej Tyc <matyc@redhat.com> - 2.0.0-4
|
|
|
d60810 |
- Update translations
|
|
|
d60810 |
Resolves: rhbz#1962112
|
|
|
d60810 |
|
|
|
d60810 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.0-3
|
|
|
d60810 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
d60810 |
Related: rhbz#1991688
|
|
|
d60810 |
|
|
|
d60810 |
* Tue Aug 03 2021 Matej Tyc <matyc@redhat.com> - 2.0.0-2
|
|
|
d60810 |
- Fix issues with locally installed content and labelling of discovered content.
|
|
|
d60810 |
- Resolves: rhbz#1989434
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Jul 02 2021 Matej Tyc <matyc@redhat.com> - 2.0.0-1
|
|
|
d60810 |
- Rebase to the 2.0.0 upstream release.
|
|
|
d60810 |
- Remove the cpio dependency which is not needed any more.
|
|
|
d60810 |
|
|
|
d60810 |
* Wed Jun 23 2021 Jan Černý <jcerny@redhat.com> - 1.0-11
|
|
|
d60810 |
- Rebuild after test config change in test.yml
|
|
|
d60810 |
|
|
|
d60810 |
* Mon Jun 14 2021 Matej Tyc <matyc@redhat.com> - 1.0-10
|
|
|
d60810 |
- Unified the spec file with the Fedora one.
|
|
|
d60810 |
- Removed unwanted dependencies.
|
|
|
d60810 |
- nose is not needed for a long time.
|
|
|
d60810 |
- mock has been moved into the Python standard library, so it is also not needed.
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0-9
|
|
|
d60810 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
d60810 |
|
|
|
d60810 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-8
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-7
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Mon Aug 12 2019 Matěj Týč <matyc@redhat.com> - 1.0-5
|
|
|
d60810 |
- Disabled execution of tests, as they are not meant to be executed in the build environment.
|
|
|
d60810 |
|
|
|
d60810 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-4
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Tue Jul 03 2018 Matěj Týč <matyc@redhat.com> - 1.0-1
|
|
|
d60810 |
- Rebased to upstream version 1.0
|
|
|
d60810 |
- Python3 support, anaconda 28 support.
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7-7
|
|
|
d60810 |
- Escape macros in %%changelog
|
|
|
d60810 |
|
|
|
d60810 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-6
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-5
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-3
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
|
|
d60810 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d60810 |
|
|
|
d60810 |
* Wed Jan 07 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-1
|
|
|
d60810 |
- Adapt to changes in Anaconda
|
|
|
d60810 |
- Define name of the spoke window
|
|
|
d60810 |
- Set fetching flag to False when extraction error happens
|
|
|
d60810 |
- Remove code that was pushed to the anaconda's sources
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Feb 28 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-2
|
|
|
d60810 |
- Rebuild with building issues fixed
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Feb 28 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-1
|
|
|
d60810 |
- Getting status needs to run in the main thread
|
|
|
d60810 |
- Grab focus for the URL entry after switching notebook page
|
|
|
d60810 |
- Clear rule data when unselecting profile
|
|
|
d60810 |
- Update message as part of the initialization
|
|
|
d60810 |
- Add BuildRequires: gettext
|
|
|
d60810 |
- Include translations in the tarball and RPM
|
|
|
d60810 |
|
|
|
d60810 |
* Fri Feb 28 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.5-1
|
|
|
d60810 |
- Allow users to change content
|
|
|
d60810 |
- Show and hide control buttons properly
|
|
|
d60810 |
- Fix sensitivity of the URL entry and fetch button
|
|
|
d60810 |
- Add the button allowing users to use SSG content if available
|
|
|
d60810 |
- Fix listing python sources when creating potfile and regenerate it
|
|
|
d60810 |
- Omit the %%addon section from kickstart in dry-run mode
|
|
|
d60810 |
- Implement the dry-run mode in the GUI (trac#2)
|
|
|
d60810 |
- Add UI elements for content changing and dry-run mode
|
|
|
d60810 |
- Check content_defined instead of content_url in the GUI code
|
|
|
d60810 |
- First select the profile, then update the message store
|
|
|
d60810 |
- Remove unused import
|
|
|
d60810 |
- Ignore some more temporary/backup files
|
|
|
d60810 |
- If no content is specified and SSG is available, use it
|
|
|
d60810 |
- New special content type -- SCAP Security Guide
|
|
|
d60810 |
- Fix name of the property used when doing fingerprint check
|
|
|
d60810 |
- Get rid of an unused variable
|
|
|
d60810 |
- Fix data fetch locking to work properly with kickstart installations
|
|
|
d60810 |
- Use 'anonymous:' if no username and password is given for FTP
|
|
|
d60810 |
- Initial version of the translations template file
|
|
|
d60810 |
- First steps to dry-run mode
|
|
|
d60810 |
- Fix main notebook tabs
|
|
|
d60810 |
- Make translations work
|
|
|
d60810 |
- Manipulation with the i18n related files
|
|
|
d60810 |
- If no profile is given, default to default
|
|
|
d60810 |
- Ignore updates.img and its auxiliary directory
|
|
|
d60810 |
- Catch only fetching errors from the fetching thread
|
|
|
d60810 |
- Do not allow multiple simultaneous fetches/initializations
|
|
|
d60810 |
- Prevent user from changing the URL while we try to fetch from it
|
|
|
d60810 |
- Add support for the Default profile
|
|
|
d60810 |
- Support FTP as a content source (#1050980)
|
|
|
d60810 |
- React properly on archive extraction failure
|
|
|
d60810 |
- Refactor the code pre-processing the fetched content
|
|
|
d60810 |
- Unify exceptions from archive extraction
|
|
|
d60810 |
- Make pylint check mandatory to pass
|
|
|
d60810 |
- Support for hash based content integrity checking
|
|
|
d60810 |
|
|
|
d60810 |
* Tue Jan 14 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-1
|
|
|
d60810 |
- Beware of running Gtk actions from a non-main thread
|
|
|
d60810 |
- Fix path to the tailoring file when getting rules
|
|
|
d60810 |
- A git hook for running tests when pushing
|
|
|
d60810 |
- Inform user if no profile is selected
|
|
|
d60810 |
- Visually mark the selected profile
|
|
|
d60810 |
- Better UX with content URL entry and progress label
|
|
|
d60810 |
- React on invalid content properly (#1032846)
|
|
|
d60810 |
- Stop spinner when data fetching is finished
|
|
|
d60810 |
- Make the data fetching thread non-fatal (#1049989)
|
|
|
d60810 |
- Exit code 2 from the oscap tool is not an error for us (#1050913)
|
|
|
d60810 |
- Be ready to work with archives/RPMs containing data streams
|
|
|
d60810 |
- Add unit tests for the keep_type_map function
|
|
|
d60810 |
- Add support for namedtuples to keep_type_map
|
|
|
d60810 |
- Add target for running pylint check
|
|
|
d60810 |
- Add target for running just unittests
|
|
|
d60810 |
- On the way to tailoring
|
|
|
d60810 |
- Tests for kickstart XCCDF tailoring handling
|
|
|
d60810 |
- Kickstart support for XCCDF tailoring
|
|
|
d60810 |
- Check session validity also when using XCCDF benchmark
|
|
|
d60810 |
|
|
|
d60810 |
* Tue Dec 10 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-1
|
|
|
d60810 |
- Implement and use our own better function for joining paths
|
|
|
d60810 |
- The content entry should have focus if there is no content
|
|
|
d60810 |
- RPM is just a weird archive in the pre-installation phase
|
|
|
d60810 |
- Ignore RPM files as well
|
|
|
d60810 |
- Adapt tests to dir constants now ending with "/"
|
|
|
d60810 |
- CpioArchive cannot be created from a piped output
|
|
|
d60810 |
- Fix namespace definitions in the testing XCCDF file
|
|
|
d60810 |
- Prevent putting None into xccdf_session_is_sds
|
|
|
d60810 |
- Fix the __all__ variable in the common module
|
|
|
d60810 |
- Strip content dir prefix when setting xccdf/cpe paths
|
|
|
d60810 |
- Inform user we now support archive URLs as well
|
|
|
d60810 |
- Ignore various file types in the git repository
|
|
|
d60810 |
- Try to find content files in the fetched archive or RPM
|
|
|
d60810 |
- Run pylint -E as part of the test target
|
|
|
d60810 |
- Return list of extracted files/directories when extracting archive
|
|
|
d60810 |
- Do not try to search for empty file paths in archives
|
|
|
d60810 |
- Properly set the content type based on the URL's suffix
|
|
|
d60810 |
- Switch profiles on double-click
|
|
|
d60810 |
- Hook urlEntry's activate signal to fetchButton click
|
|
|
d60810 |
- Save the spoke's glade file with a new Glade
|
|
|
d60810 |
- The addon now requires the python-cpio package
|
|
|
d60810 |
- Use really_hide for the UI elements for datastream-id and xccdf-id
|
|
|
d60810 |
- Support for RPM content in the GUI spoke
|
|
|
d60810 |
- RPM content support for kickstart processing
|
|
|
d60810 |
- Add property for the raw post-installation content path
|
|
|
d60810 |
- Make content type case insensitive
|
|
|
d60810 |
- Rest of the code needed for RPM extraction
|
|
|
d60810 |
- Actually look for the file path in entry names
|
|
|
d60810 |
- Basic stuff needed for the RPM content support
|
|
|
d60810 |
- Run tests in paralel
|
|
|
d60810 |
- Specify files in a better way in spec
|
|
|
d60810 |
|
|
|
d60810 |
* Mon Oct 21 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.2-1
|
|
|
d60810 |
- Initial RPM for the oscap-anaconda-addon
|