# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/hogwash/hogwash-0.2.0_pre7.ebuild,v 1.6 2004/06/24 22:03:06 agriffis Exp $ TGZFILE=hogwash-0.2.0-pre7.tar.gz S=${WORKDIR}/devel-0.2 DESCRIPTION="An invisible, layer2 network packet scrubber based on snort" HOMEPAGE="http://hogwash.sourceforge.net" SRC_URI="mirror://sourceforge/hogwash/${TGZFILE} http://hogwash.sourceforge.net/rules.2" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ~sparc " DEPEND=">=net-libs/libpcap-0.6.1 =net-libs/libnet-1.0*" src_unpack() { unpack ${TGZFILE} } src_compile() { ./setup || die } src_install () { dosbin hogwash dodoc COPYRIGHT README ${FILESDIR}/Documentation.txt dodir /var/log/snort dodir /var/log/hogwash insinto /etc/hogwash ; doins stock.rules ${DISTDIR}/rules.2 exeinto /etc/init.d ; newexe ${FILESDIR}/hogwash.rc6 hogwash }