Debian Codegraph @

utils/scap-as-rpm.8

raw
1 .TH scap-as-rpm "8" "November 2013" "scap-as-rpm" "System Administration Utilities"
2 .SH NAME
3 scap-as-rpm \- takes given SCAP input(s) and packs them in an RPM package
4 .SH DESCRIPTION
5 usage: scap\-as\-rpm [\-h] [\-\-pkg\-name PKG_NAME] [\-\-pkg\-version PKG_VERSION]
6 .IP
7 [\-\-pkg\-release PKG_RELEASE] [\-\-pkg\-summary PKG_SUMMARY]
8 [\-\-pkg\-license PKG_LICENSE]
9 [\-\-pkg\-scap\-location PKG_SCAP_LOCATION]
10 [\-\-rpm\-destination RPM_DESTINATION]
11 [\-\-srpm\-destination SRPM_DESTINATION]
12 FILE [FILE ...]
13 .PP
14 Takes given SCAP input(s) and makes an RPM package that contains them. The
15 result RPM can be installed using # yum install ./package\-name\-1\-1.rpm which
16 will put the contents into \fI/usr/share/xml/scap\fP. No dependency on OpenSCAP
17 is enforced in the output package, so you can use any SCAP\-capable scanner to
18 evaluate the content.
19 .SS "positional arguments:"
20 .TP
21 FILE
22 List of files that should be put into the result
23 package. These should be SCAP XML files but such
24 requirement is not enforced.
25 .SS "optional arguments:"
26 .TP
27 \fB\-h\fR, \fB\-\-help\fR
28 Show this help message and exit.
29 .TP
30 \fB\-\-pkg\-name\fR PKG_NAME
31 Name of the RPM package, if none is provided, the
32 basename of the first SCAP input is used. Ex.: xyzsecurity\-guide
33 .TP
34 \fB\-\-pkg\-version\fR PKG_VERSION
35 .TP
36 \fB\-\-pkg\-release\fR PKG_RELEASE
37 .TP
38 \fB\-\-pkg\-summary\fR PKG_SUMMARY
39 Optional short description of the package.
40 .TP
41 \fB\-\-pkg\-license\fR PKG_LICENSE
42 Short name of the license that you want to publish the
43 package under. Ex.: GPLv2+, BSD, ...
44 .TP
45 \fB\-\-pkg\-scap\-location\fR PKG_SCAP_LOCATION
46 Folder where SCAP files are supposed to be installed.
47 Each package will have its own folder inside this
48 folder. RPM variables can be used and will be expanded
49 as usual. It is recommended to keep the default
50 settings.
51 .TP
52 \fB\-\-rpm\-destination\fR RPM_DESTINATION
53 The folder (absolute or relative to CWD) where the
54 result RPM shall be saved.
55 .TP
56 \fB\-\-srpm\-destination\fR SRPM_DESTINATION
57 The folder (absolute or relative to CWD) where the
58 result SRPM shall be saved.