# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/dhcpdump/dhcpdump-1.7.ebuild,v 1.1 2007/08/26 20:53:29 bangert Exp $ DESCRIPTION="A log file analyzer for qmail, dnscache, tinydns, rbldns, axfrdns and publicfile." HOMEPAGE="http://dlog.gal.dk/" SRC_URI="http://dlog.gal.dk/${P}.tar.gz" LICENSE="skaarup" SLOT="0" KEYWORDS="~x86" IUSE="munin" #funny license - needs to be investigate RESTRICT="fetch" DEPEND="net-analyzer/rrdtool" RDEPEND="${DEPEND} munin? ( net-analyzer/munin )" src_compile() { perl configure.pl \ --binprefix=/usr/bin \ --statprefix=/var/lib/dlog/stats \ --dbsprefix=/var/lib/dlog/dbs \ --logprefix=/var/log/dlog \ || die emake || die } src_install () { dodir /var/lib/dlog keepdir /var/lib/dlog/stats keepdir /var/lib/dlog/dbs keepdir /var/log/dlog dohtml *.html if use munin ; then exeinto /usr/libexec/munin/plugins/ doexe integrations/munin/dlog_* fi dobin dlogtiny dlogcache dlogcacheclients dlogaxfr dlogrbl dlogqmail \ dlogqsmtp dlogqmailadd dlogqsmtphosts dlogratclients dlogcachequeries \ dlogrtqueries dlogaxfrqueries dlogqmaildom dlogpublic dlogpublicdom \ dlogqpsmtpd dodlog.pl || die }