summaryrefslogtreecommitdiff
path: root/src/sec-updater/sec-updater.8.in
blob: f17198f56e28aa791a59c46fe2b5c44534cf1b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.TH SEC-UPDATER 8 "2017-08-25" "@PACKAGE_VERSION@" "strongSwan"
.
.SH "NAME"
.
sec-updater \- Extracts security update information of Linux distributions
.
.SH "SYNOPSIS"
.
.SY "sec-updater"
.OP \-\-debug level
.OP \-\-quiet
.OP \-\-security
.BI \-\-os " string"
.BI \-\-arch " string"
.BI \-\-uri " uri"
.BI \-\-file " filename"
.YS
.
.SY "sec-updater"
.B \-h
|
.B \-\-help
.YS
.
.SH "DESCRIPTION"
.
.B sec-updater
extracts information about security updates and backports of Linux repositories
(e.g. Debian or Ubuntu). This information is used to update the package version
information stored in the strongTNC SQLite database. The "dbkg --compare-versions"
command is used to determine which package versions are affected by a given
security update.
.
.SH "OPTIONS"
.
.TP
.B "\-h, \-\-help"
Prints usage information and a short summary of the available commands.
.TP
.BI "\-v, \-\-debug " level
Set debug level, default: 1.
.TP
.B "\-q, \-\-quiet"
Disable debug output to stderr.
.TP
.B "\-s, \-\-security"
Set when parsing a distributions file with security updates.
.TP
.BI "\-o, \-\-os " string
Name of operating system (OS). eg. "Ubuntu 16.04".
.TP
.BI "\-o, \-\-arch " string
Name of HW architecture. eg. "x86_64".
.TP
.BI "\-o, \-\-uri " uri
URI where to download deb package from.
.TP
.BI "\-f, \-\-file " filename
Linux package information file to parse.
.
.SH "CONFIGURATION"
.
The following parameters can be configured in strongswan.conf:
.P
 sec-updater {
   database = sqlite:///etc/pts/config.db
   swid_gen {
       command = /usr/local/bin/swid_generator
       tag_creator {
          name = strongSwan Project
          regid = strongswan.org
       }
    }
    tnc_manage_command = /var/www/tnc/manage.py
    tmp {
       deb_file = /tmp/sec-updater.deb
       tag_file = /tmp/sec-updater.tag
    }
 }
.
.SH "SEE ALSO"
.
.BR strongswan.conf (5)