blob: 510a2e99abfc53fd0e5b3869fafd36bf54196eb0 (
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
40
41
42
43
44
45
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus/argus-2.0.5.ebuild,v 1.9 2004/10/03 09:53:00 usata Exp $
inherit eutils
DESCRIPTION="network Audit Record Generation and Utilization System"
HOMEPAGE="http://www.qosient.com/argus/"
SRC_URI="ftp://ftp.qosient.com/pub/argus/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64 ~ppc-macos"
IUSE=""
RDEPEND="virtual/libc
>=net-libs/libpcap-0.6.2"
DEPEND="${RDEPEND}
>=sys-devel/bison-1.28
>=sys-devel/flex-2.4.6"
src_unpack() {
unpack ${A} ; cd ${S}
epatch ${FILESDIR}/${P}-libpcap-include.patch
# Fix hardcoded config file
epatch ${FILESDIR}/${PF}-gentoo.diff
}
src_install () {
dodoc COPYING CREDITS INSTALL README
dodoc doc/FAQ doc/HOW-TO doc/CHANGES
doman man/man1/* man/man5/* man/man8/*
dolib lib/argus_common.a lib/argus_parse.a
dobin bin/ra*
use ppc-macos && newsbin bin/argus_bpf argus || newsbin bin/argus_linux argus
insinto /etc/argus
doins support/Config/argus.conf
}
|