mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
23 lines
540 B
Makefile
23 lines
540 B
Makefile
# $NetBSD: check-vulnerable.mk,v 1.5 2011/10/15 00:23:08 reed Exp $
|
|
#
|
|
# Public targets:
|
|
#
|
|
# check-vulnerable:
|
|
# Checks for vulnerabilities in the package.
|
|
#
|
|
|
|
.if defined(ALLOW_VULNERABLE_PACKAGES)
|
|
check-vulnerable: .PHONY
|
|
@${DO_NADA}
|
|
. else
|
|
check-vulnerable: .PHONY _pkgformat-check-vulnerable
|
|
@${DO_NADA}
|
|
.endif
|
|
|
|
# A package format does not need to implement this target, so provide a
|
|
# default implementation.
|
|
.if !target(_pkgformat-check-vulnerable)
|
|
_pkgformat-check-vulnerable:
|
|
@${PHASE_MSG} "Skipping vulnerability checks."
|
|
.endif
|