From: Marcelo Góes Date: Tue, 12 Dec 2006 02:53:14 +0000 (+0000) Subject: Add sed line to fix bug 143930, traffic-togif expects traffic-tops in /usr/sbin inste... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=607c83daeb76f1eba4e1cbedcc35f1c49de12571;p=gentoo.git Add sed line to fix bug 143930, traffic-togif expects traffic-tops in /usr/sbin instead of /usr/bin, reported by postmodern . Package-Manager: portage-2.1.1-r2 --- 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 + +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 . 17 Feb 2006; Markus Ullmann traffic-vis-0.35.ebuild: Removing virtual/libpcap wrt bug #117898 diff --git a/net-analyzer/traffic-vis/Manifest b/net-analyzer/traffic-vis/Manifest index 28c45937375a..8c79ba873855 100644 --- a/net-analyzer/traffic-vis/Manifest +++ b/net-analyzer/traffic-vis/Manifest @@ -1,24 +1,39 @@ -MD5 a0beac10d48258ad40ac664b9e0e3ab6 ChangeLog 1652 -RMD160 e1bad1249ac8e949c3326f244b3388c678cf8927 ChangeLog 1652 -SHA256 9fafabc5043ce9229bec4c2282dd3726dcfad5125e78601748e049594365cea3 ChangeLog 1652 -MD5 8d9d8f0ea07c61e6e39221fd8a5715bb files/digest-traffic-vis-0.35 67 -RMD160 ac08c6b260546efbf3333aa922304dbe174fdf7b files/digest-traffic-vis-0.35 67 -SHA256 2fa211b9516b4b5adc49dfac80df793405d1ef7d32936e980c2db24edaaa951f files/digest-traffic-vis-0.35 67 +AUX traffic-vis-0.35-gentoo.patch 3759 RMD160 0517a3dc5c2bb69eeec299aa4ef2a1192783669d SHA1 29088d131c3f4844126e05a1561e3fc4d1759fca SHA256 c0c2463e8d75b41b7458af930c91f3af4a1d668b67d345bbe118e658bb2f4710 MD5 4e1b8460642e4424a4db9e724c550f68 files/traffic-vis-0.35-gentoo.patch 3759 RMD160 0517a3dc5c2bb69eeec299aa4ef2a1192783669d files/traffic-vis-0.35-gentoo.patch 3759 SHA256 c0c2463e8d75b41b7458af930c91f3af4a1d668b67d345bbe118e658bb2f4710 files/traffic-vis-0.35-gentoo.patch 3759 +AUX traffic-vis-0.35-libpcap-header-fix.patch 280 RMD160 04e7d8534600aa935f3d0aaff1f13c4933baad43 SHA1 f6fed7649faf6f4b3d5c763bc1e0af9b2f4be0d7 SHA256 b63d12f2105b2d031635871397e72c6de09c12d7edd92bbf4758556082ebc4c0 MD5 f3f89a74aafd87072c83981d568ad1d2 files/traffic-vis-0.35-libpcap-header-fix.patch 280 RMD160 04e7d8534600aa935f3d0aaff1f13c4933baad43 files/traffic-vis-0.35-libpcap-header-fix.patch 280 SHA256 b63d12f2105b2d031635871397e72c6de09c12d7edd92bbf4758556082ebc4c0 files/traffic-vis-0.35-libpcap-header-fix.patch 280 +AUX traffic-vis.conf.d 365 RMD160 affed99857725e3e5994c20e8860ffec9f2259ae SHA1 e6487b41df460497ebea6df94cb7382c24308d0f SHA256 fdaaef2191bd56f47a5ed3bfe078871b178ea310923a49d84e4eabadeeefce41 MD5 a7bbcd2076e8850fd4f6d359c9dada26 files/traffic-vis.conf.d 365 RMD160 affed99857725e3e5994c20e8860ffec9f2259ae files/traffic-vis.conf.d 365 SHA256 fdaaef2191bd56f47a5ed3bfe078871b178ea310923a49d84e4eabadeeefce41 files/traffic-vis.conf.d 365 +AUX traffic-vis.init.d 744 RMD160 f654592da8969603ae67437bc208a5d52e92470a SHA1 76c307a171bc2c1df72d4e89eb979777ea0c653d SHA256 57d1281c8174a0262d927056a3760ac877c6817c2ce8befe25a0f5a8653cf3db MD5 d68a0880f31210ead13247ad3de0961d files/traffic-vis.init.d 744 RMD160 f654592da8969603ae67437bc208a5d52e92470a files/traffic-vis.init.d 744 SHA256 57d1281c8174a0262d927056a3760ac877c6817c2ce8befe25a0f5a8653cf3db files/traffic-vis.init.d 744 -MD5 75e5dd9e5ff826e83948079bd120a0c9 metadata.xml 250 -RMD160 8243f369f9fceba6f1e62bf8a17853094de6738e metadata.xml 250 -SHA256 8f64428f5a200994e8520ffe481dfb1fba11bee5da6a46ba8f283062fba4b2b0 metadata.xml 250 +DIST traffic-vis-0.35.tar.gz 41202 RMD160 763e0f4532628d68325e933a9963d8435ae95a6b SHA1 762c9d956bdd075fef567570ad10d54a393d7d2c SHA256 8a6d56a390df525c73ac35f7c4a2ac854072824ee36fb2053b35fdf14e933754 +EBUILD traffic-vis-0.35-r1.ebuild 1503 RMD160 7c2642479544b0bb97b67c31eb7f298486f898f2 SHA1 b4c3331587fd61395f95ac700d947b15aa6961f5 SHA256 db2f87ae9e3d2c21162d50989ae6cd8fa470f30a9fa04525eb138ee8d4e3ad40 +MD5 ea1a29d6c3186d5807029dfa3324ceb9 traffic-vis-0.35-r1.ebuild 1503 +RMD160 7c2642479544b0bb97b67c31eb7f298486f898f2 traffic-vis-0.35-r1.ebuild 1503 +SHA256 db2f87ae9e3d2c21162d50989ae6cd8fa470f30a9fa04525eb138ee8d4e3ad40 traffic-vis-0.35-r1.ebuild 1503 +EBUILD traffic-vis-0.35.ebuild 1337 RMD160 6394708c2ee39695c6b683d0f362f6b2302d9d3f SHA1 90acb67d814c17b4c4da31c2a0575644bef63ae4 SHA256 b67de7c5d2f3ec40d043ac538d4a478cb15fb6b88f0eda31f334661569713763 MD5 2618981a50e2d87c7d770a503586c576 traffic-vis-0.35.ebuild 1337 RMD160 6394708c2ee39695c6b683d0f362f6b2302d9d3f traffic-vis-0.35.ebuild 1337 SHA256 b67de7c5d2f3ec40d043ac538d4a478cb15fb6b88f0eda31f334661569713763 traffic-vis-0.35.ebuild 1337 +MISC ChangeLog 1934 RMD160 bfddfb56ac1227eddbbfeb1311bf382493717c86 SHA1 6f935659f718ea2a68927c7f9be9fd08e1009182 SHA256 68e4a2e9463fc4476e880725fb6c8260e731a7816d5f70973afe1498f5a77274 +MD5 e07f9166c3536c02aee34ec2e6f93be1 ChangeLog 1934 +RMD160 bfddfb56ac1227eddbbfeb1311bf382493717c86 ChangeLog 1934 +SHA256 68e4a2e9463fc4476e880725fb6c8260e731a7816d5f70973afe1498f5a77274 ChangeLog 1934 +MISC metadata.xml 250 RMD160 8243f369f9fceba6f1e62bf8a17853094de6738e SHA1 3c65215346e5477e7bd5d37503890daa9f0e77c6 SHA256 8f64428f5a200994e8520ffe481dfb1fba11bee5da6a46ba8f283062fba4b2b0 +MD5 75e5dd9e5ff826e83948079bd120a0c9 metadata.xml 250 +RMD160 8243f369f9fceba6f1e62bf8a17853094de6738e metadata.xml 250 +SHA256 8f64428f5a200994e8520ffe481dfb1fba11bee5da6a46ba8f283062fba4b2b0 metadata.xml 250 +MD5 d6ab38f211e2a0c8c86a6be126b432b3 files/digest-traffic-vis-0.35 247 +RMD160 effdc68d52dc81bc05acdca2c56543cc4cbad960 files/digest-traffic-vis-0.35 247 +SHA256 810c59ea81d3734f73d0f19fa469ab4acb4f101c8198fd72ea973e12e8392d5f files/digest-traffic-vis-0.35 247 +MD5 d6ab38f211e2a0c8c86a6be126b432b3 files/digest-traffic-vis-0.35-r1 247 +RMD160 effdc68d52dc81bc05acdca2c56543cc4cbad960 files/digest-traffic-vis-0.35-r1 247 +SHA256 810c59ea81d3734f73d0f19fa469ab4acb4f101c8198fd72ea973e12e8392d5f files/digest-traffic-vis-0.35-r1 247 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 +}