forked from google/stenographer
-
Notifications
You must be signed in to change notification settings - Fork 3
/
nfpm.yaml
71 lines (62 loc) · 1.34 KB
/
nfpm.yaml
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
name: "stenographer"
arch: "amd64"
platform: "linux"
version: "v1.0.1"
section: "default"
priority: "extra"
replaces:
- stenographer
provides:
- stenographer
recommends:
- tcpdump
- jq
suggests:
- tshark
maintainer: "QXIP BV <[email protected]>"
description: |
Stenographer is a full-packet-capture utility for buffering packets
to disk for intrusion detection and incident response purposes.
vendor: "qxip"
homepage: "http://github.com/qxip/stenographer"
license: "Apache2"
# Updated contents block using new format
contents:
- src: ./stenocurl
dst: /usr/bin/stenocurl
file_info:
mode: 0755
- src: ./stenoread
dst: /usr/bin/stenoread
file_info:
mode: 0755
- src: ./stenokeys.sh
dst: /opt/stenographer/stenokeys.sh
file_info:
mode: 0755
- src: ./stenographer
dst: /usr/bin/stenographer
file_info:
mode: 0700
owner: stenographer
group: root
- src: ./stenotype/stenotype
dst: /usr/bin/stenotype
file_info:
mode: 0500
owner: stenographer
group: root
# Config files
- dst: /opt/stenographer
type: dir
- dst: /opt/stenographer/configs
type: dir
- src: ./configs/*
dst: /opt/stenographer/configs/
overrides:
rpm:
scripts:
postinstall: ./scripts/postinstall.sh
deb:
scripts:
postinstall: ./scripts/postinstall.sh