ports/security/vuls/files/patch-subcmds_report__windows.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
492 B
Go

--- subcmds/report_windows.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/report_windows.go
@@ -107,7 +107,7 @@ func (p *ReportCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&config.Conf.NoProgress, "no-progress", false, "Suppress progress bar")
wd, _ := os.Getwd()
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
defaultResultsDir := filepath.Join(wd, "results")