diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2006-12-12 02:53:14 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2006-12-12 02:53:14 +0000 |
commit | 3453e523241fb60b005647a22984e05938058a5e (patch) | |
tree | dddee6ba085a6b4ce9f13c8957f63b3d7e681708 /net-analyzer/traffic-vis | |
parent | Pruned old versions with new versions with same or better keywords. (diff) | |
download | gentoo-2-3453e523241fb60b005647a22984e05938058a5e.tar.gz gentoo-2-3453e523241fb60b005647a22984e05938058a5e.tar.bz2 gentoo-2-3453e523241fb60b005647a22984e05938058a5e.zip |
Add sed line to fix bug 143930, traffic-togif expects traffic-tops in /usr/sbin instead of /usr/bin, reported by postmodern <brodigan at pdx dot edu>.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-analyzer/traffic-vis')
-rw-r--r-- | net-analyzer/traffic-vis/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/traffic-vis/files/digest-traffic-vis-0.35 | 2 | ||||
-rw-r--r-- | net-analyzer/traffic-vis/files/digest-traffic-vis-0.35-r1 | 3 | ||||
-rw-r--r-- | net-analyzer/traffic-vis/traffic-vis-0.35-r1.ebuild | 59 |
4 files changed, 73 insertions, 1 deletions
diff --git a/net-analyzer/traffic-vis/ChangeLog b/net-analyzer/traffic-vis/ChangeLog index 2e46babfe73b..ad09e8d872fb 100644 --- a/net-analyzer/traffic-vis/ChangeLog +++ b/net-analyzer/traffic-vis/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-analyzer/traffic-vis # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traffic-vis/ChangeLog,v 1.12 2006/02/17 16:29:26 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traffic-vis/ChangeLog,v 1.13 2006/12/12 02:53:14 vanquirius Exp $ + +*traffic-vis-0.35-r1 (12 Dec 2006) + + 12 Dec 2006; Marcelo Goes <vanquirius@gentoo.org> + +traffic-vis-0.35-r1.ebuild: + Add sed line to fix bug 143930, traffic-togif expects traffic-tops in + /usr/sbin instead of /usr/bin, reported by postmodern <brodigan at pdx dot + edu>. 17 Feb 2006; Markus Ullmann <jokey@gentoo.org> traffic-vis-0.35.ebuild: Removing virtual/libpcap wrt bug #117898 diff --git a/net-analyzer/traffic-vis/files/digest-traffic-vis-0.35 b/net-analyzer/traffic-vis/files/digest-traffic-vis-0.35 index 33aca6006503..1b651b41f660 100644 --- a/net-analyzer/traffic-vis/files/digest-traffic-vis-0.35 +++ b/net-analyzer/traffic-vis/files/digest-traffic-vis-0.35 @@ -1 +1,3 @@ MD5 5c00ec49403aa0f38f04f89034f4a689 traffic-vis-0.35.tar.gz 41202 +RMD160 763e0f4532628d68325e933a9963d8435ae95a6b traffic-vis-0.35.tar.gz 41202 +SHA256 8a6d56a390df525c73ac35f7c4a2ac854072824ee36fb2053b35fdf14e933754 traffic-vis-0.35.tar.gz 41202 diff --git a/net-analyzer/traffic-vis/files/digest-traffic-vis-0.35-r1 b/net-analyzer/traffic-vis/files/digest-traffic-vis-0.35-r1 new file mode 100644 index 000000000000..1b651b41f660 --- /dev/null +++ b/net-analyzer/traffic-vis/files/digest-traffic-vis-0.35-r1 @@ -0,0 +1,3 @@ +MD5 5c00ec49403aa0f38f04f89034f4a689 traffic-vis-0.35.tar.gz 41202 +RMD160 763e0f4532628d68325e933a9963d8435ae95a6b traffic-vis-0.35.tar.gz 41202 +SHA256 8a6d56a390df525c73ac35f7c4a2ac854072824ee36fb2053b35fdf14e933754 traffic-vis-0.35.tar.gz 41202 diff --git a/net-analyzer/traffic-vis/traffic-vis-0.35-r1.ebuild b/net-analyzer/traffic-vis/traffic-vis-0.35-r1.ebuild new file mode 100644 index 000000000000..03d917b83293 --- /dev/null +++ b/net-analyzer/traffic-vis/traffic-vis-0.35-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traffic-vis/traffic-vis-0.35-r1.ebuild,v 1.1 2006/12/12 02:53:14 vanquirius Exp $ + +inherit eutils + +DESCRIPTION="Generate traffic stats in html, ps, text and gif format" +HOMEPAGE="http://www.mindrot.org/traffic-vis.html" +SRC_URI="http://www.mindrot.org/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="gif" +DEPEND="virtual/libc + net-libs/libpcap + gif? ( media-libs/netpbm + virtual/ghostscript + dev-lang/perl ) + =dev-libs/glib-1.2*" + +src_unpack() { + unpack ${A} ; cd "${S}" + + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-libpcap-header-fix.patch + # bug 143930 - traffic-vis expects /usr/sbin/traffic-tops + sed -i -e "s:/usr/sbin/traffic-tops:/usr/bin/traffic-tops:g" \ + "${S}"/frontends/traffic-togif +} + +src_compile() { + make || die "make failed" +} + +src_install() { + dosbin collector/traffic-collector + doman collector/traffic-collector.8 + + for mybin in $(useq gif && echo frontends/traffic-togif) \ + frontends/traffic-tohtml \ + frontends/traffic-tops \ + frontends/traffic-totext \ + sort/traffic-sort \ + utils/traffic-exclude \ + utils/traffic-resolve ; do + + dobin ${mybin} + doman ${mybin}.8 + done + + exeinto /etc/init.d + newexe "${FILESDIR}"/traffic-vis.init.d traffic-vis + insinto /etc/conf.d + newins "${FILESDIR}"/traffic-vis.conf.d traffic-vis + + dodoc TODO README BUGS CHANGELOG +} |