forked from QXIP/stenographer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnfpm.yaml
66 lines (66 loc) · 1.41 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
# nfpm example config file
#
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
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"
empty_folders:
- /opt/stenographer
- /opt/stenographer/configs
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
- src: ./configs/*
dst: /opt/stenographer/configs
overrides:
rpm:
scripts:
# preinstall: ./scripts/preinstall.sh
postinstall: ./scripts/postinstall.sh
# postremove: ./scripts/postremove.sh
deb:
scripts:
postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh