summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/ipband/ChangeLog10
-rw-r--r--net-analyzer/ipband/Manifest4
-rw-r--r--net-analyzer/ipband/ipband-0.8.1.ebuild51
3 files changed, 62 insertions, 3 deletions
diff --git a/net-analyzer/ipband/ChangeLog b/net-analyzer/ipband/ChangeLog
index d2bc34fe0917..b3629b49adeb 100644
--- a/net-analyzer/ipband/ChangeLog
+++ b/net-analyzer/ipband/ChangeLog
@@ -1,6 +1,12 @@
# 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 $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/ChangeLog,v 1.6 2008/12/06 19:48:18 dertobi123 Exp $
+
+*ipband-0.8.1 (06 Dec 2008)
+
+ 06 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ +ipband-0.8.1.ebuild:
+ Version bump
01 May 2007; Marius Mauch <genone@gentoo.org> ipband-0.8.ebuild:
Replacing einfo with elog
diff --git a/net-analyzer/ipband/Manifest b/net-analyzer/ipband/Manifest
index b6a0d01d7a60..fb78f56a223e 100644
--- a/net-analyzer/ipband/Manifest
+++ b/net-analyzer/ipband/Manifest
@@ -1,5 +1,7 @@
AUX ipband-init 561 RMD160 257a9e4e64693e63dfe76fc99556b55d15fac45f SHA1 32e406e675c68d0bac1d951faf8322355b821af0 SHA256 62d2fa20348140699d26388ca6787d13af79b8c0aa2d1bcba4abafbaa5d5d63d
+DIST ipband-0.8.1.tgz 36675 RMD160 6269e5273fb1506f655e0ca1f8ea8f357a7205ec SHA1 401bfa12f81e6a6c57f827bdb3d22445e33e2f64 SHA256 f0a5860647d5364df812f7660d28f1ee8fbd35eb27088ab0cd445963db5806ad
DIST ipband-0.8.tgz 36378 RMD160 4b7889ce52edcab9b8eec9e478fd4bde3c019be9 SHA1 c5f99e0a300aaf99ddfea1e756b6a450b8559420 SHA256 21be87c2755d66d17eadacd4611dfe1bed7e0c0af9c71d2f26b13fc16f1a61cf
+EBUILD ipband-0.8.1.ebuild 1566 RMD160 8ed4446ac5807d60364d096ce285c15605bad7f4 SHA1 ceaa26b7169dca537cd4e8e453702085e595045f SHA256 afbb9fbb743014e43319210d4f5a71a85bad961d262de1d76e5853e088c4a389
EBUILD ipband-0.8.ebuild 1559 RMD160 b21faf196917cf96f3600469d27c5432a0e00773 SHA1 515919d4e6bac611faea07fbe80e566bfe8a9bee SHA256 dca3da880014332e48eac86bf6cfb79e2e7c802c1b6eb42a5a48e69a0eff0e20
-MISC ChangeLog 847 RMD160 fd2703396a62f9401d1ddce59167d6bc3fb2522c SHA1 42ab7e8a7122d923eb57d0ca6857017ce96eb1a6 SHA256 22400cd9c14b7f9215c580e09dc7e962aaa3e8ce3dc69ace80aff52d7c9d8d83
+MISC ChangeLog 976 RMD160 d03f715975c3f9408ba10d6054812069821448a4 SHA1 7bad8731e435eaa42030ce691f0df5caab0e1e2e SHA256 a4d0432cd6a4573abac3cacf9ddd61a57fb94eb8d2bc274c7d2346f11303542b
MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
diff --git a/net-analyzer/ipband/ipband-0.8.1.ebuild b/net-analyzer/ipband/ipband-0.8.1.ebuild
new file mode 100644
index 000000000000..9ff92e24921f
--- /dev/null
+++ b/net-analyzer/ipband/ipband-0.8.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/ipband-0.8.1.ebuild,v 1.1 2008/12/06 19:48:18 dertobi123 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.8
+ 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 -"
+}