Received: by mail.netbsd.org (Postfix, from userid 605) id A8E7984D41; Thu, 18 Feb 2021 10:39:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E2DAE84D14 for ; Thu, 18 Feb 2021 10:39:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id ra3OHDpwdffE for ; Thu, 18 Feb 2021 10:39:50 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 427BF84CE7 for ; Thu, 18 Feb 2021 10:39:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3BCC4FA95; Thu, 18 Feb 2021 10:39:50 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1613644790160440" MIME-Version: 1.0 Date: Thu, 18 Feb 2021 10:39:50 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/mk/scripts To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20210218103950.3BCC4FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1613644790160440 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Thu Feb 18 10:39:50 UTC 2021 Modified Files: pkgsrc/mk/scripts: genreadme.awk Log Message: genreadme: Skip printing fixed vulnerabilities to the html output To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 pkgsrc/mk/scripts/genreadme.awk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1613644790160440 Content-Disposition: inline Content-Length: 979 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/scripts/genreadme.awk diff -u pkgsrc/mk/scripts/genreadme.awk:1.39 pkgsrc/mk/scripts/genreadme.awk:1.40 --- pkgsrc/mk/scripts/genreadme.awk:1.39 Sun May 10 07:48:10 2020 +++ pkgsrc/mk/scripts/genreadme.awk Thu Feb 18 10:39:50 2021 @@ -1,5 +1,5 @@ #!/usr/bin/awk -f -# $NetBSD: genreadme.awk,v 1.39 2020/05/10 07:48:10 rillig Exp $ +# $NetBSD: genreadme.awk,v 1.40 2021/02/18 10:39:50 nia Exp $ # # Copyright (c) 2002, 2003, 2005, 2006, 2015 The NetBSD Foundation, Inc. # All rights reserved. @@ -349,10 +349,9 @@ END { PKG_ADMIN, entry[1], pkgdir2name[toppkg]); status_cmd | getline status close(status_cmd) - if (status == "open") - status = "an OPEN"; - else - status = "a " status; + if (status == "fixed") + continue + status = "a " status; vul = sprintf("%s
  • %s %s vulnerability
  • \n", vul, status, entry[3], entry[2]); } --_----------=_1613644790160440--