ports/security/vuls/files/patch-subcmds_tui.go
Rainer Hurling de7c95c2ca security/vuls: Update to 0.9.0
This patch updates from v0.6.1 to only v0.9.0 [1] for
a smooth upgrade experience. The next one will update
from 0.9.0 to 0.13.7 [2].

[1] https://github.com/future-architect/vuls/releases/tag/v0.9.0
[2] https://github.com/future-architect/vuls/releases

PR:		251654
Submitted by:	Alexandru Ciobanu <iscandr@gmail.com> (maintainer)
Approved by:	tcberner (mentor)
2020-12-08 11:26:57 +00:00

11 lines
527 B
Go

--- subcmds/tui.go.orig 2020-12-04 00:20:42 UTC
+++ subcmds/tui.go
@@ -111,7 +111,7 @@ func (p *TuiCmd) SetFlags(f *flag.FlagSet) {
f.StringVar(&p.cveDict.Type, "cvedb-type", "",
"DB type of go-cve-dictionary (sqlite3, mysql, postgres or redis)")
- f.StringVar(&p.cveDict.SQLite3Path, "cvedb-path", "", "/path/to/sqlite3")
+ f.StringVar(&p.cveDict.SQLite3Path, "cvedb-path", "", "/var/db/vuls/cve.sqlite3")
f.StringVar(&p.cveDict.URL, "cvedb-url", "",
"http://go-cve-dictionary.com:1323 or DB connection string")