Bug 1684545

Summary: Rebase scap-security-guide in Red Hat Enterprise Linux 7.7 to latest upstream version
Product: Red Hat Enterprise Linux 7 Reporter: Jan Černý <jcerny>
Component: scap-security-guideAssignee: Watson Yuuma Sato <wsato>
Status: CLOSED ERRATA QA Contact: Gabriel Gaspar Becker <ggasparb>
Severity: medium Docs Contact: Mirek Jahoda <mjahoda>
Priority: medium    
Version: 7.6CC: mhaicman, mjahoda, openscap-maint, pasik
Target Milestone: rcKeywords: Rebase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scap-security-guide-0.1.43-1.el7 Doc Type: Enhancement
Doc Text:
.`scap-security-guide` rebased to version 0.1.43 The `scap-security-guide` packages have been upgraded to upstream version 0.1.43, which provides a number of bug fixes and enhancements over the previous version, most notably: * Minimum supported Ansible version changed to 2.5 * New RHEL7 profile: VPP - Protection Profile for Virtualization v. 1.0 for Red Hat Enterprise Linux Hypervisor (RHELH)
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 13:04:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Černý 2019-03-01 14:08:51 UTC
SCAP Security Guide (SSG) contains configuration hardening advice of Red Hat  Enterprise Linux 7 and other products. Some customers are contributing fixes  directly to upstream. The expectation is that we ship these fixes/improvements along the RHEL update release.

There has been significant changes to the build system / data structure in the upstream project, making non-rebase backports difficult and error prone.

The version currently in RHEL7 is 0.1.40, https://github.com/OpenSCAP/scap-security-guide/compare/v0.1.40...master shows changes in upstream since then.

Moreover, the downstream version carries patches that have already been accepted upstream.

The latest upstream version, 0.1.43, was released on 21st February 2019.
For more details about this version and the release notes please see https://github.com/ComplianceAsCode/content/releases/tag/v0.1.43

Comment 4 Gabriel Gaspar Becker 2019-05-14 08:32:31 UTC
Package has been rebased to version 0.1.43

git commit: 5066962fd702d2a2edd54161cb39c0dca98b2c85

$cat scap-security-guide.spec | grep redhatssgversion
%global		redhatssgversion	43
Version:	0.1.%{redhatssgversion}

$rhpkg prep
+ umask 022
+ cd /home/ggasparb/workspace/rhpkg/scap-security-guide
+ cd /home/ggasparb/workspace/rhpkg/scap-security-guide
+ rm -rf scap-security-guide-0.1.43
+ /usr/bin/bzip2 -dc /home/ggasparb/workspace/rhpkg/scap-security-guide/scap-security-guide-0.1.43.tar.bz2

Package version: scap-security-guide-0.1.43-7.el7.noarch

Smoke test results:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Build and install packages from specfile
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 05:52:32 ] :: [   PASS   ] :: Command 'rpmbuild -v -bb --nocheck /root/rpmbuild/SPECS/scap-security-guide.spec' (Expected 0, got 0)
:: [ 05:52:48 ] :: [   PASS   ] :: Command 'yum remove -y scap-security-guide-0.1.43-7.el7.noarch scap-security-guide-doc-0.1.43-7.el7.noarch ' (Expected 0, got 0)
:: [ 05:53:02 ] :: [   PASS   ] :: Command 'yum install -y /root/rpmbuild/RPMS/*/*' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 185s
::   Assertions: 3 good, 0 bad
::   RESULT: PASS


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Run upstream test suite
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 06:00:20 ] :: [   PASS   ] :: Command 'cmake --build /root/rpmbuild/BUILD/scap-security-guide-0.1.43/build --target test' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 436s
::   Assertions: 1 good, 0 bad
::   RESULT: PASS

Bug verified.

Comment 6 errata-xmlrpc 2019-08-06 13:04:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2198