summaryrefslogtreecommitdiff
path: root/security/snortsnarf
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-04-02 13:02:27 +0000
committeradrianp <adrianp@pkgsrc.org>2005-04-02 13:02:27 +0000
commit66ad9d61c49d19444be19a3d4f40d9298c548e1d (patch)
tree658ed3918edc58e3a815cb2a5f5e0529ae9b1a99 /security/snortsnarf
parentceb42cb4a6e889ebd21b08a5441de2c82758966f (diff)
downloadpkgsrc-66ad9d61c49d19444be19a3d4f40d9298c548e1d.tar.gz
- Update SnortSnarf to 050314.1
- Grab maintainership - Use SUBST_SED framework replacing patch-aa - Change HOMEPAGE for project - Origional update submitted by Dave Tyson in PR# 29753, thanks ! > * Changed hard coded reference links to the Snort.org SID database to > reflect changes to snort.org - MFR
Diffstat (limited to 'security/snortsnarf')
-rw-r--r--security/snortsnarf/Makefile21
-rw-r--r--security/snortsnarf/distinfo9
-rw-r--r--security/snortsnarf/patches/patch-aa15
3 files changed, 15 insertions, 30 deletions
diff --git a/security/snortsnarf/Makefile b/security/snortsnarf/Makefile
index 0a816627f10..b1956e8c5d0 100644
--- a/security/snortsnarf/Makefile
+++ b/security/snortsnarf/Makefile
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.8 2004/04/25 03:17:55 snj Exp $
+# $NetBSD: Makefile,v 1.9 2005/04/02 13:02:27 adrianp Exp $
#
-DISTNAME= SnortSnarf-021111.1
+DISTNAME= SnortSnarf-050314.1
PKGNAME= ${DISTNAME:S/SnortSnarf-/snortsnarf-20/}
CATEGORIES= security net
-MASTER_SITES= http://www.silicondefense.com/software/snortsnarf/
+MASTER_SITES= http://www.snort.org/dl/contrib/data_analysis/snortsnarf/
-MAINTAINER= tech-pkg@NetBSD.org
+MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.silicondefense.com/software/snortsnarf/
COMMENT= Generate HTML report summaries from snort incident alerts
-DEPENDS= p5-Time>=101.062101:../../time/p5-Time
+DEPENDS+= p5-Time>=101.062101:../../time/p5-Time
NO_BUILDLINK= YES
NO_BUILD= YES
@@ -19,13 +19,14 @@ USE_PERL5= run
REPLACE_PERL= snortsnarf.pl include/ann_xml.pl include/web_utils.pl \
include/xml_help.pl
-post-configure:
- @cd ${WRKSRC} && \
- ${SED} -e "s|@PREFIX@|${PREFIX}|g" snortsnarf.pl > \
- ${WRKDIR}/snortsnarf.pl
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= snortsnarf.pl
+SUBST_SED.paths= -e "s|./include|${PREFIX}/share/snortsnarf|g"
+SUBST_MESSAGE.paths= "Fixing paths."
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/snortsnarf.pl ${PREFIX}/bin/snortsnarf.pl
+ ${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf.pl ${PREFIX}/bin/snortsnarf.pl
${INSTALL_DATA_DIR} ${PREFIX}/share/snortsnarf
cd ${WRKSRC}/include && ${PAX} -rw -pm * ${PREFIX}/share/snortsnarf
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snortsnarf
diff --git a/security/snortsnarf/distinfo b/security/snortsnarf/distinfo
index e5671c5486f..089bdd3b257 100644
--- a/security/snortsnarf/distinfo
+++ b/security/snortsnarf/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 13:10:13 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/04/02 13:02:27 adrianp Exp $
-SHA1 (SnortSnarf-021111.1.tar.gz) = f06ce45095b9bcdc0e49033f8180a29141978f43
-RMD160 (SnortSnarf-021111.1.tar.gz) = bf1cb9465d2d91f319acf7028e9cbba0baaa7f6c
-Size (SnortSnarf-021111.1.tar.gz) = 143623 bytes
-SHA1 (patch-aa) = bfec42be2afd405cf9c9b79576a247f2239977a2
+SHA1 (SnortSnarf-050314.1.tar.gz) = 4c740c485e3a3d902f0fb1edd4e67938478f0772
+RMD160 (SnortSnarf-050314.1.tar.gz) = e5c1a778ec800dd173e344b42cf1df567f8d40ba
+Size (SnortSnarf-050314.1.tar.gz) = 144103 bytes
diff --git a/security/snortsnarf/patches/patch-aa b/security/snortsnarf/patches/patch-aa
deleted file mode 100644
index 7b30b377b6b..00000000000
--- a/security/snortsnarf/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2003/05/13 00:27:49 salo Exp $
-
---- snortsnarf.pl.orig 2002-11-12 10:11:36.000000000 +0900
-+++ snortsnarf.pl
-@@ -77,3 +77,3 @@
-
--use lib qw(./include);
-+use lib qw(@PREFIX@/share/snortsnarf);
- use Cwd;
-@@ -459,2 +459,3 @@ OPTION is one of the following:
- >>
--}
-\ No newline at end of file
-+}
-+