Date: Sun, 5 Jan 2014 01:16:34 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338729 - head/Mk Message-ID: <201401050116.s051GY7v002351@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Jan 5 01:16:34 2014 New Revision: 338729 URL: http://svnweb.freebsd.org/changeset/ports/338729 Log: Reinvokes portaudit a second time in case a problem has been reported. So if a refetch (or another temporary problem) caused the error it will succeed on a second attempt, while a correctly detected vulnerability will be detected a second time. PR: ports/168479 Submitted by: Michael Gmelin <freebsd@grem.de> Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Sun Jan 5 01:06:11 2014 (r338728) +++ head/Mk/bsd.port.mk Sun Jan 5 01:16:34 2014 (r338729) @@ -3338,6 +3338,11 @@ check-vulnerable: vlist=`${LOCALBASE}/sbin/portaudit -X 14 "${PKGNAME}" \ 2>&1 | grep -vE '^[0-9]+ problem\(s\) found.' \ || true`; \ + if [ -n "$$vlist" ]; then \ + vlist=`${LOCALBASE}/sbin/portaudit -X 14 "${PKGNAME}" \ + 2>&1 | grep -vE '^[0-9]+ problem\(s\) found.' \ + || true`; \ + fi ; \ else \ ${ECHO_MSG} "===> portaudit database exists, however, portaudit is not installed!"; \ fi; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401050116.s051GY7v002351>