Commit 60abad2e authored by Loic's avatar Loic
Browse files

HBSD: Automatic marking of unsafe ports



This ensures that users are not offered unsecured packages
with 13-STABLE/amd64 package infrastructure.

Signed-off-by: Loic's avatarLoic <loic.f@hardenedbsd.org>
parent 4a3ac4a2
......@@ -354,4 +354,24 @@ OPTIONS_GROUP_HARDENING+=SLH
.endif
.endif
#########################################
### Automatic marking of unsafe ports ###
#########################################
TODAY=$(date -u +%Y-%m-%d)
#.if defined(DEPRECATED)
#.if ${EXPIRATION_DATE} <= ${TODAY} #FIX-ME: Comparison Operator
#BROKEN= HBSD: deprecated port
#.endif
#.endif
.if ${MASTERNAME} == "hardenedbsd-13_amd64-local"
.if defined(USES)
.if ${USES:Mlinux*}
BROKEN= HBSD: untrusted port
.endif
.endif
.endif
.endif # !HARDENINGMKINCLUDED
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment