ports/security/go-cve-dictionary/files/pkg-message.in
2019-08-14 12:16:12 +00:00

23 lines
492 B
Text

[
{ 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
}
]