|
|
c9fe61 |
Name: oscap-anaconda-addon
|
|
|
fd2bce |
Version: 0.7
|
|
|
fd2bce |
Release: 8%{?dist}
|
|
|
c9fe61 |
Summary: Anaconda addon integrating OpenSCAP to the installation process
|
|
|
c9fe61 |
|
|
|
c9fe61 |
License: GPLv2+
|
|
|
c9fe61 |
URL: https://git.fedorahosted.org/cgit/oscap-anaconda-addon.git
|
|
|
c9fe61 |
|
|
|
c9fe61 |
# This is a Red Hat maintained package which is specific to
|
|
|
c9fe61 |
# our distribution.
|
|
|
c9fe61 |
#
|
|
|
c9fe61 |
# The source is thus available only from within this SRPM
|
|
|
c9fe61 |
# or via direct git checkout:
|
|
|
fd2bce |
# git clone https://github.com/OpenSCAP/oscap-anaconda-addon.git
|
|
|
c9fe61 |
Source0: %{name}-%{version}.tar.gz
|
|
|
c9fe61 |
|
|
|
fd2bce |
Patch0: change_ssg_paths.patch
|
|
|
fd2bce |
Patch1: word_wrap_profile_desc_1236644.patch
|
|
|
fd2bce |
Patch2: newline_after_addon_section_1238267.patch
|
|
|
fd2bce |
Patch3: no_profile_handling_1235750.patch
|
|
|
fd2bce |
Patch4: use_openscap_scanner_1240249.patch
|
|
|
fd2bce |
Patch5: default_profile_desc_1238080.patch
|
|
|
fd2bce |
Patch6: network_issues_handling_1236657.patch
|
|
|
fd2bce |
Patch7: unsup_url_handling_1232631.patch
|
|
|
fd2bce |
Patch8: ssg_ks_output_1240285.patch
|
|
|
fd2bce |
Patch9: tui_fetch_and_process_1240625.patch
|
|
|
fd2bce |
Patch10: download_issues_react_1240710.patch
|
|
|
fd2bce |
Patch11: integrity_check_fail_react_1240710.patch
|
|
|
fd2bce |
Patch12: no_profile_no_ks_section_1241395.patch
|
|
|
fd2bce |
Patch13: cpio_entries_paths_1241064.patch
|
|
|
fd2bce |
Patch14: gui_actions_main_thread_1240967.patch
|
|
|
fd2bce |
Patch15: better_error_handling_1241064.patch
|
|
|
fd2bce |
Patch16: gtk_thread_issues_1240967.patch
|
|
|
fd2bce |
Patch17: invalid_profile_id_1247677.patch
|
|
|
fd2bce |
Patch18: clear_errors_1247677.patch
|
|
|
fd2bce |
Patch19: ssg_usage_ks_or_gui_switch_1249937.patch
|
|
|
fd2bce |
Patch20: early_ds_validation_1247654.patch
|
|
|
fd2bce |
Patch21: ds_xccdf_id_selection_1249951.patch
|
|
|
fd2bce |
Patch22: oscap-anaconda-addon/ds_xccdf_id_refresh_1240946.patch
|
|
|
fd2bce |
Patch23: help_file_name_1254884.patch
|
|
|
fd2bce |
Patch24: oscap_info_continue_1255075.patch
|
|
|
fd2bce |
Patch25: ds_xccdf_ids_hide_1254876.patch
|
|
|
fd2bce |
Patch26: no_profile_no_data_dir_1254973.patch
|
|
|
fd2bce |
Patch27: short_root_pw_1263254.patch
|
|
|
6fd024 |
|
|
|
c9fe61 |
BuildArch: noarch
|
|
|
fd2bce |
BuildRequires: gettext
|
|
|
c9fe61 |
BuildRequires: python2-devel
|
|
|
c9fe61 |
#BuildRequires: python-mock
|
|
|
fd2bce |
#BuildRequires: python-nose
|
|
|
fd2bce |
#BuildRequires: python-cpio
|
|
|
fd2bce |
#BuildRequires: anaconda >= 21.35
|
|
|
fd2bce |
Requires: anaconda >= 21.35
|
|
|
c9fe61 |
Requires: openscap openscap-utils openscap-python
|
|
|
c9fe61 |
Requires: python-cpio
|
|
|
fd2bce |
Requires: scap-security-guide
|
|
|
c9fe61 |
|
|
|
c9fe61 |
%description
|
|
|
c9fe61 |
This is an addon that integrates OpenSCAP utilities with the Anaconda installer
|
|
|
c9fe61 |
and allows installation of systems following restrictions given by a SCAP
|
|
|
c9fe61 |
content.
|
|
|
c9fe61 |
|
|
|
c9fe61 |
%prep
|
|
|
fd2bce |
%setup -q -n %{name}-%{version}
|
|
|
6fd024 |
%patch0
|
|
|
fd2bce |
%patch1 -p1
|
|
|
fd2bce |
%patch2 -p1
|
|
|
fd2bce |
%patch3 -p1
|
|
|
fd2bce |
%patch4 -p1
|
|
|
fd2bce |
%patch5 -p1
|
|
|
fd2bce |
%patch6 -p1
|
|
|
fd2bce |
%patch7 -p1
|
|
|
fd2bce |
%patch8 -p1
|
|
|
fd2bce |
%patch9 -p1
|
|
|
fd2bce |
%patch10 -p1
|
|
|
fd2bce |
%patch11 -p1
|
|
|
fd2bce |
%patch12 -p1
|
|
|
fd2bce |
%patch13 -p1
|
|
|
fd2bce |
%patch14 -p1
|
|
|
fd2bce |
%patch15 -p1
|
|
|
fd2bce |
%patch16 -p1
|
|
|
fd2bce |
%patch17 -p1
|
|
|
fd2bce |
%patch18 -p1
|
|
|
fd2bce |
%patch19 -p1
|
|
|
fd2bce |
%patch20 -p1
|
|
|
fd2bce |
%patch21 -p1
|
|
|
fd2bce |
%patch22 -p1
|
|
|
fd2bce |
%patch23 -p1
|
|
|
fd2bce |
%patch24 -p1
|
|
|
fd2bce |
%patch25 -p1
|
|
|
fd2bce |
%patch26 -p1
|
|
|
fd2bce |
%patch27 -p1
|
|
|
c9fe61 |
|
|
|
c9fe61 |
%build
|
|
|
c9fe61 |
|
|
|
c9fe61 |
#%check
|
|
|
c9fe61 |
#make test
|
|
|
c9fe61 |
|
|
|
c9fe61 |
|
|
|
c9fe61 |
%install
|
|
|
c9fe61 |
make install DESTDIR=%{buildroot}
|
|
|
fd2bce |
%find_lang %{name}
|
|
|
c9fe61 |
|
|
|
fd2bce |
%files -f %{name}.lang
|
|
|
c9fe61 |
%{_datadir}/anaconda/addons/org_fedora_oscap
|
|
|
c9fe61 |
|
|
|
c9fe61 |
%doc COPYING ChangeLog README
|
|
|
c9fe61 |
|
|
|
c9fe61 |
%changelog
|
|
|
fd2bce |
* Wed Sep 16 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-8
|
|
|
fd2bce |
- Do not remove the root password behind user's back
|
|
|
fd2bce |
Resolves: rhbz#1263254
|
|
|
fd2bce |
|
|
|
fd2bce |
* Mon Sep 7 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-7
|
|
|
fd2bce |
- Completely skip the execute() part if no profile is selected
|
|
|
fd2bce |
Resolves: rhbz#1254973
|
|
|
fd2bce |
|
|
|
fd2bce |
* Mon Aug 24 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-6
|
|
|
fd2bce |
- Specify the name of the help content file
|
|
|
fd2bce |
Resolves: rhbz#1254884
|
|
|
fd2bce |
- Skip files unrecognized by the 'oscap info' command
|
|
|
fd2bce |
Resolves: rhbz#1255075
|
|
|
fd2bce |
- Only allow DS and XCCDF ID selection if it makes sense
|
|
|
fd2bce |
Resolves: rhbz#1254876
|
|
|
fd2bce |
|
|
|
fd2bce |
* Tue Aug 4 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-5
|
|
|
fd2bce |
- Make sure DS and XCCDF ID lists are correctly refreshed
|
|
|
fd2bce |
Resolves: rhbz#1240946
|
|
|
fd2bce |
- Make sure the DS and XCCDF ID combo boxes are visible for DS content
|
|
|
fd2bce |
Resolves: rhbz#1249951
|
|
|
fd2bce |
- Try to load the OSCAP session early for DS content
|
|
|
fd2bce |
Resolves: rhbz#1247654
|
|
|
fd2bce |
- Test preinst_content_path before raw_preinst_content_path
|
|
|
fd2bce |
Resolves: rhbz#1249937
|
|
|
fd2bce |
- Clear any error if switching to the dry-run mode
|
|
|
fd2bce |
Related: rhbz#1247677
|
|
|
fd2bce |
- Do not continue with and invalid profile ID
|
|
|
fd2bce |
Resolves: rhbz#1247677
|
|
|
fd2bce |
- Cover all potential places with a non-main thread changing Gtk stuff
|
|
|
fd2bce |
Resolves: rhbz#1240967
|
|
|
fd2bce |
|
|
|
fd2bce |
* Thu Jul 23 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-4
|
|
|
fd2bce |
- Better handle and report erroneous states
|
|
|
fd2bce |
Resolves: rhbz#1241064
|
|
|
fd2bce |
- Make sure (some more) GUI actions run in the main thread
|
|
|
fd2bce |
Resolves: rhbz#1240967
|
|
|
fd2bce |
- Beware of RPM->cpio entries' paths having absolute paths
|
|
|
fd2bce |
Related: rhbz#1241064
|
|
|
fd2bce |
- Only output the kickstart section with content and profile set
|
|
|
fd2bce |
Resolves: rhbz#1241395
|
|
|
fd2bce |
- Just report integrity check failure instead of traceback
|
|
|
fd2bce |
Resolves: rhbz#1240710
|
|
|
fd2bce |
- Properly react on download/loading issues in text+kickstart mode
|
|
|
fd2bce |
Related: rhbz#1240710
|
|
|
fd2bce |
- Fetch and process the content even if GUI doesn't take care of it
|
|
|
fd2bce |
Resolves: rhbz#1240625
|
|
|
fd2bce |
|
|
|
fd2bce |
* Tue Jul 7 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-3
|
|
|
fd2bce |
- Do not output redundant/invalid fields for the SSG content (vpodzime)
|
|
|
fd2bce |
Resolves: rhbz#1240285
|
|
|
fd2bce |
- Better handle unsupported URL types (vpodzime)
|
|
|
fd2bce |
Resolves: rhbz#1232631
|
|
|
fd2bce |
- React better on network issues (vpodzime)
|
|
|
fd2bce |
Resolves: rhbz#1236657
|
|
|
fd2bce |
- Improve the description of the default profile (vpodzime)
|
|
|
fd2bce |
Resolves: rhbz#1238080
|
|
|
fd2bce |
- Use the openscap-scanner package instead of openscap-utils (vpodzime)
|
|
|
fd2bce |
Resolves: rhbz#1240249
|
|
|
fd2bce |
- Better handle the case with no profile selected (vpodzime)
|
|
|
fd2bce |
Resolves: rhbz#1235750
|
|
|
fd2bce |
- Add newline and one blank line after the %%addon section (vpodzime)
|
|
|
fd2bce |
Resolves: rhbz#1238267
|
|
|
fd2bce |
- Word-wrap profile descriptions (vpodzime)
|
|
|
fd2bce |
Resolves: rhbz#1236644
|
|
|
fd2bce |
|
|
|
fd2bce |
* Wed Jun 17 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-2
|
|
|
fd2bce |
- Add gettext to BuildRequires (vpodzime)
|
|
|
fd2bce |
Related: rhbz#1204640
|
|
|
fd2bce |
|
|
|
fd2bce |
* Tue Jun 16 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-1
|
|
|
fd2bce |
- Rebase to the upstream version 0.7
|
|
|
fd2bce |
Related: rhbz#1204640
|
|
|
fd2bce |
|
|
|
fd2bce |
* Tue Apr 28 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-1
|
|
|
fd2bce |
- Rebase to the upstream version 0.6
|
|
|
fd2bce |
Resolves: rhbz#1204640
|
|
|
fd2bce |
|
|
|
6fd024 |
* Mon Aug 04 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-3
|
|
|
6fd024 |
- Don't distribute backup files
|
|
|
6fd024 |
Resolves: rhbz#1065906
|
|
|
c9fe61 |
* Wed Jan 15 2014 Vratislav Podizmek <vpodzime@redhat.com> - 0.4-2
|
|
|
c9fe61 |
- Skip running tests on RHEL builds
|
|
|
c9fe61 |
Related: rhbz#1035662
|
|
|
c9fe61 |
* Tue Jan 14 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-1
|
|
|
c9fe61 |
- Beware of running Gtk actions from a non-main thread
|
|
|
c9fe61 |
- Fix path to the tailoring file when getting rules
|
|
|
c9fe61 |
- A git hook for running tests when pushing
|
|
|
c9fe61 |
- Inform user if no profile is selected
|
|
|
c9fe61 |
- Visually mark the selected profile
|
|
|
c9fe61 |
- Better UX with content URL entry and progress label
|
|
|
c9fe61 |
- React on invalid content properly (#1032846)
|
|
|
c9fe61 |
- Stop spinner when data fetching is finished
|
|
|
c9fe61 |
- Make the data fetching thread non-fatal (#1049989)
|
|
|
c9fe61 |
- Exit code 2 from the oscap tool is not an error for us (#1050913)
|
|
|
c9fe61 |
- Be ready to work with archives/RPMs containing data streams
|
|
|
c9fe61 |
- Add unit tests for the keep_type_map function
|
|
|
c9fe61 |
- Add support for namedtuples to keep_type_map
|
|
|
c9fe61 |
- Add target for running pylint check
|
|
|
c9fe61 |
- Add target for running just unittests
|
|
|
c9fe61 |
- On the way to tailoring
|
|
|
c9fe61 |
- Tests for kickstart XCCDF tailoring handling
|
|
|
c9fe61 |
- Kickstart support for XCCDF tailoring
|
|
|
c9fe61 |
- Check session validity also when using XCCDF benchmark
|
|
|
c9fe61 |
|
|
|
c9fe61 |
* Tue Dec 10 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-1
|
|
|
c9fe61 |
- Implement and use our own better function for joining paths
|
|
|
c9fe61 |
- The content entry should have focus if there is no content
|
|
|
c9fe61 |
- RPM is just a weird archive in the pre-installation phase
|
|
|
c9fe61 |
- Ignore RPM files as well
|
|
|
c9fe61 |
- Adapt tests to dir constants now ending with "/"
|
|
|
c9fe61 |
- CpioArchive cannot be created from a piped output
|
|
|
c9fe61 |
- Fix namespace definitions in the testing XCCDF file
|
|
|
c9fe61 |
- Prevent putting None into xccdf_session_is_sds
|
|
|
c9fe61 |
- Fix the __all__ variable in the common module
|
|
|
c9fe61 |
- Strip content dir prefix when setting xccdf/cpe paths
|
|
|
c9fe61 |
- Inform user we now support archive URLs as well
|
|
|
c9fe61 |
- Ignore various file types in the git repository
|
|
|
c9fe61 |
- Try to find content files in the fetched archive or RPM
|
|
|
c9fe61 |
- Run pylint -E as part of the test target
|
|
|
c9fe61 |
- Return list of extracted files/directories when extracting archive
|
|
|
c9fe61 |
- Do not try to search for empty file paths in archives
|
|
|
c9fe61 |
- Properly set the content type based on the URL's suffix
|
|
|
c9fe61 |
- Switch profiles on double-click
|
|
|
c9fe61 |
- Hook urlEntry's activate signal to fetchButton click
|
|
|
c9fe61 |
- Save the spoke's glade file with a new Glade
|
|
|
c9fe61 |
- The addon now requires the python-cpio package
|
|
|
c9fe61 |
- Use really_hide for the UI elements for datastream-id and xccdf-id
|
|
|
c9fe61 |
- Support for RPM content in the GUI spoke
|
|
|
c9fe61 |
- RPM content support for kickstart processing
|
|
|
c9fe61 |
- Add property for the raw post-installation content path
|
|
|
c9fe61 |
- Make content type case insensitive
|
|
|
c9fe61 |
- Rest of the code needed for RPM extraction
|
|
|
c9fe61 |
- Actually look for the file path in entry names
|
|
|
c9fe61 |
- Basic stuff needed for the RPM content support
|
|
|
c9fe61 |
- Run tests in paralel
|
|
|
c9fe61 |
- Specify files in a better way in spec
|
|
|
c9fe61 |
|
|
|
c9fe61 |
* Mon Oct 21 2013 Vratislav Podzimek <vpodzime@redhat.com> - 0.2-1
|
|
|
c9fe61 |
- Initial RPM for the oscap-anaconda-addon
|