summaryrefslogtreecommitdiff
blob: 72bd942d80fab89df06a0a38981e26e17414f650 (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
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fwlogwatch/fwlogwatch-0.9.3.ebuild,v 1.2 2003/07/06 20:07:55 blkdeath Exp $

DESCRIPTION="A packet filter and firewall log analyzer"
HOMEPAGE="http://cert.uni-stuttgart.de/projects/fwlogwatch/"
SRC_URI="http://www.kyb.uni-stuttgart.de/boris/sw/${P}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="x86 ~sparc"
IUSE=""
DEPEND=""
RDEPEND=""

src_compile() {
	sed -e "s/^CFLAGS = /CFLAGS = ${CFLAGS} /g" Makefile > ${T}/Makefile.fwlogwatch
	mv -f ${T}/Makefile.fwlogwatch Makefile
	emake || die 
}

src_install() {
	dosbin fwlogwatch
	dosbin contrib/fwlw_notify
	dosbin contrib/fwlw_respond
	dodir /usr/share/fwlogwatch/contrib
	insinto /usr/share/fwlogwatch/contrib
	doins contrib/fwlogsummary.cgi
	doins contrib/fwlogsummary_small.cgi
	doins contrib/fwlogwatch.php
	doins contrib
	insinto /etc
	doins fwlogwatch.config fwlogwatch.template 
	dodoc AUTHORS ChangeLog CREDITS COPYING README
	doman fwlogwatch.8
}