--- /dev/null
+# 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.1 2007/02/03 21:15:51 mjolnir Exp $
+
+*ipband-0.8 (03 Feb 2007)
+
+ 03 Feb 2007; Martin Jackson <mjolnir@gentoo.org> +files/ipband-init,
+ +metadata.xml, +ipband-0.8.ebuild:
+ Adding new ebuild for bug #149548. Thanks to Shane Denovan for reporting.
+
--- /dev/null
+AUX ipband-init 561 RMD160 257a9e4e64693e63dfe76fc99556b55d15fac45f SHA1 32e406e675c68d0bac1d951faf8322355b821af0 SHA256 62d2fa20348140699d26388ca6787d13af79b8c0aa2d1bcba4abafbaa5d5d63d
+MD5 719528c691bed1403ad505ce7c93d794 files/ipband-init 561
+RMD160 257a9e4e64693e63dfe76fc99556b55d15fac45f files/ipband-init 561
+SHA256 62d2fa20348140699d26388ca6787d13af79b8c0aa2d1bcba4abafbaa5d5d63d files/ipband-init 561
+DIST ipband-0.8.tgz 36378 RMD160 4b7889ce52edcab9b8eec9e478fd4bde3c019be9 SHA1 c5f99e0a300aaf99ddfea1e756b6a450b8559420 SHA256 21be87c2755d66d17eadacd4611dfe1bed7e0c0af9c71d2f26b13fc16f1a61cf
+EBUILD ipband-0.8.ebuild 1592 RMD160 7fa93e1a75e9c5b56f465cc5efdaf2738caad7c3 SHA1 4603d8de42c236c008babaf915a67aeb19cefc25 SHA256 6d51fbe22a9041dda1399f43f68637d6b9347113c51872fdd9694e3a57a14db3
+MD5 78150a342259b83017eb7c64b8811390 ipband-0.8.ebuild 1592
+RMD160 7fa93e1a75e9c5b56f465cc5efdaf2738caad7c3 ipband-0.8.ebuild 1592
+SHA256 6d51fbe22a9041dda1399f43f68637d6b9347113c51872fdd9694e3a57a14db3 ipband-0.8.ebuild 1592
+MISC ChangeLog 425 RMD160 021c3f0c75d056a65810769772fbbe4b802dc9fe SHA1 5275876796c626c25aadf459bd71af88945304bf SHA256 59a991daf4de34fc355e1b7114ebb5fb3052dd2a5b4e600657a780bbd0c0692e
+MD5 990f45b0e666479ba080f618046c0593 ChangeLog 425
+RMD160 021c3f0c75d056a65810769772fbbe4b802dc9fe ChangeLog 425
+SHA256 59a991daf4de34fc355e1b7114ebb5fb3052dd2a5b4e600657a780bbd0c0692e ChangeLog 425
+MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
+MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159
+RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b metadata.xml 159
+SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 metadata.xml 159
+MD5 c2d4a07d36acbdc21d94a20ba37b8181 files/digest-ipband-0.8 220
+RMD160 60b054cd9cfe9ddd3add2ecf8639de78f26af451 files/digest-ipband-0.8 220
+SHA256 5fe712bbeca7e408f02ba69cc8c573ca91b5b099964ddb3ec66e7f38ca37f2e3 files/digest-ipband-0.8 220
--- /dev/null
+MD5 a43dc863c044e7e5665d3e16d4c49770 ipband-0.8.tgz 36378
+RMD160 4b7889ce52edcab9b8eec9e478fd4bde3c019be9 ipband-0.8.tgz 36378
+SHA256 21be87c2755d66d17eadacd4611dfe1bed7e0c0af9c71d2f26b13fc16f1a61cf ipband-0.8.tgz 36378
--- /dev/null
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/files/ipband-init,v 1.1 2007/02/03 21:15:51 mjolnir Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ipband"
+ start-stop-daemon --start --exec /usr/bin/ipband -- -F > /dev/null
+ if [ $? -ne 0 ]; then
+ ewarn "Check settings in /etc/ipband.conf"
+ eend 1
+ else
+ eend 0
+ fi
+}
+
+stop() {
+ ebegin "Stopping ipband"
+ start-stop-daemon --stop --exec /usr/bin/ipband
+ eend $?
+}
--- /dev/null
+# 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.1 2007/02/03 21:15:51 mjolnir 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="~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() {
+ make || die "Compile problem"
+}
+
+src_install() {
+ doman ipband.1
+ dodoc CHANGELOG COPYING INSTALL README
+ exeinto /usr/bin ; doexe ipband
+ exeinto /etc/init.d ; newexe ${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"
+ einfo ""
+ einfo "The following command line example will:"
+ einfo " o Listen on eth0"
+ einfo " o Group results into a summary relative to 192.168.1.0/24"
+ einfo " o Average bandwidth every 5 seconds"
+ einfo " o Report when average bandwidth has exceeded 7 kB/sec"
+ einfo " over the previous 10 seconds. The report is written to"
+ einfo " stdout but can also be emailed or stored in a file."
+ einfo ""
+ einfo "ipband eth0 -L 192.168.1.0/24 -a 5 -r 10 -b 7 -o -"
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+</pkgmetadata>