2009-11-19 13:51:01 +01:00
|
|
|
#
|
2012-03-01 11:47:23 +01:00
|
|
|
# spec file for package openscap
|
2009-11-19 13:51:01 +01:00
|
|
|
#
|
2017-01-06 15:38:48 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2009-11-19 13:51:01 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-11-19 15:21:52 +01:00
|
|
|
%define soname 8
|
2012-02-28 23:36:15 +01:00
|
|
|
%define with_bindings 0
|
2009-11-19 13:51:01 +01:00
|
|
|
|
|
|
|
Name: openscap
|
- 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
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=171
2017-03-21 13:22:06 +01:00
|
|
|
Version: 1.2.14
|
2010-07-05 02:18:40 +02:00
|
|
|
Release: 1.0
|
2017-03-21 13:31:31 +01:00
|
|
|
Source: https://github.com/OpenSCAP/openscap/archive/%{version}.tar.gz
|
2012-02-28 23:36:15 +01:00
|
|
|
Source1: oscap-scan.init
|
|
|
|
Source2: sysconfig.oscap-scan
|
2012-08-01 13:50:20 +02:00
|
|
|
# SUSE specific profile, based on yast2-security
|
|
|
|
# checks.
|
|
|
|
# Generated from http://gitorious.org/test-suite/scap
|
|
|
|
Source3: scap-yast2sec-xccdf.xml
|
|
|
|
Source4: scap-yast2sec-oval.xml
|
2012-03-01 11:47:23 +01:00
|
|
|
Url: http://www.open-scap.org/
|
2009-11-19 13:51:01 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-03-01 11:47:23 +01:00
|
|
|
BuildRequires: libacl-devel
|
2015-12-04 11:58:11 +01:00
|
|
|
BuildRequires: libbz2-devel
|
2012-03-01 11:47:23 +01:00
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2010-07-05 02:18:40 +02:00
|
|
|
# Use package name cause of "have choice for perl(XML::Parser): brp-check-suse perl-XML-Parser"
|
2012-03-01 11:55:49 +01:00
|
|
|
BuildRequires: gconf2-devel
|
|
|
|
BuildRequires: libblkid-devel
|
2012-03-26 11:33:19 +02:00
|
|
|
BuildRequires: libcap-devel
|
2012-03-01 11:55:49 +01:00
|
|
|
BuildRequires: libselinux-devel
|
2012-03-01 11:47:23 +01:00
|
|
|
BuildRequires: libxslt-devel
|
2012-03-01 10:27:11 +01:00
|
|
|
BuildRequires: openldap2-devel
|
2012-03-01 11:47:23 +01:00
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: rpm-devel
|
|
|
|
BuildRequires: swig
|
2012-03-26 11:33:19 +02:00
|
|
|
BuildRequires: unixODBC-devel
|
2010-07-05 02:18:40 +02:00
|
|
|
Summary: A Set of Libraries for Integration with SCAP
|
2012-03-20 13:49:59 +01:00
|
|
|
License: LGPL-2.1+
|
2012-03-01 11:47:23 +01:00
|
|
|
Group: Development/Tools/Other
|
2009-11-19 13:51:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
OpenSCAP is a set of open source libraries providing an easier path for
|
|
|
|
integration of the SCAP line of standards.
|
|
|
|
|
|
|
|
SCAP is a line of standards managed by NIST with the goal of providing
|
|
|
|
a standard language for the expression of Computer Network Defense
|
|
|
|
related information.
|
|
|
|
|
|
|
|
More information about SCAP can be found at nvd.nist.gov.
|
|
|
|
|
2010-07-05 02:18:40 +02:00
|
|
|
|
|
|
|
%package -n libopenscap%{soname}
|
|
|
|
Summary: OpenSCAP C Library
|
2012-03-01 11:47:23 +01:00
|
|
|
Group: System/Libraries
|
2010-07-05 02:18:40 +02:00
|
|
|
|
|
|
|
%description -n libopenscap%{soname}
|
|
|
|
The OpenSCAP C Library for easy integration with SCAP.
|
|
|
|
|
u
M openscap.spec
Diff for working copy: .
Index: openscap.spec
===================================================================
--- openscap.spec (revision c86548ec47e882d642c97e427035b5b3)
+++ openscap.spec (working copy)
@@ -74,6 +74,13 @@
%description -n libopenscap%{soname}
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
Requires: %{name} = %{version}-%{release}
@@ -241,10 +248,14 @@
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
+%files docker
+%defattr(-, root, root)
+%{python_sitearch}/*
+
%if 0%{?with_bindings}
%files -n python-openscap
%defattr(-, root, root)
-%{python_sitearch}/*
+%{python_sitearch}/oscap_docker_python
%files -n perl-openscap
%defattr(-, root, root)
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=134
2015-10-07 16:33:06 +02:00
|
|
|
%package docker
|
|
|
|
Summary: Docker plugin for OpenSCAP
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description docker
|
|
|
|
This package contains the Docker support for OpenSCAP.
|
|
|
|
|
2010-07-05 02:18:40 +02:00
|
|
|
|
2016-03-23 11:43:09 +01:00
|
|
|
%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.
|
|
|
|
|
2016-03-23 11:50:27 +01:00
|
|
|
%package -n libopenscap_sce%{soname}
|
|
|
|
Summary: Script Checking Engine Library for OpenSCAP
|
|
|
|
Group: System/Libraries
|
2016-03-23 12:00:47 +01:00
|
|
|
Recommends: openscap-engine-sce
|
2016-03-23 11:50:27 +01:00
|
|
|
|
|
|
|
%description -n libopenscap_sce%{soname}
|
|
|
|
This package contains the Script Checking Engine Library (SCE) for OpenSCAP.
|
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%package devel
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2012-03-01 11:47:23 +01:00
|
|
|
Requires: libopenscap%{soname} = %{version}
|
2010-07-05 02:18:40 +02:00
|
|
|
Summary: Development Files for OpenSCAP
|
2012-03-01 11:47:23 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-07-05 02:18:40 +02:00
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%description devel
|
2010-07-05 02:18:40 +02:00
|
|
|
This package contains the development files (mainly C header files) for the
|
|
|
|
OpenSCAP C library.
|
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%if 0%{?with_bindings}
|
2010-07-05 02:18:40 +02:00
|
|
|
%package -n python-openscap
|
|
|
|
%py_requires
|
2012-02-28 23:36:15 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: openscap-python = %{version}-%{release}
|
2010-07-05 02:18:40 +02:00
|
|
|
Summary: OpenSCAP Python Library
|
2012-03-01 11:47:23 +01:00
|
|
|
Group: Development/Libraries/Python
|
2010-07-05 02:18:40 +02:00
|
|
|
|
|
|
|
%description -n python-openscap
|
|
|
|
The OpenSCAP Python Library for easy integration with SCAP.
|
|
|
|
|
|
|
|
%package -n perl-openscap
|
2012-02-28 23:36:15 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2012-03-01 11:47:23 +01:00
|
|
|
Requires: perl = %{perl_version}
|
2012-02-28 23:36:15 +01:00
|
|
|
Provides: openscap-perl = %{version}-%{release}
|
2010-07-05 02:18:40 +02:00
|
|
|
Summary: OpenSCAP Perl Library
|
2012-03-01 11:47:23 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2010-07-05 02:18:40 +02:00
|
|
|
|
|
|
|
%description -n perl-openscap
|
|
|
|
The OpenSCAP Perl Library for easy integration with SCAP.
|
2012-02-28 23:36:15 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Openscap utilities
|
2012-03-01 10:27:11 +01:00
|
|
|
Group: System/Monitoring
|
2012-02-28 23:36:15 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
PreReq: %insserv_prereq %fillup_prereq
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
The %{name}-utils package contains various utilities based on %{name} library.
|
|
|
|
|
|
|
|
|
|
|
|
%package content
|
|
|
|
Summary: SCAP content
|
2012-03-01 10:27:11 +01:00
|
|
|
Group: System/Monitoring
|
2012-02-28 23:36:15 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description content
|
|
|
|
SCAP content for Fedora delivered by Open-SCAP project.
|
|
|
|
|
|
|
|
|
|
|
|
%package extra-probes
|
|
|
|
Summary: SCAP probes
|
2012-03-01 10:27:11 +01:00
|
|
|
Group: System/Monitoring
|
2012-02-28 23:36:15 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
#BuildRequires: opendbx - for sql
|
|
|
|
|
|
|
|
%description extra-probes
|
|
|
|
The %{name}-extra-probes package contains additional probes that are not
|
|
|
|
commonly used and require additional dependencies.
|
2010-07-05 02:18:40 +02:00
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
2010-07-05 02:18:40 +02:00
|
|
|
|
2009-11-19 13:51:01 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2012-02-28 23:36:15 +01:00
|
|
|
|
2017-03-21 14:07:28 +01:00
|
|
|
bash ./confgen.sh
|
2012-02-28 23:36:15 +01:00
|
|
|
%if 0%{?with_bindings}
|
2016-03-23 11:24:34 +01:00
|
|
|
%configure --disable-silent-rules --enable-sce --enable-cce
|
2012-02-28 23:36:15 +01:00
|
|
|
%else
|
2016-03-23 11:24:34 +01:00
|
|
|
%configure --disable-silent-rules --enable-sce --enable-cce --disable-bindings --disable-python --disable-python3
|
2012-02-28 23:36:15 +01:00
|
|
|
%endif
|
2011-05-02 16:17:42 +02:00
|
|
|
%__make %{?_smp_mflags}
|
2009-11-19 13:51:01 +01:00
|
|
|
|
|
|
|
%check
|
2015-10-05 14:24:09 +02:00
|
|
|
%__make check %{?_smp_mflags} ||:
|
2009-11-19 13:51:01 +01:00
|
|
|
|
|
|
|
%install
|
2010-07-05 02:18:40 +02:00
|
|
|
%__make install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -name "*.la" -delete
|
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
|
|
|
|
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/oscap-scan
|
|
|
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
|
|
|
|
2012-08-01 13:50:20 +02:00
|
|
|
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/%{_datadir}/openscap
|
|
|
|
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_datadir}/openscap
|
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
# create symlinks to default content
|
2012-08-01 13:50:20 +02:00
|
|
|
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
|
2012-02-28 23:36:15 +01:00
|
|
|
|
2010-07-05 02:18:40 +02:00
|
|
|
%post -n libopenscap%{soname} -p /sbin/ldconfig
|
2016-03-23 11:50:27 +01:00
|
|
|
%post -n libopenscap_sce%{soname} -p /sbin/ldconfig
|
2010-07-05 02:18:40 +02:00
|
|
|
|
|
|
|
%postun -n libopenscap%{soname} -p /sbin/ldconfig
|
2016-03-23 11:50:27 +01:00
|
|
|
%postun -n libopenscap_sce%{soname} -p /sbin/ldconfig
|
2009-11-19 13:51:01 +01:00
|
|
|
|
2012-03-01 11:03:45 +01:00
|
|
|
%preun utils
|
|
|
|
%{stop_on_removal oscap-scan}
|
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%post utils
|
|
|
|
%{fillup_and_insserv -n oscap-scan}
|
|
|
|
|
|
|
|
%postun utils
|
2012-03-01 11:31:24 +01:00
|
|
|
%{restart_on_update oscap-scan}
|
2012-02-28 23:36:15 +01:00
|
|
|
%{insserv_cleanup}
|
|
|
|
|
2009-11-19 17:22:37 +01:00
|
|
|
%files
|
2009-11-19 13:51:01 +01:00
|
|
|
%defattr(-, root, root)
|
2014-12-02 13:50:29 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS
|
2012-02-28 23:36:15 +01:00
|
|
|
%dir %{_libexecdir}/openscap
|
|
|
|
%{_libexecdir}/openscap/probe_dnscache
|
|
|
|
%{_libexecdir}/openscap/probe_environmentvariable
|
|
|
|
%{_libexecdir}/openscap/probe_environmentvariable58
|
|
|
|
%{_libexecdir}/openscap/probe_family
|
|
|
|
%{_libexecdir}/openscap/probe_file
|
2012-03-01 15:08:33 +01:00
|
|
|
%{_libexecdir}/openscap/probe_fileextendedattribute
|
2012-02-28 23:36:15 +01:00
|
|
|
%{_libexecdir}/openscap/probe_filehash
|
|
|
|
%{_libexecdir}/openscap/probe_filehash58
|
2012-03-01 15:08:33 +01:00
|
|
|
%{_libexecdir}/openscap/probe_iflisteners
|
2012-02-28 23:36:15 +01:00
|
|
|
%{_libexecdir}/openscap/probe_inetlisteningservers
|
|
|
|
%{_libexecdir}/openscap/probe_interface
|
|
|
|
%{_libexecdir}/openscap/probe_partition
|
|
|
|
%{_libexecdir}/openscap/probe_password
|
|
|
|
%{_libexecdir}/openscap/probe_process
|
2012-03-01 15:08:33 +01:00
|
|
|
%{_libexecdir}/openscap/probe_process58
|
|
|
|
%{_libexecdir}/openscap/probe_routingtable
|
2012-02-28 23:36:15 +01:00
|
|
|
%{_libexecdir}/openscap/probe_rpminfo
|
2012-08-01 17:30:01 +02:00
|
|
|
%{_libexecdir}/openscap/probe_rpmverify*
|
2012-02-28 23:36:15 +01:00
|
|
|
%{_libexecdir}/openscap/probe_runlevel
|
2012-03-01 15:08:33 +01:00
|
|
|
%{_libexecdir}/openscap/probe_selinuxboolean
|
|
|
|
%{_libexecdir}/openscap/probe_selinuxsecuritycontext
|
2012-02-28 23:36:15 +01:00
|
|
|
%{_libexecdir}/openscap/probe_shadow
|
2015-06-22 15:37:59 +02:00
|
|
|
%{_libexecdir}/openscap/probe_symlink
|
2012-02-28 23:36:15 +01:00
|
|
|
%{_libexecdir}/openscap/probe_sysctl
|
2014-09-03 14:18:44 +02:00
|
|
|
%{_libexecdir}/openscap/probe_systemdunitdependency
|
|
|
|
%{_libexecdir}/openscap/probe_systemdunitproperty
|
2012-02-28 23:36:15 +01:00
|
|
|
%{_libexecdir}/openscap/probe_system_info
|
|
|
|
%{_libexecdir}/openscap/probe_textfilecontent
|
|
|
|
%{_libexecdir}/openscap/probe_textfilecontent54
|
|
|
|
%{_libexecdir}/openscap/probe_uname
|
|
|
|
%{_libexecdir}/openscap/probe_variable
|
|
|
|
%{_libexecdir}/openscap/probe_xinetd
|
|
|
|
%{_libexecdir}/openscap/probe_xmlfilecontent
|
2012-03-01 13:24:10 +01:00
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%dir %{_datadir}/openscap
|
2013-01-08 15:15:34 +01:00
|
|
|
%dir %{_datadir}/openscap/cpe
|
2012-02-28 23:36:15 +01:00
|
|
|
%dir %{_datadir}/openscap/schemas
|
|
|
|
%dir %{_datadir}/openscap/xsl
|
2013-01-08 15:15:34 +01:00
|
|
|
%{_datadir}/openscap/cpe/*
|
2012-02-28 23:36:15 +01:00
|
|
|
%{_datadir}/openscap/schemas/*
|
|
|
|
%{_datadir}/openscap/xsl/*
|
2010-07-05 02:18:40 +02:00
|
|
|
|
|
|
|
%files -n libopenscap%{soname}
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libopenscap.so.%{soname}*
|
2009-11-19 13:51:01 +01:00
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%files devel
|
2010-07-05 02:18:40 +02:00
|
|
|
%defattr(-, root, root)
|
2012-02-28 23:36:15 +01:00
|
|
|
%doc docs/{html,examples}/
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2010-07-05 02:18:40 +02:00
|
|
|
|
u
M openscap.spec
Diff for working copy: .
Index: openscap.spec
===================================================================
--- openscap.spec (revision c86548ec47e882d642c97e427035b5b3)
+++ openscap.spec (working copy)
@@ -74,6 +74,13 @@
%description -n libopenscap%{soname}
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
Requires: %{name} = %{version}-%{release}
@@ -241,10 +248,14 @@
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
+%files docker
+%defattr(-, root, root)
+%{python_sitearch}/*
+
%if 0%{?with_bindings}
%files -n python-openscap
%defattr(-, root, root)
-%{python_sitearch}/*
+%{python_sitearch}/oscap_docker_python
%files -n perl-openscap
%defattr(-, root, root)
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=134
2015-10-07 16:33:06 +02:00
|
|
|
%files docker
|
|
|
|
%defattr(-, root, root)
|
2015-10-07 16:40:50 +02:00
|
|
|
%{python_sitelib}/oscap_docker_python
|
2015-10-07 16:34:37 +02:00
|
|
|
%{_bindir}/oscap-docker
|
u
M openscap.spec
Diff for working copy: .
Index: openscap.spec
===================================================================
--- openscap.spec (revision c86548ec47e882d642c97e427035b5b3)
+++ openscap.spec (working copy)
@@ -74,6 +74,13 @@
%description -n libopenscap%{soname}
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
Requires: %{name} = %{version}-%{release}
@@ -241,10 +248,14 @@
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
+%files docker
+%defattr(-, root, root)
+%{python_sitearch}/*
+
%if 0%{?with_bindings}
%files -n python-openscap
%defattr(-, root, root)
-%{python_sitearch}/*
+%{python_sitearch}/oscap_docker_python
%files -n perl-openscap
%defattr(-, root, root)
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=134
2015-10-07 16:33:06 +02:00
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%if 0%{?with_bindings}
|
2010-07-05 02:18:40 +02:00
|
|
|
%files -n python-openscap
|
|
|
|
%defattr(-, root, root)
|
2015-10-07 16:40:50 +02:00
|
|
|
%{python_sitearch}/*
|
2010-07-05 02:18:40 +02:00
|
|
|
|
|
|
|
%files -n perl-openscap
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{perl_vendorlib}/openscap.pm
|
|
|
|
%{perl_vendorarch}/_openscap_pm.so
|
2012-02-28 23:36:15 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/var/adm/fillup-templates/sysconfig.oscap-scan
|
|
|
|
%doc docs/oscap-scan.cron
|
|
|
|
%{_initrddir}/oscap-scan
|
|
|
|
%{_mandir}/man8/*
|
2015-10-07 16:34:37 +02:00
|
|
|
%{_bindir}/oscap
|
2015-12-14 09:19:26 +01:00
|
|
|
%{_bindir}/oscap-vm
|
2015-10-07 16:54:11 +02:00
|
|
|
%{_bindir}/oscap-ssh
|
2016-04-28 17:18:52 +02:00
|
|
|
%{_bindir}/oscap-chroot
|
2015-10-07 16:34:37 +02:00
|
|
|
%{_bindir}/scap-as-rpm
|
2012-02-28 23:36:15 +01:00
|
|
|
%config %{_sysconfdir}/bash_completion.d/*
|
|
|
|
|
|
|
|
%files content
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/openscap/scap*.xml
|
|
|
|
|
2016-03-23 11:43:09 +01:00
|
|
|
%files engine-sce
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir %{_datadir}/openscap
|
|
|
|
%dir %{_datadir}/openscap/sectool-sce/
|
|
|
|
%{_datadir}/openscap/sectool-sce/*
|
|
|
|
|
2016-03-23 11:50:27 +01:00
|
|
|
%files -n libopenscap_sce%{soname}
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libopenscap_sce.so.*
|
|
|
|
|
2012-02-28 23:36:15 +01:00
|
|
|
%files extra-probes
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libexecdir}/openscap/probe_ldap57
|
2013-12-02 17:54:33 +01:00
|
|
|
%{_libexecdir}/openscap/probe_gconf
|
2012-02-28 23:36:15 +01:00
|
|
|
|
2012-03-01 10:27:11 +01:00
|
|
|
%changelog
|