29bb719115
and extracts sessions for a number of different appplications: ssh, telnet, smtp, irc, ftp, etc. The data are formatted into an html file and can be used to replay some sessions. Sshkeydata is a perl script that attempts to recreate ssh sessions extracted by chaosreader by estimating what commands may have been typed. Both scripts are installed in ${PREFIX}/bin WWW: http://sourceforge.net/projects/chaosreader PR: ports/115125 Submitted by: pauls
36 lines
859 B
Makefile
36 lines
859 B
Makefile
# New ports collection makefile for: chaosreader
|
|
# Date created: 1 Aug 2007
|
|
# Whom: pauls
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= chaosreader
|
|
PORTVERSION= 0.94
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= chaosreader
|
|
DISTFILES= ${PORTNAME}${PORTVERSION} sshkeydata0.20
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= pauls@utdallas.edu
|
|
COMMENT= A tool to extract data from tcpdump logs
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5_RUN= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME} bin/sshkeydata
|
|
|
|
post-extract:
|
|
${CP} ${DISTDIR}/${PORTNAME}${PORTVERSION} ${WRKDIR}/${PORTNAME}
|
|
${CP} ${DISTDIR}/sshkeydata0.20 ${WRKDIR}/sshkeydata
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} s:/usr/bin/perl:${PERL}: \
|
|
${WRKDIR}/${PORTNAME} ${WRKDIR}/sshkeydata
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKDIR}/sshkeydata ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|