Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8715 - net-admin/snortsnarf-020316.1.ebuild (new ebuild)
Summary: net-admin/snortsnarf-020316.1.ebuild (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-03 11:20 UTC by Paul Belt
Modified: 2003-02-12 09:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Belt 2002-10-03 11:20:06 UTC
# Copyright 2002 Paul Belt
# Distributed under the terms of the GNU General Public License v2
# Author:  Paul Belt <gaarde at users dot sourceforge dot net>

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"

LICENSE=""
SLOT="0"
KEYWORDS="x86"
RDEPEND="virtual/glibc
         dev-perl/Time-modules
                 dev-perl/XML-Parser"
DEPEND="${RDEPEND}"

src_compile() {
   einfo 'Nothing to compile'
}

src_install () {
   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/*

   mkdir -p ${D}/home/httpd/snortsnarf/cgi-bin
   mkdir -p ${D}/usr/lib/perl5/site_perl/5.6.1/SnortSnarf

   cp cgi/* ${D}/home/httpd/snortsnarf/cgi-bin
   cd include
   cp -a * ${D}/usr/lib/perl5/site_perl/5.6.1/
}

src_postinst() {
   setup_anns_dir.pl /var/log/snortsnarf
}
Comment 1 Maik Schreiber 2003-01-08 14:43:49 UTC
The ebuild needs to be copyrighted by Gentoo Technologies, otherwise I can't add
it to Portage, sorry.
Comment 2 Maik Schreiber 2003-01-17 17:41:31 UTC
Bouncing back to bug-wranglers due to time constraints.
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2003-02-12 09:47:53 UTC
Comitted, thanks for the ebuild!