mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- When showing vulnerability warning give an explanation that there
will not necessarily be an update. Give advice on how to skip the check. It is the user's choice afterall. With hat: portmgr Reported by: jhb
This commit is contained in:
parent
6014516d2c
commit
fa72655e3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355872
@ -3325,6 +3325,8 @@ check-vulnerable:
|
||||
${ECHO_MSG} "===> ${PKGNAME} has known vulnerabilities:"; \
|
||||
${ECHO_MSG} "$$vlist"; \
|
||||
${ECHO_MSG} "=> Please update your ports tree and try again."; \
|
||||
${ECHO_MSG} "=> Ports are marked vulnerable regardless of their being an update available."; \
|
||||
${ECHO_MSG} "=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'"; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user