Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174551770
D57539.id179987.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
805 B
Referenced Files
None
Subscribers
None
D57539.id179987.diff
View Options
diff --git a/security/vuxml/Makefile b/security/vuxml/Makefile
--- a/security/vuxml/Makefile
+++ b/security/vuxml/Makefile
@@ -82,6 +82,17 @@
${ECHO_CMD} Consider using ${VUXML_FILE}.unexpanded for final commit; \
return 1; \
fi
+ @${ECHO_MSG} Checking CVE IDs...
+ @(NON_CANONICAL_CVE="`cd ${.CURDIR} && ${GREP} -Fn '<cvename>' vuln/*.xml | ${EGREP} -v '(CAN|CVE)-'`"; \
+ if [ -z "$${NON_CANONICAL_CVE}" ]; \
+ then \
+ ${ECHO_MSG} ... seems okay; \
+ else \
+ ${ECHO_MSG} Only CVE IDs are allowed within cvename tags. These lines are wrong:; \
+ printf "%s\n" $${NON_CANONICAL_CVE}; \
+ return 1; \
+ fi)
+
${PYTHON_CMD} ${FILESDIR}/extra-validation.py ${VUXML_FLAT_FILE}
@${ECHO_CMD}
@${ECHO_CMD} 'Be sure to get versioning right for PORTEPOCH and remember possible linux-* ports!'
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 5, 2:54 AM (2 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40181469
Default Alt Text
D57539.id179987.diff (805 B)
Attached To
Mode
D57539: security/vuxml: refuse non CVE vuln IDs in validate target
Attached
Detach File
Event Timeline
Log In to Comment