From nobody Mon Feb 26 15:55:37 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tk4vs6cqmz5Bfqt; Mon, 26 Feb 2024 15:55:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tk4vs68yrz4Mc7; Mon, 26 Feb 2024 15:55:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708962937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pyY2tS/7uq/aHwJT9XksFifNemrIfFcak/2l8lf1uHs=; b=m46F3maS0aSmP00euJYQat6Q6gCevsZ2J9rC5g3f/HHtmuqkCq/IZjVEyyc04s3i9KIakt 2OSnKl452S26dBT6ZfHnMdxewhURm2sbNLFMQvYQwjrNWN447h3OY7y7O7KO3YSTmDBxCb 7u3GxwcUUTHERAODtSJn0dR4tyOLR+pIa+2TlNoXufTnP5qu39mZEtqLuwSuZkATX1tcRl MpCWgm7Pmi8ABZAI1hCNzJeQdeoYbhg1sRd0KQvnXCiWcVIFMEPTFiGCAp4X++bsfE6WKC gCAxEDKZGLpxEI2dN4Xve9un7y2HwdwnHcXyAEE8heUgeAgEY4Otk7A4MJVxuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708962937; a=rsa-sha256; cv=none; b=TchXHPzZCVt/yE7XaTsnIELfFEvL6viP0TkAzy1oAkivyI+laCbFRDzX6bYryhXLmdoXHe 0K4ajk5TRQjIhWpkC2G2QTAt6RglgiE/rbZpvVlU3FtjxiRDttBC7JtGLvYv7X7grxiQ18 r6GHlpApiwAfxVuXIucIZWloHOff3/kEFW5rOd3F51PxiCWeGCDBsHCFVb9EL9ZbTZXrVv AuGcSUYbHaQW6m2I0x4clKlrCK9G3M+EufzcotP6YyY4b5q1YTdqdQwRaptP8pzOlnKBnL xdQxiBThkbgFXZKE9vqaVGAr37KrheyK10ICJrIe0nN+3Pq0sVouwYnTtFrThQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708962937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pyY2tS/7uq/aHwJT9XksFifNemrIfFcak/2l8lf1uHs=; b=rJMhyjKxVopI3BRIRp36/HshbIHLvGt69nA3N6dGi8jY6vJL8564Wd9vqQEEYvV/q7AM5g bxWYZ9ywdnC1SqURVTDYsQq1D1E90ferwEUfzGjdkvd5yTBHYNnYK7+gbMLBfL8Iffmtda 6G5/CW9j3tX+ITL9qUpGbohraye8pps98Utkulu8tbmQ8IGwtYQmdMDN7xdaowrP3x6XgU fMZ+diePUoqx5HzQkkgCAVNz0wxpD6FVTuEXiTMHTqqMdFZNTH6HdmbjYLYTK3Nq1a5pJj s9W8nR2lolSLKO0VzzxAq/AMQGeiRdxoGzrfD4sZTDIEbzPbcEt7Lgz7kZl+3w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tk4vs56hgzZVk; Mon, 26 Feb 2024 15:55:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41QFtbOf055730; Mon, 26 Feb 2024 15:55:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41QFtbTw055727; Mon, 26 Feb 2024 15:55:37 GMT (envelope-from git) Date: Mon, 26 Feb 2024 15:55:37 GMT Message-Id: <202402261555.41QFtbTw055727@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Palle Girgensohn Subject: git: 0999e8ee5e62 - main - security/go-cve-dictionary: fix bugs in the periodic script List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: girgen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0999e8ee5e623d87cf3ef9d31000437d7f175f17 Auto-Submitted: auto-generated The branch main has been updated by girgen: URL: https://cgit.FreeBSD.org/ports/commit/?id=0999e8ee5e623d87cf3ef9d31000437d7f175f17 commit 0999e8ee5e623d87cf3ef9d31000437d7f175f17 Author: Palle Girgensohn AuthorDate: 2024-02-26 15:52:03 +0000 Commit: Palle Girgensohn 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