ChangeLog

# ChangeLog for net-analyzer/ipband
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/ChangeLog,v 1.5 2007/05/01 17:51:28 genone Exp $

01 May 2007; Marius Mauch ipband-0.8.ebuild:
Replacing einfo with elog

28 Apr 2007; Torsten Veller ipband-0.8.ebuild:
Use newinitd

11 Apr 2007; Peter Weller ipband-0.8.ebuild:
Keyworded ~amd64 wrt bug 174110

01 Apr 2007; Marcelo Goes ipband-0.8.ebuild:
Mark 0.8 x86 stable. Use emake instead of make, minor cosmetic fixes.

*ipband-0.8 (03 Feb 2007)

03 Feb 2007; Martin Jackson +files/ipband-init,
+metadata.xml, +ipband-0.8.ebuild:
Adding new ebuild for bug #149548. Thanks to Shane Denovan for reporting.

Manifest

AUX ipband-init 561 RMD160 257a9e4e64693e63dfe76fc99556b55d15fac45f SHA1 32e406e675c68d0bac1d951faf8322355b821af0 SHA256 62d2fa20348140699d26388ca6787d13af79b8c0aa2d1bcba4abafbaa5d5d63d
DIST ipband-0.8.tgz 36378 RMD160 4b7889ce52edcab9b8eec9e478fd4bde3c019be9 SHA1 c5f99e0a300aaf99ddfea1e756b6a450b8559420 SHA256 21be87c2755d66d17eadacd4611dfe1bed7e0c0af9c71d2f26b13fc16f1a61cf
EBUILD ipband-0.8.ebuild 1559 RMD160 b21faf196917cf96f3600469d27c5432a0e00773 SHA1 515919d4e6bac611faea07fbe80e566bfe8a9bee SHA256 dca3da880014332e48eac86bf6cfb79e2e7c802c1b6eb42a5a48e69a0eff0e20
MISC ChangeLog 847 RMD160 fd2703396a62f9401d1ddce59167d6bc3fb2522c SHA1 42ab7e8a7122d923eb57d0ca6857017ce96eb1a6 SHA256 22400cd9c14b7f9215c580e09dc7e962aaa3e8ce3dc69ace80aff52d7c9d8d83
MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6

files

ipband-0.8.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/ipband-0.8.ebuild,v 1.5 2007/05/01 17:51:28 genone Exp $

inherit eutils

DESCRIPTION="A pcap based IP traffic and bandwidth monitor with configurable reporting and alarm abilities"
HOMEPAGE="http://ipband.sourceforge.net/"
SRC_URI="http://ipband.sourceforge.net/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""

DEPEND=">=net-libs/libpcap-0.4"

src_unpack() {
unpack ${A}

# Provide a postfix MTA string in the author's ipband.conf example
sed -rie 's:(#mtastring.*):# Sendmail\n\1\n# Postfix\n#mtastring "/usr/sbin/sendmail -t":g' \
"${S}"/ipband.sample.conf
}

src_compile() {
emake || die "Compile problem"
}

src_install() {
doman ipband.1
dodoc CHANGELOG README
exeinto /usr/bin ; doexe ipband
newinitd "${FILESDIR}"/ipband-init ipband
insinto /etc/ ; newins ipband.sample.conf ipband.conf
}

pkg_postinst() {
ewarn "If you plan to use ipband as a service, you must edit"
ewarn "/etc/ipband.conf"
elog ""
elog "The following command line example will:"
elog " o Listen on eth0"
elog " o Group results into a summary relative to 192.168.1.0/24"
elog " o Average bandwidth every 5 seconds"
elog " o Report when average bandwidth has exceeded 7 kB/sec"
elog " over the previous 10 seconds. The report is written to"
elog " stdout but can also be emailed or stored in a file."
elog ""
elog "ipband eth0 -L 192.168.1.0/24 -a 5 -r 10 -b 7 -o -"
}

metadata.xml




netmon