1scap-as-rpm(8) System Administration Utilities scap-as-rpm(8)
2
3
4
6 scap-as-rpm - takes given SCAP input(s) and packs them in an RPM pack‐
7 age
8
10 usage: scap-as-rpm [-h] [--pkg-name PKG_NAME] [--pkg-version PKG_VER‐
11 SION]
12
13 [--pkg-release PKG_RELEASE] [--pkg-summary PKG_SUMMARY]
14 [--pkg-license PKG_LICENSE] [--pkg-scap-location PKG_SCAP_LOCA‐
15 TION] [--rpm-destination RPM_DESTINATION] [--srpm-destination
16 SRPM_DESTINATION] FILE [FILE ...]
17
18 Takes given SCAP input(s) and makes an RPM package that contains them.
19 The result RPM can be installed using # yum install ./pack‐
20 age-name-1-1.rpm which will put the contents into /usr/share/xml/scap.
21 No dependency on OpenSCAP is enforced in the output package, so you can
22 use any SCAP-capable scanner to evaluate the content.
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
34 the 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)