pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/scripts genreadme: Skip printing fixed vulnerabilit...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0016a47ba873
branches: trunk
changeset: 447236:0016a47ba873
user: nia <nia%pkgsrc.org@localhost>
date: Thu Feb 18 10:39:50 2021 +0000
description:
genreadme: Skip printing fixed vulnerabilities to the html output
diffstat:
mk/scripts/genreadme.awk | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r 8b78a70c645c -r 0016a47ba873 mk/scripts/genreadme.awk
--- a/mk/scripts/genreadme.awk Thu Feb 18 10:34:30 2021 +0000
+++ b/mk/scripts/genreadme.awk Thu Feb 18 10:39:50 2021 +0000
@@ -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 @@
PKG_ADMIN, entry[1], pkgdir2name[toppkg]);
status_cmd | getline status
close(status_cmd)
- if (status == "open")
- status = "an <STRONG>OPEN</STRONG>";
- else
- status = "a " status;
+ if (status == "fixed")
+ continue
+ status = "a " status;
vul = sprintf("%s<LI>%s <a href=\"%s\">%s</a> vulnerability</LI>\n",
vul, status, entry[3], entry[2]);
}
Home |
Main Index |
Thread Index |
Old Index