# HG changeset patch # User Jacob Varughese # Date 1424713429 28800 # Node ID 51518746d3971e896dd35c7f67c41303fd2111e6 # Parent b8ed9dbcc07ba21049c3e8e1637889fe3b7c26c3 20570264 upgrade openscap to 1.2.1 for OVAL schema 5.11 20528344 Compliance report should display benchmark name rather than URL diff -r b8ed9dbcc07b -r 51518746d397 components/openscap/Makefile --- a/components/openscap/Makefile Thu Feb 19 16:15:29 2015 -0800 +++ b/components/openscap/Makefile Mon Feb 23 09:43:49 2015 -0800 @@ -27,16 +27,16 @@ include ../../make-rules/shared-macros.mk COMPONENT_NAME= openscap -COMPONENT_VERSION= 1.2.0 +COMPONENT_VERSION= 1.2.1 COMPONENT_PROJECT_URL= http://www.open-scap.org COMPONENT_DOWNLOAD_URL= https://fedorahosted.org/releases/o/p/openscap COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz -COMPONENT_ARCHIVE_HASH= sha256:88329ebf23e7c7d063cdb5615fe1f68b18fb436a0df81307c5acc3b5963d7cec +COMPONENT_ARCHIVE_HASH= sha256:6f7fdc579c4c27554cc3ec99a4f16381b719faa8c9b3ea09575d872a2c46eedb COMPONENT_ARCHIVE_URL= $(COMPONENT_DOWNLOAD_URL)/$(COMPONENT_ARCHIVE) COMPONENT_BUGDB= utility/openscap -TPNO = 20626 +TPNO = 21175 CFLAGS+= -std=c99 CFLAGS+= -DNDEBUG diff -r b8ed9dbcc07b -r 51518746d397 components/openscap/openscap.p5m --- a/components/openscap/openscap.p5m Thu Feb 19 16:15:29 2015 -0800 +++ b/components/openscap/openscap.p5m Mon Feb 23 09:43:49 2015 -0800 @@ -70,12 +70,12 @@ file path=usr/include/openscap/xccdf_benchmark.h file path=usr/include/openscap/xccdf_policy.h file path=usr/include/openscap/xccdf_session.h -link path=usr/lib/$(MACH64)/libopenscap.so target=libopenscap.so.8.4.0 -link path=usr/lib/$(MACH64)/libopenscap.so.8 target=libopenscap.so.8.4.0 -file path=usr/lib/$(MACH64)/libopenscap.so.8.4.0 -link path=usr/lib/$(MACH64)/libopenscap_sce.so target=libopenscap_sce.so.8.4.0 -link path=usr/lib/$(MACH64)/libopenscap_sce.so.8 target=libopenscap_sce.so.8.4.0 -file path=usr/lib/$(MACH64)/libopenscap_sce.so.8.4.0 +link path=usr/lib/$(MACH64)/libopenscap.so target=libopenscap.so.8.4.1 +link path=usr/lib/$(MACH64)/libopenscap.so.8 target=libopenscap.so.8.4.1 +file path=usr/lib/$(MACH64)/libopenscap.so.8.4.1 +link path=usr/lib/$(MACH64)/libopenscap_sce.so target=libopenscap_sce.so.8.4.1 +link path=usr/lib/$(MACH64)/libopenscap_sce.so.8 target=libopenscap_sce.so.8.4.1 +file path=usr/lib/$(MACH64)/libopenscap_sce.so.8.4.1 file path=usr/lib/$(MACH64)/openscap/probe_dnscache file path=usr/lib/$(MACH64)/openscap/probe_environmentvariable file path=usr/lib/$(MACH64)/openscap/probe_environmentvariable58 @@ -102,12 +102,12 @@ file path=usr/lib/$(MACH64)/openscap/probe_variable file path=usr/lib/$(MACH64)/openscap/probe_xinetd file path=usr/lib/$(MACH64)/openscap/probe_xmlfilecontent -link path=usr/lib/libopenscap.so target=libopenscap.so.8.4.0 -link path=usr/lib/libopenscap.so.8 target=libopenscap.so.8.4.0 -file path=usr/lib/libopenscap.so.8.4.0 -link path=usr/lib/libopenscap_sce.so target=libopenscap_sce.so.8.4.0 -link path=usr/lib/libopenscap_sce.so.8 target=libopenscap_sce.so.8.4.0 -file path=usr/lib/libopenscap_sce.so.8.4.0 +link path=usr/lib/libopenscap.so target=libopenscap.so.8.4.1 +link path=usr/lib/libopenscap.so.8 target=libopenscap.so.8.4.1 +file path=usr/lib/libopenscap.so.8.4.1 +link path=usr/lib/libopenscap_sce.so target=libopenscap_sce.so.8.4.1 +link path=usr/lib/libopenscap_sce.so.8 target=libopenscap_sce.so.8.4.1 +file path=usr/lib/libopenscap_sce.so.8.4.1 file path=usr/lib/pkgconfig/libopenscap.pc file path=usr/share/docs/openscap/html/MurmurHash3_8h_source.html file path=usr/share/docs/openscap/html/OVAL_2probes_2SEAP_2generic_2bfind_8h_source.html @@ -1142,7 +1142,7 @@ file path=usr/share/openscap/schemas/oval/5.11/aix-definitions-schema.xsd file path=usr/share/openscap/schemas/oval/5.11/aix-system-characteristics-schema.xsd file path=usr/share/openscap/schemas/oval/5.11/android-definitions-schema.xsd -file path=usr/share/openscap/schemas/oval/5.11/android-system-characteristics.xsd +file path=usr/share/openscap/schemas/oval/5.11/android-system-characteristics-schema.xsd file path=usr/share/openscap/schemas/oval/5.11/apache-definitions-schema.xsd file path=usr/share/openscap/schemas/oval/5.11/apache-system-characteristics-schema.xsd file path=usr/share/openscap/schemas/oval/5.11/apple-ios-definitions-schema.xsd diff -r b8ed9dbcc07b -r 51518746d397 components/openscap/patches/xccdf-branding.xsl.patch --- a/components/openscap/patches/xccdf-branding.xsl.patch Thu Feb 19 16:15:29 2015 -0800 +++ b/components/openscap/patches/xccdf-branding.xsl.patch Mon Feb 23 09:43:49 2015 -0800 @@ -1,72 +1,68 @@ -This patch is required to generated oracle branded reports using -openscap. -This patch is not intended for upstream. +This patch is specific to Oracle branding and will not be submitted upstream. ---- openscap-1.2.0/xsl/xccdf-branding.xsl.~1~ 2014-10-21 10:40:31.095336311 -0700 -+++ openscap-1.2.0/xsl/xccdf-branding.xsl 2014-10-21 10:43:10.657535998 -0700 -@@ -44,30 +44,76 @@ +--- openscap-1.2.1/xsl/xccdf-branding.xsl.~1~ 2015-01-10 03:44:55.684466847 -0800 ++++ openscap-1.2.1/xsl/xccdf-branding.xsl 2015-01-14 09:35:05.077056778 -0800 +@@ -43,24 +43,67 @@ + 1) Round all positions to 1 decimal place 2) Remove inkscape, RDF, DC and other metadata - 3) Move repeated style declarations into CSS classes --> -- -+ -+ -+ -+ -+ -+ +- +- ++ ++ ++ @@ -74,15 +70,43 @@
-
-+ +
++ -->
+ + + + + +
++ +
+
+ diff -r b8ed9dbcc07b -r 51518746d397 components/openscap/patches/xccdf-report-guide.xsl.patch --- a/components/openscap/patches/xccdf-report-guide.xsl.patch Thu Feb 19 16:15:29 2015 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ -This patch fixes an issue that was found in openscap 1.1.1+ when -libxml2 is upgraded to ver 2.9.2. It fixes the errors, that were -reported as entities already defined, showing up in the report -and guide generation. -This patch has not been contributed upstream, but is planned to be -done by 2015-Jan-31. - ---- openscap-1.2.0/xsl/xccdf-report-impl.xsl.~1~ 2014-09-26 01:41:04.068164604 -0700 -+++ openscap-1.2.0/xsl/xccdf-report-impl.xsl 2014-12-10 10:51:48.443071716 -0800 -@@ -49,7 +49,7 @@ - - - --
-+
-

Evaluation Characteristics

-
-
-@@ -172,7 +172,7 @@ - - - --
-+
-

Compliance and Scoring

- - -@@ -376,7 +376,7 @@ - - - --
-+
-

Rule Overview

- -
-@@ -589,7 +589,6 @@ - -
-
-- -

- - -@@ -695,7 +694,7 @@ -
- -
--
-+
-

Result Details

- - ---- openscap-1.2.0/xsl/xccdf-guide-impl.xsl.~1~ 2014-09-26 01:41:04.067164602 -0700 -+++ openscap-1.2.0/xsl/xccdf-guide-impl.xsl 2014-12-10 10:49:08.479661674 -0800 -@@ -47,7 +47,7 @@ - - - --
-+
-
-
-

-@@ -415,7 +415,7 @@ - - - --
-+
-

Checklist

- - -@@ -434,7 +434,7 @@ - - - --
-+
-
-
- diff -r b8ed9dbcc07b -r 51518746d397 components/openscap/patches/xccdf-report-impl.xsl.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/openscap/patches/xccdf-report-impl.xsl.patch Mon Feb 23 09:43:49 2015 -0800 @@ -0,0 +1,33 @@ +This patch fixes the report to show the benchmark title, description +and version. This patch will be submitted upstream by 2015-Mar-01. + +--- openscap-1.2.1/xsl/xccdf-report-impl.xsl.~1~ 2015-02-19 13:30:29.206052042 -0800 ++++ openscap-1.2.1/xsl/xccdf-report-impl.xsl 2015-02-19 13:30:47.352544165 -0800 +@@ -60,15 +60,21 @@ + + + +- ++ +
+- +- ++ ++ + +- ++ + +- +- ++ ++ ++ ++ ++ ++ ++ ++ + + +
Benchmark URLBenchmark Title
Benchmark IDBenchmark Version
Benchmark Description