summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-08-15 06:17:16 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-08-15 06:17:16 +0000
commite8b3b2204825b4514a0e470fedba6590941607bf (patch)
treed371ffacef85b4517000ae87ae79ab650bd53de2
parent* Add support for the new INFO macro (diff)
Mark IGNORE on 5.x: chkrootkit reports false positives
Inspired by: Yet another "have I been hacked" email on questions@
-rw-r--r--security/chkrootkit/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile
index 8a264424587f..f58f906cc250 100644
--- a/security/chkrootkit/Makefile
+++ b/security/chkrootkit/Makefile
@@ -21,6 +21,12 @@ DOCFILES= COPYRIGHT README README.chklastlog README.chkwtmp
BINMODE= 0700
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+IGNORE= "Reports false positives on 5.x"
+.endif
+
pre-patch:
${REINPLACE_CMD} -e "s/^CC/#CC/; s/^CFLAGS/#CFLAGS/" ${WRKSRC}/Makefile
${REINPLACE_CMD} -e \
@@ -47,4 +53,4 @@ do-install:
${INSTALL_DATA} ${DOCFILES:C,^,${WRKSRC}/,} ${PREFIX}/share/doc/chkrootkit
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>