git: 72458a2a824c - main - security/vuxml: Let vuln-flat.xml depend on all vuln xml files

Li-Wen Hsu lwhsu at FreeBSD.org
Thu Jul 1 07:34:15 UTC 2021


The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72458a2a824c29e3f5a1c07208522a9c49573235

commit 72458a2a824c29e3f5a1c07208522a9c49573235
Author:     Li-Wen Hsu <lwhsu at FreeBSD.org>
AuthorDate: 2021-07-01 07:30:09 +0000
Commit:     Li-Wen Hsu <lwhsu at FreeBSD.org>
CommitDate: 2021-07-01 07:30:09 +0000

    security/vuxml: Let vuln-flat.xml depend on all vuln xml files
    
    So it can get rebuilt when any of vuln xml file changed.
    
    Approved by:    ports-secteam (fluffy, implicitly)
---
 security/vuxml/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/vuxml/Makefile b/security/vuxml/Makefile
index 4bbc740bcdab..4732225cf974 100644
--- a/security/vuxml/Makefile
+++ b/security/vuxml/Makefile
@@ -56,8 +56,8 @@ do-test:
 	@${CP} ${.CURDIR}/vuln.xml ${WRKDIR}/test
 	@cd ${.CURDIR} && make validate PKGDIR=${WRKDIR}/test
 
-vuln-flat.xml: vuln.xml
-	xmllint -noent ${.ALLSRC} > ${.TARGET}
+vuln-flat.xml: vuln.xml vuln-20??.xml
+	xmllint -noent ${.ALLSRC:[1]} > ${.TARGET}
 
 validate: tidy
 	@${SH} ${FILESDIR}/validate.sh "${VUXML_FLAT_FILE}"


More information about the dev-commits-ports-main mailing list