You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/fwlogwatch/fwlogwatch-1.1.ebuild

52 lines
1.2 KiB

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fwlogwatch/fwlogwatch-1.1.ebuild,v 1.4 2009/01/02 21:30:36 bluebird Exp $
inherit toolchain-funcs
DESCRIPTION="A packet filter and firewall log analyzer"
HOMEPAGE="http://fwlogwatch.inside-security.de/"
SRC_URI="http://www.kybs.de/boris/sw/${P}.tar.bz2"
KEYWORDS="amd64 ~ppc sparc x86"
LICENSE="GPL-1"
SLOT="0"
IUSE=""
DEPEND=">=sys-apps/sed-4"
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e "s/^CFLAGS = /CFLAGS = ${CFLAGS} /g" Makefile || \
die "sed Makefile failed"
sed -i -e "s:gcc:$(tc-getCC):g" Makefile || die "sed Makefile failed"
}
src_compile() {
emake || die "emake failed"
}
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 README
doman fwlogwatch.8
}