blob: 896d26f0bd3e73a9248f70123e2ce952d46b85b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hogwash/hogwash-0.4.0_pre1.ebuild,v 1.3 2003/03/07 23:10:19 mholzer Exp $
TGZFILE=hogwash-0.4-pre1.tgz
S=${WORKDIR}/devel-0.4
DESCRIPTION="An invisible, layer2 network packet scrubber based on snort"
HOMEPAGE="http://hogwash.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${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.2a"
src_unpack() {
unpack ${TGZFILE}
}
src_compile() {
cp setup setup.old
head -n 67 setup.old > setup
./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
}
|