231 Commits

Author SHA256 Message Date
Dominique Leuenberger
99de27cad5 Accepting request 689029 from security
add missing obsoletes (forwarded request 688824 from rfrohl)

OBS-URL: https://build.opensuse.org/request/show/689029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=60
2019-03-27 15:22:05 +00:00
96f998b11f Accepting request 688824 from home:rfrohl:branches:security
add missing obsoletes

OBS-URL: https://build.opensuse.org/request/show/688824
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=230
2019-03-27 09:30:35 +00:00
491045a433 Accepting request 688437 from home:iznogood:branches:security
- Drop gconf2-devel BuildRequires: It is not mandatory, so lets
  build without this obsolete package.
- Add pkgconfig(glib-2.0) and pkgconfig(gobject-2.0) BuildRequires:
  They are also optional, but not obsolete, and previously pulled
  in via gconf2-devel dependency, so lets build support for them.

OBS-URL: https://build.opensuse.org/request/show/688437
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=229
2019-03-27 09:29:58 +00:00
Dominique Leuenberger
41308542a9 Accepting request 653777 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/653777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=59
2018-12-04 19:57:52 +00:00
afba4b9563 fixed %post %pre syntax
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=227
2018-11-27 07:18:16 +00:00
8c59323331 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=226 2018-11-22 10:56:58 +00:00
4d33f05db9 Accepting request 651059 from home:rfrohl:branches:security
- Update to openscap-1.3.0 
  - move to cmake
- improve unit test, planned for inclusion with 1.3.1
  - tests do no complete as of yet, still future work needed

OBS-URL: https://build.opensuse.org/request/show/651059
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=225
2018-11-22 10:48:01 +00:00
Yuchen Lin
102cbbd841 Accepting request 635251 from security
- openscap-xattr.patch: build against new libattr

OBS-URL: https://build.opensuse.org/request/show/635251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=58
2018-09-13 10:11:29 +00:00
619b3160ac - openscap-xattr.patch: build against new libattr
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=223
2018-09-12 05:56:15 +00:00
Dominique Leuenberger
1ef6929acc Accepting request 614943 from security
- scap-yast2sec-xccdf.xml: remove platform cpe match, as it is impossible
  to match both opensuse and sles or official suse_linux_enterprise_server
  names at once. (bsc#1091040)

- openscap-1.2.17
  - New features
    - HTML Guide user experience improvements
    - New options in HTML report "Group By" menu
    - oscap-ssh supports --oval-results (issue #863)
  - Maintenance
    - Support comparing state record elements with item
    - Updated Bash completion
    - Make Bash role headers consistent with --help output
    - Fixed problems reported by Coverity (issue #909)
    - Fixed CVE schema to support 4 to 7 digits CVEs
    - Fix output of generated bash role missing fix message
    - Fix oscap-docker to clean up temporary image (RHBZ #1454637)
    - Fix Ansible remediations generation
    - Add a newline between ids in xccdf info (issue #968)
    - Fix unknown subtype handling in oval_subtype_parse (issue #986)
    - Outsourced the pthreads feature check and setup
    - Speed up in debug mode
    - Refactored the Python handling in build scripts
    - Prevent reading from host in offline mode (issue #1001)
    - Many probes use OWN offline mode
    - Improve offline mode logic in OVAL probes
    - Do not use chroot in system_info probe
    - Prevent a segfault in oscap_seterr on Solaris
    - Out of tree build is possible
    - Use chroot for RPM probes in offline mode

OBS-URL: https://build.opensuse.org/request/show/614943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=57
2018-06-08 21:18:08 +00:00
3b96c1ea55 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=221 2018-06-07 13:25:46 +00:00
f38bdeafcc OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=220 2018-06-07 11:43:22 +00:00
4b365c9471 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=219 2018-06-07 11:36:14 +00:00
ce492ea8b2 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=218 2018-06-07 11:32:55 +00:00
26a9a39cb7 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=217 2018-06-07 11:26:19 +00:00
8e2deae43b OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=216 2018-06-07 09:11:44 +00:00
01a370031b - New features
- HTML Guide user experience improvements
    - New options in HTML report "Group By" menu
    - oscap-ssh supports --oval-results (issue #863)
  - Maintenance
    - Support comparing state record elements with item
    - Updated Bash completion
    - Make Bash role headers consistent with --help output
    - Fixed problems reported by Coverity (issue #909)
    - Fixed CVE schema to support 4 to 7 digits CVEs
    - Fix output of generated bash role missing fix message
    - Fix oscap-docker to clean up temporary image (RHBZ #1454637)
    - Fix Ansible remediations generation
    - Add a newline between ids in xccdf info (issue #968)
    - Fix unknown subtype handling in oval_subtype_parse (issue #986)
    - Outsourced the pthreads feature check and setup
    - Speed up in debug mode
    - Refactored the Python handling in build scripts
    - Prevent reading from host in offline mode (issue #1001)
    - Many probes use OWN offline mode
    - Improve offline mode logic in OVAL probes
    - Do not use chroot in system_info probe
    - Prevent a segfault in oscap_seterr on Solaris
    - Out of tree build is possible
    - Use chroot for RPM probes in offline mode
    - PEP8 accepts lines up to 99 characters
    - New configure parameter --with-oscap-temp-dir (issue #1016)
    - Fixed OVAL record elements namespace and SEXP conversion
    - Removed '\r' characters from help output (issue #1023)
    - Full Python 3 compatibility

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=215
2018-06-07 09:03:58 +00:00
4db5e7cc47 - scap-yast2sec-xccdf.xml: remove platform cpe match, as it is impossible
to match both opensuse and sles or official suse_linux_enterprise_server

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=214
2018-06-07 08:47:17 +00:00
29a0cf99ec - remove platform cpe match, as it is impossible to match
both opensuse and sles or official suse_linux_enterprise_server
  names at once. (bsc#1091040)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=213
2018-06-07 08:47:03 +00:00
23a8401a21 - openscap-1.2.17
- New features                                                                                                                                                                             
    - HTML Guide user experience improvements                                                                                                                                                
    - New options in HTML report "Group By" menu                                                                                                                                             
    - oscap-ssh supports --oval-results (issue #863)                                                                                                                                         
  - Maintenance                                                                                                                                                                              
    - Support comparing state record elements with item                                                                                                                                      
    - Updated Bash completion                                                                                                                                                                
    - Make Bash role headers consistent with --help output                                                                                                                                   
    - Fixed problems reported by Coverity (issue #909)                                                                                                                                       
    - Fixed CVE schema to support 4 to 7 digits CVEs                                                                                                                                         
    - Fix output of generated bash role missing fix message                                                                                                                                  
    - Fix oscap-docker to clean up temporary image (RHBZ #1454637)                                                                                                                           
    - Fix Ansible remediations generation                                                                                                                                                    
    - Add a newline between ids in xccdf info (issue #968)                                                                                                                                   
    - Fix unknown subtype handling in oval_subtype_parse (issue #986)                                                                                                                        
    - Outsourced the pthreads feature check and setup                                                                                                                                        
    - Speed up in debug mode                                                                                                                                                                 
    - Refactored the Python handling in build scripts                                                                                                                                        
    - Prevent reading from host in offline mode (issue #1001)                                                                                                                                
    - Many probes use OWN offline mode                                                                                                                                                       
    - Improve offline mode logic in OVAL probes                                                                                                                                              
    - Do not use chroot in system_info probe                                                                                                                                                 
    - Prevent a segfault in oscap_seterr on Solaris                                                                                                                                          
    - Out of tree build is possible                                                                                                                                                          
    - Use chroot for RPM probes in offline mode                                                                                                                                              
    - PEP8 accepts lines up to 99 characters                                                                                                                                                 
    - New configure parameter --with-oscap-temp-dir (issue #1016)                                                                                                                            
    - Fixed OVAL record elements namespace and SEXP conversion                                                                                                                               
    - Removed '\r' characters from help output (issue #1023)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=212
2018-05-29 09:47:57 +00:00
Dominique Leuenberger
6c9a9dd73b Accepting request 601561 from security
- openscap-new-suse.patch: handle SLE15 and openSUSE Leap 42.3 and 15.0
  (bsc#1091040) (forwarded request 601560 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/601561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=56
2018-04-27 14:08:52 +00:00
27ae7c8e8c Accepting request 601560 from home:msmeissn:branches:security
- openscap-new-suse.patch: handle SLE15 and openSUSE Leap 42.3 and 15.0
  (bsc#1091040)

OBS-URL: https://build.opensuse.org/request/show/601560
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=210
2018-04-26 13:26:15 +00:00
Dominique Leuenberger
ee5ae20257 Accepting request 583006 from security
- Replace old $RPM_* shell vars. (forwarded request 583005 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/583006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=55
2018-03-07 09:35:14 +00:00
da4441b12a Accepting request 583005 from home:jengelh:branches:security
- Replace old $RPM_* shell vars.

OBS-URL: https://build.opensuse.org/request/show/583005
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=208
2018-03-05 15:23:38 +00:00
ddbf5be776 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=207 2018-03-05 13:31:32 +00:00
b38d166f2f OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=206 2018-03-05 13:13:41 +00:00
5a159d70e7 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=205 2018-03-05 13:06:12 +00:00
0510e1e4b7 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=204 2018-03-05 12:52:43 +00:00
b6d47735b2 - replace oscap-scan.init by oscap-scan.service, add a /usr/bin/oscap-scan
helper tool for this. (bsc#1083115)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=203
2018-03-05 12:41:14 +00:00
Dominique Leuenberger
7a541fe677 Accepting request 579041 from security
- disable scap-as-rpm binary to avoid python2 dependency. (bsc#1082135)

OBS-URL: https://build.opensuse.org/request/show/579041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=54
2018-02-23 14:29:34 +00:00
078a8851d4 - disable scap-as-rpm binary to avoid python2 dependency. (bsc#1082135)
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=201
2018-02-22 15:23:58 +00:00
67516938ac OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=200 2018-02-22 14:50:12 +00:00
0102e47e88 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=199 2018-02-22 13:59:55 +00:00
4812708f17 - disable scap-as-rpm binary to avoid python2 dependency.
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=198
2018-02-22 13:41:50 +00:00
8ac1ef8247 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=197 2018-02-22 13:41:34 +00:00
Dominique Leuenberger
2982f16f69 Accepting request 544846 from security
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) (forwarded request 544729 from RBrownSUSE)

OBS-URL: https://build.opensuse.org/request/show/544846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=53
2017-11-24 09:54:25 +00:00
05ea99b703 Accepting request 544729 from home:RBrownSUSE:branches:security
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544729
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=195
2017-11-23 14:58:40 +00:00
Dominique Leuenberger
be3414c095 Accepting request 544183 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/544183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=52
2017-11-22 10:22:13 +00:00
Dominique Leuenberger
9845139534 Accepting request 541803 from security
- openscap-1.2.16
  - New features
    - oscap can generate output that is compatible with STIG Viewer.
    - CVRF parsing and export has been implemented.
    - oscap info command has been expanded.
    - The AIX platform is supported.
    - Many documentation improvements.
    - Numerous other improvements of existing features.
  - Maintenance
    - Huge cross-platform improvements.
    - Memory leaks fixed (RHBZ#1485876).
    - SELinux fixes.
    - Many coverity fixes.
    - Numerous other bugfixes.
- buildrequire procps-devel

OBS-URL: https://build.opensuse.org/request/show/541803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=51
2017-11-15 16:00:37 +00:00
69d55966cf OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=192 2017-11-14 15:21:10 +00:00
fd2df3e5a6 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=191 2017-11-14 15:02:28 +00:00
99499cd1d3 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=190 2017-11-14 14:38:14 +00:00
128a9a554b - openscap-productid-cvrf.patch: add a --productid selector
for "oscap cvrf" as upstream does not detect the system yet.
  (might go away)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=189
2017-11-14 14:29:43 +00:00
f8d1dd749f - buildrequire procps-devel
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=188
2017-11-14 12:32:22 +00:00
3c4e03f325 - buildrequir procps-devel
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=187
2017-11-14 12:32:14 +00:00
eb2044117e OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=186 2017-11-14 12:29:40 +00:00
c298f4a117 - openscap-1.2.16
- New features
    - oscap can generate output that is compatible with STIG Viewer.
    - CVRF parsing and export has been implemented.
    - oscap info command has been expanded.
    - The AIX platform is supported.
    - Many documentation improvements.
    - Numerous other improvements of existing features.
  - Maintenance
    - Huge cross-platform improvements.
    - Memory leaks fixed (RHBZ#1485876).
    - SELinux fixes.
    - Many coverity fixes.
    - Numerous other bugfixes.

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=185
2017-11-14 12:15:40 +00:00
Dominique Leuenberger
7f3f508bf4 Accepting request 518767 from security
- openscap-1.2.15 / 25-08-2017
  - New features                                                                                                                                                                             
    - short profile names can be used instead of long IDs                                                                                                                                    
    - new option --rule allows to evaluate only a single rule                                                                                                                                
    - new option --fix-type in "oscap xccdf generate fix" allows choosing                                                                                                                    
      remediation script type without typing long URL                                                                                                                                        
    - "oscap info" shows profile titles                                                                                                                                                      
    - OVAL details in HTML report are easier to read                                                                                                                                         
    - HTML report is smaller because unselected rules are removed                                                                                                                            
    - HTML report supports NIST 800-171 and CJIS                                                                                                                                             
    - remediation scripts contain headers with useful information                                                                                                                            
    - remediation scripts report progress when they run                                                                                                                                      
    - basic support for Oracle Linux (CPEs, runlevels)                                                                                                                                       
    - remediation scripts can be generated from datastreams that contain                                                                                                                     
      multiple XCCDF benchmarks (issue #772)                                                                                                                                                 
    - basic support for OVAL 5.11.2 (only schemas, no features)                                                                                                                              
    - enabled offline RPM database in rpminfo probe (issue #778)                                                                                                                             
    - added Fedora 28 CPE                                                                                                                                                                    
  - Maintenance                                                                                                                                                                              
    - fixed oscap-docker with Docker >= 2.0 (issue #794)                                                                                                                                     
    - fixed behavior of sysctl probe to be consistent with sysctl tool                                                                                                                       
    - fixed generating remediation scripts (issue #723, #773)                                                                                                                                
    - severity of tailored rules is not discarded (issue #739)                                                                                                                               
    - fixed errors in RPM probes initialization                                                                                                                                              
    - oscap-docker shows all warnings reported by oscap (issue #713)                                                                                                                         
    - small improvements in verbose mode                                                                                                                                                     
    - standard C operations are used instead of custom OpenSCAP operations                                                                                                                   
    - fixed compiler warnings                                                                                                                                                                
    - fixed missing header files                                                                                                                                                             
    - fixed resource leaks (issue #715)

OBS-URL: https://build.opensuse.org/request/show/518767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=50
2017-08-28 13:16:32 +00:00
be41d8de13 - openscap-1.2.15 / 25-08-2017
- New features                                                                                                                                                                             
    - short profile names can be used instead of long IDs                                                                                                                                    
    - new option --rule allows to evaluate only a single rule                                                                                                                                
    - new option --fix-type in "oscap xccdf generate fix" allows choosing                                                                                                                    
      remediation script type without typing long URL                                                                                                                                        
    - "oscap info" shows profile titles                                                                                                                                                      
    - OVAL details in HTML report are easier to read                                                                                                                                         
    - HTML report is smaller because unselected rules are removed                                                                                                                            
    - HTML report supports NIST 800-171 and CJIS                                                                                                                                             
    - remediation scripts contain headers with useful information                                                                                                                            
    - remediation scripts report progress when they run                                                                                                                                      
    - basic support for Oracle Linux (CPEs, runlevels)                                                                                                                                       
    - remediation scripts can be generated from datastreams that contain                                                                                                                     
      multiple XCCDF benchmarks (issue #772)                                                                                                                                                 
    - basic support for OVAL 5.11.2 (only schemas, no features)                                                                                                                              
    - enabled offline RPM database in rpminfo probe (issue #778)                                                                                                                             
    - added Fedora 28 CPE                                                                                                                                                                    
  - Maintenance                                                                                                                                                                              
    - fixed oscap-docker with Docker >= 2.0 (issue #794)                                                                                                                                     
    - fixed behavior of sysctl probe to be consistent with sysctl tool                                                                                                                       
    - fixed generating remediation scripts (issue #723, #773)                                                                                                                                
    - severity of tailored rules is not discarded (issue #739)                                                                                                                               
    - fixed errors in RPM probes initialization                                                                                                                                              
    - oscap-docker shows all warnings reported by oscap (issue #713)                                                                                                                         
    - small improvements in verbose mode                                                                                                                                                     
    - standard C operations are used instead of custom OpenSCAP operations                                                                                                                   
    - fixed compiler warnings                                                                                                                                                                
    - fixed missing header files                                                                                                                                                             
    - fixed resource leaks (issue #715)

OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=183
2017-08-25 13:42:56 +00:00
Yuchen Lin
a814530fd4 Accepting request 486410 from security
- Remove line-trailing whitespace from last changelog entry.
- Rename %soname to %sover to better reflect its use.
- Replace unnecessary %__-type macro indirections.

- 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

OBS-URL: https://build.opensuse.org/request/show/486410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=49
2017-04-12 15:35:15 +00:00