summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-02-12 10:45:18 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-02-12 10:45:18 +0000
commit0b230a20dbf1b9b8933d1c9fe05362f78917f6ee (patch)
tree52e81f618954a3a2073fb7077a381fdb3ebdb920 /net-analyzer/snortsnarf
parentsoundscope visualiser plugin (diff)
downloadgentoo-2-0b230a20dbf1b9b8933d1c9fe05362f78917f6ee.tar.gz
gentoo-2-0b230a20dbf1b9b8933d1c9fe05362f78917f6ee.tar.bz2
gentoo-2-0b230a20dbf1b9b8933d1c9fe05362f78917f6ee.zip
Initial imports
Diffstat (limited to 'net-analyzer/snortsnarf')
-rw-r--r--net-analyzer/snortsnarf/ChangeLog8
-rw-r--r--net-analyzer/snortsnarf/files/digest-snortsnarf-021111.11
-rw-r--r--net-analyzer/snortsnarf/snortsnarf-021111.1.ebuild46
3 files changed, 55 insertions, 0 deletions
diff --git a/net-analyzer/snortsnarf/ChangeLog b/net-analyzer/snortsnarf/ChangeLog
new file mode 100644
index 000000000000..ad00f3343ca1
--- /dev/null
+++ b/net-analyzer/snortsnarf/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-analyzer/snortsnarf
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsnarf/ChangeLog,v 1.1 2003/02/12 10:45:18 aliz Exp $
+
+*snortsnarf-021111.1 (12 Feb 2003)
+
+ 12 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Initial import. Ebuild submitted by Paul Belt <gaarde@yahoo.com> in #8715.
diff --git a/net-analyzer/snortsnarf/files/digest-snortsnarf-021111.1 b/net-analyzer/snortsnarf/files/digest-snortsnarf-021111.1
new file mode 100644
index 000000000000..258fb7870393
--- /dev/null
+++ b/net-analyzer/snortsnarf/files/digest-snortsnarf-021111.1
@@ -0,0 +1 @@
+MD5 74eb59a60f859af8c74a816c346c67cc SnortSnarf-021111.1.tar.gz 143623
diff --git a/net-analyzer/snortsnarf/snortsnarf-021111.1.ebuild b/net-analyzer/snortsnarf/snortsnarf-021111.1.ebuild
new file mode 100644
index 000000000000..4c47222bb393
--- /dev/null
+++ b/net-analyzer/snortsnarf/snortsnarf-021111.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsnarf/snortsnarf-021111.1.ebuild,v 1.1 2003/02/12 10:45:18 aliz Exp $
+
+DESCRIPTION="Snort Snarf parses Snort log files, and converts them into
+easy-to-read HTML files. Expect an estimated 2:3 ratio (log file size:megs of
+ram)."
+
+HOMEPAGE="http://www.silicondefense.com/software/snortsnarf/"
+MY_P="SnortSnarf-${PV}"
+S=${WORKDIR}/${MY_P}
+SRC_URI="http://www.silicondefense.com/software/snortsnarf/${MY_P}.tar.gz"
+IUSE=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+RDEPEND="virtual/glibc
+ dev-perl/Time-modules
+ dev-perl/XML-Parser"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ return 0
+}
+
+src_install () {
+ PERL_V=$( perl '-V:version' | awk -F "'" '{print $2}' )
+
+ dodoc Usage COPYING Changes README README.SISR README.nmap2html \
+ new-annotation-base.xml
+
+ dobin snortsnarf.pl nmap2html/log2db.pl nmap2html/nmap2html.pl \
+ nmap2html/nmaplog-dns.pl utilities/*
+
+ dodir /home/httpd/snortsnarf/cgi-bin
+ dodir /usr/lib/perl5/site_perl/$PERL_V/SnortSnarf
+
+ insinto /home/httpd/snortsnarf/cgi-bin
+ doins cgi/*
+
+ cp -a include/* ${D}/usr/lib/perl5/site_perl/$PERL_V
+}
+
+src_postinst() {
+ setup_anns_dir.pl /var/log/snortsnarf
+}