1scap-as-rpm(8)          System Administration Utilities         scap-as-rpm(8)
2
3
4

NAME

6       scap-as-rpm - manual page for scap-as-rpm
7

DESCRIPTION

9       usage:  scap-as-rpm  [-h] [--pkg-name PKG_NAME] [--pkg-version PKG_VER‐
10       SION]
11
12              [--pkg-release    PKG_RELEASE]    [--pkg-summary    PKG_SUMMARY]
13              [--pkg-license  PKG_LICENSE] [--pkg-scap-location PKG_SCAP_LOCA‐
14              TION]  [--rpm-destination  RPM_DESTINATION]  [--srpm-destination
15              SRPM_DESTINATION] FILE [FILE ...]
16
17       Takes  given SCAP input(s) and makes an RPM package that contains them.
18       The  result  RPM  can  be  installed  using  #  yum   install   ./pack‐
19       age-name-1-1.rpm  which will put the contents into /usr/share/xml/scap.
20       No dependency on openscap or scapworkbench is enforced  in  the  output
21       package  so  you  can use any SCAP-capable scanner to evaluate the con‐
22       tent.
23
24   positional arguments:
25       FILE   List of files that should be put into the result package.  These
26              should be SCAP XML files but such requirement is not enforced.
27
28   optional arguments:
29       -h, --help
30              show this help message and exit
31
32       --pkg-name PKG_NAME
33              Name of the RPM package, if none is provided the basename of the
34              first SCAP input is used. Ex.: xyzsecurity-guide
35
36       --pkg-version PKG_VERSION
37
38       --pkg-release PKG_RELEASE
39
40       --pkg-summary PKG_SUMMARY
41              Optional short description of the package.
42
43       --pkg-license PKG_LICENSE
44              Short name of the license that you want to publish  the  package
45              under. Ex.: GPLv2+, BSD, ...
46
47       --pkg-scap-location PKG_SCAP_LOCATION
48              Folder  where  SCAP  files  are  supposed to be installed.  Each
49              package will have its own folder inside this folder.  RPM  vari‐
50              ables  can  be  used and will be expanded as usual. It is recom‐
51              mended to keep the default settings.
52
53       --rpm-destination RPM_DESTINATION
54              The folder (absolute or relative to CWD) where  the  result  RPM
55              shall be saved.
56
57       --srpm-destination SRPM_DESTINATION
58              The  folder  (absolute or relative to CWD) where the result SRPM
59              shall be saved.
60
61
62
63scap-as-rpm                      November 2013                  scap-as-rpm(8)
Impressum