# 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 }
The ebuild needs to be copyrighted by Gentoo Technologies, otherwise I can't add it to Portage, sorry.
Bouncing back to bug-wranglers due to time constraints.
Comitted, thanks for the ebuild!