summaryrefslogtreecommitdiff
path: root/security/snortsnarf
diff options
context:
space:
mode:
authorgrant <grant>2003-02-05 06:29:54 +0000
committergrant <grant>2003-02-05 06:29:54 +0000
commit15489f6ec701090accc9407d8cd0d423581692e8 (patch)
tree1ff02cb90d39ba488186fea630680f26a80dc979 /security/snortsnarf
parentf9340e274adc7b508ddca988712d4f95b20cd9ae (diff)
downloadpkgsrc-15489f6ec701090accc9407d8cd0d423581692e8.tar.gz
add newline to end of perl script. while I'm here, clean up
post-configure target and whitespace. fixes PR pkg/20210 from Jesse Kempf.
Diffstat (limited to 'security/snortsnarf')
-rw-r--r--security/snortsnarf/Makefile20
-rw-r--r--security/snortsnarf/distinfo4
-rw-r--r--security/snortsnarf/patches/patch-aa12
3 files changed, 21 insertions, 15 deletions
diff --git a/security/snortsnarf/Makefile b/security/snortsnarf/Makefile
index 4a41be6d9df..c23479d2e3e 100644
--- a/security/snortsnarf/Makefile
+++ b/security/snortsnarf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/12/14 03:43:20 schmonz Exp $
+# $NetBSD: Makefile,v 1.4 2003/02/05 06:29:54 grant Exp $
#
DISTNAME= SnortSnarf-020516.1
@@ -17,22 +17,22 @@ REPLACE_PERL= snortsnarf.pl
NO_BUILD= # defined
post-configure:
- @cd ${WRKSRC} ; \
- ${SED} -e "s|@@PREFIX@@|${PREFIX}|g" snortsnarf.pl > snortsnarf.tmp ; \
- ${MV} snortsnarf.tmp snortsnarf.pl
+ @cd ${WRKSRC} && \
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" snortsnarf.pl \
+ > ${WRKDIR}/snortsnarf.pl
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf.pl ${PREFIX}/bin/snortsnarf.pl
+ ${INSTALL_SCRIPT} ${WRKDIR}/snortsnarf.pl ${PREFIX}/bin/snortsnarf.pl
${INSTALL_DATA_DIR} ${PREFIX}/share/snortsnarf/SnortSnarf
.for f in IPAddrContact.pm ann_xml.pl web_utils.pl xml_help.pl
${INSTALL_DATA} ${WRKSRC}/include/${f} \
${PREFIX}/share/snortsnarf
.endfor
-.for f in AlertBase.pm HTMLOutput.pm MemTimeBase.pm MultiStore.pm \
- MemPacket.pm HTMLMemStorage.pm Filtering.pm PacketBase.pm \
- AllMods.pm BasicFilters.pm KnownEquiv.pm SnortFileInput.pm \
- HTMLAnomMemStorage.pm Input.pm SorterBase.pm Sort.pm \
- StorageBase.pm MemAlert.pm BasicSorters.pm Filter.pm \
+.for f in AlertBase.pm HTMLOutput.pm MemTimeBase.pm MultiStore.pm \
+ MemPacket.pm HTMLMemStorage.pm Filtering.pm PacketBase.pm \
+ AllMods.pm BasicFilters.pm KnownEquiv.pm SnortFileInput.pm \
+ HTMLAnomMemStorage.pm Input.pm SorterBase.pm Sort.pm \
+ StorageBase.pm MemAlert.pm BasicSorters.pm Filter.pm \
SnortRules.pm MemStorage.pm SnortDBInput.pm TimeFilters.pm
${INSTALL_DATA} ${WRKSRC}/include/SnortSnarf/${f} \
${PREFIX}/share/snortsnarf/SnortSnarf
diff --git a/security/snortsnarf/distinfo b/security/snortsnarf/distinfo
index 4315cfd9a31..37c69b23605 100644
--- a/security/snortsnarf/distinfo
+++ b/security/snortsnarf/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2002/08/11 00:50:36 fredb Exp $
+$NetBSD: distinfo,v 1.3 2003/02/05 06:29:55 grant Exp $
SHA1 (SnortSnarf-020516.1.tar.gz) = 01b4aebabea68dee5973e0d3fa20bfb73afa4b3f
Size (SnortSnarf-020516.1.tar.gz) = 146806 bytes
-SHA1 (patch-aa) = 5666c9ae6b21dfb4009b781d32a52aee2c681020
+SHA1 (patch-aa) = b99cf1b838b2173f1bc17954e1acb51e37ba8682
diff --git a/security/snortsnarf/patches/patch-aa b/security/snortsnarf/patches/patch-aa
index 5bf9053f631..c59afc9a546 100644
--- a/security/snortsnarf/patches/patch-aa
+++ b/security/snortsnarf/patches/patch-aa
@@ -1,9 +1,15 @@
-$NetBSD: patch-aa,v 1.2 2002/08/11 00:50:37 fredb Exp $
+$NetBSD: patch-aa,v 1.3 2003/02/05 06:29:55 grant Exp $
---- snortsnarf.pl.orig Sun Jul 7 02:09:26 2002
+--- snortsnarf.pl.orig Fri May 17 09:00:56 2002
+++ snortsnarf.pl
@@ -77,3 +77,3 @@
-use lib qw(./include);
-+use lib qw(@@PREFIX@@/share/snortsnarf/);
++use lib qw(@PREFIX@/share/snortsnarf/);
use Cwd;
+@@ -455,2 +455,3 @@ OPTION is one of the following:
+ >>
+-}
+\ No newline at end of file
++}
++