summaryrefslogtreecommitdiff
path: root/security/go-cve-dictionary/files/pkg-message.in
blob: d18c3ff39247328c5999f54a76f8e1abc399b962 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[
{ type: install
  message: <<EOM
Congratulations, you have installed %%PORTNAME%%!

%%PORTNAME%% does not ship any CVE database.
To download CVEs from 2002 until present run:

for i in `seq 2002 $(date +"%Y")`; \
    do %%PORTNAME%% fetchnvd -years $i; \
    done

After download, set the permissions of the CVE databases:

chown %%USERS%%:%%GROUPS%% /var/db/vuls/* /var/log/vuls/*

To enable %%PORTNAME%% and start:

sysrc go_cve_dictionary_enable="YES"
service %%PORTNAME%% start
EOM
}
]