Files
ports/security/vuls/files/patch-subcmds_scan.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
467 B
Go

--- subcmds/scan.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/scan.go
@@ -61,7 +61,7 @@ func (p *ScanCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&config.Conf.Quiet, "quiet", false, "Quiet mode. No output on stdout")
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")