SHA256
1
0
forked from pool/openscap

Accepting request 378600 from security

- enable the SCE (script checking engine)
  packaged in "openscap-engine-sce" subpackage.
- enable the CCE (Common Configuration Enumeration)

OBS-URL: https://build.opensuse.org/request/show/378600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=44
This commit is contained in:
Dominique Leuenberger 2016-03-26 14:27:37 +00:00 committed by Git OBS Bridge
commit 27c5679785
2 changed files with 37 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Mar 23 10:21:27 UTC 2016 - meissner@suse.com
- enable the SCE (script checking engine)
packaged in "openscap-engine-sce" subpackage.
- enable the CCE (Common Configuration Enumeration)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 19 10:22:08 UTC 2016 - meissner@suse.com Tue Jan 19 10:22:08 UTC 2016 - meissner@suse.com

View File

@ -83,6 +83,21 @@ Group: System/Libraries
This package contains the Docker support for OpenSCAP. This package contains the Docker support for OpenSCAP.
%package engine-sce
Summary: Script Checking Engine for OpenSCAP
Group: System/Libraries
%description engine-sce
This package contains the Script Checking Engine (SCE) support for OpenSCAP.
%package -n libopenscap_sce%{soname}
Summary: Script Checking Engine Library for OpenSCAP
Group: System/Libraries
Recommends: openscap-engine-sce
%description -n libopenscap_sce%{soname}
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%{soname} = %{version}
@ -153,9 +168,9 @@ commonly used and require additional dependencies.
%build %build
%if 0%{?with_bindings} %if 0%{?with_bindings}
%configure --disable-silent-rules %configure --disable-silent-rules --enable-sce --enable-cce
%else %else
%configure --disable-silent-rules --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}
@ -179,8 +194,10 @@ ln -s %{_datadir}/openscap/scap-yast2sec-oval.xml $RPM_BUILD_ROOT/%{_datadir}/o
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%{soname} -p /sbin/ldconfig
%post -n libopenscap_sce%{soname} -p /sbin/ldconfig
%postun -n libopenscap%{soname} -p /sbin/ldconfig %postun -n libopenscap%{soname} -p /sbin/ldconfig
%postun -n libopenscap_sce%{soname} -p /sbin/ldconfig
%preun utils %preun utils
%{stop_on_removal oscap-scan} %{stop_on_removal oscap-scan}
@ -281,6 +298,16 @@ ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_datadir}/openscap/scap*.xml %{_datadir}/openscap/scap*.xml
%files engine-sce
%defattr(-,root,root,-)
%dir %{_datadir}/openscap
%dir %{_datadir}/openscap/sectool-sce/
%{_datadir}/openscap/sectool-sce/*
%files -n libopenscap_sce%{soname}
%defattr(-,root,root,-)
%{_libdir}/libopenscap_sce.so.*
%files extra-probes %files extra-probes
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libexecdir}/openscap/probe_ldap57 %{_libexecdir}/openscap/probe_ldap57