Name: scap-security-guide Version: 0.1.49 Release: 11 Summary: Security guidance and baselines in SCAP formats License: BSD-3-Clause URL: https://github.com/ComplianceAsCode/content/ Source0: https://github.com/ComplianceAsCode/content/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 Patch0001:backport-fix-python-imports-of-ElementTree.patch Patch0002:backport-fix-deprecated-instance-of-element.getchildren.patch Patch0003:backport-fix-deprecated-getiterator-function.patch Patch0004:backport-fix-remaining-getchildren-and-getiterator-functions.patch Patch0005:backport-fix-for-older-python-versions-lacking-.iter-method.patch Patch0006:init-openEuler-ssg-project.patch Patch0007:enable-76-rules-for-openEuler.patch Patch0008:enable-54-rules-for-openEuler.patch Patch0009:add-15-rules-for-openeuler.patch Patch0010:optimize-80-rules-for-openEuler.patch BuildArch: noarch BuildRequires: libxslt, expat, python3, openscap-scanner >= 1.2.5, cmake >= 3.8, python3-jinja2, python3-PyYAML Requires: xml-common, openscap-scanner >= 1.2.5 Obsoletes: openscap-content < 0:0.9.13 Provides: openscap-content %description The scap-security-guide project provides a guide for configuration of the system from the final system's security point of view. The guidance is specified in the Security Content Automation Protocol (SCAP) format and constitutes a catalog of practical hardening advice, linked to government requirements where applicable. The project bridges the gap between generalized policy requirements and specific implementation guidelines. The Fedora system administrator can use the oscap CLI tool from openscap-scanner package, or the scap-workbench GUI tool from scap-workbench package to verify that the system conforms to provided guideline. Refer to scap-security-guide(8) manual page for further information. %package doc Summary: HTML formatted security guides generated from XCCDF benchmarks Requires: %{name} = %{version}-%{release} %description doc The %{name}-doc package contains HTML formatted documents containing hardening guidances that have been generated from XCCDF benchmarks present in %{name} package. %prep %autosetup -n %{name}-%{version} -p1 mkdir build %build cd build %cmake ../ %make_build %install cd build %make_install %files %{_datadir}/xml/scap/ssg/content %{_datadir}/%{name}/kickstart %{_datadir}/%{name}/ansible %{_datadir}/%{name}/bash %lang(en) %{_mandir}/man8/scap-security-guide.8.* %doc %{_docdir}/%{name}/LICENSE %doc %{_docdir}/%{name}/README.md %doc %{_docdir}/%{name}/Contributors.md %files doc %doc %{_docdir}/%{name}/guides/*.html %doc %{_docdir}/%{name}/tables/*.html %changelog * Fri Dec 22 2023 wangqingsan - 0.1.49-11 - elevate 80 rules for openEuler * Fri Dec 8 2023 wangqingsan - 0.1.49-10 - enable 80 rules for openEuler * Fri Nov 17 2023 wangqingsan - 0.1.49-9 - enable 80 rules for openEuler * Fri Aug 11 2023 steven - 0.1.49-8 - enable 15 rules for openEuler * Thu Jul 27 2023 steven - 0.1.49-7 - enable 54 rules for openEuler * Sun Jun 25 2023 steven - 0.1.49-6 - add some descriptions * Tue Jun 6 2023 steven - 0.1.49-5 - fix bug of rule "require_signleuser_auth" * Thu May 18 2023 steven - 0.1.49-4 - enable 76 rules for openEuler * Tue May 9 2023 steven - 0.1.49-3 - add openEuler project into ssg * Sat Feb 26 2022 HuaxinLu - 0.1.49-2 - fix for python upgrade * Wed Oct 28 2020 Anan Fu - 0.1.49-1 - upgrade to disable python2 * Mon Oct 14 2019 dongjian - 0.1.39-4 - Package init