2016-07-09 08:38:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2016/07/09 06:38:57 wiz Exp $
|
2002-07-12 18:38:53 +02:00
|
|
|
#
|
|
|
|
|
2005-04-02 15:02:27 +02:00
|
|
|
DISTNAME= SnortSnarf-050314.1
|
2003-05-13 02:27:48 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/SnortSnarf-/snortsnarf-20/}
|
2016-07-09 08:38:30 +02:00
|
|
|
PKGREVISION= 5
|
2002-07-12 18:38:53 +02:00
|
|
|
CATEGORIES= security net
|
2005-04-02 15:02:27 +02:00
|
|
|
MASTER_SITES= http://www.snort.org/dl/contrib/data_analysis/snortsnarf/
|
2002-07-12 18:38:53 +02:00
|
|
|
|
2009-07-17 20:00:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-07-12 18:38:53 +02:00
|
|
|
HOMEPAGE= http://www.silicondefense.com/software/snortsnarf/
|
|
|
|
COMMENT= Generate HTML report summaries from snort incident alerts
|
|
|
|
|
2009-06-09 19:34:50 +02:00
|
|
|
DEPENDS+= p5-Time-modules>=101.062101:../../time/p5-Time-modules
|
2002-07-12 18:38:53 +02:00
|
|
|
|
2003-05-13 02:27:48 +02:00
|
|
|
NO_BUILD= YES
|
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax perl:run
|
2003-05-13 02:27:48 +02:00
|
|
|
REPLACE_PERL= snortsnarf.pl include/ann_xml.pl include/web_utils.pl \
|
|
|
|
include/xml_help.pl
|
2002-07-12 18:38:53 +02:00
|
|
|
|
2005-04-02 15:02:27 +02:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
SUBST_FILES.paths= snortsnarf.pl
|
2005-09-28 16:31:06 +02:00
|
|
|
SUBST_SED.paths= -e "s|./include|${PREFIX}/share/snortsnarf|g"
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.paths= Fixing paths.
|
2002-07-12 18:38:53 +02:00
|
|
|
|
2010-01-27 17:52:13 +01:00
|
|
|
INSTALLATION_DIRS= bin share/snortsnarf share/doc/snortsnarf
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2002-07-12 18:38:53 +02:00
|
|
|
do-install:
|
2010-01-27 17:52:13 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf.pl ${DESTDIR}${PREFIX}/bin/snortsnarf.pl
|
|
|
|
cd ${WRKSRC}/include && pax -rw -pm * ${DESTDIR}${PREFIX}/share/snortsnarf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/snortsnarf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Usage ${DESTDIR}${PREFIX}/share/doc/snortsnarf
|
2002-07-12 18:38:53 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|