summaryrefslogtreecommitdiff
path: root/mk/check/check-vulnerable.mk
blob: 6bb3e096df514edf6ecd5acf64d4a6c9750d81a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: check-vulnerable.mk,v 1.3 2006/07/05 09:08:35 jlam Exp $

###########################################################################
### check-vulnerable (PRIVATE, override)
###########################################################################
### check-vulnerable checks for vulnerabilities in the package.  This
### should be overridden per package system flavor.
#
.PHONY: check-vulnerable
.if !target(check-vulnerable)
check-vulnerable:
.  if defined(ALLOW_VULNERABLE_PACKAGES)
	@${DO_NADA}
.  else
	@${PHASE_MSG} "Skipping vulnerability checks."
.  endif
.endif