Date: Mon, 26 Feb 2024 15:55:37 GMT From: Palle Girgensohn <girgen@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0999e8ee5e62 - main - security/go-cve-dictionary: fix bugs in the periodic script Message-ID: <202402261555.41QFtbTw055727@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by girgen: URL: https://cgit.FreeBSD.org/ports/commit/?id=0999e8ee5e623d87cf3ef9d31000437d7f175f17 commit 0999e8ee5e623d87cf3ef9d31000437d7f175f17 Author: Palle Girgensohn <girgen@FreeBSD.org> AuthorDate: 2024-02-26 15:52:03 +0000 Commit: Palle Girgensohn <girgen@FreeBSD.org> CommitDate: 2024-02-26 15:54:38 +0000 security/go-cve-dictionary: fix bugs in the periodic script --- security/go-cve-dictionary/Makefile | 1 + security/go-cve-dictionary/files/periodic-go-cve-dictionary.in | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/security/go-cve-dictionary/Makefile b/security/go-cve-dictionary/Makefile index ebbaceacdab9..07ccc2e0a3f3 100644 --- a/security/go-cve-dictionary/Makefile +++ b/security/go-cve-dictionary/Makefile @@ -1,6 +1,7 @@ PORTNAME= go-cve-dictionary DISTVERSIONPREFIX=v DISTVERSION= 0.10.1 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= girgen@FreeBSD.org diff --git a/security/go-cve-dictionary/files/periodic-go-cve-dictionary.in b/security/go-cve-dictionary/files/periodic-go-cve-dictionary.in index 4d7a71aad4fc..5e0db97d15fd 100644 --- a/security/go-cve-dictionary/files/periodic-go-cve-dictionary.in +++ b/security/go-cve-dictionary/files/periodic-go-cve-dictionary.in @@ -25,10 +25,10 @@ fi # You can add arguments per database, for example # daily_go_cve_dictionary_nvd_args="2020 2021 2022 2023 2024" -case "${daily_go_cve_dictionary_databases}" in +case "${daily_go_cve_dictionary_enable}" in [Yy][Ee][Ss]) - for db in ${go_cve_dictionary_databases}; do - eval args="\${go_cve_dictionary_${db}_args}" + for db in ${daily_go_cve_dictionary_databases}; do + eval args="\${daily_go_cve_dictionary_${db}_args}" su -fm %%USERS%% \ -c "/usr/bin/env HOME=/var/db/vuls %%PREFIX%%/bin/go-cve-dictionary fetch ${db} ${args}" \ >> /var/log/vuls/go-cve-dictionary-updates.log 2>&1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402261555.41QFtbTw055727>