forked from pool/openscap
Accepting request 486410 from security
- Remove line-trailing whitespace from last changelog entry. - Rename %soname to %sover to better reflect its use. - Replace unnecessary %__-type macro indirections. - openscap-1.2.14 / 21-03-2017 - New features - Detailed information about ARF files in 'oscap info' (issue #664) - XSLT template creating XCCDF files from OVAL files - Generating remediation scripts from ARF - Significant improvements of User Manual (issue #249, #513) - HTML report UX improvements (issue #601, #620, #622, #655) - Warnings are shown by default - Verbose mode is available in 'xccdf remediate' module (issue #520) - Added Fedora 26, Fedora 27 and OpenSUSE 42.2 CPEs (issue #698) - Support for Anaconda remediation in HTML report - Maintenance - Fixed CPE dictionary to identify RHEVH as RHEL7 (RHBZ #1420038) - Fixed systemd probes crashes inside containers (RHBZ #1431186, issue #700) - Added a warning on non-existing XCCDF Benchmarks (issue #614) - Fixed output on terminals with white background (RHBZ #1365911, issue #512) - Error handling in oscap-vm (RHBZ #1391754) - Fixed SCE stderr stalling (RHBZ #1420811) - Fixed Android OVAL schema (issue #279) - Fixed absolute filepath parsing in OVAL (RHBZ #1312831, #1312824) - Fixes based on Coverity scan report (issue #581, #634, #681) - Fixed duplicated error messages (issue #707) - Fixed XCCDF score calculation (issue #617) - Fixed segmentation faults in RPM probes (RHBZ #1414303, #1414312) - Fixed failing DataStream build if "@" is in filepath - Fixed missing header in result-oriented Ansible remediations OBS-URL: https://build.opensuse.org/request/show/486410 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=49
This commit is contained in:
commit
a814530fd4
3
1.2.14.tar.gz
Normal file
3
1.2.14.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:54c21a570e51f4637edef2fa835c48b8f9164139f9e15cf0abd1b3ba3dd07163
|
||||||
|
size 11917646
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:eeaa37a48b71b0cd455a94f40f01aea0572a846a9ea2722f7f5d2fbbc949ec5c
|
|
||||||
size 15874074
|
|
@ -1 +0,0 @@
|
|||||||
292e398981cc2b8ff5b6cbd12cc72ac4ab493449 openscap-1.2.13.tar.gz
|
|
@ -1,3 +1,43 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 7 09:35:00 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Remove line-trailing whitespace from last changelog entry.
|
||||||
|
- Rename %soname to %sover to better reflect its use.
|
||||||
|
- Replace unnecessary %__-type macro indirections.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 21 12:20:23 UTC 2017 - meissner@suse.com
|
||||||
|
|
||||||
|
- openscap-1.2.14 / 21-03-2017
|
||||||
|
- New features
|
||||||
|
- Detailed information about ARF files in 'oscap info' (issue #664)
|
||||||
|
- XSLT template creating XCCDF files from OVAL files
|
||||||
|
- Generating remediation scripts from ARF
|
||||||
|
- Significant improvements of User Manual (issue #249, #513)
|
||||||
|
- HTML report UX improvements (issue #601, #620, #622, #655)
|
||||||
|
- Warnings are shown by default
|
||||||
|
- Verbose mode is available in 'xccdf remediate' module (issue #520)
|
||||||
|
- Added Fedora 26, Fedora 27 and OpenSUSE 42.2 CPEs (issue #698)
|
||||||
|
- Support for Anaconda remediation in HTML report
|
||||||
|
- Maintenance
|
||||||
|
- Fixed CPE dictionary to identify RHEVH as RHEL7 (RHBZ #1420038)
|
||||||
|
- Fixed systemd probes crashes inside containers (RHBZ #1431186, issue #700)
|
||||||
|
- Added a warning on non-existing XCCDF Benchmarks (issue #614)
|
||||||
|
- Fixed output on terminals with white background (RHBZ #1365911, issue #512)
|
||||||
|
- Error handling in oscap-vm (RHBZ #1391754)
|
||||||
|
- Fixed SCE stderr stalling (RHBZ #1420811)
|
||||||
|
- Fixed Android OVAL schema (issue #279)
|
||||||
|
- Fixed absolute filepath parsing in OVAL (RHBZ #1312831, #1312824)
|
||||||
|
- Fixes based on Coverity scan report (issue #581, #634, #681)
|
||||||
|
- Fixed duplicated error messages (issue #707)
|
||||||
|
- Fixed XCCDF score calculation (issue #617)
|
||||||
|
- Fixed segmentation faults in RPM probes (RHBZ #1414303, #1414312)
|
||||||
|
- Fixed failing DataStream build if "@" is in filepath
|
||||||
|
- Fixed missing header in result-oriented Ansible remediations
|
||||||
|
- Memory leak and resource leak fixes (issue #635, #636)
|
||||||
|
- New upstream tests
|
||||||
|
- Many minor fixes and improvements
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 6 14:37:37 UTC 2017 - meissner@suse.com
|
Fri Jan 6 14:37:37 UTC 2017 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -16,14 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 8
|
%define sover 8
|
||||||
%define with_bindings 0
|
%define with_bindings 0
|
||||||
|
|
||||||
Name: openscap
|
Name: openscap
|
||||||
Version: 1.2.13
|
Version: 1.2.14
|
||||||
Release: 1.0
|
Release: 1.0
|
||||||
Source: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz
|
Source: https://github.com/OpenSCAP/openscap/archive/%{version}.tar.gz
|
||||||
Source5: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz.sha1sum
|
|
||||||
Source1: oscap-scan.init
|
Source1: oscap-scan.init
|
||||||
Source2: sysconfig.oscap-scan
|
Source2: sysconfig.oscap-scan
|
||||||
# SUSE specific profile, based on yast2-security
|
# SUSE specific profile, based on yast2-security
|
||||||
@ -33,16 +32,20 @@ Source3: scap-yast2sec-xccdf.xml
|
|||||||
Source4: scap-yast2sec-oval.xml
|
Source4: scap-yast2sec-oval.xml
|
||||||
Url: http://www.open-scap.org/
|
Url: http://www.open-scap.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: doxygen
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
# Use package name cause of "have choice for perl(XML::Parser): brp-check-suse perl-XML-Parser"
|
# Use package name cause of "have choice for perl(XML::Parser): brp-check-suse perl-XML-Parser"
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
BuildRequires: gconf2-devel
|
BuildRequires: gconf2-devel
|
||||||
BuildRequires: libblkid-devel
|
BuildRequires: libblkid-devel
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
BuildRequires: openldap2-devel
|
BuildRequires: openldap2-devel
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
@ -67,11 +70,11 @@ related information.
|
|||||||
More information about SCAP can be found at nvd.nist.gov.
|
More information about SCAP can be found at nvd.nist.gov.
|
||||||
|
|
||||||
|
|
||||||
%package -n libopenscap%{soname}
|
%package -n libopenscap%{sover}
|
||||||
Summary: OpenSCAP C Library
|
Summary: OpenSCAP C Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libopenscap%{soname}
|
%description -n libopenscap%{sover}
|
||||||
The OpenSCAP C Library for easy integration with SCAP.
|
The OpenSCAP C Library for easy integration with SCAP.
|
||||||
|
|
||||||
%package docker
|
%package docker
|
||||||
@ -89,17 +92,17 @@ Group: System/Libraries
|
|||||||
%description engine-sce
|
%description engine-sce
|
||||||
This package contains the Script Checking Engine (SCE) support for OpenSCAP.
|
This package contains the Script Checking Engine (SCE) support for OpenSCAP.
|
||||||
|
|
||||||
%package -n libopenscap_sce%{soname}
|
%package -n libopenscap_sce%{sover}
|
||||||
Summary: Script Checking Engine Library for OpenSCAP
|
Summary: Script Checking Engine Library for OpenSCAP
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Recommends: openscap-engine-sce
|
Recommends: openscap-engine-sce
|
||||||
|
|
||||||
%description -n libopenscap_sce%{soname}
|
%description -n libopenscap_sce%{sover}
|
||||||
This package contains the Script Checking Engine Library (SCE) for OpenSCAP.
|
This package contains the Script Checking Engine Library (SCE) for OpenSCAP.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: libopenscap%{soname} = %{version}
|
Requires: libopenscap%{sover} = %{version}
|
||||||
Summary: Development Files for OpenSCAP
|
Summary: Development Files for OpenSCAP
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
@ -165,18 +168,22 @@ commonly used and require additional dependencies.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
bash ./autogen.sh
|
||||||
%if 0%{?with_bindings}
|
%if 0%{?with_bindings}
|
||||||
%configure --disable-silent-rules --enable-sce --enable-cce
|
%configure --disable-silent-rules --enable-sce --enable-cce
|
||||||
%else
|
%else
|
||||||
%configure --disable-silent-rules --enable-sce --enable-cce --disable-bindings --disable-python --disable-python3
|
%configure --disable-silent-rules --enable-sce --enable-cce --disable-bindings --disable-python --disable-python3
|
||||||
%endif
|
%endif
|
||||||
%__make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
cd docs
|
||||||
|
doxygen
|
||||||
|
cd ..
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%__make check %{?_smp_mflags} ||:
|
make check %{?_smp_mflags} || :
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -name "*.la" -delete
|
find %{buildroot} -name "*.la" -delete
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||||
@ -191,11 +198,11 @@ install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_datadir}/openscap
|
|||||||
ln -s %{_datadir}/openscap/scap-yast2sec-oval.xml $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-oval.xml
|
ln -s %{_datadir}/openscap/scap-yast2sec-oval.xml $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-oval.xml
|
||||||
ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-xccdf.xml
|
ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-xccdf.xml
|
||||||
|
|
||||||
%post -n libopenscap%{soname} -p /sbin/ldconfig
|
%post -n libopenscap%{sover} -p /sbin/ldconfig
|
||||||
%post -n libopenscap_sce%{soname} -p /sbin/ldconfig
|
%post -n libopenscap_sce%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libopenscap%{soname} -p /sbin/ldconfig
|
%postun -n libopenscap%{sover} -p /sbin/ldconfig
|
||||||
%postun -n libopenscap_sce%{soname} -p /sbin/ldconfig
|
%postun -n libopenscap_sce%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%preun utils
|
%preun utils
|
||||||
%{stop_on_removal oscap-scan}
|
%{stop_on_removal oscap-scan}
|
||||||
@ -209,7 +216,7 @@ ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS
|
%doc AUTHORS COPYING NEWS
|
||||||
%dir %{_libexecdir}/openscap
|
%dir %{_libexecdir}/openscap
|
||||||
%{_libexecdir}/openscap/probe_dnscache
|
%{_libexecdir}/openscap/probe_dnscache
|
||||||
%{_libexecdir}/openscap/probe_environmentvariable
|
%{_libexecdir}/openscap/probe_environmentvariable
|
||||||
@ -253,9 +260,9 @@ ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/
|
|||||||
%{_datadir}/openscap/schemas/*
|
%{_datadir}/openscap/schemas/*
|
||||||
%{_datadir}/openscap/xsl/*
|
%{_datadir}/openscap/xsl/*
|
||||||
|
|
||||||
%files -n libopenscap%{soname}
|
%files -n libopenscap%{sover}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libopenscap.so.%{soname}*
|
%{_libdir}/libopenscap.so.%{sover}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -303,7 +310,7 @@ ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/
|
|||||||
%dir %{_datadir}/openscap/sectool-sce/
|
%dir %{_datadir}/openscap/sectool-sce/
|
||||||
%{_datadir}/openscap/sectool-sce/*
|
%{_datadir}/openscap/sectool-sce/*
|
||||||
|
|
||||||
%files -n libopenscap_sce%{soname}
|
%files -n libopenscap_sce%{sover}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libopenscap_sce.so.*
|
%{_libdir}/libopenscap_sce.so.*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user