Accepting request 868893 from home:msmeissn

OBS-URL: https://build.opensuse.org/request/show/868893
OBS-URL: https://build.opensuse.org/package/show/security/scap-security-guide?expand=0&rev=1
This commit is contained in:
Marcus Meissner 2021-02-03 10:33:56 +00:00 committed by Git OBS Bridge
commit 52214818ec
5 changed files with 151 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,30 @@
-------------------------------------------------------------------
Wed Feb 3 10:23:50 UTC 2021 - Marcus Meissner <meissner@suse.com>
- updated to 0.1.53 version, adjusted some things.
-------------------------------------------------------------------
Tue May 14 11:55:47 UTC 2019 - Brice DEKANY <brice.dekany@suse.com>
- New specfile
- build for openSUSE + Backport
-------------------------------------------------------------------
Tue May 14 11:27:26 UTC 2019 - Brice DEKANY <brice.dekany@suse.com>
- Switch to new formating from ComplianceAsCode
- Project is now hosted by github.com/openSUSE
-------------------------------------------------------------------
Fri Mar 16 12:12:56 UTC 2018 - brice.dekany@suse.com
- Add a first batch of SEVERITY CAT II Rules
-------------------------------------------------------------------
Wed Jan 17 10:14:09 UTC 2018 - brice.dekany@suse.com
- Add fixes for SEVERITY CAT I
-------------------------------------------------------------------
Thu Jan 4 21:05:16 UTC 2018 - brice.dekany@suse.com
- Initial version of xccdf for Severty CAT I

94
scap-security-guide.spec Normal file
View File

@ -0,0 +1,94 @@
#
# spec file for package openscap-content-stig
#
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: scap-security-guide
Version: 0.1.53
Release: 0
License: LGPL-3.0
Summary: XCCDF files for SLE12, SLE15 and openSUSE
Url: https://github.com/ComplianceAsCode/content
Group: Productivity/Security
Source: https://github.com/ComplianceAsCode/content/archive/v%{version}.tar.gz
BuildRequires: cmake
BuildRequires: python3-xml
BuildRequires: libxslt
BuildRequires: libxml2
BuildRequires: openscap-utils
BuildRequires: python3-PyYAML
BuildRequires: python3-Jinja2
BuildRequires: expat
# might be optional:
BuildRequires: ansible
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
SCAP Security Guide for SLE12 - XCCDF, OVAL, CPE and DS file to run a compliance test on SLE12, SLE15 and openSUSE.
%prep
%setup -q -n content-%version
%build
cd build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_INSTALL_MANDIR=%{_mandir} \
-DSSG_PRODUCT_CHROMIUM=OFF \
-DSSG_PRODUCT_DEBIAN9=OFF \
-DSSG_PRODUCT_DEBIAN10=OFF \
-DSSG_PRODUCT_EAP6=OFF \
-DSSG_PRODUCT_EXAMPLE=OFF \
-DSSG_PRODUCT_FEDORA=OFF \
-DSSG_PRODUCT_FIREFOX=OFF \
-DSSG_PRODUCT_FUSE6=OFF \
-DSSG_PRODUCT_JRE=OFF \
-DSSG_PRODUCT_MACOS1015=OFF \
-DSSG_PRODUCT_OCP4=OFF \
-DSSG_PRODUCT_OL7=OFF \
-DSSG_PRODUCT_OL8=OFF \
-DSSG_PRODUCT_OPENSUSE=ON \
-DSSG_PRODUCT_RHCOS4=OFF \
-DSSG_PRODUCT_RHEL6=OFF \
-DSSG_PRODUCT_RHEL7=OFF \
-DSSG_PRODUCT_RHEL8=OFF \
-DSSG_PRODUCT_RHOSP10=OFF \
-DSSG_PRODUCT_RHOSP13=OFF \
-DSSG_PRODUCT_RHV4=OFF \
-DSSG_PRODUCT_SLE12=ON \
-DSSG_PRODUCT_SLE15=ON \
-DSSG_PRODUCT_UBUNTU1604=OFF \
-DSSG_PRODUCT_UBUNTU1804=OFF \
-DSSG_PRODUCT_UBUNTU2004=OFF \
-DSSG_PRODUCT_VSEL=OFF \
-DSSG_PRODUCT_WRLINUX8=OFF \
-DSSG_PRODUCT_WRLINUX1019=OFF \
../
make %{?_smp_mflags}
%install
cd build/
make install DESTDIR=%{buildroot} %{?_smp_mflags}
%files
%defattr(-,root,root)
%dir %{_datadir}/doc/scap-security-guide/
%doc %{_datadir}/doc/scap-security-guide/*
%doc %{_mandir}/man8/scap-security-guide.8.gz
%dir %{_datadir}/scap-security-guide/
%{_datadir}/scap-security-guide/*
%dir %{_datadir}/xml/scap/
%{_datadir}/xml/scap/*

3
v0.1.53.tar.gz Normal file
View File

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