diff options
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/fcheck/Makefile | 47 | ||||
-rw-r--r-- | security/fcheck/distinfo | 3 | ||||
-rw-r--r-- | security/fcheck/pkg-descr | 8 |
4 files changed, 59 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 8ba85936a872..3c57712b035a 100644 --- a/security/Makefile +++ b/security/Makefile @@ -129,6 +129,7 @@ SUBDIR += fakebo SUBDIR += fakeident SUBDIR += fakeroot + SUBDIR += fcheck SUBDIR += fcrackzip SUBDIR += fiked SUBDIR += find-zlib diff --git a/security/fcheck/Makefile b/security/fcheck/Makefile new file mode 100644 index 000000000000..996f441a1d91 --- /dev/null +++ b/security/fcheck/Makefile @@ -0,0 +1,47 @@ +# 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> diff --git a/security/fcheck/distinfo b/security/fcheck/distinfo new file mode 100644 index 000000000000..08277dae3d78 --- /dev/null +++ b/security/fcheck/distinfo @@ -0,0 +1,3 @@ +MD5 (FCheck_2.07.59.tar.gz) = bdf767b294b4f706742fb96913df37f0 +SHA256 (FCheck_2.07.59.tar.gz) = 93c88330173f3f5b21814d6a1b0821875d5714e5b03d0b57c44269cf8d27ae25 +SIZE (FCheck_2.07.59.tar.gz) = 32864 diff --git a/security/fcheck/pkg-descr b/security/fcheck/pkg-descr new file mode 100644 index 000000000000..157f984ee5ca --- /dev/null +++ b/security/fcheck/pkg-descr @@ -0,0 +1,8 @@ +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/ |