summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/snortsnarf')
-rw-r--r--net-analyzer/snortsnarf/ChangeLog5
-rw-r--r--net-analyzer/snortsnarf/Manifest2
-rw-r--r--net-analyzer/snortsnarf/files/digest-snortsnarf-021111.1-r21
-rw-r--r--net-analyzer/snortsnarf/snortsnarf-021111.1-r2.ebuild55
4 files changed, 62 insertions, 1 deletions
diff --git a/net-analyzer/snortsnarf/ChangeLog b/net-analyzer/snortsnarf/ChangeLog
index 335d13dae025..2100cc61734d 100644
--- a/net-analyzer/snortsnarf/ChangeLog
+++ b/net-analyzer/snortsnarf/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/snortsnarf
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsnarf/ChangeLog,v 1.9 2004/07/11 10:36:38 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsnarf/ChangeLog,v 1.10 2004/07/17 15:05:29 eldad Exp $
+
+ 17 Jul 2004; Eldad Zack <eldad@gentoo.org> :
+ Converted ebuild to be webapp-config compatible. Closes #18313.
11 Jul 2004; Eldad Zack <eldad@gentoo.org> snortsnarf-021111.1-r1.ebuild:
marked x86 stable
diff --git a/net-analyzer/snortsnarf/Manifest b/net-analyzer/snortsnarf/Manifest
index ea09268ba019..95f1bf121047 100644
--- a/net-analyzer/snortsnarf/Manifest
+++ b/net-analyzer/snortsnarf/Manifest
@@ -1,6 +1,8 @@
+MD5 037c98b5d0f0baec473f57a29a6ba386 snortsnarf-021111.1-r2.ebuild 1377
MD5 d62f9e3abbae1150f5a5d7cca63f98be snortsnarf-021111.1.ebuild 1182
MD5 074943e945753b9795d9cd688af03055 snortsnarf-021111.1-r1.ebuild 1336
MD5 916d6eb6a640cd12e40df61313bfc4fb ChangeLog 1227
MD5 57c6cc2efb81ce99a5ed7ddadc6e042d metadata.xml 391
MD5 a25e9ca70d5bf65e193bdbbe153ae7e2 files/digest-snortsnarf-021111.1 71
MD5 a25e9ca70d5bf65e193bdbbe153ae7e2 files/digest-snortsnarf-021111.1-r1 71
+MD5 a25e9ca70d5bf65e193bdbbe153ae7e2 files/digest-snortsnarf-021111.1-r2 71
diff --git a/net-analyzer/snortsnarf/files/digest-snortsnarf-021111.1-r2 b/net-analyzer/snortsnarf/files/digest-snortsnarf-021111.1-r2
new file mode 100644
index 000000000000..258fb7870393
--- /dev/null
+++ b/net-analyzer/snortsnarf/files/digest-snortsnarf-021111.1-r2
@@ -0,0 +1 @@
+MD5 74eb59a60f859af8c74a816c346c67cc SnortSnarf-021111.1.tar.gz 143623
diff --git a/net-analyzer/snortsnarf/snortsnarf-021111.1-r2.ebuild b/net-analyzer/snortsnarf/snortsnarf-021111.1-r2.ebuild
new file mode 100644
index 000000000000..6d51de5b6282
--- /dev/null
+++ b/net-analyzer/snortsnarf/snortsnarf-021111.1-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsnarf/snortsnarf-021111.1-r2.ebuild,v 1.1 2004/07/17 15:05:29 eldad Exp $
+
+inherit webapp
+
+MY_P="SnortSnarf-${PV}"
+DESCRIPTION="Snort Snarf parses Snort log files, and converts them into easy-to-read HTML files."
+HOMEPAGE="http://www.silicondefense.com/software/snortsnarf/"
+SRC_URI="http://www.silicondefense.com/software/snortsnarf/${MY_P}.tar.gz"
+
+S=${WORKDIR}/${MY_P}
+IUSE=""
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+
+RDEPEND="dev-lang/perl
+ dev-perl/Time-modules
+ dev-perl/XML-Parser"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4.0.7"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's:"snort.alert":"snort".$dirsep."alert":g' snortsnarf.pl
+}
+
+src_install() {
+ webapp_src_preinst
+
+ 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 ${MY_CGIBINDIR}/snortsnarf/
+ insinto ${MY_CGIBINDIR}/snortsnarf/
+ doins cgi/*
+
+ dodir /usr/lib/perl5/site_perl/$PERL_V/SnortSnarf
+ cp -a include/* ${D}/usr/lib/perl5/site_perl/$PERL_V
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ setup_anns_dir.pl /var/log/snortsnarf
+}