mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 18:06:27 -04:00
23 lines
492 B
Text
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
|
|
}
|
|
]
|