head	1.6;
access;
symbols
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2;
locks; strict;
comment	@# @;


1.6
date	2011.09.22.06.26.44;	author bapt;	state dead;
branches;
next	1.5;

1.5
date	2011.08.02.09.22.42;	author bapt;	state Exp;
branches;
next	1.4;

1.4
date	2010.10.01.08.55.12;	author erwin;	state Exp;
branches;
next	1.3;

1.3
date	2009.11.03.02.54.08;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2008.05.26.08.51.11;	author lwhsu;	state Exp;
branches;
next	1.1;

1.1
date	2008.01.21.11.56.43;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.6
log
@2012-09-20 www/ruby-http-access: Deprecated upstream, please use www/rubygem-httpclient
2011-09-01 sysutils/wots: No more public distfiles
2011-09-15 sysutils/gpart: Upstream disappeared
2011-09-01 sysutils/plod: No more public distfiles
2011-09-01 sysutils/checkservice: BROKEN for more than 6 month
2011-09-01 security/nsm-console: BROKEN for more than 6 month
2011-09-01 security/fressh: No more public distfiles
2011-09-01 palm/pose: No more public distfiles
2011-09-01 palm/isilo: No more public distfiles
2011-09-01 news/ija: BROKEN for more than 6 month
2011-09-01 news/PicMonger: Abandonware
@
text
@# New ports collection makefile for:	nsm-console
# Date created:		2008-01-15
# Whom:			Tomoyuki Sakurai <cherry@@trombik.org>
#
# $FreeBSD: ports/security/nsm-console/Makefile,v 1.5 2011/08/02 09:22:42 bapt Exp $
#

PORTNAME=	nsm-console
PORTVERSION=	0.7
CATEGORIES=	security
MASTER_SITES=	http://writequit.org/projects/nsm-console/files/

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A framework for performing analysis on packet capture files

DEPRECATED=	BROKEN for more than 6 month
EXPIRATION_DATE=	2011-09-01

BROKEN=		does not fetch

USE_RUBY=	yes
NO_BUILD=	yes
RUBY_NO_BUILD_DEPENDS=	yes
WRKSRC=	${WRKDIR}/${PORTNAME}
OPTIONS=	TSHARK		"Install tshark" on \
			WIRESHARK	"Install wireshark" off \
			TCPDSTAT	"Install tcpdstat" on \
			NGREP		"Install ngrep" on \
			TCPFLOW 	"Install tcpflow" on \
			SNORT		"Install snort" on \
			TCPXTRACT	"Install tcpxtract" on \
			P0F			"Install p0f" on \
			PADS		"Install pads" on \
			FL0P		"Install fl0p" on \
			CHAOSREADER	"Install chaosreader" on \
			ARGUS		"Install argus" on \
			TCPICK		"Install tcpick" on \
			TCPTRACE	"Install tcptrace" on \
			FOREMOST	"Install foremost" on \
			CHAOSREADER	"Install chaosreader" on
NSM_DOC=	CHANGELOG TODO

.include <bsd.port.pre.mk>

.if defined(WITH_TSHARK)
RUN_DEPEND+=	${LOCALBASE}/bin/tshark:${PORTSDIR}/net/tshark
.endif
.if defined(WITH_WIRESHARK)
.if defined(WITH_TSHARK)
IGNORE=	you cannot enable both WIRESHARK and TSHARK
.else
RUN_DEPENDS+=	${LOCALBASE}/bin/wireshark:${PORTSDIR}/net/wireshark
.endif
.endif
.if defined(WITH_TCPDSTAT)
RUN_DEPENDS+=	${LOCALBASE}/bin/tcpdstat:${PORTSDIR}/net/tcpdstat
.endif
.if defined(WITH_NGREP)
RUN_DEPENDS+=	${LOCALBASE}/bin/ngrep:${PORTSDIR}/net/ngrep
.endif
.if defined(WITH_TCPFLOW)
RUN_DEPENDS+=	${LOCALBASE}/bin/tcpflow:${PORTSDIR}/net/tcpflow
.endif
.if defined(WITH_SNORT)
RUN_DEPENDS+=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort
.endif
.if defined(WITH_TCPXTRACT)
RUN_DEPENDS+=	${LOCALBASE}/bin/tcpxtract:${PORTSDIR}/net/tcpxtract
.endif
.if defined(WITH_P0F)
RUN_DEPENDS+=	${LOCALBASE}/bin/p0f:${PORTSDIR}/net-mgmt/p0f
.endif
.if defined(WITH_PADS)
RUN_DEPENDS+=	${LOCALBASE}/bin/pads:${PORTSDIR}/net-mgmt/pads
.endif
.if defined(WITH_FL0P)
RUN_DEPENDS+=	${LOCALBASE}/bin/fl0p:${PORTSDIR}/security/fl0p
.endif
.if defined(WITH_CHAOSREADER)
RUN_DEPENDS+=	${LOCALBASE}/bin/chaosreader:${PORTSDIR}/security/chaosreader
.endif
.if defined(WITH_ARGUS)
RUN_DEPENDS+=	${LOCALBASE}/bin/ra:${PORTSDIR}/net-mgmt/argus3-clients \
	${LOCALBASE}/sbin/argus:${PORTSDIR}/net-mgmt/argus3
.endif
.if defined(WITH_TCPICK)
RUN_DEPENDS+=	${LOCALBASE}/bin/tcpick:${PORTSDIR}/net/tcpick
.endif
.if defined(WITH_TCPTRACE)
RUN_DEPENDS+=	${LOCALBASE}/bin/tcptrace:${PORTSDIR}/net/tcptrace
.endif
.if defined(WITH_FOREMOST)
RUN_DEPENDS+=	${LOCALBASE}/bin/foremost:${PORTSDIR}/sysutils/foremost
.endif
.if defined(WITH_CHAOSREADER)
RUN_DEPENDS+=	${LOCALBASE}/bin/chaosreader:${PORTSDIR}/security/chaosreader
.endif

post-patch:
	${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/nsm

do-install:
	@@${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME}
	@@( cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${RUBY_SITELIBDIR}/${PORTNAME} )
	@@${FIND} ${RUBY_SITELIBDIR}/${PORTNAME} -type f | \
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
	@@${FIND} ${RUBY_SITELIBDIR}/${PORTNAME} -type d | ${SORT} -r | \
		${SED} 's,^${PREFIX}/,@@dirrm ,' >> ${TMPPLIST}
.for D in modules
	@@${MKDIR} ${DATADIR}/${D}
	@@( cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${DATADIR}/${D} )
	@@${FIND} ${DATADIR} -type f | \
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
	@@${FIND} ${DATADIR} -type d | ${SORT} -r | \
		${SED} 's,^${PREFIX}/,@@dirrm ,' >> ${TMPPLIST}
.endfor
	${INSTALL_SCRIPT} ${WRKSRC}/nsm ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for F in ${NSM_DOC}
	${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.post.mk>
@


1.5
log
@Deprecate unmaintained ports marked as BROKEN for more then 6 month
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@Mark BROKEN: does not fetch
@
text
@d16 3
@


1.3
log
@Reset cherry@@trombik.org due to maintainer-timeouts and no response
to email.

Hat:		portmgr
@
text
@d16 2
@


1.2
log
@- Update to 0.7
- Add more RUN_DEPENDS and corresponding KNOBs
- New MASTER_SITES

PR:		ports/123996
Submitted by:	cherry AT trombik.org (maintainer)
@
text
@d13 2
a14 2
MAINTAINER=	cherry@@trombik.org
COMMENT=	A framework for performing analysis on packat capture files
@


1.1
log
@Network Security Monitoring Console is a framework for performing
analysis on packat capture files.

WWW:	http://thnetos.wordpress.com/nsm-console/

PR:		ports/119682
Submitted by:	Tomoyuki Sakurai <cherry at trombik.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.3
d11 1
a11 1
MASTER_SITES=	http://navi.eight7.org/~hinmanm/files/
d31 5
a35 11
			ARGUS		"Install argus" on
NSM_LIBFILES=	command_manager.rb \
	command_manager.rb \
	commands.rb \
	encodelib.rb \
	history.rb \
	logging.rb \
	nsm_category.rb \
	nsm_console.rb \
	nsm_helper.rb \
	nsm_module.rb
d78 14
a91 2
RUN_DEPENDS+=	${LOCALBASE}/bin/ra:${PORTSDIR}/net-mgmt/argus-clients \
	${LOCALBASE}/sbin/argus:${PORTSDIR}/net-mgmt/argus
d98 6
a103 4
	${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME}
.for F in ${NSM_LIBFILES}
	${INSTALL_DATA} ${WRKSRC}/lib/${F} ${RUBY_SITELIBDIR}/${PORTNAME}
.endfor
d105 6
a110 2
	cd ${WRKSRC} && ${FIND} ${D} -type d -exec ${MKDIR} ${DATADIR}/{} ";"
	cd ${WRKSRC} && ${FIND} ${D} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";"
@

