pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/snortsnarf - Update SnortSnarf to 050314.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3477dd83c625
branches:  trunk
changeset: 491969:3477dd83c625
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Apr 02 13:02:27 2005 +0000

description:
- 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:

 security/snortsnarf/Makefile         |  21 +++++++++++----------
 security/snortsnarf/distinfo         |   9 ++++-----
 security/snortsnarf/patches/patch-aa |  15 ---------------
 3 files changed, 15 insertions(+), 30 deletions(-)

diffs (78 lines):

diff -r af5f5b7ea8af -r 3477dd83c625 security/snortsnarf/Makefile
--- a/security/snortsnarf/Makefile      Sat Apr 02 13:01:28 2005 +0000
+++ b/security/snortsnarf/Makefile      Sat Apr 02 13:02:27 2005 +0000
@@ -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@localhost
+MAINTAINER=    adrianp%NetBSD.org@localhost
 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 @@
 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 -r af5f5b7ea8af -r 3477dd83c625 security/snortsnarf/distinfo
--- a/security/snortsnarf/distinfo      Sat Apr 02 13:01:28 2005 +0000
+++ b/security/snortsnarf/distinfo      Sat Apr 02 13:02:27 2005 +0000
@@ -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 -r af5f5b7ea8af -r 3477dd83c625 security/snortsnarf/patches/patch-aa
--- a/security/snortsnarf/patches/patch-aa      Sat Apr 02 13:01:28 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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
-+}
-+



Home | Main Index | Thread Index | Old Index