svn commit: r368960 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Mon Sep 22 15:22:59 UTC 2014


Author: bdrewery
Date: Mon Sep 22 15:22:58 2014
New Revision: 368960
URL: http://svnweb.freebsd.org/changeset/ports/368960
QAT: https://qat.redports.org/buildarchive/r368960/

Log:
  - Fix check-vulerable exiting without printing message since pkg-1.3.4 fixed
    'pkg audit' to return non-zero.
  
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Sep 22 15:15:27 2014	(r368959)
+++ head/Mk/bsd.port.mk	Mon Sep 22 15:22:58 2014	(r368960)
@@ -3141,7 +3141,7 @@ check-vulnerable:
 .if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING)
 	@if [ -f "${AUDITFILE}" ]; then \
 		if [ -x "${PKG_BIN}" ]; then \
-			vlist=`${PKG_BIN} audit "${PKGNAME}"`; \
+			vlist=`${PKG_BIN} audit "${PKGNAME}" || :`; \
 			if [ "$${vlist}" = "0 problem(s) in the installed packages found." ]; then \
 				vlist=""; \
 			fi; \


More information about the svn-ports-head mailing list