Accepting request 337016 from security

- openscap 1.2.6 release
  - New features
    - introduced OpenSCAP user manual
    - improved OVAL 5.11.1 support
      - added OVAL 5.11.1 XSD schemas and schematrons
      - support for core/platform schema versions
      - support for check_existence attribute in state entities
      - support for CIM datetime format
      - amended behavior of mask attribute
    - added support for remote .xml.bz2 files (use with --fetch-remote-resources)
    - rewrote oscap-docker to python, deeper integration with Atomic Host
    - introduced CPE name for Fedora 24 to the internal dictionary
  - HTML report & guide
    - results can be grouped by according to various aspects
    - printing supported (interactive elements are now hidden when printing)
    - table of content now shows only selected items (rule & groups)
    - references to RHSA are presented as links to website (rhbz#1243808)
  - Maintenance
    - scap-as-rpm can now build source rpm packages (srpms) (trac#469)
    - scap-as-rpm now supports python3
    - refactored oval processing into oval_session structure
    - many smaller bugfixes and new tests
- new openscap-docker subpackage

OBS-URL: https://build.opensuse.org/request/show/337016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=40
This commit is contained in:
Dominique Leuenberger 2015-10-14 14:44:34 +00:00 committed by Git OBS Bridge
commit 26630cb11c
7 changed files with 64 additions and 11 deletions

View File

@ -1,7 +1,7 @@
Index: openscap-0.9.7/src/OVAL/probes/unix/linux/rpminfo.c Index: openscap-1.2.6/src/OVAL/probes/unix/linux/rpminfo.c
=================================================================== ===================================================================
--- openscap-0.9.7.orig/src/OVAL/probes/unix/linux/rpminfo.c --- openscap-1.2.6.orig/src/OVAL/probes/unix/linux/rpminfo.c
+++ openscap-0.9.7/src/OVAL/probes/unix/linux/rpminfo.c +++ openscap-1.2.6/src/OVAL/probes/unix/linux/rpminfo.c
@@ -66,6 +66,7 @@ @@ -66,6 +66,7 @@
#include <rpm/rpmmacro.h> #include <rpm/rpmmacro.h>
#include <rpm/rpmlog.h> #include <rpm/rpmlog.h>
@ -10,3 +10,15 @@ Index: openscap-0.9.7/src/OVAL/probes/unix/linux/rpminfo.c
#ifndef HAVE_HEADERFORMAT #ifndef HAVE_HEADERFORMAT
# define HAVE_LIBRPM44 1 /* hack */ # define HAVE_LIBRPM44 1 /* hack */
Index: openscap-1.2.6/src/common/oscap_acquire.c
===================================================================
--- openscap-1.2.6.orig/src/common/oscap_acquire.c
+++ openscap-1.2.6/src/common/oscap_acquire.c
@@ -36,6 +36,7 @@
#include <ftw.h>
#include "oscap_acquire.h"
+#include "oscap_buffer.h"
#include "common/_error.h"
#include "oscap_string.h"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e0c56c108ff3042fd6a6650a808553de15e4dfc7ccc9fcdd6a839de827c47ed
size 14513153

View File

@ -1 +0,0 @@
16c8c27668d32831c7beddd4e1549dde75142695 openscap-1.2.5.tar.gz

3
openscap-1.2.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95f2345e041e9ba838ad8065b68ce0ec4b0971d7afc72d601489236bbfc0c652
size 15601491

View File

@ -0,0 +1 @@
1a2582cb9a75309316fa2e86169529a2b9eaa060 openscap-1.2.6.tar.gz

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Mon Oct 5 11:45:28 UTC 2015 - meissner@suse.com
- openscap 1.2.6 release
- New features
- introduced OpenSCAP user manual
- improved OVAL 5.11.1 support
- added OVAL 5.11.1 XSD schemas and schematrons
- support for core/platform schema versions
- support for check_existence attribute in state entities
- support for CIM datetime format
- amended behavior of mask attribute
- added support for remote .xml.bz2 files (use with --fetch-remote-resources)
- rewrote oscap-docker to python, deeper integration with Atomic Host
- introduced CPE name for Fedora 24 to the internal dictionary
- HTML report & guide
- results can be grouped by according to various aspects
- printing supported (interactive elements are now hidden when printing)
- table of content now shows only selected items (rule & groups)
- references to RHSA are presented as links to website (rhbz#1243808)
- Maintenance
- scap-as-rpm can now build source rpm packages (srpms) (trac#469)
- scap-as-rpm now supports python3
- refactored oval processing into oval_session structure
- many smaller bugfixes and new tests
- new openscap-docker subpackage
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 6 11:40:29 UTC 2015 - meissner@suse.com Mon Jul 6 11:40:29 UTC 2015 - meissner@suse.com

View File

@ -20,7 +20,7 @@
%define with_bindings 0 %define with_bindings 0
Name: openscap Name: openscap
Version: 1.2.5 Version: 1.2.6
Release: 1.0 Release: 1.0
Source: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz Source: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz
Source5: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz.sha1sum Source5: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz.sha1sum
@ -74,6 +74,13 @@ Group: System/Libraries
%description -n libopenscap%{soname} %description -n libopenscap%{soname}
The OpenSCAP C Library for easy integration with SCAP. The OpenSCAP C Library for easy integration with SCAP.
%package docker
Summary: Docker plugin for OpenSCAP
Group: System/Libraries
%description docker
This package contains the Docker support for OpenSCAP.
%package devel %package devel
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -147,12 +154,12 @@ commonly used and require additional dependencies.
%if 0%{?with_bindings} %if 0%{?with_bindings}
%configure --disable-silent-rules %configure --disable-silent-rules
%else %else
%configure --disable-silent-rules --disable-bindings --disable-python %configure --disable-silent-rules --disable-bindings --disable-python --disable-python3
%endif %endif
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%check %check
# #%__make check %{?_smp_mflags} ||: %__make check %{?_smp_mflags} ||:
%install %install
%__make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
@ -241,6 +248,11 @@ ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%files docker
%defattr(-, root, root)
%{python_sitelib}/oscap_docker_python
%{_bindir}/oscap-docker
%if 0%{?with_bindings} %if 0%{?with_bindings}
%files -n python-openscap %files -n python-openscap
%defattr(-, root, root) %defattr(-, root, root)
@ -258,7 +270,9 @@ ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/
%doc docs/oscap-scan.cron %doc docs/oscap-scan.cron
%{_initrddir}/oscap-scan %{_initrddir}/oscap-scan
%{_mandir}/man8/* %{_mandir}/man8/*
%{_bindir}/* %{_bindir}/oscap
%{_bindir}/oscap-ssh
%{_bindir}/scap-as-rpm
%config %{_sysconfdir}/bash_completion.d/* %config %{_sysconfdir}/bash_completion.d/*
%files content %files content