C++ CMake Shell
Clone or download
matejak Merge pull request #184 from redhatrises/osx_builds
Add TRAVIS CI for OSX DMG BUILDS
Latest commit bcf7e9b Jul 3, 2018
Permalink
Failed to load latest commit information.
build Add build directory Jul 2, 2018
cmake Enable High DPI mode in MacOSX builds Dec 20, 2016
doc Fix id reuse in user documentation Jun 7, 2018
include Fix style nitpicks with whitespace Jun 12, 2018
man fix manpage hyphen used as minus sign Jun 28, 2015
share Converted collapsed and expanded arrows to grayscale Jan 29, 2015
src Fix style nitpicks with whitespace Jun 12, 2018
ui Added possibility to clear diagnostics dialog. Jan 5, 2018
.gitignore Added doc/user_manual.html to gitignore Nov 28, 2013
.travis.yml Add TRAVIS CI for OSX DMG BUILDS Jul 2, 2018
AppIcon.icns Build .app on MacOSX, set metadata correctly, include icon Mar 19, 2015
AppIcon.ico Fixed paths on Windows, added icon and resource file, added post buil… Mar 23, 2015
CMakeLists.txt Update scap-workbench WiX configuration Jun 27, 2018
COPYING Added asciidoctor stylesheet and cmake license info to COPYING Jun 17, 2016
README.md Add openssh-askpass as a required dependency Jun 6, 2018
banner.png Update scap-workbench WiX configuration Jun 27, 2018
build-for-osx.sh Even more fixes to build-for-osx.sh, disable save as RPM Jul 6, 2016
dialog.png Update scap-workbench WiX configuration Jun 27, 2018
osx-create-dmg.sh.in Set location of COPYING in the OSX dmg archive to bottom right Mar 24, 2015
osx-dmg-background.png Added a script that creates a .dmg image for OSX Mar 20, 2015
runwrapper.sh.in Use OSX ssh-askpass in runwrapper.sh if we are on MacOS X Mar 17, 2015
scap-workbench-oscap.policy.in Added a note to the pkexec action to make it clear that user can clic… Jan 30, 2014
scap-workbench-oscap.sh Fixes Cancel process Jun 10, 2017
scap-workbench-osx-ssh-askpass.sh Bundle an OSX only ssh askpass script Mar 17, 2015
scap-workbench-pkexec-oscap.sh bash: fix quotes Aug 17, 2015
scap-workbench-rpm-extract.sh bash: fix quotes Aug 17, 2015
scap-workbench.appdata.xml Updates appdata screenshots Jun 12, 2017
scap-workbench.desktop Removed Keywords from the .desktop file Sep 19, 2014
scap-workbench.wxs.in Update scap-workbench WiX configuration Jun 27, 2018
win32-LICENSE.rtf WiX toolset installer source and related changes Mar 23, 2015
win32-resource.rc.in Fixed paths on Windows, added icon and resource file, added post buil… Mar 23, 2015

README.md

SCAP Workbench

A GUI tool that provides scanning, tailoring and validation functionality for SCAP content

About

SCAP Workbench is a GUI tool that provides scanning, tailoring and validation functionality for SCAP content. It uses openscap library to access SCAP functionalities.

Homepage of the project is https://www.open-scap.org/tools/scap-workbench/

How to run it out of the box

  1. Make sure you have installed all prerequisites

required dependencies:

# yum install cmake gcc-c++ openssh-clients util-linux openscap-devel qt-devel openssh-askpass

required dependencies (only for the git repo, not required for released tarballs):

# yum install rubygem-asciidoctor

optional dependencies:

# yum install polkit
  1. Build SCAP Workbench:
$ mkdir build; cd build
$ # This export line is only required if openscap was compiled locally;
$ # add to PKG_CONFIG_PATH the directory containing installed libopenscap.pc
$ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/PATH/TO/DIR/WITH/.pcFILE/"
$ cmake ../
$ make
  1. Install SCAP Workbench: (optional)

(inside the build folder):

# make install

4a) Run SCAP Workbench: (if it was installed)

spawning open file dialog:

$ scap-workbench

with an XCCDF file to load:

$ scap-workbench /path/to/xccdf-file.xml

with a source datastream (SDS) to load:

$ scap-workbench /path/to/sds-file

4b) Run SCAP Workbench: (straight from build dir, without installation)

$ cd build/
$ bash runwrapper.sh ./scap-workbench

What now?

You should have a built SCAP Workbench executable by now. Please refer to the user manual for documentation on how to use it.

There are 3 ways to get the user manual:

  • Click Help -> User Manual in the application
  • Open /usr/share/doc/scap-workbench/user_manual.html (installed system-wide) or doc/user_manual.html (from the tarball) in your browser
  • Open or download user manual from the website

How to make a tarball

$ mkdir build; cd build
$ cmake ../
$ make package_source