freebsd-ports/security/fcheck/Makefile
Lars Engels 972df28ee3 FCheck is an open source PERL script providing intrusion detection and policy
enforcement of Windows 95/98/NT/3.x and Unix server administration through the
use of comparative system snapshots. FCheck can provide notification of any
differences found through use of your event management system, printer, and/or
email when any monitored files or directories are altered, including any
additions and/or deletions.

WWW:    http://www.geocities.com/fcheck2000/
2008-02-07 23:34:08 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: fcheck
# Date created: 2008-01-31
# Whom: Lars Engels <lme@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fcheck
PORTVERSION= 2.07.59
CATEGORIES= security
MASTER_SITES= http://www.geocities.com/fcheck2000/
DISTNAME= FCheck_${PORTVERSION}
#EXTRACT_ONLY= YES
MAINTAINER= lme@FreeBSD.org
COMMENT= Intrusion detection and Policy enforcement / auditing software
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= *
PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.cfg.sample
NO_BUILD= YES
USE_PERL5= YES
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PREFIX}/bin/perl|' \
-e 's|/usr/local/admtools/conf/|${PREFIX}/etc/|' ${WRKSRC}/${PORTNAME}
@${REINPLACE_CMD} -e 's|/usr/local/admtools/|/var/${PORTNAME}/|' \
-e 's|/bin/file|/usr/bin/file|' -e 's|/bin/cksum|/sbin/md5|' \
${WRKSRC}/${PORTNAME}.cfg
do-install:
${MKDIR} /var/${PORTNAME}
${MKDIR} /var/${PORTNAME}/logs
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg ${PREFIX}/etc/${PORTNAME}.cfg.sample
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/install ${DOCSDIR}
.endif
.include <bsd.port.post.mk>