Files
ports/security/vuls/files/patch-subcmds_tui.go
Palle Girgensohn d166de2cfd security/vuls: Upgrade to 0.24.3
Update and take maintainership due to maintainer timeout. [1]

Add an optional service rc.d script to run a server that collects
results sent from multiple vuls client nodes.

A periodic script is also provided to create fresh daily reports.

PR:	259948 [1] Maintainer timeout
2024-02-25 00:37:44 +01:00

12 lines
511 B
Go

--- subcmds/tui.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/tui.go
@@ -72,7 +72,7 @@ func (p *TuiCmd) SetFlags(f *flag.FlagSet) {
defaultResultsDir := filepath.Join(wd, "results")
f.StringVar(&config.Conf.ResultsDir, "results-dir", defaultResultsDir, "/path/to/results")
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
f.BoolVar(&config.Conf.RefreshCve, "refresh-cve", false,