From 183c53aaf5fa400592378eaab800c6259983263c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 05:48:00 +0000 Subject: [PATCH 01/86] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- scap-security-guide.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scap-security-guide.spec b/scap-security-guide.spec index e7d0224..823fa58 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,6 +1,6 @@ Name: scap-security-guide Version: 0.1.39 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Security guidance and baselines in SCAP formats Group: Applications/System License: Public Domain @@ -63,6 +63,9 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.1.39-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri May 04 2018 Watson Yuuma Sato - 0.1.39-2 - Add python version to python2-jinja2 package From 9e09b6e607f3187b62460ff5dcae4696baeec345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20T=C3=BD=C4=8D?= Date: Wed, 25 Jul 2018 17:37:39 +0200 Subject: [PATCH 02/86] scap-security-guide-0.1.40-1 Build with Python3. --- .gitignore | 1 + scap-security-guide.spec | 11 ++++++++--- sources | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e961187..cb757c3 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ /scap-security-guide-0.1.37.tar.bz2 /scap-security-guide-0.1.38.tar.bz2 /scap-security-guide-0.1.39.tar.bz2 +/scap-security-guide-0.1.40.tar.bz2 diff --git a/scap-security-guide.spec b/scap-security-guide.spec index e7d0224..67cb13f 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,6 +1,6 @@ Name: scap-security-guide -Version: 0.1.39 -Release: 2%{?dist} +Version: 0.1.40 +Release: 1%{?dist} Summary: Security guidance and baselines in SCAP formats Group: Applications/System License: Public Domain @@ -8,7 +8,7 @@ URL: https://github.com/OpenSCAP/scap-security-guide/ Source0: https://github.com/OpenSCAP/scap-security-guide/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 BuildArch: noarch -BuildRequires: libxslt, expat, python2, openscap-scanner >= 1.2.5, python2-lxml, cmake >= 2.8, python2-jinja2, PyYAML +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 @@ -63,6 +63,11 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Wed Jul 25 2018 Matěj Týč - 0.1.40-1 +- Update to latest upstream SCAP-Security-Guide-0.1.40 release: + https://github.com/OpenSCAP/scap-security-guide/releases/tag/v0.1.40 +- Update to use Python3 for build. + * Fri May 04 2018 Watson Yuuma Sato - 0.1.39-2 - Add python version to python2-jinja2 package diff --git a/sources b/sources index 00ecd2a..1080212 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scap-security-guide-0.1.39.tar.bz2) = 597faf7b6cf9bed74c6e75cf88568a9b8ee8ac441d8f2cfa79d653d650e55920ef719f97b522254b1dffb71e3d2d08a871678186fbadf6a330b5a071a6c8e73f +SHA512 (scap-security-guide-0.1.40.tar.bz2) = 8956c13447a7696abb8cd1dbc38f9196c97d632bf29c89636e71c5c0d4926a948a49ceb3059fa7b2a28d8b497697c7b5ab25437519ba64bbbf231517553b36df From 8649d099100c07797d5e8c8cde29521145f739c0 Mon Sep 17 00:00:00 2001 From: Watson Sato Date: Mon, 1 Oct 2018 16:00:58 +0200 Subject: [PATCH 03/86] scap-security-guide-0.1.41 - Update to scap-security-cuige-0.1.41 - Fix Licence of this package --- .gitignore | 1 + scap-security-guide.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index cb757c3..e9aab7c 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ /scap-security-guide-0.1.38.tar.bz2 /scap-security-guide-0.1.39.tar.bz2 /scap-security-guide-0.1.40.tar.bz2 +/scap-security-guide-0.1.41.tar.bz2 diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 7d3af67..3c282e4 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,9 +1,9 @@ Name: scap-security-guide -Version: 0.1.40 +Version: 0.1.41 Release: 1%{?dist} Summary: Security guidance and baselines in SCAP formats Group: Applications/System -License: Public Domain +License: BSD-3-Clause URL: https://github.com/OpenSCAP/scap-security-guide/ Source0: https://github.com/OpenSCAP/scap-security-guide/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 BuildArch: noarch @@ -63,6 +63,10 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Mon Oct 01 2018 Watson Yuuma Sato - 0.1.41-1 +- Update to latest upstream SCAP-Security-Guide-0.1.41 release: + https://github.com/ComplianceAsCode/content/releases/tag/v0.1.41 + * Wed Jul 25 2018 Matěj Týč - 0.1.40-1 - Update to latest upstream SCAP-Security-Guide-0.1.40 release: https://github.com/OpenSCAP/scap-security-guide/releases/tag/v0.1.40 diff --git a/sources b/sources index 1080212..5c618bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scap-security-guide-0.1.40.tar.bz2) = 8956c13447a7696abb8cd1dbc38f9196c97d632bf29c89636e71c5c0d4926a948a49ceb3059fa7b2a28d8b497697c7b5ab25437519ba64bbbf231517553b36df +SHA512 (scap-security-guide-0.1.41.tar.bz2) = bcb390bf8e33e5c16438a6e61f85a4d340053b00f5589b929c0174d00d110eb125a22be0759d771187ff9e1d8c6c8d0cb6041e6df37804f34073532ce8108f1c From b954eaaf5c3ba4aae0a9683d7187c6784a5383a1 Mon Sep 17 00:00:00 2001 From: Watson Sato Date: Mon, 1 Oct 2018 16:04:14 +0200 Subject: [PATCH 04/86] Fix license of the package --- scap-security-guide.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 3c282e4..f2a5d9b 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -66,6 +66,7 @@ cd build * Mon Oct 01 2018 Watson Yuuma Sato - 0.1.41-1 - Update to latest upstream SCAP-Security-Guide-0.1.41 release: https://github.com/ComplianceAsCode/content/releases/tag/v0.1.41 +- Fix Licence of this package * Wed Jul 25 2018 Matěj Týč - 0.1.40-1 - Update to latest upstream SCAP-Security-Guide-0.1.40 release: From a4703bf4f0b5d3d66cff762cb6f750b3547b5838 Mon Sep 17 00:00:00 2001 From: Watson Sato Date: Wed, 12 Dec 2018 13:32:00 +0100 Subject: [PATCH 05/86] scap-security-guide-0.1.42 --- .gitignore | 1 + scap-security-guide.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e9aab7c..e8a5230 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ /scap-security-guide-0.1.39.tar.bz2 /scap-security-guide-0.1.40.tar.bz2 /scap-security-guide-0.1.41.tar.bz2 +/scap-security-guide-0.1.42.tar.bz2 diff --git a/scap-security-guide.spec b/scap-security-guide.spec index f2a5d9b..d1ff023 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,5 +1,5 @@ Name: scap-security-guide -Version: 0.1.41 +Version: 0.1.42 Release: 1%{?dist} Summary: Security guidance and baselines in SCAP formats Group: Applications/System @@ -63,6 +63,10 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Wed Dec 12 2018 Watson Yuuma Sato - 0.1.42-1 +- Update to latest upstream SCAP-Security-Guide-0.1.42 release: + https://github.com/ComplianceAsCode/content/releases/tag/v0.1.42 + * Mon Oct 01 2018 Watson Yuuma Sato - 0.1.41-1 - Update to latest upstream SCAP-Security-Guide-0.1.41 release: https://github.com/ComplianceAsCode/content/releases/tag/v0.1.41 diff --git a/sources b/sources index 5c618bf..7465990 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scap-security-guide-0.1.41.tar.bz2) = bcb390bf8e33e5c16438a6e61f85a4d340053b00f5589b929c0174d00d110eb125a22be0759d771187ff9e1d8c6c8d0cb6041e6df37804f34073532ce8108f1c +SHA512 (scap-security-guide-0.1.42.tar.bz2) = 718da052580eb05b78db12253e5122f0e400fdefae9e2c19d8717b20ab706b23513ad02880c6ff20d650cef5a46ec7ff91d3cfaf3ba5b2a38f5ed3aa1cbdd14a From 5781d0c74647620494c97247d984ca7e08b79d2a Mon Sep 17 00:00:00 2001 From: Watson Sato Date: Thu, 13 Dec 2018 17:08:36 +0100 Subject: [PATCH 06/86] Fix man page build dependency The man page target should also depend on derivative content. --- ....1.43-man-page-depend-on-derivatives.patch | 21 +++++++++++++++++++ scap-security-guide.spec | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch diff --git a/scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch b/scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch new file mode 100644 index 0000000..4ece392 --- /dev/null +++ b/scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch @@ -0,0 +1,21 @@ +From 265795ea7034327bebeff684edb042c4ebf7d066 Mon Sep 17 00:00:00 2001 +From: Watson Sato +Date: Wed, 12 Dec 2018 18:47:40 +0100 +Subject: [PATCH] Make the man page depend of derivate contents + +--- + cmake/SSGCommon.cmake | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/cmake/SSGCommon.cmake b/cmake/SSGCommon.cmake +index 835598ef3a..b9755c1be9 100644 +--- a/cmake/SSGCommon.cmake ++++ b/cmake/SSGCommon.cmake +@@ -798,6 +798,7 @@ macro(ssg_build_derivative_product ORIGINAL SHORTNAME DERIVATIVE) + + add_custom_target(${DERIVATIVE} ALL) + add_dependencies(${DERIVATIVE} ${DERIVATIVE}-content) ++ add_dependencies(man_page ${DERIVATIVE}) + + add_dependencies( + ${DERIVATIVE}-content diff --git a/scap-security-guide.spec b/scap-security-guide.spec index d1ff023..38747db 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -6,6 +6,7 @@ Group: Applications/System License: BSD-3-Clause URL: https://github.com/OpenSCAP/scap-security-guide/ Source0: https://github.com/OpenSCAP/scap-security-guide/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 +Patch0: scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch BuildArch: noarch BuildRequires: libxslt, expat, python3, openscap-scanner >= 1.2.5, cmake >= 3.8, python3-jinja2, python3-PyYAML @@ -37,6 +38,7 @@ present in %{name} package. %prep %setup -q +%patch0 -p1 mkdir build %build @@ -66,6 +68,7 @@ cd build * Wed Dec 12 2018 Watson Yuuma Sato - 0.1.42-1 - Update to latest upstream SCAP-Security-Guide-0.1.42 release: https://github.com/ComplianceAsCode/content/releases/tag/v0.1.42 +- Fix man page build dependency on derivative content * Mon Oct 01 2018 Watson Yuuma Sato - 0.1.41-1 - Update to latest upstream SCAP-Security-Guide-0.1.41 release: From 50cddf77984618dc1f4b2324ce3da932da6f3d2f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:25 +0100 Subject: [PATCH 07/86] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- scap-security-guide.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 38747db..acac458 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -2,7 +2,6 @@ Name: scap-security-guide Version: 0.1.42 Release: 1%{?dist} Summary: Security guidance and baselines in SCAP formats -Group: Applications/System License: BSD-3-Clause URL: https://github.com/OpenSCAP/scap-security-guide/ Source0: https://github.com/OpenSCAP/scap-security-guide/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 @@ -28,7 +27,6 @@ further information. %package doc Summary: HTML formatted security guides generated from XCCDF benchmarks -Group: System Environment/Base Requires: %{name} = %{version}-%{release} %description doc From 29a9c19ed0e12e1a796e62441231254c28a30b39 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 14:54:06 +0000 Subject: [PATCH 08/86] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- scap-security-guide.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scap-security-guide.spec b/scap-security-guide.spec index acac458..822823c 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,6 +1,6 @@ Name: scap-security-guide Version: 0.1.42 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Security guidance and baselines in SCAP formats License: BSD-3-Clause URL: https://github.com/OpenSCAP/scap-security-guide/ @@ -63,6 +63,9 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.42-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Wed Dec 12 2018 Watson Yuuma Sato - 0.1.42-1 - Update to latest upstream SCAP-Security-Guide-0.1.42 release: https://github.com/ComplianceAsCode/content/releases/tag/v0.1.42 From ab2790cbb2acb9c959a2a1170d1e36b4eaddfb0d Mon Sep 17 00:00:00 2001 From: Watson Sato Date: Fri, 22 Feb 2019 11:30:32 +0100 Subject: [PATCH 09/86] scap-security-guide-0.1.43 --- .gitignore | 1 + ....1.43-man-page-depend-on-derivatives.patch | 21 ------------------- scap-security-guide.spec | 15 +++++++------ sources | 2 +- 4 files changed, 11 insertions(+), 28 deletions(-) delete mode 100644 scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch diff --git a/.gitignore b/.gitignore index e8a5230..a4e98fd 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ /scap-security-guide-0.1.40.tar.bz2 /scap-security-guide-0.1.41.tar.bz2 /scap-security-guide-0.1.42.tar.bz2 +/scap-security-guide-0.1.43.tar.bz2 diff --git a/scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch b/scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch deleted file mode 100644 index 4ece392..0000000 --- a/scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 265795ea7034327bebeff684edb042c4ebf7d066 Mon Sep 17 00:00:00 2001 -From: Watson Sato -Date: Wed, 12 Dec 2018 18:47:40 +0100 -Subject: [PATCH] Make the man page depend of derivate contents - ---- - cmake/SSGCommon.cmake | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/cmake/SSGCommon.cmake b/cmake/SSGCommon.cmake -index 835598ef3a..b9755c1be9 100644 ---- a/cmake/SSGCommon.cmake -+++ b/cmake/SSGCommon.cmake -@@ -798,6 +798,7 @@ macro(ssg_build_derivative_product ORIGINAL SHORTNAME DERIVATIVE) - - add_custom_target(${DERIVATIVE} ALL) - add_dependencies(${DERIVATIVE} ${DERIVATIVE}-content) -+ add_dependencies(man_page ${DERIVATIVE}) - - add_dependencies( - ${DERIVATIVE}-content diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 822823c..356be15 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,11 +1,10 @@ Name: scap-security-guide -Version: 0.1.42 -Release: 2%{?dist} +Version: 0.1.43 +Release: 1%{?dist} Summary: Security guidance and baselines in SCAP formats License: BSD-3-Clause -URL: https://github.com/OpenSCAP/scap-security-guide/ -Source0: https://github.com/OpenSCAP/scap-security-guide/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 -Patch0: scap-security-guide-0.1.43-man-page-depend-on-derivatives.patch +URL: https://github.com/ComplianceAsCode/content/ +Source0: https://github.com/ComplianceAsCode/content/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 BuildArch: noarch BuildRequires: libxslt, expat, python3, openscap-scanner >= 1.2.5, cmake >= 3.8, python3-jinja2, python3-PyYAML @@ -36,7 +35,6 @@ present in %{name} package. %prep %setup -q -%patch0 -p1 mkdir build %build @@ -63,6 +61,11 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Fri Feb 22 2019 Watson Yuuma Sato - 0.1.43-1 +- Update to latest upstream SCAP-Security-Guide-0.1.43 release: + https://github.com/ComplianceAsCode/content/releases/tag/v0.1.43 +- Update URL and source URL + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.42-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 7465990..5244edc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scap-security-guide-0.1.42.tar.bz2) = 718da052580eb05b78db12253e5122f0e400fdefae9e2c19d8717b20ab706b23513ad02880c6ff20d650cef5a46ec7ff91d3cfaf3ba5b2a38f5ed3aa1cbdd14a +SHA512 (scap-security-guide-0.1.43.tar.bz2) = f9e9438551e62e3407a58d3a68c9f07f5d3c25b39984213cf6bfc17aa46f89ade3a4fd1591628e72af4fa2ed5f13a02fdc9bf023285abe82c3e79b6cf317d223 From e4fecb257307e962fdce1dbbb84304ce13fa79c5 Mon Sep 17 00:00:00 2001 From: Watson Sato Date: Mon, 6 May 2019 11:09:40 +0200 Subject: [PATCH 10/86] scap-security-guide-0.1.44 --- .gitignore | 1 + scap-security-guide.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a4e98fd..085739e 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ /scap-security-guide-0.1.41.tar.bz2 /scap-security-guide-0.1.42.tar.bz2 /scap-security-guide-0.1.43.tar.bz2 +/scap-security-guide-0.1.44.tar.bz2 diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 356be15..49583e6 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,5 +1,5 @@ Name: scap-security-guide -Version: 0.1.43 +Version: 0.1.44 Release: 1%{?dist} Summary: Security guidance and baselines in SCAP formats License: BSD-3-Clause @@ -61,6 +61,10 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Mon May 06 2019 Watson Yuuma Sato - 0.1.44-1 +- Update to latest upstream SCAP-Security-Guide-0.1.44 release: + https://github.com/ComplianceAsCode/content/releases/tag/v0.1.44 + * Fri Feb 22 2019 Watson Yuuma Sato - 0.1.43-1 - Update to latest upstream SCAP-Security-Guide-0.1.43 release: https://github.com/ComplianceAsCode/content/releases/tag/v0.1.43 diff --git a/sources b/sources index 5244edc..911b317 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scap-security-guide-0.1.43.tar.bz2) = f9e9438551e62e3407a58d3a68c9f07f5d3c25b39984213cf6bfc17aa46f89ade3a4fd1591628e72af4fa2ed5f13a02fdc9bf023285abe82c3e79b6cf317d223 +SHA512 (scap-security-guide-0.1.44.tar.bz2) = 8e0f8e64f8e94bf41d7971e1898d3cf87eb69eba3bae4a428cb4e969d6c8aab8e229d8ef39a6999c3b2f73ff4ec764cb81845dfafce3b6a6d1f1387697c6e3c2 From d109f3f869aab4e181cf60d2802ab41e88c1eeb5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 22:50:49 +0000 Subject: [PATCH 11/86] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- scap-security-guide.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 49583e6..01e8e0d 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,6 +1,6 @@ Name: scap-security-guide Version: 0.1.44 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Security guidance and baselines in SCAP formats License: BSD-3-Clause URL: https://github.com/ComplianceAsCode/content/ @@ -61,6 +61,9 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.44-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Mon May 06 2019 Watson Yuuma Sato - 0.1.44-1 - Update to latest upstream SCAP-Security-Guide-0.1.44 release: https://github.com/ComplianceAsCode/content/releases/tag/v0.1.44 From 9b2b46f521b5769cffff68a9b3a5aeac66c0c114 Mon Sep 17 00:00:00 2001 From: Watson Sato Date: Mon, 29 Jul 2019 12:27:29 +0200 Subject: [PATCH 12/86] scap-security-guide-0.1.45 --- .gitignore | 1 + scap-security-guide.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 085739e..81de40d 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ /scap-security-guide-0.1.42.tar.bz2 /scap-security-guide-0.1.43.tar.bz2 /scap-security-guide-0.1.44.tar.bz2 +/scap-security-guide-0.1.45.tar.bz2 diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 01e8e0d..55bddbc 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,6 +1,6 @@ Name: scap-security-guide -Version: 0.1.44 -Release: 2%{?dist} +Version: 0.1.45 +Release: 1%{?dist} Summary: Security guidance and baselines in SCAP formats License: BSD-3-Clause URL: https://github.com/ComplianceAsCode/content/ @@ -61,6 +61,10 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog +* Mon Jul 29 2019 Watson Sato - 0.1.45-1 +- Update to latest upstream SCAP-Security-Guide-0.1.45 release: + https://github.com/ComplianceAsCode/content/releases/tag/v0.1.45 + * Fri Jul 26 2019 Fedora Release Engineering - 0.1.44-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 911b317..37897b3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scap-security-guide-0.1.44.tar.bz2) = 8e0f8e64f8e94bf41d7971e1898d3cf87eb69eba3bae4a428cb4e969d6c8aab8e229d8ef39a6999c3b2f73ff4ec764cb81845dfafce3b6a6d1f1387697c6e3c2 +SHA512 (scap-security-guide-0.1.45.tar.bz2) = 464e94dd1b5c0c95e3cbc227c7c3e47ba4d0afcdb840a93fe0b38b9515a680fa9454df5a94932296f59e67dc71e7271714eb64715348e8d85b815ffb3603e0de From 0de9f5acb49f199e1356dbc1df57a6afbdc3acf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20T=C3=BD=C4=8D?= Date: Mon, 9 Dec 2019 11:14:30 +0100 Subject: [PATCH 13/86] Update to latest upstream SCAP-Security-Guide-0.1.47 release. Also fixed the XML parsing of remediation functions. --- .gitignore | 1 + scap-security-guide.spec | 11 ++++++++++- sources | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 81de40d..dce4f3d 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ /scap-security-guide-0.1.43.tar.bz2 /scap-security-guide-0.1.44.tar.bz2 /scap-security-guide-0.1.45.tar.bz2 +/scap-security-guide-0.1.47.tar.bz2 diff --git a/scap-security-guide.spec b/scap-security-guide.spec index 55bddbc..f09a655 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -1,5 +1,5 @@ Name: scap-security-guide -Version: 0.1.45 +Version: 0.1.47 Release: 1%{?dist} Summary: Security guidance and baselines in SCAP formats License: BSD-3-Clause @@ -7,6 +7,8 @@ URL: https://github.com/ComplianceAsCode/content/ Source0: https://github.com/ComplianceAsCode/content/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 BuildArch: noarch +Patch0: scap-security-guide-0.1.48-xml_parsing.patch + 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 @@ -35,6 +37,7 @@ present in %{name} package. %prep %setup -q +%patch0 -p1 mkdir build %build @@ -61,6 +64,12 @@ cd build %doc %{_docdir}/%{name}/tables/*.html %changelog + +* Mon Dec 09 2019 Matěj Týč - 0.1.47-1 +- Update to latest upstream SCAP-Security-Guide-0.1.47 release: + https://github.com/ComplianceAsCode/content/releases/tag/v0.1.47 +- Fixed XML parsing of remediation functions. + * Mon Jul 29 2019 Watson Sato - 0.1.45-1 - Update to latest upstream SCAP-Security-Guide-0.1.45 release: https://github.com/ComplianceAsCode/content/releases/tag/v0.1.45 diff --git a/sources b/sources index 37897b3..807d232 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scap-security-guide-0.1.45.tar.bz2) = 464e94dd1b5c0c95e3cbc227c7c3e47ba4d0afcdb840a93fe0b38b9515a680fa9454df5a94932296f59e67dc71e7271714eb64715348e8d85b815ffb3603e0de +SHA512 (scap-security-guide-0.1.47.tar.bz2) = 6049d871bcdd4fefd078ebe131a87f14e9977f0d9bd1b078ae92f52c31cf70eb39fff95b18e688393e6977846fbb1bed154e549a7d5c68f96f7e306304b23cca From f06ce423ea87f4a58722d8e3bd5676fbcb2a1004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20T=C3=BD=C4=8D?= Date: Mon, 9 Dec 2019 11:24:55 +0100 Subject: [PATCH 14/86] Added an omitted patch. --- scap-security-guide-0.1.48-xml_parsing.patch | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 scap-security-guide-0.1.48-xml_parsing.patch diff --git a/scap-security-guide-0.1.48-xml_parsing.patch b/scap-security-guide-0.1.48-xml_parsing.patch new file mode 100644 index 0000000..501ed56 --- /dev/null +++ b/scap-security-guide-0.1.48-xml_parsing.patch @@ -0,0 +1,31 @@ +From 174293162e5840684d967e36840fc1f9f57c90be Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Mat=C4=9Bj=20T=C3=BD=C4=8D?= +Date: Thu, 5 Dec 2019 15:02:05 +0100 +Subject: [PATCH] Fix XML "parsing" of the remediation functions file. + +A proper fix is not worth the effort, as we aim to kill shared Bash remediation +with Jinja2 macros. +--- + ssg/build_remediations.py | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/ssg/build_remediations.py b/ssg/build_remediations.py +index 7da807bd68..13e90f7327 100644 +--- a/ssg/build_remediations.py ++++ b/ssg/build_remediations.py +@@ -56,11 +56,11 @@ def get_available_functions(build_dir): + remediation_functions = [] + with codecs.open(xmlfilepath, "r", encoding="utf-8") as xmlfile: + filestring = xmlfile.read() +- # This regex looks implementation dependent but we can rely on +- # ElementTree sorting XML attrs alphabetically. Hidden is guaranteed +- # to be the first attr and ID is guaranteed to be second. ++ # This regex looks implementation dependent but we can rely on the element attributes ++ # being present on one line. ++ # We can't rely on ElementTree sorting XML attrs in any way since Python 3.7. + remediation_functions = re.findall( +- r'