Date: Wed, 23 Jun 2021 18:22:03 GMT From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 21c57a3d9854 - main - security/vuxml: Fix `make validate` to use the latest vuxml file Message-ID: <202106231822.15NIM3bl020440@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=21c57a3d9854730f915fe2a45f4e0e5b66e99c94 commit 21c57a3d9854730f915fe2a45f4e0e5b66e99c94 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2021-06-23 18:21:56 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2021-06-23 18:21:56 +0000 security/vuxml: Fix `make validate` to use the latest vuxml file This is a follow up for 6954792fe916862afd25cf6ce961bd7062dfb21f Approved by: ports-secteam (fluffy) --- security/vuxml/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/security/vuxml/Makefile b/security/vuxml/Makefile index c844f64d7ee1..4bbc740bcdab 100644 --- a/security/vuxml/Makefile +++ b/security/vuxml/Makefile @@ -31,6 +31,8 @@ dir_DTD= share/xml/dtd/vuxml VUXML_FILE?= ${PKGDIR}/vuln.xml VUXML_FLAT_FILE?= ${PKGDIR}/vuln-flat.xml +_YEAR!= date +%Y +VUXML_CURRENT_FILE?= ${PKGDIR}/vuln-${_YEAR}.xml post-clean: @${RM} "${VUXML_FILE}.tidy" @@ -89,7 +91,7 @@ tidy: vuln-flat.xml ${SH} ${FILESDIR}/tidy.sh "${FILESDIR}/tidy.xsl" "${VUXML_FLAT_FILE}" > "${VUXML_FILE}.tidy" newentry: - @${SH} ${FILESDIR}/newentry.sh "${VUXML_FILE}" + @${SH} ${FILESDIR}/newentry.sh "${VUXML_CURRENT_FILE}" .include <bsd.port.pre.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106231822.15NIM3bl020440>