svn commit: r355872 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Fri May 30 16:40:34 UTC 2014


Author: bdrewery
Date: Fri May 30 16:40:33 2014
New Revision: 355872
URL: http://svnweb.freebsd.org/changeset/ports/355872
QAT: https://qat.redports.org/buildarchive/r355872/

Log:
  - 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

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Fri May 30 16:37:57 2014	(r355871)
+++ head/Mk/bsd.port.mk	Fri May 30 16:40:33 2014	(r355872)
@@ -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


More information about the svn-ports-all mailing list