Bug 1684545 - Rebase scap-security-guide in Red Hat Enterprise Linux 7.7 to latest upstream version
Summary: Rebase scap-security-guide in Red Hat Enterprise Linux 7.7 to latest upstream...
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scap-security-guide
Version: 7.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Watson Yuuma Sato
QA Contact: Gabriel Gaspar Becker
Mirek Jahoda
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-01 14:08 UTC by Jan Černý
Modified: 2019-08-06 13:04 UTC (History)
4 users (show)

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)
Clone Of:
Last Closed: 2019-08-06 13:04:20 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2198 None None None 2019-08-06 13:04:32 UTC

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

::   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

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.


Note You need to log in before you can comment on or make changes to this bug.