Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2023 10:58:58 GMT
From:      Fernando =?utf-8?Q?Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 07217e578b9c - main - security/vuxml: Fix make newentry CVE_ID
Message-ID:  <202309271058.38RAwwt7025250@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=07217e578b9cc450f63caa2ed5cc3b8325999a8b

commit 07217e578b9cc450f63caa2ed5cc3b8325999a8b
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2023-09-27 10:53:55 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2023-09-27 10:58:42 +0000

    security/vuxml: Fix make newentry CVE_ID
    
    Fix description body, broken when introducing SA_ID
    
    Fixes:  e90a0b117fdc61d6d6bc4b02a4b7b5be5a878b2d
---
 security/vuxml/files/newentry.sh | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/security/vuxml/files/newentry.sh b/security/vuxml/files/newentry.sh
index 58b2d874ec7e..fc51fca10d64 100644
--- a/security/vuxml/files/newentry.sh
+++ b/security/vuxml/files/newentry.sh
@@ -60,12 +60,7 @@ topic=""
 source="SO-AND-SO"
 upstream_fix=""
 impact=""
-DESC_BODY="<body xmlns=\"http://www.w3.org/1999/xhtml\">;
-	<p>${source} reports:</p>
-	<blockquote cite=\"${references}\">
-	  <p>${details}</p>
-	</blockquote>
-	</body>"
+DESC_BODY=""
 
 
 # Try to retrieve information if a CVE identifier was provided
@@ -99,6 +94,13 @@ if [ -n "${CVE_ID}" ]; then
 	references=$(jq -r "${pref}.url|@html" "${tmp_nvd}" | tr " " "\n") || exit 1
 	source=$(jq -r "${pref}.source|@html" "${tmp_nvd}" | tr " " "\n") || exit 1
 	topic=$(jq -r ".containers.cna.title|@html" "${tmp_mitre}" ) || exit 1
+
+DESC_BODY="<body xmlns=\"http://www.w3.org/1999/xhtml\">;
+	<p>${source} reports:</p>
+	<blockquote cite=\"${references}\">
+	  <p>${details}</p>
+	</blockquote>
+	</body>"
 fi
 
 if [ -n "${SA_ID}" ]; then



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309271058.38RAwwt7025250>